
com.pulumi.azurenative.cognitiveservices.outputs.RegionSettingResponse 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.cognitiveservices.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Double;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class RegionSettingResponse {
/**
* @return Maps the region to the regional custom subdomain.
*
*/
private @Nullable String customsubdomain;
/**
* @return Name of the region.
*
*/
private @Nullable String name;
/**
* @return A value for priority or weighted routing methods.
*
*/
private @Nullable Double value;
private RegionSettingResponse() {}
/**
* @return Maps the region to the regional custom subdomain.
*
*/
public Optional customsubdomain() {
return Optional.ofNullable(this.customsubdomain);
}
/**
* @return Name of the region.
*
*/
public Optional name() {
return Optional.ofNullable(this.name);
}
/**
* @return A value for priority or weighted routing methods.
*
*/
public Optional value() {
return Optional.ofNullable(this.value);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(RegionSettingResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String customsubdomain;
private @Nullable String name;
private @Nullable Double value;
public Builder() {}
public Builder(RegionSettingResponse defaults) {
Objects.requireNonNull(defaults);
this.customsubdomain = defaults.customsubdomain;
this.name = defaults.name;
this.value = defaults.value;
}
@CustomType.Setter
public Builder customsubdomain(@Nullable String customsubdomain) {
this.customsubdomain = customsubdomain;
return this;
}
@CustomType.Setter
public Builder name(@Nullable String name) {
this.name = name;
return this;
}
@CustomType.Setter
public Builder value(@Nullable Double value) {
this.value = value;
return this;
}
public RegionSettingResponse build() {
final var _resultValue = new RegionSettingResponse();
_resultValue.customsubdomain = customsubdomain;
_resultValue.name = name;
_resultValue.value = value;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy