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 Details

    • Builder

      public Builder()
  • Method Details

    • accountId

      @Stability(Stable) public CfnMemberProps.Builder accountId(String accountId)
      Parameters:
      accountId - The AWS account ID for the account to associate with the Amazon Macie administrator account. This parameter is required.
      Returns:
      this
    • email

      @Stability(Stable) public CfnMemberProps.Builder email(String email)
      Sets the value of CfnMemberProps.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

      @Stability(Stable) public CfnMemberProps.Builder tags(List<? extends CfnTag> tags)
      Sets the value of CfnMemberProps.getTags()
      Parameters:
      tags - The tags to associate with the member account in Amazon Macie.
      Returns:
      this
    • build

      @Stability(Stable) public CfnMemberProps build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnMemberProps>
      Returns:
      a new instance of CfnMemberProps
      Throws:
      NullPointerException - if any required attribute was not provided