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

com.pulumi.azure.mobile.inputs.NetworkSliceState 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.azure.mobile.inputs;

import com.pulumi.azure.mobile.inputs.NetworkSliceSingleNetworkSliceSelectionAssistanceInformationArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final NetworkSliceState Empty = new NetworkSliceState();

    /**
     * A description for this Mobile Network Slice.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return A description for this Mobile Network Slice.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * Specifies the Azure Region where the Mobile Network Slice should exist. Changing this forces a new Mobile Network Slice to be created.
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

    /**
     * @return Specifies the Azure Region where the Mobile Network Slice should exist. Changing this forces a new Mobile Network Slice to be created.
     * 
     */
    public Optional> location() {
        return Optional.ofNullable(this.location);
    }

    /**
     * The ID of Mobile Network which the Mobile Network Slice belongs to. Changing this forces a new Mobile Network Slice to be created.
     * 
     */
    @Import(name="mobileNetworkId")
    private @Nullable Output mobileNetworkId;

    /**
     * @return The ID of Mobile Network which the Mobile Network Slice belongs to. Changing this forces a new Mobile Network Slice to be created.
     * 
     */
    public Optional> mobileNetworkId() {
        return Optional.ofNullable(this.mobileNetworkId);
    }

    /**
     * Specifies the name which should be used for this Mobile Network Slice. Changing this forces a new Mobile Network Slice to be created.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Specifies the name which should be used for this Mobile Network Slice. Changing this forces a new Mobile Network Slice to be created.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * A `single_network_slice_selection_assistance_information` block as defined below. Single-network slice selection assistance information (S-NSSAI). Unique at the scope of a mobile network.
     * 
     */
    @Import(name="singleNetworkSliceSelectionAssistanceInformation")
    private @Nullable Output singleNetworkSliceSelectionAssistanceInformation;

    /**
     * @return A `single_network_slice_selection_assistance_information` block as defined below. Single-network slice selection assistance information (S-NSSAI). Unique at the scope of a mobile network.
     * 
     */
    public Optional> singleNetworkSliceSelectionAssistanceInformation() {
        return Optional.ofNullable(this.singleNetworkSliceSelectionAssistanceInformation);
    }

    /**
     * A mapping of tags which should be assigned to the Mobile Network Slice.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return A mapping of tags which should be assigned to the Mobile Network Slice.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    private NetworkSliceState() {}

    private NetworkSliceState(NetworkSliceState $) {
        this.description = $.description;
        this.location = $.location;
        this.mobileNetworkId = $.mobileNetworkId;
        this.name = $.name;
        this.singleNetworkSliceSelectionAssistanceInformation = $.singleNetworkSliceSelectionAssistanceInformation;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private NetworkSliceState $;

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

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

        /**
         * @param description A description for this Mobile Network Slice.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description A description for this Mobile Network Slice.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param location Specifies the Azure Region where the Mobile Network Slice should exist. Changing this forces a new Mobile Network Slice to be created.
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location Specifies the Azure Region where the Mobile Network Slice should exist. Changing this forces a new Mobile Network Slice to be created.
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @param mobileNetworkId The ID of Mobile Network which the Mobile Network Slice belongs to. Changing this forces a new Mobile Network Slice to be created.
         * 
         * @return builder
         * 
         */
        public Builder mobileNetworkId(@Nullable Output mobileNetworkId) {
            $.mobileNetworkId = mobileNetworkId;
            return this;
        }

        /**
         * @param mobileNetworkId The ID of Mobile Network which the Mobile Network Slice belongs to. Changing this forces a new Mobile Network Slice to be created.
         * 
         * @return builder
         * 
         */
        public Builder mobileNetworkId(String mobileNetworkId) {
            return mobileNetworkId(Output.of(mobileNetworkId));
        }

        /**
         * @param name Specifies the name which should be used for this Mobile Network Slice. Changing this forces a new Mobile Network Slice to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Specifies the name which should be used for this Mobile Network Slice. Changing this forces a new Mobile Network Slice to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param singleNetworkSliceSelectionAssistanceInformation A `single_network_slice_selection_assistance_information` block as defined below. Single-network slice selection assistance information (S-NSSAI). Unique at the scope of a mobile network.
         * 
         * @return builder
         * 
         */
        public Builder singleNetworkSliceSelectionAssistanceInformation(@Nullable Output singleNetworkSliceSelectionAssistanceInformation) {
            $.singleNetworkSliceSelectionAssistanceInformation = singleNetworkSliceSelectionAssistanceInformation;
            return this;
        }

        /**
         * @param singleNetworkSliceSelectionAssistanceInformation A `single_network_slice_selection_assistance_information` block as defined below. Single-network slice selection assistance information (S-NSSAI). Unique at the scope of a mobile network.
         * 
         * @return builder
         * 
         */
        public Builder singleNetworkSliceSelectionAssistanceInformation(NetworkSliceSingleNetworkSliceSelectionAssistanceInformationArgs singleNetworkSliceSelectionAssistanceInformation) {
            return singleNetworkSliceSelectionAssistanceInformation(Output.of(singleNetworkSliceSelectionAssistanceInformation));
        }

        /**
         * @param tags A mapping of tags which should be assigned to the Mobile Network Slice.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags A mapping of tags which should be assigned to the Mobile Network Slice.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        public NetworkSliceState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy