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

com.pulumi.meraki.devices.inputs.CellularSimsSimArgs Maven / Gradle / Ivy

There is a newer version: 0.4.0-alpha.1731736975
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.meraki.devices.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.meraki.devices.inputs.CellularSimsSimApnArgs;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final CellularSimsSimArgs Empty = new CellularSimsSimArgs();

    /**
     * APN configurations. If empty, the default APN will be used.
     * 
     */
    @Import(name="apns")
    private @Nullable Output> apns;

    /**
     * @return APN configurations. If empty, the default APN will be used.
     * 
     */
    public Optional>> apns() {
        return Optional.ofNullable(this.apns);
    }

    /**
     * If true, this SIM is used for boot. Must be true on single-sim devices.
     * 
     */
    @Import(name="isPrimary")
    private @Nullable Output isPrimary;

    /**
     * @return If true, this SIM is used for boot. Must be true on single-sim devices.
     * 
     */
    public Optional> isPrimary() {
        return Optional.ofNullable(this.isPrimary);
    }

    /**
     * SIM slot being configured. Must be 'sim1' on single-sim devices.
     * 
     */
    @Import(name="slot")
    private @Nullable Output slot;

    /**
     * @return SIM slot being configured. Must be 'sim1' on single-sim devices.
     * 
     */
    public Optional> slot() {
        return Optional.ofNullable(this.slot);
    }

    private CellularSimsSimArgs() {}

    private CellularSimsSimArgs(CellularSimsSimArgs $) {
        this.apns = $.apns;
        this.isPrimary = $.isPrimary;
        this.slot = $.slot;
    }

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

    public static final class Builder {
        private CellularSimsSimArgs $;

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

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

        /**
         * @param apns APN configurations. If empty, the default APN will be used.
         * 
         * @return builder
         * 
         */
        public Builder apns(@Nullable Output> apns) {
            $.apns = apns;
            return this;
        }

        /**
         * @param apns APN configurations. If empty, the default APN will be used.
         * 
         * @return builder
         * 
         */
        public Builder apns(List apns) {
            return apns(Output.of(apns));
        }

        /**
         * @param apns APN configurations. If empty, the default APN will be used.
         * 
         * @return builder
         * 
         */
        public Builder apns(CellularSimsSimApnArgs... apns) {
            return apns(List.of(apns));
        }

        /**
         * @param isPrimary If true, this SIM is used for boot. Must be true on single-sim devices.
         * 
         * @return builder
         * 
         */
        public Builder isPrimary(@Nullable Output isPrimary) {
            $.isPrimary = isPrimary;
            return this;
        }

        /**
         * @param isPrimary If true, this SIM is used for boot. Must be true on single-sim devices.
         * 
         * @return builder
         * 
         */
        public Builder isPrimary(Boolean isPrimary) {
            return isPrimary(Output.of(isPrimary));
        }

        /**
         * @param slot SIM slot being configured. Must be 'sim1' on single-sim devices.
         * 
         * @return builder
         * 
         */
        public Builder slot(@Nullable Output slot) {
            $.slot = slot;
            return this;
        }

        /**
         * @param slot SIM slot being configured. Must be 'sim1' on single-sim devices.
         * 
         * @return builder
         * 
         */
        public Builder slot(String slot) {
            return slot(Output.of(slot));
        }

        public CellularSimsSimArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy