// *** 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.azure.avs.inputs;

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


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

    public static final PrivateCloudManagementClusterArgs Empty = new PrivateCloudManagementClusterArgs();

    /**
     * A list of hosts in the management cluster.
     * 
     */
    @Import(name="hosts")
    private @Nullable Output<List<String>> hosts;

    /**
     * @return A list of hosts in the management cluster.
     * 
     */
    public Optional<Output<List<String>>> hosts() {
        return Optional.ofNullable(this.hosts);
    }

    /**
     * The ID of the management cluster.
     * 
     */
    @Import(name="id")
    private @Nullable Output<Integer> id;

    /**
     * @return The ID of the management cluster.
     * 
     */
    public Optional<Output<Integer>> id() {
        return Optional.ofNullable(this.id);
    }

    /**
     * The size of the management cluster. This field can not updated with `internet_connection_enabled` together.
     * 
     */
    @Import(name="size", required=true)
    private Output<Integer> size;

    /**
     * @return The size of the management cluster. This field can not updated with `internet_connection_enabled` together.
     * 
     */
    public Output<Integer> size() {
        return this.size;
    }

    private PrivateCloudManagementClusterArgs() {}

    private PrivateCloudManagementClusterArgs(PrivateCloudManagementClusterArgs $) {
        this.hosts = $.hosts;
        this.id = $.id;
        this.size = $.size;
    }

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

    public static final class Builder {
        private PrivateCloudManagementClusterArgs $;

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

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

        /**
         * @param hosts A list of hosts in the management cluster.
         * 
         * @return builder
         * 
         */
        public Builder hosts(@Nullable Output<List<String>> hosts) {
            $.hosts = hosts;
            return this;
        }

        /**
         * @param hosts A list of hosts in the management cluster.
         * 
         * @return builder
         * 
         */
        public Builder hosts(List<String> hosts) {
            return hosts(Output.of(hosts));
        }

        /**
         * @param hosts A list of hosts in the management cluster.
         * 
         * @return builder
         * 
         */
        public Builder hosts(String... hosts) {
            return hosts(List.of(hosts));
        }

        /**
         * @param id The ID of the management cluster.
         * 
         * @return builder
         * 
         */
        public Builder id(@Nullable Output<Integer> id) {
            $.id = id;
            return this;
        }

        /**
         * @param id The ID of the management cluster.
         * 
         * @return builder
         * 
         */
        public Builder id(Integer id) {
            return id(Output.of(id));
        }

        /**
         * @param size The size of the management cluster. This field can not updated with `internet_connection_enabled` together.
         * 
         * @return builder
         * 
         */
        public Builder size(Output<Integer> size) {
            $.size = size;
            return this;
        }

        /**
         * @param size The size of the management cluster. This field can not updated with `internet_connection_enabled` together.
         * 
         * @return builder
         * 
         */
        public Builder size(Integer size) {
            return size(Output.of(size));
        }

        public PrivateCloudManagementClusterArgs build() {
            $.size = Objects.requireNonNull($.size, "expected parameter 'size' to be non-null");
            return $;
        }
    }

}
