Interface AcceleratorAttributes.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AcceleratorAttributes.Builder,AcceleratorAttributes>,SdkBuilder<AcceleratorAttributes.Builder,AcceleratorAttributes>,SdkPojo
- Enclosing class:
- AcceleratorAttributes
public static interface AcceleratorAttributes.Builder extends SdkPojo, CopyableBuilder<AcceleratorAttributes.Builder,AcceleratorAttributes>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AcceleratorAttributes.BuilderflowLogsEnabled(Boolean flowLogsEnabled)Indicates whether flow logs are enabled.AcceleratorAttributes.BuilderflowLogsS3Bucket(String flowLogsS3Bucket)The name of the Amazon S3 bucket for the flow logs.AcceleratorAttributes.BuilderflowLogsS3Prefix(String flowLogsS3Prefix)The prefix for the location in the Amazon S3 bucket for the flow logs.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
flowLogsEnabled
AcceleratorAttributes.Builder flowLogsEnabled(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
flowLogsS3Bucket
AcceleratorAttributes.Builder flowLogsS3Bucket(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.- Parameters:
flowLogsS3Bucket- The name of the Amazon S3 bucket for the flow logs. Attribute is required ifFlowLogsEnabledistrue. The bucket must exist and have a bucket policy that grants Global Accelerator permission to write to the bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flowLogsS3Prefix
AcceleratorAttributes.Builder flowLogsS3Prefix(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
- Parameters:
flowLogsS3Prefix- The prefix for the location in the Amazon S3 bucket for the flow logs. Attribute is required ifFlowLogsEnabledistrue.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:
- Returns a reference to this object so that method calls can be chained together.
-
-