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

com.pulumi.azurenative.servicefabric.inputs.SettingsSectionDescriptionArgs Maven / Gradle / Ivy

There is a newer version: 2.89.2
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.servicefabric.inputs;

import com.pulumi.azurenative.servicefabric.inputs.SettingsParameterDescriptionArgs;
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;


/**
 * Describes a section in the fabric settings of the cluster.
 * 
 */
public final class SettingsSectionDescriptionArgs extends com.pulumi.resources.ResourceArgs {

    public static final SettingsSectionDescriptionArgs Empty = new SettingsSectionDescriptionArgs();

    /**
     * The section name of the fabric settings.
     * 
     */
    @Import(name="name", required=true)
    private Output name;

    /**
     * @return The section name of the fabric settings.
     * 
     */
    public Output name() {
        return this.name;
    }

    /**
     * The collection of parameters in the section.
     * 
     */
    @Import(name="parameters", required=true)
    private Output> parameters;

    /**
     * @return The collection of parameters in the section.
     * 
     */
    public Output> parameters() {
        return this.parameters;
    }

    private SettingsSectionDescriptionArgs() {}

    private SettingsSectionDescriptionArgs(SettingsSectionDescriptionArgs $) {
        this.name = $.name;
        this.parameters = $.parameters;
    }

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

    public static final class Builder {
        private SettingsSectionDescriptionArgs $;

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

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

        /**
         * @param name The section name of the fabric settings.
         * 
         * @return builder
         * 
         */
        public Builder name(Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The section name of the fabric settings.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param parameters The collection of parameters in the section.
         * 
         * @return builder
         * 
         */
        public Builder parameters(Output> parameters) {
            $.parameters = parameters;
            return this;
        }

        /**
         * @param parameters The collection of parameters in the section.
         * 
         * @return builder
         * 
         */
        public Builder parameters(List parameters) {
            return parameters(Output.of(parameters));
        }

        /**
         * @param parameters The collection of parameters in the section.
         * 
         * @return builder
         * 
         */
        public Builder parameters(SettingsParameterDescriptionArgs... parameters) {
            return parameters(List.of(parameters));
        }

        public SettingsSectionDescriptionArgs build() {
            if ($.name == null) {
                throw new MissingRequiredPropertyException("SettingsSectionDescriptionArgs", "name");
            }
            if ($.parameters == null) {
                throw new MissingRequiredPropertyException("SettingsSectionDescriptionArgs", "parameters");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy