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

com.pulumi.azurenative.mobilenetwork.SimPolicyArgs 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.mobilenetwork;

import com.pulumi.azurenative.mobilenetwork.inputs.AmbrArgs;
import com.pulumi.azurenative.mobilenetwork.inputs.SliceConfigurationArgs;
import com.pulumi.azurenative.mobilenetwork.inputs.SliceResourceIdArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.core.internal.Codegen;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class SimPolicyArgs extends com.pulumi.resources.ResourceArgs {

    public static final SimPolicyArgs Empty = new SimPolicyArgs();

    /**
     * The default slice to use if the UE does not explicitly specify it. This slice must exist in the `sliceConfigurations` map. The slice must be in the same location as the SIM policy.
     * 
     */
    @Import(name="defaultSlice", required=true)
    private Output defaultSlice;

    /**
     * @return The default slice to use if the UE does not explicitly specify it. This slice must exist in the `sliceConfigurations` map. The slice must be in the same location as the SIM policy.
     * 
     */
    public Output defaultSlice() {
        return this.defaultSlice;
    }

    /**
     * The geo-location where the resource lives
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

    /**
     * @return The geo-location where the resource lives
     * 
     */
    public Optional> location() {
        return Optional.ofNullable(this.location);
    }

    /**
     * The name of the mobile network.
     * 
     */
    @Import(name="mobileNetworkName", required=true)
    private Output mobileNetworkName;

    /**
     * @return The name of the mobile network.
     * 
     */
    public Output mobileNetworkName() {
        return this.mobileNetworkName;
    }

    /**
     * UE periodic registration update timer (5G) or UE periodic tracking area update timer (4G), in seconds.
     * 
     */
    @Import(name="registrationTimer")
    private @Nullable Output registrationTimer;

    /**
     * @return UE periodic registration update timer (5G) or UE periodic tracking area update timer (4G), in seconds.
     * 
     */
    public Optional> registrationTimer() {
        return Optional.ofNullable(this.registrationTimer);
    }

    /**
     * The name of the resource group. The name is case insensitive.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The name of the resource group. The name is case insensitive.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * RAT/Frequency Selection Priority Index, defined in 3GPP TS 36.413. This is an optional setting and by default is unspecified.
     * 
     */
    @Import(name="rfspIndex")
    private @Nullable Output rfspIndex;

    /**
     * @return RAT/Frequency Selection Priority Index, defined in 3GPP TS 36.413. This is an optional setting and by default is unspecified.
     * 
     */
    public Optional> rfspIndex() {
        return Optional.ofNullable(this.rfspIndex);
    }

    /**
     * The name of the SIM policy.
     * 
     */
    @Import(name="simPolicyName")
    private @Nullable Output simPolicyName;

    /**
     * @return The name of the SIM policy.
     * 
     */
    public Optional> simPolicyName() {
        return Optional.ofNullable(this.simPolicyName);
    }

    /**
     * The allowed slices and the settings to use for them. The list must not contain duplicate items and must contain at least one item.
     * 
     */
    @Import(name="sliceConfigurations", required=true)
    private Output> sliceConfigurations;

    /**
     * @return The allowed slices and the settings to use for them. The list must not contain duplicate items and must contain at least one item.
     * 
     */
    public Output> sliceConfigurations() {
        return this.sliceConfigurations;
    }

    /**
     * Resource tags.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return Resource tags.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    /**
     * Aggregate maximum bit rate across all non-GBR QoS flows of all PDU sessions of a given UE. See 3GPP TS23.501 section 5.7.2.6 for a full description of the UE-AMBR.
     * 
     */
    @Import(name="ueAmbr", required=true)
    private Output ueAmbr;

    /**
     * @return Aggregate maximum bit rate across all non-GBR QoS flows of all PDU sessions of a given UE. See 3GPP TS23.501 section 5.7.2.6 for a full description of the UE-AMBR.
     * 
     */
    public Output ueAmbr() {
        return this.ueAmbr;
    }

    private SimPolicyArgs() {}

    private SimPolicyArgs(SimPolicyArgs $) {
        this.defaultSlice = $.defaultSlice;
        this.location = $.location;
        this.mobileNetworkName = $.mobileNetworkName;
        this.registrationTimer = $.registrationTimer;
        this.resourceGroupName = $.resourceGroupName;
        this.rfspIndex = $.rfspIndex;
        this.simPolicyName = $.simPolicyName;
        this.sliceConfigurations = $.sliceConfigurations;
        this.tags = $.tags;
        this.ueAmbr = $.ueAmbr;
    }

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

    public static final class Builder {
        private SimPolicyArgs $;

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

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

        /**
         * @param defaultSlice The default slice to use if the UE does not explicitly specify it. This slice must exist in the `sliceConfigurations` map. The slice must be in the same location as the SIM policy.
         * 
         * @return builder
         * 
         */
        public Builder defaultSlice(Output defaultSlice) {
            $.defaultSlice = defaultSlice;
            return this;
        }

        /**
         * @param defaultSlice The default slice to use if the UE does not explicitly specify it. This slice must exist in the `sliceConfigurations` map. The slice must be in the same location as the SIM policy.
         * 
         * @return builder
         * 
         */
        public Builder defaultSlice(SliceResourceIdArgs defaultSlice) {
            return defaultSlice(Output.of(defaultSlice));
        }

        /**
         * @param location The geo-location where the resource lives
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location The geo-location where the resource lives
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @param mobileNetworkName The name of the mobile network.
         * 
         * @return builder
         * 
         */
        public Builder mobileNetworkName(Output mobileNetworkName) {
            $.mobileNetworkName = mobileNetworkName;
            return this;
        }

        /**
         * @param mobileNetworkName The name of the mobile network.
         * 
         * @return builder
         * 
         */
        public Builder mobileNetworkName(String mobileNetworkName) {
            return mobileNetworkName(Output.of(mobileNetworkName));
        }

        /**
         * @param registrationTimer UE periodic registration update timer (5G) or UE periodic tracking area update timer (4G), in seconds.
         * 
         * @return builder
         * 
         */
        public Builder registrationTimer(@Nullable Output registrationTimer) {
            $.registrationTimer = registrationTimer;
            return this;
        }

        /**
         * @param registrationTimer UE periodic registration update timer (5G) or UE periodic tracking area update timer (4G), in seconds.
         * 
         * @return builder
         * 
         */
        public Builder registrationTimer(Integer registrationTimer) {
            return registrationTimer(Output.of(registrationTimer));
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param rfspIndex RAT/Frequency Selection Priority Index, defined in 3GPP TS 36.413. This is an optional setting and by default is unspecified.
         * 
         * @return builder
         * 
         */
        public Builder rfspIndex(@Nullable Output rfspIndex) {
            $.rfspIndex = rfspIndex;
            return this;
        }

        /**
         * @param rfspIndex RAT/Frequency Selection Priority Index, defined in 3GPP TS 36.413. This is an optional setting and by default is unspecified.
         * 
         * @return builder
         * 
         */
        public Builder rfspIndex(Integer rfspIndex) {
            return rfspIndex(Output.of(rfspIndex));
        }

        /**
         * @param simPolicyName The name of the SIM policy.
         * 
         * @return builder
         * 
         */
        public Builder simPolicyName(@Nullable Output simPolicyName) {
            $.simPolicyName = simPolicyName;
            return this;
        }

        /**
         * @param simPolicyName The name of the SIM policy.
         * 
         * @return builder
         * 
         */
        public Builder simPolicyName(String simPolicyName) {
            return simPolicyName(Output.of(simPolicyName));
        }

        /**
         * @param sliceConfigurations The allowed slices 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 sliceConfigurations(Output> sliceConfigurations) {
            $.sliceConfigurations = sliceConfigurations;
            return this;
        }

        /**
         * @param sliceConfigurations The allowed slices 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 sliceConfigurations(List sliceConfigurations) {
            return sliceConfigurations(Output.of(sliceConfigurations));
        }

        /**
         * @param sliceConfigurations The allowed slices 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 sliceConfigurations(SliceConfigurationArgs... sliceConfigurations) {
            return sliceConfigurations(List.of(sliceConfigurations));
        }

        /**
         * @param tags Resource tags.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags Resource tags.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        /**
         * @param ueAmbr Aggregate maximum bit rate across all non-GBR QoS flows of all PDU sessions of a given UE. See 3GPP TS23.501 section 5.7.2.6 for a full description of the UE-AMBR.
         * 
         * @return builder
         * 
         */
        public Builder ueAmbr(Output ueAmbr) {
            $.ueAmbr = ueAmbr;
            return this;
        }

        /**
         * @param ueAmbr Aggregate maximum bit rate across all non-GBR QoS flows of all PDU sessions of a given UE. See 3GPP TS23.501 section 5.7.2.6 for a full description of the UE-AMBR.
         * 
         * @return builder
         * 
         */
        public Builder ueAmbr(AmbrArgs ueAmbr) {
            return ueAmbr(Output.of(ueAmbr));
        }

        public SimPolicyArgs build() {
            if ($.defaultSlice == null) {
                throw new MissingRequiredPropertyException("SimPolicyArgs", "defaultSlice");
            }
            if ($.mobileNetworkName == null) {
                throw new MissingRequiredPropertyException("SimPolicyArgs", "mobileNetworkName");
            }
            $.registrationTimer = Codegen.integerProp("registrationTimer").output().arg($.registrationTimer).def(3240).getNullable();
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("SimPolicyArgs", "resourceGroupName");
            }
            if ($.sliceConfigurations == null) {
                throw new MissingRequiredPropertyException("SimPolicyArgs", "sliceConfigurations");
            }
            if ($.ueAmbr == null) {
                throw new MissingRequiredPropertyException("SimPolicyArgs", "ueAmbr");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy