Class CustomRoutingAcceleratorAttributes
- java.lang.Object
-
- software.amazon.awssdk.services.globalaccelerator.model.CustomRoutingAcceleratorAttributes
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CustomRoutingAcceleratorAttributes.Builder,CustomRoutingAcceleratorAttributes>
@Generated("software.amazon.awssdk:codegen") public final class CustomRoutingAcceleratorAttributes extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CustomRoutingAcceleratorAttributes.Builder,CustomRoutingAcceleratorAttributes>
Attributes of a custom routing accelerator.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCustomRoutingAcceleratorAttributes.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CustomRoutingAcceleratorAttributes.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)BooleanflowLogsEnabled()Indicates whether flow logs are enabled.StringflowLogsS3Bucket()The name of the Amazon S3 bucket for the flow logs.StringflowLogsS3Prefix()The prefix for the location in the Amazon S3 bucket for the flow logs.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends CustomRoutingAcceleratorAttributes.Builder>serializableBuilderClass()CustomRoutingAcceleratorAttributes.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
-
flowLogsEnabled
public final Boolean flowLogsEnabled()
Indicates whether flow logs are enabled. The default value is false. If the value is true,
FlowLogsS3BucketandFlowLogsS3Prefixmust be specified.For more information, see Flow logs in the Global Accelerator Developer Guide.
- Returns:
- Indicates whether flow logs are enabled. The default value is false. If the value is true,
FlowLogsS3BucketandFlowLogsS3Prefixmust be specified.For more information, see Flow logs in the Global Accelerator Developer Guide.
-
flowLogsS3Bucket
public final String flowLogsS3Bucket()
The name of the Amazon S3 bucket for the flow logs. Attribute is required if
FlowLogsEnabledistrue. The bucket must exist and have a bucket policy that grants Global Accelerator permission to write to the bucket.- Returns:
- The name of the Amazon S3 bucket for the flow logs. Attribute is required if
FlowLogsEnabledistrue. The bucket must exist and have a bucket policy that grants Global Accelerator permission to write to the bucket.
-
flowLogsS3Prefix
public final String flowLogsS3Prefix()
The prefix for the location in the Amazon S3 bucket for the flow logs. Attribute is required if
FlowLogsEnabledistrue.If you don’t specify a prefix, the flow logs are stored in the root of the bucket. If you specify slash (/) for the S3 bucket prefix, the log file bucket folder structure will include a double slash (//), like the following:
DOC-EXAMPLE-BUCKET//AWSLogs/aws_account_id
- Returns:
- The prefix for the location in the Amazon S3 bucket for the flow logs. Attribute is required if
FlowLogsEnabledistrue.If you don’t specify a prefix, the flow logs are stored in the root of the bucket. If you specify slash (/) for the S3 bucket prefix, the log file bucket folder structure will include a double slash (//), like the following:
DOC-EXAMPLE-BUCKET//AWSLogs/aws_account_id
-
toBuilder
public CustomRoutingAcceleratorAttributes.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CustomRoutingAcceleratorAttributes.Builder,CustomRoutingAcceleratorAttributes>
-
builder
public static CustomRoutingAcceleratorAttributes.Builder builder()
-
serializableBuilderClass
public static Class<? extends CustomRoutingAcceleratorAttributes.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.
-
-