@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<AdminAccount> |
getAdminAccounts()
An array of objects, one for each delegated Amazon Macie administrator account for the organization.
|
String |
getNextToken()
The string to use in a subsequent request to get the next page of results in a paginated response.
|
int |
hashCode() |
void |
setAdminAccounts(Collection<AdminAccount> adminAccounts)
An array of objects, one for each delegated Amazon Macie administrator account for the organization.
|
void |
setNextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response.
|
String |
toString()
Returns a string representation of this object.
|
ListOrganizationAdminAccountsResult |
withAdminAccounts(AdminAccount... adminAccounts)
An array of objects, one for each delegated Amazon Macie administrator account for the organization.
|
ListOrganizationAdminAccountsResult |
withAdminAccounts(Collection<AdminAccount> adminAccounts)
An array of objects, one for each delegated Amazon Macie administrator account for the organization.
|
ListOrganizationAdminAccountsResult |
withNextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<AdminAccount> getAdminAccounts()
An array of objects, one for each delegated Amazon Macie administrator account for the organization. Only one of these accounts can have a status of ENABLED.
public void setAdminAccounts(Collection<AdminAccount> adminAccounts)
An array of objects, one for each delegated Amazon Macie administrator account for the organization. Only one of these accounts can have a status of ENABLED.
adminAccounts
- An array of objects, one for each delegated Amazon Macie administrator account for the organization. Only
one of these accounts can have a status of ENABLED.public ListOrganizationAdminAccountsResult withAdminAccounts(AdminAccount... adminAccounts)
An array of objects, one for each delegated Amazon Macie administrator account for the organization. Only one of these accounts can have a status of ENABLED.
NOTE: This method appends the values to the existing list (if any). Use
setAdminAccounts(java.util.Collection)
or withAdminAccounts(java.util.Collection)
if you want
to override the existing values.
adminAccounts
- An array of objects, one for each delegated Amazon Macie administrator account for the organization. Only
one of these accounts can have a status of ENABLED.public ListOrganizationAdminAccountsResult withAdminAccounts(Collection<AdminAccount> adminAccounts)
An array of objects, one for each delegated Amazon Macie administrator account for the organization. Only one of these accounts can have a status of ENABLED.
adminAccounts
- An array of objects, one for each delegated Amazon Macie administrator account for the organization. Only
one of these accounts can have a status of ENABLED.public void setNextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
nextToken
- The string to use in a subsequent request to get the next page of results in a paginated response. This
value is null if there are no additional pages.public String getNextToken()
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
public ListOrganizationAdminAccountsResult withNextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
nextToken
- The string to use in a subsequent request to get the next page of results in a paginated response. This
value is null if there are no additional pages.public String toString()
toString
in class Object
Object.toString()
public ListOrganizationAdminAccountsResult clone()