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

com.pulumi.azure.bot.inputs.ChannelSmsState 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.azure.bot.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;


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

    public static final ChannelSmsState Empty = new ChannelSmsState();

    /**
     * The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="botName")
    private @Nullable Output botName;

    /**
     * @return The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.
     * 
     */
    public Optional> botName() {
        return Optional.ofNullable(this.botName);
    }

    /**
     * Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

    /**
     * @return Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
     * 
     */
    public Optional> location() {
        return Optional.ofNullable(this.location);
    }

    /**
     * The phone number for the SMS Channel.
     * 
     */
    @Import(name="phoneNumber")
    private @Nullable Output phoneNumber;

    /**
     * @return The phone number for the SMS Channel.
     * 
     */
    public Optional> phoneNumber() {
        return Optional.ofNullable(this.phoneNumber);
    }

    /**
     * The name of the resource group where the SMS Channel should be created. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="resourceGroupName")
    private @Nullable Output resourceGroupName;

    /**
     * @return The name of the resource group where the SMS Channel should be created. Changing this forces a new resource to be created.
     * 
     */
    public Optional> resourceGroupName() {
        return Optional.ofNullable(this.resourceGroupName);
    }

    /**
     * The account security identifier (SID) for the SMS Channel.
     * 
     */
    @Import(name="smsChannelAccountSecurityId")
    private @Nullable Output smsChannelAccountSecurityId;

    /**
     * @return The account security identifier (SID) for the SMS Channel.
     * 
     */
    public Optional> smsChannelAccountSecurityId() {
        return Optional.ofNullable(this.smsChannelAccountSecurityId);
    }

    /**
     * The authorization token for the SMS Channel.
     * 
     */
    @Import(name="smsChannelAuthToken")
    private @Nullable Output smsChannelAuthToken;

    /**
     * @return The authorization token for the SMS Channel.
     * 
     */
    public Optional> smsChannelAuthToken() {
        return Optional.ofNullable(this.smsChannelAuthToken);
    }

    private ChannelSmsState() {}

    private ChannelSmsState(ChannelSmsState $) {
        this.botName = $.botName;
        this.location = $.location;
        this.phoneNumber = $.phoneNumber;
        this.resourceGroupName = $.resourceGroupName;
        this.smsChannelAccountSecurityId = $.smsChannelAccountSecurityId;
        this.smsChannelAuthToken = $.smsChannelAuthToken;
    }

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

    public static final class Builder {
        private ChannelSmsState $;

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

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

        /**
         * @param botName The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder botName(@Nullable Output botName) {
            $.botName = botName;
            return this;
        }

        /**
         * @param botName The name of the Bot Resource this channel will be associated with. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder botName(String botName) {
            return botName(Output.of(botName));
        }

        /**
         * @param location Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @param phoneNumber The phone number for the SMS Channel.
         * 
         * @return builder
         * 
         */
        public Builder phoneNumber(@Nullable Output phoneNumber) {
            $.phoneNumber = phoneNumber;
            return this;
        }

        /**
         * @param phoneNumber The phone number for the SMS Channel.
         * 
         * @return builder
         * 
         */
        public Builder phoneNumber(String phoneNumber) {
            return phoneNumber(Output.of(phoneNumber));
        }

        /**
         * @param resourceGroupName The name of the resource group where the SMS Channel should be created. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(@Nullable Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group where the SMS Channel should be created. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param smsChannelAccountSecurityId The account security identifier (SID) for the SMS Channel.
         * 
         * @return builder
         * 
         */
        public Builder smsChannelAccountSecurityId(@Nullable Output smsChannelAccountSecurityId) {
            $.smsChannelAccountSecurityId = smsChannelAccountSecurityId;
            return this;
        }

        /**
         * @param smsChannelAccountSecurityId The account security identifier (SID) for the SMS Channel.
         * 
         * @return builder
         * 
         */
        public Builder smsChannelAccountSecurityId(String smsChannelAccountSecurityId) {
            return smsChannelAccountSecurityId(Output.of(smsChannelAccountSecurityId));
        }

        /**
         * @param smsChannelAuthToken The authorization token for the SMS Channel.
         * 
         * @return builder
         * 
         */
        public Builder smsChannelAuthToken(@Nullable Output smsChannelAuthToken) {
            $.smsChannelAuthToken = smsChannelAuthToken;
            return this;
        }

        /**
         * @param smsChannelAuthToken The authorization token for the SMS Channel.
         * 
         * @return builder
         * 
         */
        public Builder smsChannelAuthToken(String smsChannelAuthToken) {
            return smsChannelAuthToken(Output.of(smsChannelAuthToken));
        }

        public ChannelSmsState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy