Interface GetMultiRegionAccessPointRoutesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetMultiRegionAccessPointRoutesResponse.Builder,
,GetMultiRegionAccessPointRoutesResponse> S3ControlResponse.Builder
,SdkBuilder<GetMultiRegionAccessPointRoutesResponse.Builder,
,GetMultiRegionAccessPointRoutesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetMultiRegionAccessPointRoutesResponse
@Mutable
@NotThreadSafe
public static interface GetMultiRegionAccessPointRoutesResponse.Builder
extends S3ControlResponse.Builder, SdkPojo, CopyableBuilder<GetMultiRegionAccessPointRoutesResponse.Builder,GetMultiRegionAccessPointRoutesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe Multi-Region Access Point ARN.routes
(Collection<MultiRegionAccessPointRoute> routes) The different routes that make up the route configuration.routes
(Consumer<MultiRegionAccessPointRoute.Builder>... routes) The different routes that make up the route configuration.routes
(MultiRegionAccessPointRoute... routes) The different routes that make up the route configuration.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.s3control.model.S3ControlResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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.
-
routes
GetMultiRegionAccessPointRoutesResponse.Builder routes(Collection<MultiRegionAccessPointRoute> routes) The different routes that make up the route configuration. Active routes return a value of
100
, and passive routes return a value of0
.- Parameters:
routes
- The different routes that make up the 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.
-
routes
The different routes that make up the route configuration. Active routes return a value of
100
, and passive routes return a value of0
.- Parameters:
routes
- The different routes that make up the 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.
-
routes
GetMultiRegionAccessPointRoutesResponse.Builder routes(Consumer<MultiRegionAccessPointRoute.Builder>... routes) The different routes that make up the 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 toroutes(List<MultiRegionAccessPointRoute>)
.- Parameters:
routes
- 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:
-