Interface CreateMembersRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateMembersRequest.Builder,,CreateMembersRequest> GuardDutyRequest.Builder,SdkBuilder<CreateMembersRequest.Builder,,CreateMembersRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateMembersRequest
public static interface CreateMembersRequest.Builder
extends GuardDutyRequest.Builder, SdkPojo, CopyableBuilder<CreateMembersRequest.Builder,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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.guardduty.model.GuardDutyRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
detectorId
The unique ID of the detector of the GuardDuty account for which you want to associate member accounts.
- Parameters:
detectorId- The unique ID of the detector of the GuardDuty account for which you want to associate member accounts.- 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.Builderavoiding the need to create one manually viaAccountDetail.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-