@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListOrganizationAdminAccountsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListOrganizationAdminAccountsResult() |
Modifier and Type | Method and Description |
---|---|
ListOrganizationAdminAccountsResult |
clone() |
boolean |
equals(Object obj) |
List<Administrator> |
getAdministrators()
The list of delegated administrator accounts.
|
String |
getNextToken()
If there are more accounts remaining in the results, then this is the pagination token to use to request the next
page of accounts.
|
int |
hashCode() |
void |
setAdministrators(Collection<Administrator> administrators)
The list of delegated administrator accounts.
|
void |
setNextToken(String nextToken)
If there are more accounts remaining in the results, then this is the pagination token to use to request the next
page of accounts.
|
String |
toString()
Returns a string representation of this object.
|
ListOrganizationAdminAccountsResult |
withAdministrators(Administrator... administrators)
The list of delegated administrator accounts.
|
ListOrganizationAdminAccountsResult |
withAdministrators(Collection<Administrator> administrators)
The list of delegated administrator accounts.
|
ListOrganizationAdminAccountsResult |
withNextToken(String nextToken)
If there are more accounts remaining in the results, then this is the pagination token to use to request the next
page of accounts.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Administrator> getAdministrators()
The list of delegated administrator accounts.
public void setAdministrators(Collection<Administrator> administrators)
The list of delegated administrator accounts.
administrators
- The list of delegated administrator accounts.public ListOrganizationAdminAccountsResult withAdministrators(Administrator... administrators)
The list of delegated administrator accounts.
NOTE: This method appends the values to the existing list (if any). Use
setAdministrators(java.util.Collection)
or withAdministrators(java.util.Collection)
if you want
to override the existing values.
administrators
- The list of delegated administrator accounts.public ListOrganizationAdminAccountsResult withAdministrators(Collection<Administrator> administrators)
The list of delegated administrator accounts.
administrators
- The list of delegated administrator accounts.public void setNextToken(String nextToken)
If there are more accounts remaining in the results, then this is the pagination token to use to request the next page of accounts.
nextToken
- If there are more accounts remaining in the results, then this is the pagination token to use to request
the next page of accounts.public String getNextToken()
If there are more accounts remaining in the results, then this is the pagination token to use to request the next page of accounts.
public ListOrganizationAdminAccountsResult withNextToken(String nextToken)
If there are more accounts remaining in the results, then this is the pagination token to use to request the next page of accounts.
nextToken
- If there are more accounts remaining in the results, then this is the pagination token to use to request
the next page of accounts.public String toString()
toString
in class Object
Object.toString()
public ListOrganizationAdminAccountsResult clone()