Interface CreateMembersRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateMembersRequest.Builder,
,CreateMembersRequest> GuardDutyRequest.Builder
,SdkBuilder<CreateMembersRequest.Builder,
,CreateMembersRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateMembersRequest
-
Method Summary
Modifier and TypeMethodDescriptionaccountDetails
(Collection<AccountDetail> accountDetails) A list of account ID and email address pairs of the accounts that you want to associate with the GuardDuty administrator account.accountDetails
(Consumer<AccountDetail.Builder>... accountDetails) A list of account ID and email address pairs of the accounts that you want to associate with the GuardDuty administrator account.accountDetails
(AccountDetail... accountDetails) A list of account ID and email address pairs of the accounts that you want to associate with the GuardDuty administrator account.detectorId
(String detectorId) The unique ID of the detector of the GuardDuty account for which you want to associate member accounts.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.services.guardduty.model.GuardDutyRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
detectorId
The unique ID of the detector of the GuardDuty account for which you want to associate member accounts.
To find the
detectorId
in the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API.- Parameters:
detectorId
- The unique ID of the detector of the GuardDuty account for which you want to associate member accounts.To find the
detectorId
in the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountDetails
A list of account ID and email address pairs of the accounts that you want to associate with the GuardDuty administrator account.
- Parameters:
accountDetails
- A list of account ID and email address pairs of the accounts that you want to associate with the GuardDuty administrator account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountDetails
A list of account ID and email address pairs of the accounts that you want to associate with the GuardDuty administrator account.
- Parameters:
accountDetails
- A list of account ID and email address pairs of the accounts that you want to associate with the GuardDuty administrator account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountDetails
A list of account ID and email address pairs of the accounts that you want to associate with the GuardDuty administrator account.
This is a convenience method that creates an instance of theAccountDetail.Builder
avoiding the need to create one manually viaAccountDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaccountDetails(List<AccountDetail>)
.- Parameters:
accountDetails
- a consumer that will call methods onAccountDetail.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.
-