@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListMemberAccountsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListMemberAccountsResult() |
Modifier and Type | Method and Description |
---|---|
ListMemberAccountsResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getMemberAccounts()
An array of account IDs.
|
String |
getNextToken()
If you have more member account IDs than the number that you specified for
MaxResults in the
request, the response includes a NextToken value. |
int |
hashCode() |
void |
setMemberAccounts(Collection<String> memberAccounts)
An array of account IDs.
|
void |
setNextToken(String nextToken)
If you have more member account IDs than the number that you specified for
MaxResults in the
request, the response includes a NextToken value. |
String |
toString()
Returns a string representation of this object.
|
ListMemberAccountsResult |
withMemberAccounts(Collection<String> memberAccounts)
An array of account IDs.
|
ListMemberAccountsResult |
withMemberAccounts(String... memberAccounts)
An array of account IDs.
|
ListMemberAccountsResult |
withNextToken(String nextToken)
If you have more member account IDs than the number that you specified for
MaxResults in the
request, the response includes a NextToken value. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<String> getMemberAccounts()
An array of account IDs.
public void setMemberAccounts(Collection<String> memberAccounts)
An array of account IDs.
memberAccounts
- An array of account IDs.public ListMemberAccountsResult withMemberAccounts(String... memberAccounts)
An array of account IDs.
NOTE: This method appends the values to the existing list (if any). Use
setMemberAccounts(java.util.Collection)
or withMemberAccounts(java.util.Collection)
if you want
to override the existing values.
memberAccounts
- An array of account IDs.public ListMemberAccountsResult withMemberAccounts(Collection<String> memberAccounts)
An array of account IDs.
memberAccounts
- An array of account IDs.public void setNextToken(String nextToken)
If you have more member account IDs than the number that you specified for MaxResults
in the
request, the response includes a NextToken
value. To list more IDs, submit another
ListMemberAccounts
request, and specify the NextToken
value from the response in the
NextToken
value in the next request.
nextToken
- If you have more member account IDs than the number that you specified for MaxResults
in the
request, the response includes a NextToken
value. To list more IDs, submit another
ListMemberAccounts
request, and specify the NextToken
value from the response in
the NextToken
value in the next request.public String getNextToken()
If you have more member account IDs than the number that you specified for MaxResults
in the
request, the response includes a NextToken
value. To list more IDs, submit another
ListMemberAccounts
request, and specify the NextToken
value from the response in the
NextToken
value in the next request.
MaxResults
in the
request, the response includes a NextToken
value. To list more IDs, submit another
ListMemberAccounts
request, and specify the NextToken
value from the response
in the NextToken
value in the next request.public ListMemberAccountsResult withNextToken(String nextToken)
If you have more member account IDs than the number that you specified for MaxResults
in the
request, the response includes a NextToken
value. To list more IDs, submit another
ListMemberAccounts
request, and specify the NextToken
value from the response in the
NextToken
value in the next request.
nextToken
- If you have more member account IDs than the number that you specified for MaxResults
in the
request, the response includes a NextToken
value. To list more IDs, submit another
ListMemberAccounts
request, and specify the NextToken
value from the response in
the NextToken
value in the next request.public String toString()
toString
in class Object
Object.toString()
public ListMemberAccountsResult clone()