@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateWorkspaceImagePermissionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateWorkspaceImagePermissionRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateWorkspaceImagePermissionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getAllowCopyImage()
The permission to copy the image.
|
String |
getImageId()
The identifier of the image.
|
String |
getSharedAccountId()
The identifier of the Amazon Web Services account to share or unshare the image with.
|
int |
hashCode() |
Boolean |
isAllowCopyImage()
The permission to copy the image.
|
void |
setAllowCopyImage(Boolean allowCopyImage)
The permission to copy the image.
|
void |
setImageId(String imageId)
The identifier of the image.
|
void |
setSharedAccountId(String sharedAccountId)
The identifier of the Amazon Web Services account to share or unshare the image with.
|
String |
toString()
Returns a string representation of this object.
|
UpdateWorkspaceImagePermissionRequest |
withAllowCopyImage(Boolean allowCopyImage)
The permission to copy the image.
|
UpdateWorkspaceImagePermissionRequest |
withImageId(String imageId)
The identifier of the image.
|
UpdateWorkspaceImagePermissionRequest |
withSharedAccountId(String sharedAccountId)
The identifier of the Amazon Web Services account to share or unshare the image with.
|
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, withSdkRequestTimeout
public UpdateWorkspaceImagePermissionRequest()
public void setImageId(String imageId)
The identifier of the image.
imageId
- The identifier of the image.public String getImageId()
The identifier of the image.
public UpdateWorkspaceImagePermissionRequest withImageId(String imageId)
The identifier of the image.
imageId
- The identifier of the image.public void setAllowCopyImage(Boolean allowCopyImage)
The permission to copy the image. This permission can be revoked only after an image has been shared.
allowCopyImage
- The permission to copy the image. This permission can be revoked only after an image has been shared.public Boolean getAllowCopyImage()
The permission to copy the image. This permission can be revoked only after an image has been shared.
public UpdateWorkspaceImagePermissionRequest withAllowCopyImage(Boolean allowCopyImage)
The permission to copy the image. This permission can be revoked only after an image has been shared.
allowCopyImage
- The permission to copy the image. This permission can be revoked only after an image has been shared.public Boolean isAllowCopyImage()
The permission to copy the image. This permission can be revoked only after an image has been shared.
public void setSharedAccountId(String sharedAccountId)
The identifier of the Amazon Web Services account to share or unshare the image with.
Before sharing the image, confirm that you are sharing to the correct Amazon Web Services account ID.
sharedAccountId
- The identifier of the Amazon Web Services account to share or unshare the image with. Before sharing the image, confirm that you are sharing to the correct Amazon Web Services account ID.
public String getSharedAccountId()
The identifier of the Amazon Web Services account to share or unshare the image with.
Before sharing the image, confirm that you are sharing to the correct Amazon Web Services account ID.
Before sharing the image, confirm that you are sharing to the correct Amazon Web Services account ID.
public UpdateWorkspaceImagePermissionRequest withSharedAccountId(String sharedAccountId)
The identifier of the Amazon Web Services account to share or unshare the image with.
Before sharing the image, confirm that you are sharing to the correct Amazon Web Services account ID.
sharedAccountId
- The identifier of the Amazon Web Services account to share or unshare the image with. Before sharing the image, confirm that you are sharing to the correct Amazon Web Services account ID.
public String toString()
toString
in class Object
Object.toString()
public UpdateWorkspaceImagePermissionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()