@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EstablishedMultiRegionAccessPointPolicy extends Object implements Serializable, Cloneable
The last established access control policy for a Multi-Region Access Point.
When you update the policy, the update is first listed as the proposed policy. After the update is finished and all Regions have been updated, the proposed policy is listed as the established policy. If both policies have the same version number, the proposed policy is the established policy.
Constructor and Description |
---|
EstablishedMultiRegionAccessPointPolicy() |
Modifier and Type | Method and Description |
---|---|
EstablishedMultiRegionAccessPointPolicy |
clone() |
boolean |
equals(Object obj) |
String |
getPolicy()
The details of the last established policy.
|
int |
hashCode() |
void |
setPolicy(String policy)
The details of the last established policy.
|
String |
toString()
Returns a string representation of this object.
|
EstablishedMultiRegionAccessPointPolicy |
withPolicy(String policy)
The details of the last established policy.
|
public EstablishedMultiRegionAccessPointPolicy()
public void setPolicy(String policy)
The details of the last established policy.
policy
- The details of the last established policy.public String getPolicy()
The details of the last established policy.
public EstablishedMultiRegionAccessPointPolicy withPolicy(String policy)
The details of the last established policy.
policy
- The details of the last established policy.public String toString()
toString
in class Object
Object.toString()
public EstablishedMultiRegionAccessPointPolicy clone()