@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAliasesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListAliasesRequest() |
Modifier and Type | Method and Description |
---|---|
ListAliasesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAlias()
The alias of the image version.
|
String |
getImageName()
The name of the image.
|
Integer |
getMaxResults()
The maximum number of aliases to return.
|
String |
getNextToken()
If the previous call to
ListAliases didn't return the full set of aliases, the call returns a token
for retrieving the next set of aliases. |
Integer |
getVersion()
The version of the image.
|
int |
hashCode() |
void |
setAlias(String alias)
The alias of the image version.
|
void |
setImageName(String imageName)
The name of the image.
|
void |
setMaxResults(Integer maxResults)
The maximum number of aliases to return.
|
void |
setNextToken(String nextToken)
If the previous call to
ListAliases didn't return the full set of aliases, the call returns a token
for retrieving the next set of aliases. |
void |
setVersion(Integer version)
The version of the image.
|
String |
toString()
Returns a string representation of this object.
|
ListAliasesRequest |
withAlias(String alias)
The alias of the image version.
|
ListAliasesRequest |
withImageName(String imageName)
The name of the image.
|
ListAliasesRequest |
withMaxResults(Integer maxResults)
The maximum number of aliases to return.
|
ListAliasesRequest |
withNextToken(String nextToken)
If the previous call to
ListAliases didn't return the full set of aliases, the call returns a token
for retrieving the next set of aliases. |
ListAliasesRequest |
withVersion(Integer version)
The version of the image.
|
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 setImageName(String imageName)
The name of the image.
imageName
- The name of the image.public String getImageName()
The name of the image.
public ListAliasesRequest withImageName(String imageName)
The name of the image.
imageName
- The name of the image.public void setAlias(String alias)
The alias of the image version.
alias
- The alias of the image version.public String getAlias()
The alias of the image version.
public ListAliasesRequest withAlias(String alias)
The alias of the image version.
alias
- The alias of the image version.public void setVersion(Integer version)
The version of the image. If image version is not specified, the aliases of all versions of the image are listed.
version
- The version of the image. If image version is not specified, the aliases of all versions of the image are
listed.public Integer getVersion()
The version of the image. If image version is not specified, the aliases of all versions of the image are listed.
public ListAliasesRequest withVersion(Integer version)
The version of the image. If image version is not specified, the aliases of all versions of the image are listed.
version
- The version of the image. If image version is not specified, the aliases of all versions of the image are
listed.public void setMaxResults(Integer maxResults)
The maximum number of aliases to return.
maxResults
- The maximum number of aliases to return.public Integer getMaxResults()
The maximum number of aliases to return.
public ListAliasesRequest withMaxResults(Integer maxResults)
The maximum number of aliases to return.
maxResults
- The maximum number of aliases to return.public void setNextToken(String nextToken)
If the previous call to ListAliases
didn't return the full set of aliases, the call returns a token
for retrieving the next set of aliases.
nextToken
- If the previous call to ListAliases
didn't return the full set of aliases, the call returns a
token for retrieving the next set of aliases.public String getNextToken()
If the previous call to ListAliases
didn't return the full set of aliases, the call returns a token
for retrieving the next set of aliases.
ListAliases
didn't return the full set of aliases, the call returns
a token for retrieving the next set of aliases.public ListAliasesRequest withNextToken(String nextToken)
If the previous call to ListAliases
didn't return the full set of aliases, the call returns a token
for retrieving the next set of aliases.
nextToken
- If the previous call to ListAliases
didn't return the full set of aliases, the call returns a
token for retrieving the next set of aliases.public String toString()
toString
in class Object
Object.toString()
public ListAliasesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()