@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutMultiRegionAccessPointPolicyInput extends Object implements Serializable, Cloneable
A container for the information associated with a PutMultiRegionAccessPoint request.
Constructor and Description |
---|
PutMultiRegionAccessPointPolicyInput() |
Modifier and Type | Method and Description |
---|---|
PutMultiRegionAccessPointPolicyInput |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the Multi-Region Access Point associated with the request.
|
String |
getPolicy()
The policy details for the
PutMultiRegionAccessPoint request. |
int |
hashCode() |
void |
setName(String name)
The name of the Multi-Region Access Point associated with the request.
|
void |
setPolicy(String policy)
The policy details for the
PutMultiRegionAccessPoint request. |
String |
toString()
Returns a string representation of this object.
|
PutMultiRegionAccessPointPolicyInput |
withName(String name)
The name of the Multi-Region Access Point associated with the request.
|
PutMultiRegionAccessPointPolicyInput |
withPolicy(String policy)
The policy details for the
PutMultiRegionAccessPoint request. |
public PutMultiRegionAccessPointPolicyInput()
public void setName(String name)
The name of the Multi-Region Access Point associated with the request.
name
- The name of the Multi-Region Access Point associated with the request.public String getName()
The name of the Multi-Region Access Point associated with the request.
public PutMultiRegionAccessPointPolicyInput withName(String name)
The name of the Multi-Region Access Point associated with the request.
name
- The name of the Multi-Region Access Point associated with the request.public void setPolicy(String policy)
The policy details for the PutMultiRegionAccessPoint
request.
policy
- The policy details for the PutMultiRegionAccessPoint
request.public String getPolicy()
The policy details for the PutMultiRegionAccessPoint
request.
PutMultiRegionAccessPoint
request.public PutMultiRegionAccessPointPolicyInput withPolicy(String policy)
The policy details for the PutMultiRegionAccessPoint
request.
policy
- The policy details for the PutMultiRegionAccessPoint
request.public String toString()
toString
in class Object
Object.toString()
public PutMultiRegionAccessPointPolicyInput clone()