// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.aws.macie.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class MemberAccountAssociationState extends com.pulumi.resources.ResourceArgs {

    public static final MemberAccountAssociationState Empty = new MemberAccountAssociationState();

    /**
     * The ID of the AWS account that you want to associate with Amazon Macie as a member account.
     * 
     */
    @Import(name="memberAccountId")
    private @Nullable Output<String> memberAccountId;

    /**
     * @return The ID of the AWS account that you want to associate with Amazon Macie as a member account.
     * 
     */
    public Optional<Output<String>> memberAccountId() {
        return Optional.ofNullable(this.memberAccountId);
    }

    private MemberAccountAssociationState() {}

    private MemberAccountAssociationState(MemberAccountAssociationState $) {
        this.memberAccountId = $.memberAccountId;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(MemberAccountAssociationState defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private MemberAccountAssociationState $;

        public Builder() {
            $ = new MemberAccountAssociationState();
        }

        public Builder(MemberAccountAssociationState defaults) {
            $ = new MemberAccountAssociationState(Objects.requireNonNull(defaults));
        }

        /**
         * @param memberAccountId The ID of the AWS account that you want to associate with Amazon Macie as a member account.
         * 
         * @return builder
         * 
         */
        public Builder memberAccountId(@Nullable Output<String> memberAccountId) {
            $.memberAccountId = memberAccountId;
            return this;
        }

        /**
         * @param memberAccountId The ID of the AWS account that you want to associate with Amazon Macie as a member account.
         * 
         * @return builder
         * 
         */
        public Builder memberAccountId(String memberAccountId) {
            return memberAccountId(Output.of(memberAccountId));
        }

        public MemberAccountAssociationState build() {
            return $;
        }
    }

}
