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

com.pulumi.azurenative.mobilenetwork.inputs.PlmnIdArgs Maven / Gradle / Ivy

There is a newer version: 2.78.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.String;
import java.util.Objects;


/**
 * Public land mobile network (PLMN) ID.
 * 
 */
public final class PlmnIdArgs extends com.pulumi.resources.ResourceArgs {

    public static final PlmnIdArgs Empty = new PlmnIdArgs();

    /**
     * Mobile country code (MCC).
     * 
     */
    @Import(name="mcc", required=true)
    private Output mcc;

    /**
     * @return Mobile country code (MCC).
     * 
     */
    public Output mcc() {
        return this.mcc;
    }

    /**
     * Mobile network code (MNC).
     * 
     */
    @Import(name="mnc", required=true)
    private Output mnc;

    /**
     * @return Mobile network code (MNC).
     * 
     */
    public Output mnc() {
        return this.mnc;
    }

    private PlmnIdArgs() {}

    private PlmnIdArgs(PlmnIdArgs $) {
        this.mcc = $.mcc;
        this.mnc = $.mnc;
    }

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

    public static final class Builder {
        private PlmnIdArgs $;

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

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

        /**
         * @param mcc Mobile country code (MCC).
         * 
         * @return builder
         * 
         */
        public Builder mcc(Output mcc) {
            $.mcc = mcc;
            return this;
        }

        /**
         * @param mcc Mobile country code (MCC).
         * 
         * @return builder
         * 
         */
        public Builder mcc(String mcc) {
            return mcc(Output.of(mcc));
        }

        /**
         * @param mnc Mobile network code (MNC).
         * 
         * @return builder
         * 
         */
        public Builder mnc(Output mnc) {
            $.mnc = mnc;
            return this;
        }

        /**
         * @param mnc Mobile network code (MNC).
         * 
         * @return builder
         * 
         */
        public Builder mnc(String mnc) {
            return mnc(Output.of(mnc));
        }

        public PlmnIdArgs build() {
            if ($.mcc == null) {
                throw new MissingRequiredPropertyException("PlmnIdArgs", "mcc");
            }
            if ($.mnc == null) {
                throw new MissingRequiredPropertyException("PlmnIdArgs", "mnc");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy