Class AcceleratorAttributes
- java.lang.Object
-
- software.amazon.awssdk.services.globalaccelerator.model.AcceleratorAttributes
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AcceleratorAttributes.Builder,AcceleratorAttributes>
@Generated("software.amazon.awssdk:codegen") public final class AcceleratorAttributes extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AcceleratorAttributes.Builder,AcceleratorAttributes>
Attributes of an accelerator.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAcceleratorAttributes.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AcceleratorAttributes.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 AcceleratorAttributes.Builder>serializableBuilderClass()AcceleratorAttributes.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 specify slash (/) for the S3 bucket prefix, the log file bucket folder structure will include a double slash (//), like the following:
s3-bucket_name//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 specify slash (/) for the S3 bucket prefix, the log file bucket folder structure will include a double slash (//), like the following:
s3-bucket_name//AWSLogs/aws_account_id
-
toBuilder
public AcceleratorAttributes.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AcceleratorAttributes.Builder,AcceleratorAttributes>
-
builder
public static AcceleratorAttributes.Builder builder()
-
serializableBuilderClass
public static Class<? extends AcceleratorAttributes.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.
-
-