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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateMembersRequest.BuilderaccountDetails(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.CreateMembersRequest.BuilderaccountDetails(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.CreateMembersRequest.BuilderaccountDetails(AccountDetail... accountDetails)A list of account ID and email address pairs of the accounts that you want to associate with the GuardDuty administrator account.CreateMembersRequest.BuilderdetectorId(String detectorId)The unique ID of the detector of the GuardDuty account for which you want to associate member accounts.CreateMembersRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateMembersRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
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 Detail
-
detectorId
CreateMembersRequest.Builder detectorId(String detectorId)
The unique ID of the detector of the GuardDuty account for which you want to associate member accounts.
To find the
detectorIdin 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
detectorIdin 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
CreateMembersRequest.Builder accountDetails(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.
- 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
CreateMembersRequest.Builder 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.
- 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
CreateMembersRequest.Builder 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.
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 to#accountDetails(List.) - 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:
#accountDetails(java.util.Collection)
-
overrideConfiguration
CreateMembersRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateMembersRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-