Interface ListOrganizationAdminAccountsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListOrganizationAdminAccountsResponse.Builder,,ListOrganizationAdminAccountsResponse> SdkBuilder<ListOrganizationAdminAccountsResponse.Builder,,ListOrganizationAdminAccountsResponse> SdkPojo,SdkResponse.Builder,SecurityHubResponse.Builder
- Enclosing class:
ListOrganizationAdminAccountsResponse
@Mutable
@NotThreadSafe
public static interface ListOrganizationAdminAccountsResponse.Builder
extends SecurityHubResponse.Builder, SdkPojo, CopyableBuilder<ListOrganizationAdminAccountsResponse.Builder,ListOrganizationAdminAccountsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionadminAccounts(Collection<AdminAccount> adminAccounts) The list of Security Hub administrator accounts.adminAccounts(Consumer<AdminAccount.Builder>... adminAccounts) The list of Security Hub administrator accounts.adminAccounts(AdminAccount... adminAccounts) The list of Security Hub administrator accounts.The feature where the delegated administrator account is listed.feature(SecurityHubFeature feature) The feature where the delegated administrator account is listed.The pagination token to use to request the next page of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.securityhub.model.SecurityHubResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
adminAccounts
The list of Security Hub administrator accounts.
- Parameters:
adminAccounts- The list of Security Hub administrator accounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
adminAccounts
The list of Security Hub administrator accounts.
- Parameters:
adminAccounts- The list of Security Hub administrator accounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
adminAccounts
ListOrganizationAdminAccountsResponse.Builder adminAccounts(Consumer<AdminAccount.Builder>... adminAccounts) The list of Security Hub administrator accounts.
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 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 token to use to request the next page of results.
- Parameters:
nextToken- The pagination token to use to request the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
feature
The feature where the delegated administrator account is listed. Defaults to Security Hub CSPM if not specified.
- Parameters:
feature- The feature where the delegated administrator account is listed. Defaults to Security Hub CSPM if not specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
feature
The feature where the delegated administrator account is listed. Defaults to Security Hub CSPM if not specified.
- Parameters:
feature- The feature where the delegated administrator account is listed. Defaults to Security Hub CSPM if not specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-