@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeImagePermissionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeImagePermissionsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeImagePermissionsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
The maximum size of each results page.
|
String |
getName()
The name of the private image for which to describe permissions.
|
String |
getNextToken()
The pagination token to use to retrieve the next page of results.
|
List<String> |
getSharedAwsAccountIds()
The 12-digit ID of one or more AWS accounts with which the image is shared.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum size of each results page.
|
void |
setName(String name)
The name of the private image for which to describe permissions.
|
void |
setNextToken(String nextToken)
The pagination token to use to retrieve the next page of results.
|
void |
setSharedAwsAccountIds(Collection<String> sharedAwsAccountIds)
The 12-digit ID of one or more AWS accounts with which the image is shared.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeImagePermissionsRequest |
withMaxResults(Integer maxResults)
The maximum size of each results page.
|
DescribeImagePermissionsRequest |
withName(String name)
The name of the private image for which to describe permissions.
|
DescribeImagePermissionsRequest |
withNextToken(String nextToken)
The pagination token to use to retrieve the next page of results.
|
DescribeImagePermissionsRequest |
withSharedAwsAccountIds(Collection<String> sharedAwsAccountIds)
The 12-digit ID of one or more AWS accounts with which the image is shared.
|
DescribeImagePermissionsRequest |
withSharedAwsAccountIds(String... sharedAwsAccountIds)
The 12-digit ID of one or more AWS accounts with which the image is shared.
|
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 void setName(String name)
The name of the private image for which to describe permissions. The image must be one that you own.
name
- The name of the private image for which to describe permissions. The image must be one that you own.public String getName()
The name of the private image for which to describe permissions. The image must be one that you own.
public DescribeImagePermissionsRequest withName(String name)
The name of the private image for which to describe permissions. The image must be one that you own.
name
- The name of the private image for which to describe permissions. The image must be one that you own.public void setMaxResults(Integer maxResults)
The maximum size of each results page.
maxResults
- The maximum size of each results page.public Integer getMaxResults()
The maximum size of each results page.
public DescribeImagePermissionsRequest withMaxResults(Integer maxResults)
The maximum size of each results page.
maxResults
- The maximum size of each results page.public List<String> getSharedAwsAccountIds()
The 12-digit ID of one or more AWS accounts with which the image is shared.
public void setSharedAwsAccountIds(Collection<String> sharedAwsAccountIds)
The 12-digit ID of one or more AWS accounts with which the image is shared.
sharedAwsAccountIds
- The 12-digit ID of one or more AWS accounts with which the image is shared.public DescribeImagePermissionsRequest withSharedAwsAccountIds(String... sharedAwsAccountIds)
The 12-digit ID of one or more AWS accounts with which the image is shared.
NOTE: This method appends the values to the existing list (if any). Use
setSharedAwsAccountIds(java.util.Collection)
or withSharedAwsAccountIds(java.util.Collection)
if you want to override the existing values.
sharedAwsAccountIds
- The 12-digit ID of one or more AWS accounts with which the image is shared.public DescribeImagePermissionsRequest withSharedAwsAccountIds(Collection<String> sharedAwsAccountIds)
The 12-digit ID of one or more AWS accounts with which the image is shared.
sharedAwsAccountIds
- The 12-digit ID of one or more AWS accounts with which the image is shared.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 DescribeImagePermissionsRequest 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 Object
Object.toString()
public DescribeImagePermissionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.