@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateImagePermissionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
UpdateImagePermissionsRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdateImagePermissionsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
ImagePermissions |
getImagePermissions()
The permissions for the image.
|
String |
getName()
The name of the private image.
|
String |
getSharedAccountId()
The 12-digit identifier of the AWS account for which you want add or update image permissions.
|
int |
hashCode() |
void |
setImagePermissions(ImagePermissions imagePermissions)
The permissions for the image.
|
void |
setName(String name)
The name of the private image.
|
void |
setSharedAccountId(String sharedAccountId)
The 12-digit identifier of the AWS account for which you want add or update image permissions.
|
String |
toString()
Returns a string representation of this object.
|
UpdateImagePermissionsRequest |
withImagePermissions(ImagePermissions imagePermissions)
The permissions for the image.
|
UpdateImagePermissionsRequest |
withName(String name)
The name of the private image.
|
UpdateImagePermissionsRequest |
withSharedAccountId(String sharedAccountId)
The 12-digit identifier of the AWS account for which you want add or update image permissions.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setName(String name)
The name of the private image.
name - The name of the private image.public String getName()
The name of the private image.
public UpdateImagePermissionsRequest withName(String name)
The name of the private image.
name - The name of the private image.public void setSharedAccountId(String sharedAccountId)
The 12-digit identifier of the AWS account for which you want add or update image permissions.
sharedAccountId - The 12-digit identifier of the AWS account for which you want add or update image permissions.public String getSharedAccountId()
The 12-digit identifier of the AWS account for which you want add or update image permissions.
public UpdateImagePermissionsRequest withSharedAccountId(String sharedAccountId)
The 12-digit identifier of the AWS account for which you want add or update image permissions.
sharedAccountId - The 12-digit identifier of the AWS account for which you want add or update image permissions.public void setImagePermissions(ImagePermissions imagePermissions)
The permissions for the image.
imagePermissions - The permissions for the image.public ImagePermissions getImagePermissions()
The permissions for the image.
public UpdateImagePermissionsRequest withImagePermissions(ImagePermissions imagePermissions)
The permissions for the image.
imagePermissions - The permissions for the image.public String toString()
toString in class ObjectObject.toString()public UpdateImagePermissionsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()