Class CfnMemberProps.Builder
java.lang.Object
software.amazon.awscdk.services.macie.CfnMemberProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMemberProps>
- Enclosing interface:
CfnMemberProps
@Stability(Stable)
public static final class CfnMemberProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMemberProps>
A builder for
CfnMemberProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnMemberProps.getAccountId()build()Builds the configured instance.Sets the value ofCfnMemberProps.getEmail()Sets the value ofCfnMemberProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accountId
Sets the value ofCfnMemberProps.getAccountId()- Parameters:
accountId- The AWS account ID for the account to associate with the Amazon Macie administrator account. This parameter is required.- Returns:
this
-
email
Sets the value ofCfnMemberProps.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 ofCfnMemberProps.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<CfnMemberProps>- Returns:
- a new instance of
CfnMemberProps - Throws:
NullPointerException- if any required attribute was not provided
-