@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 page of results.
|
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 for this operation.
|
List<String> |
getSharedAwsAccountIds()
The 12-digit identifier of one or more AWS accounts with which the image is shared.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum size of each page of results.
|
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 for this operation.
|
void |
setSharedAwsAccountIds(Collection<String> sharedAwsAccountIds)
The 12-digit identifier of one or more AWS accounts with which the image is shared.
|
String |
toString()
Returns a string representation of this object.
|
DescribeImagePermissionsRequest |
withMaxResults(Integer maxResults)
The maximum size of each page of results.
|
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 for this operation.
|
DescribeImagePermissionsRequest |
withSharedAwsAccountIds(Collection<String> sharedAwsAccountIds)
The 12-digit identifier of one or more AWS accounts with which the image is shared.
|
DescribeImagePermissionsRequest |
withSharedAwsAccountIds(String... sharedAwsAccountIds)
The 12-digit identifier 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 page of results.
maxResults
- The maximum size of each page of results.public Integer getMaxResults()
The maximum size of each page of results.
public DescribeImagePermissionsRequest withMaxResults(Integer maxResults)
The maximum size of each page of results.
maxResults
- The maximum size of each page of results.public List<String> getSharedAwsAccountIds()
The 12-digit identifier of one or more AWS accounts with which the image is shared.
public void setSharedAwsAccountIds(Collection<String> sharedAwsAccountIds)
The 12-digit identifier of one or more AWS accounts with which the image is shared.
sharedAwsAccountIds
- The 12-digit identifier of one or more AWS accounts with which the image is shared.public DescribeImagePermissionsRequest withSharedAwsAccountIds(String... sharedAwsAccountIds)
The 12-digit identifier 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 identifier of one or more AWS accounts with which the image is shared.public DescribeImagePermissionsRequest withSharedAwsAccountIds(Collection<String> sharedAwsAccountIds)
The 12-digit identifier of one or more AWS accounts with which the image is shared.
sharedAwsAccountIds
- The 12-digit identifier 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 for this operation. If this value is null, it retrieves the first page.
nextToken
- The pagination token to use to retrieve the next page of results for this operation. If this value is
null, it retrieves the first page.public String getNextToken()
The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
public DescribeImagePermissionsRequest withNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
nextToken
- The pagination token to use to retrieve the next page of results for this operation. If this value is
null, it retrieves the first page.public String toString()
toString
in class Object
Object.toString()
public DescribeImagePermissionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()