@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetMultiRegionAccessPointPolicyResult extends AmazonWebServiceResult<S3ControlResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetMultiRegionAccessPointPolicyResult() |
Modifier and Type | Method and Description |
---|---|
GetMultiRegionAccessPointPolicyResult |
clone() |
boolean |
equals(Object obj) |
MultiRegionAccessPointPolicyDocument |
getPolicy()
The policy associated with the specified Multi-Region Access Point.
|
int |
hashCode() |
void |
setPolicy(MultiRegionAccessPointPolicyDocument policy)
The policy associated with the specified Multi-Region Access Point.
|
String |
toString()
Returns a string representation of this object.
|
GetMultiRegionAccessPointPolicyResult |
withPolicy(MultiRegionAccessPointPolicyDocument policy)
The policy associated with the specified Multi-Region Access Point.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public GetMultiRegionAccessPointPolicyResult()
public void setPolicy(MultiRegionAccessPointPolicyDocument policy)
The policy associated with the specified Multi-Region Access Point.
policy
- The policy associated with the specified Multi-Region Access Point.public MultiRegionAccessPointPolicyDocument getPolicy()
The policy associated with the specified Multi-Region Access Point.
public GetMultiRegionAccessPointPolicyResult withPolicy(MultiRegionAccessPointPolicyDocument policy)
The policy associated with the specified Multi-Region Access Point.
policy
- The policy associated with the specified Multi-Region Access Point.public String toString()
toString
in class Object
Object.toString()
public GetMultiRegionAccessPointPolicyResult clone()