@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateMultiRegionAccessPointInput extends Object implements Serializable, Cloneable
A container for the information associated with a CreateMultiRegionAccessPoint request.
| Constructor and Description |
|---|
CreateMultiRegionAccessPointInput() |
| Modifier and Type | Method and Description |
|---|---|
CreateMultiRegionAccessPointInput |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the Multi-Region Access Point associated with this request.
|
PublicAccessBlockConfiguration |
getPublicAccessBlock() |
List<Region> |
getRegions()
The buckets in different Regions that are associated with the Multi-Region Access Point.
|
int |
hashCode() |
void |
setName(String name)
The name of the Multi-Region Access Point associated with this request.
|
void |
setPublicAccessBlock(PublicAccessBlockConfiguration publicAccessBlock) |
void |
setRegions(Collection<Region> regions)
The buckets in different Regions that are associated with the Multi-Region Access Point.
|
String |
toString()
Returns a string representation of this object.
|
CreateMultiRegionAccessPointInput |
withName(String name)
The name of the Multi-Region Access Point associated with this request.
|
CreateMultiRegionAccessPointInput |
withPublicAccessBlock(PublicAccessBlockConfiguration publicAccessBlock) |
CreateMultiRegionAccessPointInput |
withRegions(Collection<Region> regions)
The buckets in different Regions that are associated with the Multi-Region Access Point.
|
CreateMultiRegionAccessPointInput |
withRegions(Region... regions)
The buckets in different Regions that are associated with the Multi-Region Access Point.
|
public void setName(String name)
The name of the Multi-Region Access Point associated with this request.
name - The name of the Multi-Region Access Point associated with this request.public String getName()
The name of the Multi-Region Access Point associated with this request.
public CreateMultiRegionAccessPointInput withName(String name)
The name of the Multi-Region Access Point associated with this request.
name - The name of the Multi-Region Access Point associated with this request.public void setPublicAccessBlock(PublicAccessBlockConfiguration publicAccessBlock)
publicAccessBlock - public PublicAccessBlockConfiguration getPublicAccessBlock()
public CreateMultiRegionAccessPointInput withPublicAccessBlock(PublicAccessBlockConfiguration publicAccessBlock)
publicAccessBlock - public List<Region> getRegions()
The buckets in different Regions that are associated with the Multi-Region Access Point.
public void setRegions(Collection<Region> regions)
The buckets in different Regions that are associated with the Multi-Region Access Point.
regions - The buckets in different Regions that are associated with the Multi-Region Access Point.public CreateMultiRegionAccessPointInput withRegions(Region... regions)
The buckets in different Regions that are associated with the Multi-Region Access Point.
NOTE: This method appends the values to the existing list (if any). Use
setRegions(java.util.Collection) or withRegions(java.util.Collection) if you want to override
the existing values.
regions - The buckets in different Regions that are associated with the Multi-Region Access Point.public CreateMultiRegionAccessPointInput withRegions(Collection<Region> regions)
The buckets in different Regions that are associated with the Multi-Region Access Point.
regions - The buckets in different Regions that are associated with the Multi-Region Access Point.public String toString()
toString in class ObjectObject.toString()public CreateMultiRegionAccessPointInput clone()