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