@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeImageVersionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeImageVersionRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeImageVersionRequest |
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 |
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 |
setVersion(Integer version)
The version of the image.
|
String |
toString()
Returns a string representation of this object.
|
DescribeImageVersionRequest |
withAlias(String alias)
The alias of the image version.
|
DescribeImageVersionRequest |
withImageName(String imageName)
The name of the image.
|
DescribeImageVersionRequest |
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 DescribeImageVersionRequest withImageName(String imageName)
The name of the image.
imageName
- The name of the image.public void setVersion(Integer version)
The version of the image. If not specified, the latest version is described.
version
- The version of the image. If not specified, the latest version is described.public Integer getVersion()
The version of the image. If not specified, the latest version is described.
public DescribeImageVersionRequest withVersion(Integer version)
The version of the image. If not specified, the latest version is described.
version
- The version of the image. If not specified, the latest version is described.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 DescribeImageVersionRequest withAlias(String alias)
The alias of the image version.
alias
- The alias of the image version.public String toString()
toString
in class Object
Object.toString()
public DescribeImageVersionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()