@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 for this operation.
|
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 for this operation.
|
void |
setSharedImagePermissionsList(Collection<SharedImagePermissions> sharedImagePermissionsList)
The permissions for a private image that you own.
|
String |
toString()
Returns a string representation of this object.
|
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 for this operation.
|
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, setSdkResponseMetadata
public 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 for this operation. If there are no more pages, this value is null.
nextToken
- The pagination token to use to retrieve the next page of results for this operation. If there are no more
pages, this value is null.public String getNextToken()
The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
public DescribeImagePermissionsResult withNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
nextToken
- The pagination token to use to retrieve the next page of results for this operation. If there are no more
pages, this value is null.public String toString()
toString
in class Object
Object.toString()
public DescribeImagePermissionsResult clone()