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

com.pulumi.azurenative.migrate.inputs.WebApplicationConfigurationArgs Maven / Gradle / Ivy

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

import com.pulumi.azurenative.migrate.enums.ConfigurationType;
import com.pulumi.azurenative.migrate.inputs.SecretStoreDetailsArgs;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Class for web application configurations.
 * 
 */
public final class WebApplicationConfigurationArgs extends com.pulumi.resources.ResourceArgs {

    public static final WebApplicationConfigurationArgs Empty = new WebApplicationConfigurationArgs();

    /**
     * Gets or sets the configuration file path.
     * 
     */
    @Import(name="filePath")
    private @Nullable Output filePath;

    /**
     * @return Gets or sets the configuration file path.
     * 
     */
    public Optional> filePath() {
        return Optional.ofNullable(this.filePath);
    }

    /**
     * Gets or sets the identifier for the configuration.
     * 
     */
    @Import(name="identifier")
    private @Nullable Output identifier;

    /**
     * @return Gets or sets the identifier for the configuration.
     * 
     */
    public Optional> identifier() {
        return Optional.ofNullable(this.identifier);
    }

    /**
     * Gets or sets a value indicating whether the configuration is edited or not by the user.
     * 
     */
    @Import(name="isDeploymentTimeEditable")
    private @Nullable Output isDeploymentTimeEditable;

    /**
     * @return Gets or sets a value indicating whether the configuration is edited or not by the user.
     * 
     */
    public Optional> isDeploymentTimeEditable() {
        return Optional.ofNullable(this.isDeploymentTimeEditable);
    }

    /**
     * Gets or sets the configuration local file path.
     * 
     */
    @Import(name="localFilePath")
    private @Nullable Output localFilePath;

    /**
     * @return Gets or sets the configuration local file path.
     * 
     */
    public Optional> localFilePath() {
        return Optional.ofNullable(this.localFilePath);
    }

    /**
     * Gets or sets the configuration name.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Gets or sets the configuration name.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    @Import(name="secretStoreDetails")
    private @Nullable Output secretStoreDetails;

    public Optional> secretStoreDetails() {
        return Optional.ofNullable(this.secretStoreDetails);
    }

    /**
     * Gets or sets the configuration section in the file.
     * 
     */
    @Import(name="section")
    private @Nullable Output section;

    /**
     * @return Gets or sets the configuration section in the file.
     * 
     */
    public Optional> section() {
        return Optional.ofNullable(this.section);
    }

    /**
     * Gets or sets the configuration target file path.
     * 
     */
    @Import(name="targetFilePath")
    private @Nullable Output targetFilePath;

    /**
     * @return Gets or sets the configuration target file path.
     * 
     */
    public Optional> targetFilePath() {
        return Optional.ofNullable(this.targetFilePath);
    }

    /**
     * Gets or sets the configuration type.
     * 
     */
    @Import(name="type")
    private @Nullable Output> type;

    /**
     * @return Gets or sets the configuration type.
     * 
     */
    public Optional>> type() {
        return Optional.ofNullable(this.type);
    }

    /**
     * Gets or sets the configuration value.
     * 
     */
    @Import(name="value")
    private @Nullable Output value;

    /**
     * @return Gets or sets the configuration value.
     * 
     */
    public Optional> value() {
        return Optional.ofNullable(this.value);
    }

    private WebApplicationConfigurationArgs() {}

    private WebApplicationConfigurationArgs(WebApplicationConfigurationArgs $) {
        this.filePath = $.filePath;
        this.identifier = $.identifier;
        this.isDeploymentTimeEditable = $.isDeploymentTimeEditable;
        this.localFilePath = $.localFilePath;
        this.name = $.name;
        this.secretStoreDetails = $.secretStoreDetails;
        this.section = $.section;
        this.targetFilePath = $.targetFilePath;
        this.type = $.type;
        this.value = $.value;
    }

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

    public static final class Builder {
        private WebApplicationConfigurationArgs $;

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

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

        /**
         * @param filePath Gets or sets the configuration file path.
         * 
         * @return builder
         * 
         */
        public Builder filePath(@Nullable Output filePath) {
            $.filePath = filePath;
            return this;
        }

