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

com.pulumi.azurenative.hybridnetwork.inputs.ConfigurationValueWithoutSecretsArgs Maven / Gradle / Ivy

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

import com.pulumi.azurenative.hybridnetwork.inputs.OpenDeploymentResourceReferenceArgs;
import com.pulumi.azurenative.hybridnetwork.inputs.SecretDeploymentResourceReferenceArgs;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.core.internal.Codegen;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * The ConfigurationValue with no secrets.
 * 
 */
public final class ConfigurationValueWithoutSecretsArgs extends com.pulumi.resources.ResourceArgs {

    public static final ConfigurationValueWithoutSecretsArgs Empty = new ConfigurationValueWithoutSecretsArgs();

    /**
     * The configuration group schema resource reference.
     * 
     */
    @Import(name="configurationGroupSchemaResourceReference")
    private @Nullable Output> configurationGroupSchemaResourceReference;

    /**
     * @return The configuration group schema resource reference.
     * 
     */
    public Optional>> configurationGroupSchemaResourceReference() {
        return Optional.ofNullable(this.configurationGroupSchemaResourceReference);
    }

    /**
     * The secret type which indicates if secret or not.
     * Expected value is 'Open'.
     * 
     */
    @Import(name="configurationType", required=true)
    private Output configurationType;

    /**
     * @return The secret type which indicates if secret or not.
     * Expected value is 'Open'.
     * 
     */
    public Output configurationType() {
        return this.configurationType;
    }

    /**
     * Name and value pairs that define the configuration value. It can be a well formed escaped JSON string.
     * 
     */
    @Import(name="configurationValue")
    private @Nullable Output configurationValue;

    /**
     * @return Name and value pairs that define the configuration value. It can be a well formed escaped JSON string.
     * 
     */
    public Optional> configurationValue() {
        return Optional.ofNullable(this.configurationValue);
    }

    private ConfigurationValueWithoutSecretsArgs() {}

    private ConfigurationValueWithoutSecretsArgs(ConfigurationValueWithoutSecretsArgs $) {
        this.configurationGroupSchemaResourceReference = $.configurationGroupSchemaResourceReference;
        this.configurationType = $.configurationType;
        this.configurationValue = $.configurationValue;
    }

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

    public static final class Builder {
        private ConfigurationValueWithoutSecretsArgs $;

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

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

        /**
         * @param configurationGroupSchemaResourceReference The configuration group schema resource reference.
         * 
         * @return builder
         * 
         */
        public Builder configurationGroupSchemaResourceReference(@Nullable Output> configurationGroupSchemaResourceReference) {
            $.configurationGroupSchemaResourceReference = configurationGroupSchemaResourceReference;
            return this;
        }

        /**
         * @param configurationGroupSchemaResourceReference The configuration group schema resource reference.
         * 
         * @return builder
         * 
         */
        public Builder configurationGroupSchemaResourceReference(Either configurationGroupSchemaResourceReference) {
            return configurationGroupSchemaResourceReference(Output.of(configurationGroupSchemaResourceReference));
        }

        /**
         * @param configurationGroupSchemaResourceReference The configuration group schema resource reference.
         * 
         * @return builder
         * 
         */
        public Builder configurationGroupSchemaResourceReference(OpenDeploymentResourceReferenceArgs configurationGroupSchemaResourceReference) {
            return configurationGroupSchemaResourceReference(Either.ofLeft(configurationGroupSchemaResourceReference));
        }

        /**
         * @param configurationGroupSchemaResourceReference The configuration group schema resource reference.
         * 
         * @return builder
         * 
         */
        public Builder configurationGroupSchemaResourceReference(SecretDeploymentResourceReferenceArgs configurationGroupSchemaResourceReference) {
            return configurationGroupSchemaResourceReference(Either.ofRight(configurationGroupSchemaResourceReference));
        }

        /**
         * @param configurationType The secret type which indicates if secret or not.
         * Expected value is 'Open'.
         * 
         * @return builder
         * 
         */
        public Builder configurationType(Output configurationType) {
            $.configurationType = configurationType;
            return this;
        }

        /**
         * @param configurationType The secret type which indicates if secret or not.
         * Expected value is 'Open'.
         * 
         * @return builder
         * 
         */
        public Builder configurationType(String configurationType) {
            return configurationType(Output.of(configurationType));
        }

        /**
         * @param configurationValue Name and value pairs that define the configuration value. It can be a well formed escaped JSON string.
         * 
         * @return builder
         * 
         */
        public Builder configurationValue(@Nullable Output configurationValue) {
            $.configurationValue = configurationValue;
            return this;
        }

        /**
         * @param configurationValue Name and value pairs that define the configuration value. It can be a well formed escaped JSON string.
         * 
         * @return builder
         * 
         */
        public Builder configurationValue(String configurationValue) {
            return configurationValue(Output.of(configurationValue));
        }

        public ConfigurationValueWithoutSecretsArgs build() {
            $.configurationType = Codegen.stringProp("configurationType").output().arg($.configurationType).require();
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy