@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAccountAssociationsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListAccountAssociationsResult() |
Modifier and Type | Method and Description |
---|---|
ListAccountAssociationsResult |
clone() |
boolean |
equals(Object obj) |
List<AccountAssociationsListElement> |
getLinkedAccounts()
The list of linked accounts in the payer account.
|
String |
getNextToken()
The pagination token that's used on subsequent calls to get accounts.
|
int |
hashCode() |
void |
setLinkedAccounts(Collection<AccountAssociationsListElement> linkedAccounts)
The list of linked accounts in the payer account.
|
void |
setNextToken(String nextToken)
The pagination token that's used on subsequent calls to get accounts.
|
String |
toString()
Returns a string representation of this object.
|
ListAccountAssociationsResult |
withLinkedAccounts(AccountAssociationsListElement... linkedAccounts)
The list of linked accounts in the payer account.
|
ListAccountAssociationsResult |
withLinkedAccounts(Collection<AccountAssociationsListElement> linkedAccounts)
The list of linked accounts in the payer account.
|
ListAccountAssociationsResult |
withNextToken(String nextToken)
The pagination token that's used on subsequent calls to get accounts.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<AccountAssociationsListElement> getLinkedAccounts()
The list of linked accounts in the payer account.
public void setLinkedAccounts(Collection<AccountAssociationsListElement> linkedAccounts)
The list of linked accounts in the payer account.
linkedAccounts
- The list of linked accounts in the payer account.public ListAccountAssociationsResult withLinkedAccounts(AccountAssociationsListElement... linkedAccounts)
The list of linked accounts in the payer account.
NOTE: This method appends the values to the existing list (if any). Use
setLinkedAccounts(java.util.Collection)
or withLinkedAccounts(java.util.Collection)
if you want
to override the existing values.
linkedAccounts
- The list of linked accounts in the payer account.public ListAccountAssociationsResult withLinkedAccounts(Collection<AccountAssociationsListElement> linkedAccounts)
The list of linked accounts in the payer account.
linkedAccounts
- The list of linked accounts in the payer account.public void setNextToken(String nextToken)
The pagination token that's used on subsequent calls to get accounts.
nextToken
- The pagination token that's used on subsequent calls to get accounts.public String getNextToken()
The pagination token that's used on subsequent calls to get accounts.
public ListAccountAssociationsResult withNextToken(String nextToken)
The pagination token that's used on subsequent calls to get accounts.
nextToken
- The pagination token that's used on subsequent calls to get accounts.public String toString()
toString
in class Object
Object.toString()
public ListAccountAssociationsResult clone()