Interface ListOrganizationAdminAccountsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListOrganizationAdminAccountsResponse.Builder,
,ListOrganizationAdminAccountsResponse> GuardDutyResponse.Builder
,SdkBuilder<ListOrganizationAdminAccountsResponse.Builder,
,ListOrganizationAdminAccountsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListOrganizationAdminAccountsResponse
public static interface ListOrganizationAdminAccountsResponse.Builder
extends GuardDutyResponse.Builder, SdkPojo, CopyableBuilder<ListOrganizationAdminAccountsResponse.Builder,ListOrganizationAdminAccountsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionadminAccounts
(Collection<AdminAccount> adminAccounts) A list of accounts configured as GuardDuty delegated administrators.adminAccounts
(Consumer<AdminAccount.Builder>... adminAccounts) A list of accounts configured as GuardDuty delegated administrators.adminAccounts
(AdminAccount... adminAccounts) A list of accounts configured as GuardDuty delegated administrators.The pagination parameter to be used on the next list operation to retrieve more items.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.guardduty.model.GuardDutyResponse.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 Details
-
adminAccounts
A list of accounts configured as GuardDuty delegated administrators.
- Parameters:
adminAccounts
- A list of accounts configured as GuardDuty delegated administrators.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
adminAccounts
A list of accounts configured as GuardDuty delegated administrators.
- Parameters:
adminAccounts
- A list of accounts configured as GuardDuty delegated administrators.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
adminAccounts
ListOrganizationAdminAccountsResponse.Builder adminAccounts(Consumer<AdminAccount.Builder>... adminAccounts) A list of accounts configured as GuardDuty delegated administrators.
This is a convenience method that creates an instance of theAdminAccount.Builder
avoiding the need to create one manually viaAdminAccount.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toadminAccounts(List<AdminAccount>)
.- 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:
-
nextToken
The pagination parameter to be used on the next list operation to retrieve more items.
- Parameters:
nextToken
- The pagination parameter to be used on the next list operation to retrieve more items.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-