
com.pulumi.azurenative.voiceservices.inputs.ServiceRegionPropertiesArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.voiceservices.inputs;
import com.pulumi.azurenative.voiceservices.inputs.PrimaryRegionPropertiesArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
/**
* The service region configuration needed for Teams Callings.
*
*/
public final class ServiceRegionPropertiesArgs extends com.pulumi.resources.ResourceArgs {
public static final ServiceRegionPropertiesArgs Empty = new ServiceRegionPropertiesArgs();
/**
* The name of the region in which the resources needed for Teams Calling will be deployed.
*
*/
@Import(name="name", required=true)
private Output name;
/**
* @return The name of the region in which the resources needed for Teams Calling will be deployed.
*
*/
public Output name() {
return this.name;
}
/**
* The configuration used in this region as primary, and other regions as backup.
*
*/
@Import(name="primaryRegionProperties", required=true)
private Output primaryRegionProperties;
/**
* @return The configuration used in this region as primary, and other regions as backup.
*
*/
public Output primaryRegionProperties() {
return this.primaryRegionProperties;
}
private ServiceRegionPropertiesArgs() {}
private ServiceRegionPropertiesArgs(ServiceRegionPropertiesArgs $) {
this.name = $.name;
this.primaryRegionProperties = $.primaryRegionProperties;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ServiceRegionPropertiesArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private ServiceRegionPropertiesArgs $;
public Builder() {
$ = new ServiceRegionPropertiesArgs();
}
public Builder(ServiceRegionPropertiesArgs defaults) {
$ = new ServiceRegionPropertiesArgs(Objects.requireNonNull(defaults));
}
/**
* @param name The name of the region in which the resources needed for Teams Calling will be deployed.
*
* @return builder
*
*/
public Builder name(Output name) {
$.name = name;
return this;
}
/**
* @param name The name of the region in which the resources needed for Teams Calling will be deployed.
*
* @return builder
*
*/
public Builder name(String name) {
return name(Output.of(name));
}
/**
* @param primaryRegionProperties The configuration used in this region as primary, and other regions as backup.
*
* @return builder
*
*/
public Builder primaryRegionProperties(Output primaryRegionProperties) {
$.primaryRegionProperties = primaryRegionProperties;
return this;
}
/**
* @param primaryRegionProperties The configuration used in this region as primary, and other regions as backup.
*
* @return builder
*
*/
public Builder primaryRegionProperties(PrimaryRegionPropertiesArgs primaryRegionProperties) {
return primaryRegionProperties(Output.of(primaryRegionProperties));
}
public ServiceRegionPropertiesArgs build() {
if ($.name == null) {
throw new MissingRequiredPropertyException("ServiceRegionPropertiesArgs", "name");
}
if ($.primaryRegionProperties == null) {
throw new MissingRequiredPropertyException("ServiceRegionPropertiesArgs", "primaryRegionProperties");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy