Interface UpdateCustomRoutingAcceleratorAttributesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateCustomRoutingAcceleratorAttributesRequest.Builder,
,UpdateCustomRoutingAcceleratorAttributesRequest> GlobalAcceleratorRequest.Builder
,SdkBuilder<UpdateCustomRoutingAcceleratorAttributesRequest.Builder,
,UpdateCustomRoutingAcceleratorAttributesRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateCustomRoutingAcceleratorAttributesRequest
-
Method Summary
Modifier and TypeMethodDescriptionacceleratorArn
(String acceleratorArn) The Amazon Resource Name (ARN) of the custom routing accelerator to update attributes for.flowLogsEnabled
(Boolean flowLogsEnabled) Update whether flow logs are enabled.flowLogsS3Bucket
(String flowLogsS3Bucket) The name of the Amazon S3 bucket for the flow logs.flowLogsS3Prefix
(String flowLogsS3Prefix) Update the prefix for the location in the Amazon S3 bucket for the flow logs.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.globalaccelerator.model.GlobalAcceleratorRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
acceleratorArn
The Amazon Resource Name (ARN) of the custom routing accelerator to update attributes for.
- Parameters:
acceleratorArn
- The Amazon Resource Name (ARN) of the custom routing accelerator to update attributes for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flowLogsEnabled
Update whether flow logs are enabled. The default value is false. If the value is true,
FlowLogsS3Bucket
andFlowLogsS3Prefix
must be specified.For more information, see Flow logs in the Global Accelerator Developer Guide.
- Parameters:
flowLogsEnabled
- Update whether flow logs are enabled. The default value is false. If the value is true,FlowLogsS3Bucket
andFlowLogsS3Prefix
must 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
The name of the Amazon S3 bucket for the flow logs. Attribute is required if
FlowLogsEnabled
istrue
. 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 ifFlowLogsEnabled
istrue
. 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
Update the prefix for the location in the Amazon S3 bucket for the flow logs. Attribute is required if
FlowLogsEnabled
istrue
.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
- Parameters:
flowLogsS3Prefix
- Update the prefix for the location in the Amazon S3 bucket for the flow logs. Attribute is required ifFlowLogsEnabled
istrue
.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:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateCustomRoutingAcceleratorAttributesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateCustomRoutingAcceleratorAttributesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-