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