@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()
A list of accounts configured as GuardDuty delegated administrators.
|
String |
getNextToken()
The pagination parameter to be used on the next list operation to retrieve more items.
|
int |
hashCode() |
void |
setAdminAccounts(Collection<AdminAccount> adminAccounts)
A list of accounts configured as GuardDuty delegated administrators.
|
void |
setNextToken(String nextToken)
The pagination parameter to be used on the next list operation to retrieve more items.
|
String |
toString()
Returns a string representation of this object.
|
ListOrganizationAdminAccountsResult |
withAdminAccounts(AdminAccount... adminAccounts)
A list of accounts configured as GuardDuty delegated administrators.
|
ListOrganizationAdminAccountsResult |
withAdminAccounts(Collection<AdminAccount> adminAccounts)
A list of accounts configured as GuardDuty delegated administrators.
|
ListOrganizationAdminAccountsResult |
withNextToken(String nextToken)
The pagination parameter to be used on the next list operation to retrieve more items.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<AdminAccount> getAdminAccounts()
A list of accounts configured as GuardDuty delegated administrators.
public void setAdminAccounts(Collection<AdminAccount> adminAccounts)
A list of accounts configured as GuardDuty delegated administrators.
adminAccounts
- A list of accounts configured as GuardDuty delegated administrators.public ListOrganizationAdminAccountsResult withAdminAccounts(AdminAccount... adminAccounts)
A list of accounts configured as GuardDuty delegated administrators.
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
- A list of accounts configured as GuardDuty delegated administrators.public ListOrganizationAdminAccountsResult withAdminAccounts(Collection<AdminAccount> adminAccounts)
A list of accounts configured as GuardDuty delegated administrators.
adminAccounts
- A list of accounts configured as GuardDuty delegated administrators.public void setNextToken(String nextToken)
The pagination parameter to be used on the next list operation to retrieve more items.
nextToken
- The pagination parameter to be used on the next list operation to retrieve more items.public String getNextToken()
The pagination parameter to be used on the next list operation to retrieve more items.
public ListOrganizationAdminAccountsResult withNextToken(String nextToken)
The pagination parameter to be used on the next list operation to retrieve more items.
nextToken
- The pagination parameter to be used on the next list operation to retrieve more items.public String toString()
toString
in class Object
Object.toString()
public ListOrganizationAdminAccountsResult clone()