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

com.pulumi.azurenative.fabric.inputs.CapacityAdministrationArgs Maven / Gradle / Ivy

There is a newer version: 2.72.0
Show 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.azurenative.fabric.inputs;

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


/**
 * The administration properties of the Fabric capacity resource
 * 
 */
public final class CapacityAdministrationArgs extends com.pulumi.resources.ResourceArgs {

    public static final CapacityAdministrationArgs Empty = new CapacityAdministrationArgs();

    /**
     * An array of administrator user identities.
     * 
     */
    @Import(name="members", required=true)
    private Output> members;

    /**
     * @return An array of administrator user identities.
     * 
     */
    public Output> members() {
        return this.members;
    }

    private CapacityAdministrationArgs() {}

    private CapacityAdministrationArgs(CapacityAdministrationArgs $) {
        this.members = $.members;
    }

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

    public static final class Builder {
        private CapacityAdministrationArgs $;

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

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

        /**
         * @param members An array of administrator user identities.
         * 
         * @return builder
         * 
         */
        public Builder members(Output> members) {
            $.members = members;
            return this;
        }

        /**
         * @param members An array of administrator user identities.
         * 
         * @return builder
         * 
         */
        public Builder members(List members) {
            return members(Output.of(members));
        }

        /**
         * @param members An array of administrator user identities.
         * 
         * @return builder
         * 
         */
        public Builder members(String... members) {
            return members(List.of(members));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy