@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeWorkspaceImagePermissionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeWorkspaceImagePermissionsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeWorkspaceImagePermissionsResult |
clone() |
boolean |
equals(Object obj) |
String |
getImageId()
The identifier of the image.
|
List<ImagePermission> |
getImagePermissions()
The identifiers of the AWS accounts that the image has been shared with.
|
String |
getNextToken()
The token to use to retrieve the next set of results, or null if no more results are available.
|
int |
hashCode() |
void |
setImageId(String imageId)
The identifier of the image.
|
void |
setImagePermissions(Collection<ImagePermission> imagePermissions)
The identifiers of the AWS accounts that the image has been shared with.
|
void |
setNextToken(String nextToken)
The token to use to retrieve the next set of results, or null if no more results are available.
|
String |
toString()
Returns a string representation of this object.
|
DescribeWorkspaceImagePermissionsResult |
withImageId(String imageId)
The identifier of the image.
|
DescribeWorkspaceImagePermissionsResult |
withImagePermissions(Collection<ImagePermission> imagePermissions)
The identifiers of the AWS accounts that the image has been shared with.
|
DescribeWorkspaceImagePermissionsResult |
withImagePermissions(ImagePermission... imagePermissions)
The identifiers of the AWS accounts that the image has been shared with.
|
DescribeWorkspaceImagePermissionsResult |
withNextToken(String nextToken)
The token to use to retrieve the next set of results, or null if no more results are available.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public DescribeWorkspaceImagePermissionsResult()
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 DescribeWorkspaceImagePermissionsResult withImageId(String imageId)
The identifier of the image.
imageId
- The identifier of the image.public List<ImagePermission> getImagePermissions()
The identifiers of the AWS accounts that the image has been shared with.
public void setImagePermissions(Collection<ImagePermission> imagePermissions)
The identifiers of the AWS accounts that the image has been shared with.
imagePermissions
- The identifiers of the AWS accounts that the image has been shared with.public DescribeWorkspaceImagePermissionsResult withImagePermissions(ImagePermission... imagePermissions)
The identifiers of the AWS accounts that the image has been shared with.
NOTE: This method appends the values to the existing list (if any). Use
setImagePermissions(java.util.Collection)
or withImagePermissions(java.util.Collection)
if you
want to override the existing values.
imagePermissions
- The identifiers of the AWS accounts that the image has been shared with.public DescribeWorkspaceImagePermissionsResult withImagePermissions(Collection<ImagePermission> imagePermissions)
The identifiers of the AWS accounts that the image has been shared with.
imagePermissions
- The identifiers of the AWS accounts that the image has been shared with.public void setNextToken(String nextToken)
The token to use to retrieve the next set of results, or null if no more results are available.
nextToken
- The token to use to retrieve the next set of results, or null if no more results are available.public String getNextToken()
The token to use to retrieve the next set of results, or null if no more results are available.
public DescribeWorkspaceImagePermissionsResult withNextToken(String nextToken)
The token to use to retrieve the next set of results, or null if no more results are available.
nextToken
- The token to use to retrieve the next set of results, or null if no more results are available.public String toString()
toString
in class Object
Object.toString()
public DescribeWorkspaceImagePermissionsResult clone()