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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.s3control.model.S3ControlRequest.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
-
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.Builder
avoiding the need to create one manually viaMultiRegionAccessPointRoute.builder()
.When the
Consumer
completes,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.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
SubmitMultiRegionAccessPointRoutesRequest.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.
-