@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ProposedMultiRegionAccessPointPolicy extends Object implements Serializable, Cloneable
The proposed access control policy for the 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 |
---|
ProposedMultiRegionAccessPointPolicy() |
Modifier and Type | Method and Description |
---|---|
ProposedMultiRegionAccessPointPolicy |
clone() |
boolean |
equals(Object obj) |
String |
getPolicy()
The details of the proposed policy.
|
int |
hashCode() |
void |
setPolicy(String policy)
The details of the proposed policy.
|
String |
toString()
Returns a string representation of this object.
|
ProposedMultiRegionAccessPointPolicy |
withPolicy(String policy)
The details of the proposed policy.
|
public ProposedMultiRegionAccessPointPolicy()
public void setPolicy(String policy)
The details of the proposed policy.
policy
- The details of the proposed policy.public String getPolicy()
The details of the proposed policy.
public ProposedMultiRegionAccessPointPolicy withPolicy(String policy)
The details of the proposed policy.
policy
- The details of the proposed policy.public String toString()
toString
in class Object
Object.toString()
public ProposedMultiRegionAccessPointPolicy clone()