@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAssociationVersionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListAssociationVersionsResult() |
Modifier and Type | Method and Description |
---|---|
ListAssociationVersionsResult |
clone() |
boolean |
equals(Object obj) |
List<AssociationVersionInfo> |
getAssociationVersions()
Information about all versions of the association for the specified association ID.
|
String |
getNextToken()
The token for the next set of items to return.
|
int |
hashCode() |
void |
setAssociationVersions(Collection<AssociationVersionInfo> associationVersions)
Information about all versions of the association for the specified association ID.
|
void |
setNextToken(String nextToken)
The token for the next set of items to return.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListAssociationVersionsResult |
withAssociationVersions(AssociationVersionInfo... associationVersions)
Information about all versions of the association for the specified association ID.
|
ListAssociationVersionsResult |
withAssociationVersions(Collection<AssociationVersionInfo> associationVersions)
Information about all versions of the association for the specified association ID.
|
ListAssociationVersionsResult |
withNextToken(String nextToken)
The token for the next set of items to return.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<AssociationVersionInfo> getAssociationVersions()
Information about all versions of the association for the specified association ID.
public void setAssociationVersions(Collection<AssociationVersionInfo> associationVersions)
Information about all versions of the association for the specified association ID.
associationVersions
- Information about all versions of the association for the specified association ID.public ListAssociationVersionsResult withAssociationVersions(AssociationVersionInfo... associationVersions)
Information about all versions of the association for the specified association ID.
NOTE: This method appends the values to the existing list (if any). Use
setAssociationVersions(java.util.Collection)
or withAssociationVersions(java.util.Collection)
if you want to override the existing values.
associationVersions
- Information about all versions of the association for the specified association ID.public ListAssociationVersionsResult withAssociationVersions(Collection<AssociationVersionInfo> associationVersions)
Information about all versions of the association for the specified association ID.
associationVersions
- Information about all versions of the association for the specified association ID.public void setNextToken(String nextToken)
The token for the next set of items to return. Use this token to get the next set of results.
nextToken
- The token for the next set of items to return. Use this token to get the next set of results.public String getNextToken()
The token for the next set of items to return. Use this token to get the next set of results.
public ListAssociationVersionsResult withNextToken(String nextToken)
The token for the next set of items to return. Use this token to get the next set of results.
nextToken
- The token for the next set of items to return. Use this token to get the next set of results.public String toString()
toString
in class Object
Object.toString()
public ListAssociationVersionsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.