@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeEffectiveInstanceAssociationsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeEffectiveInstanceAssociationsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeEffectiveInstanceAssociationsResult |
clone() |
boolean |
equals(Object obj) |
List<InstanceAssociation> |
getAssociations()
The associations for the requested instance.
|
String |
getNextToken()
The token to use when requesting the next set of items.
|
int |
hashCode() |
void |
setAssociations(Collection<InstanceAssociation> associations)
The associations for the requested instance.
|
void |
setNextToken(String nextToken)
The token to use when requesting the next set of items.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeEffectiveInstanceAssociationsResult |
withAssociations(Collection<InstanceAssociation> associations)
The associations for the requested instance.
|
DescribeEffectiveInstanceAssociationsResult |
withAssociations(InstanceAssociation... associations)
The associations for the requested instance.
|
DescribeEffectiveInstanceAssociationsResult |
withNextToken(String nextToken)
The token to use when requesting the next set of items.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public DescribeEffectiveInstanceAssociationsResult()
public List<InstanceAssociation> getAssociations()
The associations for the requested instance.
public void setAssociations(Collection<InstanceAssociation> associations)
The associations for the requested instance.
associations
- The associations for the requested instance.public DescribeEffectiveInstanceAssociationsResult withAssociations(InstanceAssociation... associations)
The associations for the requested instance.
NOTE: This method appends the values to the existing list (if any). Use
setAssociations(java.util.Collection)
or withAssociations(java.util.Collection)
if you want to
override the existing values.
associations
- The associations for the requested instance.public DescribeEffectiveInstanceAssociationsResult withAssociations(Collection<InstanceAssociation> associations)
The associations for the requested instance.
associations
- The associations for the requested instance.public void setNextToken(String nextToken)
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
nextToken
- The token to use when requesting the next set of items. If there are no additional items to return, the
string is empty.public String getNextToken()
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
public DescribeEffectiveInstanceAssociationsResult withNextToken(String nextToken)
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
nextToken
- The token to use when requesting the next set of items. If there are no additional items to return, the
string is empty.public String toString()
toString
in class Object
Object.toString()
public DescribeEffectiveInstanceAssociationsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.