@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutImagePolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
PutImagePolicyResult() |
Modifier and Type | Method and Description |
---|---|
PutImagePolicyResult |
clone() |
boolean |
equals(Object obj) |
String |
getImageArn()
The Amazon Resource Name (ARN) of the image that this policy was applied to.
|
String |
getRequestId()
The request ID that uniquely identifies this request.
|
int |
hashCode() |
void |
setImageArn(String imageArn)
The Amazon Resource Name (ARN) of the image that this policy was applied to.
|
void |
setRequestId(String requestId)
The request ID that uniquely identifies this request.
|
String |
toString()
Returns a string representation of this object.
|
PutImagePolicyResult |
withImageArn(String imageArn)
The Amazon Resource Name (ARN) of the image that this policy was applied to.
|
PutImagePolicyResult |
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 PutImagePolicyResult withRequestId(String requestId)
The request ID that uniquely identifies this request.
requestId
- The request ID that uniquely identifies this request.public void setImageArn(String imageArn)
The Amazon Resource Name (ARN) of the image that this policy was applied to.
imageArn
- The Amazon Resource Name (ARN) of the image that this policy was applied to.public String getImageArn()
The Amazon Resource Name (ARN) of the image that this policy was applied to.
public PutImagePolicyResult withImageArn(String imageArn)
The Amazon Resource Name (ARN) of the image that this policy was applied to.
imageArn
- The Amazon Resource Name (ARN) of the image that this policy was applied to.public String toString()
toString
in class Object
Object.toString()
public PutImagePolicyResult clone()