@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAccountsForParentResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListAccountsForParentResult() |
| Modifier and Type | Method and Description |
|---|---|
ListAccountsForParentResult |
clone() |
boolean |
equals(Object obj) |
List<Account> |
getAccounts()
A list of the accounts in the specified root or OU.
|
String |
getNextToken()
If present, this value indicates that there is more output available than is included in the current response.
|
int |
hashCode() |
void |
setAccounts(Collection<Account> accounts)
A list of the accounts in the specified root or OU.
|
void |
setNextToken(String nextToken)
If present, this value indicates that there is more output available than is included in the current response.
|
String |
toString()
Returns a string representation of this object.
|
ListAccountsForParentResult |
withAccounts(Account... accounts)
A list of the accounts in the specified root or OU.
|
ListAccountsForParentResult |
withAccounts(Collection<Account> accounts)
A list of the accounts in the specified root or OU.
|
ListAccountsForParentResult |
withNextToken(String nextToken)
If present, this value indicates that there is more output available than is included in the current response.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<Account> getAccounts()
A list of the accounts in the specified root or OU.
public void setAccounts(Collection<Account> accounts)
A list of the accounts in the specified root or OU.
accounts - A list of the accounts in the specified root or OU.public ListAccountsForParentResult withAccounts(Account... accounts)
A list of the accounts in the specified root or OU.
NOTE: This method appends the values to the existing list (if any). Use
setAccounts(java.util.Collection) or withAccounts(java.util.Collection) if you want to override
the existing values.
accounts - A list of the accounts in the specified root or OU.public ListAccountsForParentResult withAccounts(Collection<Account> accounts)
A list of the accounts in the specified root or OU.
accounts - A list of the accounts in the specified root or OU.public void setNextToken(String nextToken)
If present, this value indicates that there is more output available than is included in the current response.
Use this value in the NextToken request parameter in a subsequent call to the operation to get the
next part of the output. You should repeat this until the NextToken response element comes back as
null.
nextToken - If present, this value indicates that there is more output available than is included in the current
response. Use this value in the NextToken request parameter in a subsequent call to the
operation to get the next part of the output. You should repeat this until the NextToken
response element comes back as null.public String getNextToken()
If present, this value indicates that there is more output available than is included in the current response.
Use this value in the NextToken request parameter in a subsequent call to the operation to get the
next part of the output. You should repeat this until the NextToken response element comes back as
null.
NextToken request parameter in a subsequent call to the
operation to get the next part of the output. You should repeat this until the NextToken
response element comes back as null.public ListAccountsForParentResult withNextToken(String nextToken)
If present, this value indicates that there is more output available than is included in the current response.
Use this value in the NextToken request parameter in a subsequent call to the operation to get the
next part of the output. You should repeat this until the NextToken response element comes back as
null.
nextToken - If present, this value indicates that there is more output available than is included in the current
response. Use this value in the NextToken request parameter in a subsequent call to the
operation to get the next part of the output. You should repeat this until the NextToken
response element comes back as null.public String toString()
toString in class ObjectObject.toString()public ListAccountsForParentResult clone()
Copyright © 2020. All rights reserved.