@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListImageVersionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListImageVersionsResult() |
Modifier and Type | Method and Description |
---|---|
ListImageVersionsResult |
clone() |
boolean |
equals(Object obj) |
List<ImageVersion> |
getImageVersions()
A list of versions and their properties.
|
String |
getNextToken()
A token for getting the next set of versions, if there are any.
|
int |
hashCode() |
void |
setImageVersions(Collection<ImageVersion> imageVersions)
A list of versions and their properties.
|
void |
setNextToken(String nextToken)
A token for getting the next set of versions, if there are any.
|
String |
toString()
Returns a string representation of this object.
|
ListImageVersionsResult |
withImageVersions(Collection<ImageVersion> imageVersions)
A list of versions and their properties.
|
ListImageVersionsResult |
withImageVersions(ImageVersion... imageVersions)
A list of versions and their properties.
|
ListImageVersionsResult |
withNextToken(String nextToken)
A token for getting the next set of versions, if there are any.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ImageVersion> getImageVersions()
A list of versions and their properties.
public void setImageVersions(Collection<ImageVersion> imageVersions)
A list of versions and their properties.
imageVersions
- A list of versions and their properties.public ListImageVersionsResult withImageVersions(ImageVersion... imageVersions)
A list of versions and their properties.
NOTE: This method appends the values to the existing list (if any). Use
setImageVersions(java.util.Collection)
or withImageVersions(java.util.Collection)
if you want
to override the existing values.
imageVersions
- A list of versions and their properties.public ListImageVersionsResult withImageVersions(Collection<ImageVersion> imageVersions)
A list of versions and their properties.
imageVersions
- A list of versions and their properties.public void setNextToken(String nextToken)
A token for getting the next set of versions, if there are any.
nextToken
- A token for getting the next set of versions, if there are any.public String getNextToken()
A token for getting the next set of versions, if there are any.
public ListImageVersionsResult withNextToken(String nextToken)
A token for getting the next set of versions, if there are any.
nextToken
- A token for getting the next set of versions, if there are any.public String toString()
toString
in class Object
Object.toString()
public ListImageVersionsResult clone()