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