Interface CreateMemberRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateMemberRequest.Builder,CreateMemberRequest>,Macie2Request.Builder,SdkBuilder<CreateMemberRequest.Builder,CreateMemberRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateMemberRequest
public static interface CreateMemberRequest.Builder extends Macie2Request.Builder, SdkPojo, CopyableBuilder<CreateMemberRequest.Builder,CreateMemberRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateMemberRequest.Builderaccount(Consumer<AccountDetail.Builder> account)The details of the account to associate with the administrator account.CreateMemberRequest.Builderaccount(AccountDetail account)The details of the account to associate with the administrator account.CreateMemberRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateMemberRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateMemberRequest.Buildertags(Map<String,String> tags)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
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.macie2.model.Macie2Request.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
-
account
CreateMemberRequest.Builder account(AccountDetail 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
default CreateMemberRequest.Builder account(Consumer<AccountDetail.Builder> 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:
account(AccountDetail)
-
tags
CreateMemberRequest.Builder tags(Map<String,String> 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateMemberRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-