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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.globalaccelerator.model.GlobalAcceleratorRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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,
FlowLogsS3BucketandFlowLogsS3Prefixmust 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,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
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
Update 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
- Parameters:
flowLogsS3Prefix- Update the prefix for the location in the Amazon S3 bucket for the flow logs. Attribute is required ifFlowLogsEnabledistrue.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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-