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

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

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


/**
 * Single-network slice selection assistance information (S-NSSAI).
 * 
 */
public final class SnssaiArgs extends com.pulumi.resources.ResourceArgs {

    public static final SnssaiArgs Empty = new SnssaiArgs();

    /**
     * Slice differentiator (SD).
     * 
     */
    @Import(name="sd")
    private @Nullable Output sd;

    /**
     * @return Slice differentiator (SD).
     * 
     */
    public Optional> sd() {
        return Optional.ofNullable(this.sd);
    }

    /**
     * Slice/service type (SST).
     * 
     */
    @Import(name="sst", required=true)
    private Output sst;

    /**
     * @return Slice/service type (SST).
     * 
     */
    public Output sst() {
        return this.sst;
    }

    private SnssaiArgs() {}

    private SnssaiArgs(SnssaiArgs $) {
        this.sd = $.sd;
        this.sst = $.sst;
    }

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

    public static final class Builder {
        private SnssaiArgs $;

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

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

        /**
         * @param sd Slice differentiator (SD).
         * 
         * @return builder
         * 
         */
        public Builder sd(@Nullable Output sd) {
            $.sd = sd;
            return this;
        }

        /**
         * @param sd Slice differentiator (SD).
         * 
         * @return builder
         * 
         */
        public Builder sd(String sd) {
            return sd(Output.of(sd));
        }

        /**
         * @param sst Slice/service type (SST).
         * 
         * @return builder
         * 
         */
        public Builder sst(Output sst) {
            $.sst = sst;
            return this;
        }

        /**
         * @param sst Slice/service type (SST).
         * 
         * @return builder
         * 
         */
        public Builder sst(Integer sst) {
            return sst(Output.of(sst));
        }

        public SnssaiArgs build() {
            if ($.sst == null) {
                throw new MissingRequiredPropertyException("SnssaiArgs", "sst");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy