Interface CreateMembersRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateMembersRequest.Builder,
,CreateMembersRequest> SdkBuilder<CreateMembersRequest.Builder,
,CreateMembersRequest> SdkPojo
,SdkRequest.Builder
,SecurityHubRequest.Builder
- Enclosing class:
CreateMembersRequest
public static interface CreateMembersRequest.Builder
extends SecurityHubRequest.Builder, SdkPojo, CopyableBuilder<CreateMembersRequest.Builder,CreateMembersRequest>
-
Method Summary
Modifier and TypeMethodDescriptionaccountDetails
(Collection<AccountDetails> accountDetails) The list of accounts to associate with the Security Hub administrator account.accountDetails
(Consumer<AccountDetails.Builder>... accountDetails) The list of accounts to associate with the Security Hub administrator account.accountDetails
(AccountDetails... accountDetails) The list of accounts to associate with the Security Hub administrator account.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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.services.securityhub.model.SecurityHubRequest.Builder
build
-
Method Details
-
accountDetails
The list of accounts to associate with the Security Hub administrator account. For each account, the list includes the account ID and optionally the email address.
- Parameters:
accountDetails
- The list of accounts to associate with the Security Hub administrator account. For each account, the list includes the account ID and optionally the email address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountDetails
The list of accounts to associate with the Security Hub administrator account. For each account, the list includes the account ID and optionally the email address.
- Parameters:
accountDetails
- The list of accounts to associate with the Security Hub administrator account. For each account, the list includes the account ID and optionally the email address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountDetails
The list of accounts to associate with the Security Hub administrator account. For each account, the list includes the account ID and optionally the email address.
This is a convenience method that creates an instance of theAccountDetails.Builder
avoiding the need to create one manually viaAccountDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaccountDetails(List<AccountDetails>)
.- Parameters:
accountDetails
- a consumer that will call methods onAccountDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateMembersRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateMembersRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-