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

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


/**
 * A telephone number for the Telephony channel
 * 
 */
public final class TelephonyPhoneNumbersArgs extends com.pulumi.resources.ResourceArgs {

    public static final TelephonyPhoneNumbersArgs Empty = new TelephonyPhoneNumbersArgs();

    /**
     * The endpoint of ACS.
     * 
     */
    @Import(name="acsEndpoint")
    private @Nullable Output acsEndpoint;

    /**
     * @return The endpoint of ACS.
     * 
     */
    public Optional> acsEndpoint() {
        return Optional.ofNullable(this.acsEndpoint);
    }

    /**
     * The resource id of ACS.
     * 
     */
    @Import(name="acsResourceId")
    private @Nullable Output acsResourceId;

    /**
     * @return The resource id of ACS.
     * 
     */
    public Optional> acsResourceId() {
        return Optional.ofNullable(this.acsResourceId);
    }

    /**
     * The secret of ACS.
     * 
     */
    @Import(name="acsSecret")
    private @Nullable Output acsSecret;

    /**
     * @return The secret of ACS.
     * 
     */
    public Optional> acsSecret() {
        return Optional.ofNullable(this.acsSecret);
    }

    /**
     * The service region of cognitive service.
     * 
     */
    @Import(name="cognitiveServiceRegion")
    private @Nullable Output cognitiveServiceRegion;

    /**
     * @return The service region of cognitive service.
     * 
     */
    public Optional> cognitiveServiceRegion() {
        return Optional.ofNullable(this.cognitiveServiceRegion);
    }

    /**
     * The resource id of cognitive service.
     * 
     */
    @Import(name="cognitiveServiceResourceId")
    private @Nullable Output cognitiveServiceResourceId;

    /**
     * @return The resource id of cognitive service.
     * 
     */
    public Optional> cognitiveServiceResourceId() {
        return Optional.ofNullable(this.cognitiveServiceResourceId);
    }

    /**
     * The subscription key of cognitive service.
     * 
     */
    @Import(name="cognitiveServiceSubscriptionKey")
    private @Nullable Output cognitiveServiceSubscriptionKey;

    /**
     * @return The subscription key of cognitive service.
     * 
     */
    public Optional> cognitiveServiceSubscriptionKey() {
        return Optional.ofNullable(this.cognitiveServiceSubscriptionKey);
    }

    /**
     * The default locale of the phone number.
     * 
     */
    @Import(name="defaultLocale")
    private @Nullable Output defaultLocale;

    /**
     * @return The default locale of the phone number.
     * 
     */
    public Optional> defaultLocale() {
        return Optional.ofNullable(this.defaultLocale);
    }

    /**
     * The element id.
     * 
     */
    @Import(name="id")
    private @Nullable Output id;

    /**
     * @return The element id.
     * 
     */
    public Optional> id() {
        return Optional.ofNullable(this.id);
    }

    /**
     * Optional Property that will determine the offering type of the phone.
     * 
     */
    @Import(name="offerType")
    private @Nullable Output offerType;

    /**
     * @return Optional Property that will determine the offering type of the phone.
     * 
     */
    public Optional> offerType() {
        return Optional.ofNullable(this.offerType);
    }

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

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

    private TelephonyPhoneNumbersArgs() {}

    private TelephonyPhoneNumbersArgs(TelephonyPhoneNumbersArgs $) {
        this.acsEndpoint = $.acsEndpoint;
        this.acsResourceId = $.acsResourceId;
        this.acsSecret = $.acsSecret;
        this.cognitiveServiceRegion = $.cognitiveServiceRegion;
        this.cognitiveServiceResourceId = $.cognitiveServiceResourceId;
        this.cognitiveServiceSubscriptionKey = $.cognitiveServiceSubscriptionKey;
        this.defaultLocale = $.defaultLocale;
        this.id = $.id;
        this.offerType = $.offerType;
        this.phoneNumber = $.phoneNumber;
    }

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

    public static final class Builder {
        private TelephonyPhoneNumbersArgs $;

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

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

        /**
         * @param acsEndpoint The endpoint of ACS.
         * 
         * @return builder
         * 
         */
        public Builder acsEndpoint(@Nullable Output acsEndpoint) {
            $.acsEndpoint = acsEndpoint;
            return this;
        }

        /**
         * @param acsEndpoint The endpoint of ACS.
         * 
         * @return builder
         * 
         */
        public Builder acsEndpoint(String acsEndpoint) {
            return acsEndpoint(Output.of(acsEndpoint));
        }

        /**
         * @param acsResourceId The resource id of ACS.
         * 
         * @return builder
         * 
         */
        public Builder acsResourceId(@Nullable Output acsResourceId) {
            $.acsResourceId = acsResourceId;
            return this;
        }

        /**
         * @param acsResourceId The resource id of ACS.
         * 
         * @return builder
         * 
         */
        public Builder acsResourceId(String acsResourceId) {
            return acsResourceId(Output.of(acsResourceId));
        }

        /**
         * @param acsSecret The secret of ACS.
         * 
         * @return builder
         * 
         */
        public Builder acsSecret(@Nullable Output acsSecret) {
            $.acsSecret = acsSecret;
            return this;
        }

        /**
         * @param acsSecret The secret of ACS.
         * 
         * @return builder
         * 
         */
        public Builder acsSecret(String acsSecret) {
            return acsSecret(Output.of(acsSecret));
        }

        /**
         * @param cognitiveServiceRegion The service region of cognitive service.
         * 
         * @return builder
         * 
         */
        public Builder cognitiveServiceRegion(@Nullable Output cognitiveServiceRegion) {
            $.cognitiveServiceRegion = cognitiveServiceRegion;
            return this;
        }

        /**
         * @param cognitiveServiceRegion The service region of cognitive service.
         * 
         * @return builder
         * 
         */
        public Builder cognitiveServiceRegion(String cognitiveServiceRegion) {
            return cognitiveServiceRegion(Output.of(cognitiveServiceRegion));
        }

        /**
         * @param cognitiveServiceResourceId The resource id of cognitive service.
         * 
         * @return builder
         * 
         */
        public Builder cognitiveServiceResourceId(@Nullable Output cognitiveServiceResourceId) {
            $.cognitiveServiceResourceId = cognitiveServiceResourceId;
            return this;
        }

        /**
         * @param cognitiveServiceResourceId The resource id of cognitive service.
         * 
         * @return builder
         * 
         */
        public Builder cognitiveServiceResourceId(String cognitiveServiceResourceId) {
            return cognitiveServiceResourceId(Output.of(cognitiveServiceResourceId));
        }

        /**
         * @param cognitiveServiceSubscriptionKey The subscription key of cognitive service.
         * 
         * @return builder
         * 
         */
        public Builder cognitiveServiceSubscriptionKey(@Nullable Output cognitiveServiceSubscriptionKey) {
            $.cognitiveServiceSubscriptionKey = cognitiveServiceSubscriptionKey;
            return this;
        }

        /**
         * @param cognitiveServiceSubscriptionKey The subscription key of cognitive service.
         * 
         * @return builder
         * 
         */
        public Builder cognitiveServiceSubscriptionKey(String cognitiveServiceSubscriptionKey) {
            return cognitiveServiceSubscriptionKey(Output.of(cognitiveServiceSubscriptionKey));
        }

        /**
         * @param defaultLocale The default locale of the phone number.
         * 
         * @return builder
         * 
         */
        public Builder defaultLocale(@Nullable Output defaultLocale) {
            $.defaultLocale = defaultLocale;
            return this;
        }

        /**
         * @param defaultLocale The default locale of the phone number.
         * 
         * @return builder
         * 
         */
        public Builder defaultLocale(String defaultLocale) {
            return defaultLocale(Output.of(defaultLocale));
        }

        /**
         * @param id The element id.
         * 
         * @return builder
         * 
         */
        public Builder id(@Nullable Output id) {
            $.id = id;
            return this;
        }

        /**
         * @param id The element id.
         * 
         * @return builder
         * 
         */
        public Builder id(String id) {
            return id(Output.of(id));
        }

        /**
         * @param offerType Optional Property that will determine the offering type of the phone.
         * 
         * @return builder
         * 
         */
        public Builder offerType(@Nullable Output offerType) {
            $.offerType = offerType;
            return this;
        }

        /**
         * @param offerType Optional Property that will determine the offering type of the phone.
         * 
         * @return builder
         * 
         */
        public Builder offerType(String offerType) {
            return offerType(Output.of(offerType));
        }

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

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

        public TelephonyPhoneNumbersArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy