Class CloudWatchLogOptions
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.CloudWatchLogOptions
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CloudWatchLogOptions.Builder,CloudWatchLogOptions>
@Generated("software.amazon.awssdk:codegen") public final class CloudWatchLogOptions extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CloudWatchLogOptions.Builder,CloudWatchLogOptions>
Options for sending VPN tunnel logs to CloudWatch.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCloudWatchLogOptions.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanbgpLogEnabled()Indicates whether Border Gateway Protocol (BGP) logging is enabled for the VPN connection.StringbgpLogGroupArn()The Amazon Resource Name (ARN) of the CloudWatch log group for BGP logs.StringbgpLogOutputFormat()The output format for BGP logs sent to CloudWatch.static CloudWatchLogOptions.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanlogEnabled()Status of VPN tunnel logging feature.StringlogGroupArn()The Amazon Resource Name (ARN) of the CloudWatch log group to send logs to.StringlogOutputFormat()Configured log format.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends CloudWatchLogOptions.Builder>serializableBuilderClass()CloudWatchLogOptions.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
logEnabled
public final Boolean logEnabled()
Status of VPN tunnel logging feature. Default value is
False.Valid values:
True|False- Returns:
- Status of VPN tunnel logging feature. Default value is
False.Valid values:
True|False
-
logGroupArn
public final String logGroupArn()
The Amazon Resource Name (ARN) of the CloudWatch log group to send logs to.
- Returns:
- The Amazon Resource Name (ARN) of the CloudWatch log group to send logs to.
-
logOutputFormat
public final String logOutputFormat()
Configured log format. Default format is
json.Valid values:
json|text- Returns:
- Configured log format. Default format is
json.Valid values:
json|text
-
bgpLogEnabled
public final Boolean bgpLogEnabled()
Indicates whether Border Gateway Protocol (BGP) logging is enabled for the VPN connection. Default value is
False.Valid values:
True|False- Returns:
- Indicates whether Border Gateway Protocol (BGP) logging is enabled for the VPN connection. Default value
is
False.Valid values:
True|False
-
bgpLogGroupArn
public final String bgpLogGroupArn()
The Amazon Resource Name (ARN) of the CloudWatch log group for BGP logs.
- Returns:
- The Amazon Resource Name (ARN) of the CloudWatch log group for BGP logs.
-
bgpLogOutputFormat
public final String bgpLogOutputFormat()
The output format for BGP logs sent to CloudWatch. Default format is
json.Valid values:
json|text- Returns:
- The output format for BGP logs sent to CloudWatch. Default format is
json.Valid values:
json|text
-
toBuilder
public CloudWatchLogOptions.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CloudWatchLogOptions.Builder,CloudWatchLogOptions>
-
builder
public static CloudWatchLogOptions.Builder builder()
-
serializableBuilderClass
public static Class<? extends CloudWatchLogOptions.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-