Class CloudWatchLogOptionsSpecification
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.CloudWatchLogOptionsSpecification
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CloudWatchLogOptionsSpecification.Builder,CloudWatchLogOptionsSpecification>
@Generated("software.amazon.awssdk:codegen") public final class CloudWatchLogOptionsSpecification extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CloudWatchLogOptionsSpecification.Builder,CloudWatchLogOptionsSpecification>
Options for sending VPN tunnel logs to CloudWatch.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCloudWatchLogOptionsSpecification.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanbgpLogEnabled()Specifies whether to enable BGP logging for the VPN connection.StringbgpLogGroupArn()The Amazon Resource Name (ARN) of the CloudWatch log group where BGP logs will be sent.StringbgpLogOutputFormat()The desired output format for BGP logs to be sent to CloudWatch.static CloudWatchLogOptionsSpecification.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanlogEnabled()Enable or disable VPN tunnel logging feature.StringlogGroupArn()The Amazon Resource Name (ARN) of the CloudWatch log group to send logs to.StringlogOutputFormat()Set log format.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends CloudWatchLogOptionsSpecification.Builder>serializableBuilderClass()CloudWatchLogOptionsSpecification.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()
Enable or disable VPN tunnel logging feature. Default value is
False.Valid values:
True|False- Returns:
- Enable or disable 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()
Set log format. Default format is
json.Valid values:
json|text- Returns:
- Set log format. Default format is
json.Valid values:
json|text
-
bgpLogEnabled
public final Boolean bgpLogEnabled()
Specifies whether to enable BGP logging for the VPN connection. Default value is
False.Valid values:
True|False- Returns:
- Specifies whether to enable BGP logging 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 where BGP logs will be sent.
- Returns:
- The Amazon Resource Name (ARN) of the CloudWatch log group where BGP logs will be sent.
-
bgpLogOutputFormat
public final String bgpLogOutputFormat()
The desired output format for BGP logs to be sent to CloudWatch. Default format is
json.Valid values:
json|text- Returns:
- The desired output format for BGP logs to be sent to CloudWatch. Default format is
json.Valid values:
json|text
-
toBuilder
public CloudWatchLogOptionsSpecification.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CloudWatchLogOptionsSpecification.Builder,CloudWatchLogOptionsSpecification>
-
builder
public static CloudWatchLogOptionsSpecification.Builder builder()
-
serializableBuilderClass
public static Class<? extends CloudWatchLogOptionsSpecification.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
-
-