Class CfnMemberMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.macie.CfnMemberMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMemberMixinProps>
- Enclosing interface:
CfnMemberMixinProps
@Stability(Stable)
public static final class CfnMemberMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMemberMixinProps>
A builder for
CfnMemberMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnMemberMixinProps.getAccountId()build()Builds the configured instance.Sets the value ofCfnMemberMixinProps.getEmail()Sets the value ofCfnMemberMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accountId
Sets the value ofCfnMemberMixinProps.getAccountId()- Parameters:
accountId- The AWS account ID for the account to associate with the Amazon Macie administrator account.- Returns:
this
-
email
Sets the value ofCfnMemberMixinProps.getEmail()- Parameters:
email- The email address for the account to associate with the Amazon Macie administrator account. Required by the Amazon Macie CreateMember API at creation time; it is write-only because the service does not return it (it is null when the account is associated through AWS Organizations).- Returns:
this
-
tags
Sets the value ofCfnMemberMixinProps.getTags()- Parameters:
tags- The tags to associate with the member account in Amazon Macie.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMemberMixinProps>- Returns:
- a new instance of
CfnMemberMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-