Interface CreateMultiRegionAccessPointInput.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CreateMultiRegionAccessPointInput.Builder,
,CreateMultiRegionAccessPointInput> SdkBuilder<CreateMultiRegionAccessPointInput.Builder,
,CreateMultiRegionAccessPointInput> SdkPojo
- Enclosing class:
CreateMultiRegionAccessPointInput
public static interface CreateMultiRegionAccessPointInput.Builder
extends SdkPojo, CopyableBuilder<CreateMultiRegionAccessPointInput.Builder,CreateMultiRegionAccessPointInput>
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the Multi-Region Access Point associated with this request.publicAccessBlock
(Consumer<PublicAccessBlockConfiguration.Builder> publicAccessBlock) Sets the value of the PublicAccessBlock property for this object.publicAccessBlock
(PublicAccessBlockConfiguration publicAccessBlock) Sets the value of the PublicAccessBlock property for this object.regions
(Collection<Region> regions) The buckets in different Regions that are associated with the Multi-Region Access Point.regions
(Consumer<Region.Builder>... regions) The buckets in different Regions that are associated with the Multi-Region Access Point.The buckets in different Regions that are associated with the Multi-Region Access Point.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
-
name
The name of the Multi-Region Access Point associated with this request.
- Parameters:
name
- The name of the Multi-Region Access Point associated with this request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publicAccessBlock
CreateMultiRegionAccessPointInput.Builder publicAccessBlock(PublicAccessBlockConfiguration publicAccessBlock) Sets the value of the PublicAccessBlock property for this object.- Parameters:
publicAccessBlock
- The new value for the PublicAccessBlock property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publicAccessBlock
default CreateMultiRegionAccessPointInput.Builder publicAccessBlock(Consumer<PublicAccessBlockConfiguration.Builder> publicAccessBlock) Sets the value of the PublicAccessBlock property for this object. This is a convenience method that creates an instance of thePublicAccessBlockConfiguration.Builder
avoiding the need to create one manually viaPublicAccessBlockConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topublicAccessBlock(PublicAccessBlockConfiguration)
.- Parameters:
publicAccessBlock
- a consumer that will call methods onPublicAccessBlockConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
regions
The buckets in different Regions that are associated with the Multi-Region Access Point.
- Parameters:
regions
- The buckets in different Regions that are associated with the Multi-Region Access Point.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regions
The buckets in different Regions that are associated with the Multi-Region Access Point.
- Parameters:
regions
- The buckets in different Regions that are associated with the Multi-Region Access Point.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regions
The buckets in different Regions that are associated with the Multi-Region Access Point.
This is a convenience method that creates an instance of theRegion.Builder
avoiding the need to create one manually viaRegion.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toregions(List<Region>)
.- Parameters:
regions
- a consumer that will call methods onRegion.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-