All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.inspector2.MemberAssociationArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

The newest version!
// *** 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.inspector2;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


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

    public static final MemberAssociationArgs Empty = new MemberAssociationArgs();

    /**
     * ID of the account to associate
     * 
     */
    @Import(name="accountId", required=true)
    private Output accountId;

    /**
     * @return ID of the account to associate
     * 
     */
    public Output accountId() {
        return this.accountId;
    }

    private MemberAssociationArgs() {}

    private MemberAssociationArgs(MemberAssociationArgs $) {
        this.accountId = $.accountId;
    }

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

    public static final class Builder {
        private MemberAssociationArgs $;

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

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

        /**
         * @param accountId ID of the account to associate
         * 
         * @return builder
         * 
         */
        public Builder accountId(Output accountId) {
            $.accountId = accountId;
            return this;
        }

        /**
         * @param accountId ID of the account to associate
         * 
         * @return builder
         * 
         */
        public Builder accountId(String accountId) {
            return accountId(Output.of(accountId));
        }

        public MemberAssociationArgs build() {
            if ($.accountId == null) {
                throw new MissingRequiredPropertyException("MemberAssociationArgs", "accountId");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy