Interface CreateMemberRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateMemberRequest.Builder,,CreateMemberRequest> Macie2Request.Builder,SdkBuilder<CreateMemberRequest.Builder,,CreateMemberRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateMemberRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateMemberRequest.Builderaccount(Consumer<AccountDetail.Builder> account) The details of the account to associate with the administrator account.account(AccountDetail account) The details of the account to associate with the administrator account.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.A map of key-value pairs that specifies the tags to associate with the account in Amazon Macie.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.macie2.model.Macie2Request.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
-
account
The details of the account to associate with the administrator account.
- Parameters:
account- The details of the account to associate with the administrator account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
account
The details of the account to associate with the 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 toaccount(AccountDetail).- Parameters:
account- 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:
-
tags
A map of key-value pairs that specifies the tags to associate with the account in Amazon Macie.
An account can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
- Parameters:
tags- A map of key-value pairs that specifies the tags to associate with the account in Amazon Macie.An account can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateMemberRequest.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
CreateMemberRequest.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.
-