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

com.pulumi.azurenative.botservice.inputs.ConnectionSettingParameterArgs 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.botservice.inputs;

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


/**
 * Extra Parameter in a Connection Setting Properties to indicate service provider specific properties
 * 
 */
public final class ConnectionSettingParameterArgs extends com.pulumi.resources.ResourceArgs {

    public static final ConnectionSettingParameterArgs Empty = new ConnectionSettingParameterArgs();

    /**
     * Key for the Connection Setting Parameter.
     * 
     */
    @Import(name="key")
    private @Nullable Output key;

    /**
     * @return Key for the Connection Setting Parameter.
     * 
     */
    public Optional> key() {
        return Optional.ofNullable(this.key);
    }

    /**
     * Value associated with the Connection Setting Parameter.
     * 
     */
    @Import(name="value")
    private @Nullable Output value;

    /**
     * @return Value associated with the Connection Setting Parameter.
     * 
     */
    public Optional> value() {
        return Optional.ofNullable(this.value);
    }

    private ConnectionSettingParameterArgs() {}

    private ConnectionSettingParameterArgs(ConnectionSettingParameterArgs $) {
        this.key = $.key;
        this.value = $.value;
    }

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

    public static final class Builder {
        private ConnectionSettingParameterArgs $;

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

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

        /**
         * @param key Key for the Connection Setting Parameter.
         * 
         * @return builder
         * 
         */
        public Builder key(@Nullable Output key) {
            $.key = key;
            return this;
        }

        /**
         * @param key Key for the Connection Setting Parameter.
         * 
         * @return builder
         * 
         */
        public Builder key(String key) {
            return key(Output.of(key));
        }

        /**
         * @param value Value associated with the Connection Setting Parameter.
         * 
         * @return builder
         * 
         */
        public Builder value(@Nullable Output value) {
            $.value = value;
            return this;
        }

        /**
         * @param value Value associated with the Connection Setting Parameter.
         * 
         * @return builder
         * 
         */
        public Builder value(String value) {
            return value(Output.of(value));
        }

        public ConnectionSettingParameterArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy