@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeImagePermissionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
DescribeImagePermissionsResult() |
| Modifier and Type | Method and Description |
|---|---|
DescribeImagePermissionsResult |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the private image.
|
String |
getNextToken()
The pagination token to use to retrieve the next page of results.
|
List<SharedImagePermissions> |
getSharedImagePermissionsList()
The permissions for a private image that you own.
|
int |
hashCode() |
void |
setName(String name)
The name of the private image.
|
void |
setNextToken(String nextToken)
The pagination token to use to retrieve the next page of results.
|
void |
setSharedImagePermissionsList(Collection<SharedImagePermissions> sharedImagePermissionsList)
The permissions for a private image that you own.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeImagePermissionsResult |
withName(String name)
The name of the private image.
|
DescribeImagePermissionsResult |
withNextToken(String nextToken)
The pagination token to use to retrieve the next page of results.
|
DescribeImagePermissionsResult |
withSharedImagePermissionsList(Collection<SharedImagePermissions> sharedImagePermissionsList)
The permissions for a private image that you own.
|
DescribeImagePermissionsResult |
withSharedImagePermissionsList(SharedImagePermissions... sharedImagePermissionsList)
The permissions for a private image that you own.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic 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 DescribeImagePermissionsResult withName(String name)
The name of the private image.
name - The name of the private image.public List<SharedImagePermissions> getSharedImagePermissionsList()
The permissions for a private image that you own.
public void setSharedImagePermissionsList(Collection<SharedImagePermissions> sharedImagePermissionsList)
The permissions for a private image that you own.
sharedImagePermissionsList - The permissions for a private image that you own.public DescribeImagePermissionsResult withSharedImagePermissionsList(SharedImagePermissions... sharedImagePermissionsList)
The permissions for a private image that you own.
NOTE: This method appends the values to the existing list (if any). Use
setSharedImagePermissionsList(java.util.Collection) or
withSharedImagePermissionsList(java.util.Collection) if you want to override the existing values.
sharedImagePermissionsList - The permissions for a private image that you own.public DescribeImagePermissionsResult withSharedImagePermissionsList(Collection<SharedImagePermissions> sharedImagePermissionsList)
The permissions for a private image that you own.
sharedImagePermissionsList - The permissions for a private image that you own.public void setNextToken(String nextToken)
The pagination token to use to retrieve the next page of results. If this value is empty, only the first page is retrieved.
nextToken - The pagination token to use to retrieve the next page of results. If this value is empty, only the first
page is retrieved.public String getNextToken()
The pagination token to use to retrieve the next page of results. If this value is empty, only the first page is retrieved.
public DescribeImagePermissionsResult withNextToken(String nextToken)
The pagination token to use to retrieve the next page of results. If this value is empty, only the first page is retrieved.
nextToken - The pagination token to use to retrieve the next page of results. If this value is empty, only the first
page is retrieved.public String toString()
toString in class ObjectObject.toString()public DescribeImagePermissionsResult clone()
Copyright © 2018. All rights reserved.