
com.pulumi.azurenative.mobilenetwork.inputs.SliceConfigurationArgs 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.mobilenetwork.inputs;
import com.pulumi.azurenative.mobilenetwork.inputs.DataNetworkConfigurationArgs;
import com.pulumi.azurenative.mobilenetwork.inputs.DataNetworkResourceIdArgs;
import com.pulumi.azurenative.mobilenetwork.inputs.SliceResourceIdArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.List;
import java.util.Objects;
/**
* Per-slice settings
*
*/
public final class SliceConfigurationArgs extends com.pulumi.resources.ResourceArgs {
public static final SliceConfigurationArgs Empty = new SliceConfigurationArgs();
/**
* The allowed data networks and the settings to use for them. The list must not contain duplicate items and must contain at least one item.
*
*/
@Import(name="dataNetworkConfigurations", required=true)
private Output> dataNetworkConfigurations;
/**
* @return The allowed data networks and the settings to use for them. The list must not contain duplicate items and must contain at least one item.
*
*/
public Output> dataNetworkConfigurations() {
return this.dataNetworkConfigurations;
}
/**
* The default data network to use if the UE does not explicitly specify it. Configuration for this object must exist in the `dataNetworkConfigurations` map. The data network must be in the same location as the SIM policy.
*
*/
@Import(name="defaultDataNetwork", required=true)
private Output defaultDataNetwork;
/**
* @return The default data network to use if the UE does not explicitly specify it. Configuration for this object must exist in the `dataNetworkConfigurations` map. The data network must be in the same location as the SIM policy.
*
*/
public Output defaultDataNetwork() {
return this.defaultDataNetwork;
}
/**
* A reference to the slice that these settings apply to. The slice must be in the same location as the SIM policy.
*
*/
@Import(name="slice", required=true)
private Output slice;
/**
* @return A reference to the slice that these settings apply to. The slice must be in the same location as the SIM policy.
*
*/
public Output slice() {
return this.slice;
}
private SliceConfigurationArgs() {}
private SliceConfigurationArgs(SliceConfigurationArgs $) {
this.dataNetworkConfigurations = $.dataNetworkConfigurations;
this.defaultDataNetwork = $.defaultDataNetwork;
this.slice = $.slice;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SliceConfigurationArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private SliceConfigurationArgs $;
public Builder() {
$ = new SliceConfigurationArgs();
}
public Builder(SliceConfigurationArgs defaults) {
$ = new SliceConfigurationArgs(Objects.requireNonNull(defaults));
}
/**
* @param dataNetworkConfigurations The allowed data networks and the settings to use for them. The list must not contain duplicate items and must contain at least one item.
*
* @return builder
*
*/
public Builder dataNetworkConfigurations(Output> dataNetworkConfigurations) {
$.dataNetworkConfigurations = dataNetworkConfigurations;
return this;
}
/**
* @param dataNetworkConfigurations The allowed data networks and the settings to use for them. The list must not contain duplicate items and must contain at least one item.
*
* @return builder
*
*/
public Builder dataNetworkConfigurations(List dataNetworkConfigurations) {
return dataNetworkConfigurations(Output.of(dataNetworkConfigurations));
}
/**
* @param dataNetworkConfigurations The allowed data networks and the settings to use for them. The list must not contain duplicate items and must contain at least one item.
*
* @return builder
*
*/
public Builder dataNetworkConfigurations(DataNetworkConfigurationArgs... dataNetworkConfigurations) {
return dataNetworkConfigurations(List.of(dataNetworkConfigurations));
}
/**
* @param defaultDataNetwork The default data network to use if the UE does not explicitly specify it. Configuration for this object must exist in the `dataNetworkConfigurations` map. The data network must be in the same location as the SIM policy.
*
* @return builder
*
*/
public Builder defaultDataNetwork(Output defaultDataNetwork) {
$.defaultDataNetwork = defaultDataNetwork;
return this;
}
/**
* @param defaultDataNetwork The default data network to use if the UE does not explicitly specify it. Configuration for this object must exist in the `dataNetworkConfigurations` map. The data network must be in the same location as the SIM policy.
*
* @return builder
*
*/
public Builder defaultDataNetwork(DataNetworkResourceIdArgs defaultDataNetwork) {
return defaultDataNetwork(Output.of(defaultDataNetwork));
}
/**
* @param slice A reference to the slice that these settings apply to. The slice must be in the same location as the SIM policy.
*
* @return builder
*
*/
public Builder slice(Output slice) {
$.slice = slice;
return this;
}
/**
* @param slice A reference to the slice that these settings apply to. The slice must be in the same location as the SIM policy.
*
* @return builder
*
*/
public Builder slice(SliceResourceIdArgs slice) {
return slice(Output.of(slice));
}
public SliceConfigurationArgs build() {
if ($.dataNetworkConfigurations == null) {
throw new MissingRequiredPropertyException("SliceConfigurationArgs", "dataNetworkConfigurations");
}
if ($.defaultDataNetwork == null) {
throw new MissingRequiredPropertyException("SliceConfigurationArgs", "defaultDataNetwork");
}
if ($.slice == null) {
throw new MissingRequiredPropertyException("SliceConfigurationArgs", "slice");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy