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

com.pulumi.azurenative.cognitiveservices.inputs.RegionSettingArgs Maven / Gradle / Ivy

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

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


/**
 * The call rate limit Cognitive Services account.
 * 
 */
public final class RegionSettingArgs extends com.pulumi.resources.ResourceArgs {

    public static final RegionSettingArgs Empty = new RegionSettingArgs();

    /**
     * Maps the region to the regional custom subdomain.
     * 
     */
    @Import(name="customsubdomain")
    private @Nullable Output customsubdomain;

    /**
     * @return Maps the region to the regional custom subdomain.
     * 
     */
    public Optional> customsubdomain() {
        return Optional.ofNullable(this.customsubdomain);
    }

    /**
     * Name of the region.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Name of the region.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * A value for priority or weighted routing methods.
     * 
     */
    @Import(name="value")
    private @Nullable Output value;

    /**
     * @return A value for priority or weighted routing methods.
     * 
     */
    public Optional> value() {
        return Optional.ofNullable(this.value);
    }

    private RegionSettingArgs() {}

    private RegionSettingArgs(RegionSettingArgs $) {
        this.customsubdomain = $.customsubdomain;
        this.name = $.name;
        this.value = $.value;
    }

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

    public static final class Builder {
        private RegionSettingArgs $;

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

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

        /**
         * @param customsubdomain Maps the region to the regional custom subdomain.
         * 
         * @return builder
         * 
         */
        public Builder customsubdomain(@Nullable Output customsubdomain) {
            $.customsubdomain = customsubdomain;
            return this;
        }

        /**
         * @param customsubdomain Maps the region to the regional custom subdomain.
         * 
         * @return builder
         * 
         */
        public Builder customsubdomain(String customsubdomain) {
            return customsubdomain(Output.of(customsubdomain));
        }

        /**
         * @param name Name of the region.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Name of the region.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param value A value for priority or weighted routing methods.
         * 
         * @return builder
         * 
         */
        public Builder value(@Nullable Output value) {
            $.value = value;
            return this;
        }

        /**
         * @param value A value for priority or weighted routing methods.
         * 
         * @return builder
         * 
         */
        public Builder value(Double value) {
            return value(Output.of(value));
        }

        public RegionSettingArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy