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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListOrganizationAdminAccountsResponse.BuilderadminAccounts(Collection<AdminAccount> adminAccounts)A list of accounts configured as GuardDuty delegated administrators.ListOrganizationAdminAccountsResponse.BuilderadminAccounts(Consumer<AdminAccount.Builder>... adminAccounts)A list of accounts configured as GuardDuty delegated administrators.ListOrganizationAdminAccountsResponse.BuilderadminAccounts(AdminAccount... adminAccounts)A list of accounts configured as GuardDuty delegated administrators.ListOrganizationAdminAccountsResponse.BuildernextToken(String nextToken)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 Detail
-
adminAccounts
ListOrganizationAdminAccountsResponse.Builder adminAccounts(Collection<AdminAccount> 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(AdminAccount... 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.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 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.
-
-