        /**
         * @param filePath Gets or sets the configuration file path.
         * 
         * @return builder
         * 
         */
        public Builder filePath(String filePath) {
            return filePath(Output.of(filePath));
        }

        /**
         * @param identifier Gets or sets the identifier for the configuration.
         * 
         * @return builder
         * 
         */
        public Builder identifier(@Nullable Output identifier) {
            $.identifier = identifier;
            return this;
        }

        /**
         * @param identifier Gets or sets the identifier for the configuration.
         * 
         * @return builder
         * 
         */
        public Builder identifier(String identifier) {
            return identifier(Output.of(identifier));
        }

        /**
         * @param isDeploymentTimeEditable Gets or sets a value indicating whether the configuration is edited or not by the user.
         * 
         * @return builder
         * 
         */
        public Builder isDeploymentTimeEditable(@Nullable Output isDeploymentTimeEditable) {
            $.isDeploymentTimeEditable = isDeploymentTimeEditable;
            return this;
        }

        /**
         * @param isDeploymentTimeEditable Gets or sets a value indicating whether the configuration is edited or not by the user.
         * 
         * @return builder
         * 
         */
        public Builder isDeploymentTimeEditable(Boolean isDeploymentTimeEditable) {
            return isDeploymentTimeEditable(Output.of(isDeploymentTimeEditable));
        }

        /**
         * @param localFilePath Gets or sets the configuration local file path.
         * 
         * @return builder
         * 
         */
        public Builder localFilePath(@Nullable Output localFilePath) {
            $.localFilePath = localFilePath;
            return this;
        }

        /**
         * @param localFilePath Gets or sets the configuration local file path.
         * 
         * @return builder
         * 
         */
        public Builder localFilePath(String localFilePath) {
            return localFilePath(Output.of(localFilePath));
        }

        /**
         * @param name Gets or sets the configuration name.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Gets or sets the configuration name.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        public Builder secretStoreDetails(@Nullable Output secretStoreDetails) {
            $.secretStoreDetails = secretStoreDetails;
            return this;
        }

        public Builder secretStoreDetails(SecretStoreDetailsArgs secretStoreDetails) {
            return secretStoreDetails(Output.of(secretStoreDetails));
        }

        /**
         * @param section Gets or sets the configuration section in the file.
         * 
         * @return builder
         * 
         */
        public Builder section(@Nullable Output section) {
            $.section = section;
            return this;
        }

        /**
         * @param section Gets or sets the configuration section in the file.
         * 
         * @return builder
         * 
         */
        public Builder section(String section) {
            return section(Output.of(section));
        }

        /**
         * @param targetFilePath Gets or sets the configuration target file path.
         * 
         * @return builder
         * 
         */
        public Builder targetFilePath(@Nullable Output targetFilePath) {
            $.targetFilePath = targetFilePath;
            return this;
        }

        /**
         * @param targetFilePath Gets or sets the configuration target file path.
         * 
         * @return builder
         * 
         */
        public Builder targetFilePath(String targetFilePath) {
            return targetFilePath(Output.of(targetFilePath));
        }

        /**
         * @param type Gets or sets the configuration type.
         * 
         * @return builder
         * 
         */
        public Builder type(@Nullable Output> type) {
            $.type = type;
            return this;
        }

        /**
         * @param type Gets or sets the configuration type.
         * 
         * @return builder
         * 
         */
        public Builder type(Either type) {
            return type(Output.of(type));
        }

        /**
         * @param type Gets or sets the configuration type.
         * 
         * @return builder
         * 
         */
        public Builder type(String type) {
            return type(Either.ofLeft(type));
        }

        /**
         * @param type Gets or sets the configuration type.
         * 
         * @return builder
         * 
         */
        public Builder type(ConfigurationType type) {
            return type(Either.ofRight(type));
        }

        /**
         * @param value Gets or sets the configuration value.
         * 
         * @return builder
         * 
         */
        public Builder value(@Nullable Output value) {
            $.value = value;
            return this;
        }

        /**
         * @param value Gets or sets the configuration value.
         * 
         * @return builder
         * 
         */
        public Builder value(String value) {
            return value(Output.of(value));
        }

        public WebApplicationConfigurationArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy