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