Interface ListOrganizationAdminAccountsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListOrganizationAdminAccountsResponse.Builder,ListOrganizationAdminAccountsResponse>,Macie2Response.Builder,SdkBuilder<ListOrganizationAdminAccountsResponse.Builder,ListOrganizationAdminAccountsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListOrganizationAdminAccountsResponse
public static interface ListOrganizationAdminAccountsResponse.Builder extends Macie2Response.Builder, SdkPojo, CopyableBuilder<ListOrganizationAdminAccountsResponse.Builder,ListOrganizationAdminAccountsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListOrganizationAdminAccountsResponse.BuilderadminAccounts(Collection<AdminAccount> adminAccounts)An array of objects, one for each delegated Amazon Macie administrator account for the organization.ListOrganizationAdminAccountsResponse.BuilderadminAccounts(Consumer<AdminAccount.Builder>... adminAccounts)An array of objects, one for each delegated Amazon Macie administrator account for the organization.ListOrganizationAdminAccountsResponse.BuilderadminAccounts(AdminAccount... adminAccounts)An array of objects, one for each delegated Amazon Macie administrator account for the organization.ListOrganizationAdminAccountsResponse.BuildernextToken(String nextToken)The string to use in a subsequent request to get the next page of results in a paginated response.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.macie2.model.Macie2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
adminAccounts
ListOrganizationAdminAccountsResponse.Builder adminAccounts(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
adminAccounts
ListOrganizationAdminAccountsResponse.Builder adminAccounts(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
adminAccounts
ListOrganizationAdminAccountsResponse.Builder adminAccounts(Consumer<AdminAccount.Builder>... 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.
This is a convenience method that creates an instance of theAdminAccount.Builderavoiding the need to create one manually viaAdminAccount.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#adminAccounts(List.) - Parameters:
adminAccounts- a consumer that will call methods onAdminAccount.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#adminAccounts(java.util.Collection)
-
nextToken
ListOrganizationAdminAccountsResponse.Builder nextToken(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-