// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.mobilenetwork.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;

/** Single-network slice selection assistance information (S-NSSAI). */
@Fluent
public final class Snssai {
    /*
     * Slice/service type (SST).
     */
    @JsonProperty(value = "sst", required = true)
    private int sst;

    /*
     * Slice differentiator (SD).
     */
    @JsonProperty(value = "sd")
    private String sd;

    /** Creates an instance of Snssai class. */
    public Snssai() {
    }

    /**
     * Get the sst property: Slice/service type (SST).
     *
     * @return the sst value.
     */
    public int sst() {
        return this.sst;
    }

    /**
     * Set the sst property: Slice/service type (SST).
     *
     * @param sst the sst value to set.
     * @return the Snssai object itself.
     */
    public Snssai withSst(int sst) {
        this.sst = sst;
        return this;
    }

    /**
     * Get the sd property: Slice differentiator (SD).
     *
     * @return the sd value.
     */
    public String sd() {
        return this.sd;
    }

    /**
     * Set the sd property: Slice differentiator (SD).
     *
     * @param sd the sd value to set.
     * @return the Snssai object itself.
     */
    public Snssai withSd(String sd) {
        this.sd = sd;
        return this;
    }

    /**
     * Validates the instance.
     *
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    public void validate() {
    }
}
