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