Interface SubmitMultiRegionAccessPointRoutesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<SubmitMultiRegionAccessPointRoutesRequest.Builder,,SubmitMultiRegionAccessPointRoutesRequest> S3ControlRequest.Builder,SdkBuilder<SubmitMultiRegionAccessPointRoutesRequest.Builder,,SubmitMultiRegionAccessPointRoutesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
SubmitMultiRegionAccessPointRoutesRequest
public static interface SubmitMultiRegionAccessPointRoutesRequest.Builder
extends S3ControlRequest.Builder, SdkPojo, CopyableBuilder<SubmitMultiRegionAccessPointRoutesRequest.Builder,SubmitMultiRegionAccessPointRoutesRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Web Services account ID for the owner of the Multi-Region Access Point.The Multi-Region Access Point ARN.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.routeUpdates(Collection<MultiRegionAccessPointRoute> routeUpdates) The different routes that make up the new route configuration.routeUpdates(Consumer<MultiRegionAccessPointRoute.Builder>... routeUpdates) The different routes that make up the new route configuration.routeUpdates(MultiRegionAccessPointRoute... routeUpdates) The different routes that make up the new route 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.s3control.model.S3ControlRequest.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
-
accountId
The Amazon Web Services account ID for the owner of the Multi-Region Access Point.
- Parameters:
accountId- The Amazon Web Services account ID for the owner of the Multi-Region Access Point.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mrap
The Multi-Region Access Point ARN.
- Parameters:
mrap- The Multi-Region Access Point ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routeUpdates
SubmitMultiRegionAccessPointRoutesRequest.Builder routeUpdates(Collection<MultiRegionAccessPointRoute> routeUpdates) The different routes that make up the new route configuration. Active routes return a value of
100, and passive routes return a value of0.- Parameters:
routeUpdates- The different routes that make up the new route configuration. Active routes return a value of100, and passive routes return a value of0.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routeUpdates
SubmitMultiRegionAccessPointRoutesRequest.Builder routeUpdates(MultiRegionAccessPointRoute... routeUpdates) The different routes that make up the new route configuration. Active routes return a value of
100, and passive routes return a value of0.- Parameters:
routeUpdates- The different routes that make up the new route configuration. Active routes return a value of100, and passive routes return a value of0.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routeUpdates
SubmitMultiRegionAccessPointRoutesRequest.Builder routeUpdates(Consumer<MultiRegionAccessPointRoute.Builder>... routeUpdates) The different routes that make up the new route configuration. Active routes return a value of
This is a convenience method that creates an instance of the100, and passive routes return a value of0.MultiRegionAccessPointRoute.Builderavoiding the need to create one manually viaMultiRegionAccessPointRoute.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torouteUpdates(List<MultiRegionAccessPointRoute>).- Parameters:
routeUpdates- a consumer that will call methods onMultiRegionAccessPointRoute.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
SubmitMultiRegionAccessPointRoutesRequest.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
SubmitMultiRegionAccessPointRoutesRequest.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.
-