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

com.pulumi.meraki.devices.inputs.GetSwitchPortsArgs 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 java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class GetSwitchPortsArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetSwitchPortsArgs Empty = new GetSwitchPortsArgs();

    /**
     * portId path parameter. Port ID
     * 
     */
    @Import(name="portId")
    private @Nullable Output portId;

    /**
     * @return portId path parameter. Port ID
     * 
     */
    public Optional> portId() {
        return Optional.ofNullable(this.portId);
    }

    /**
     * serial path parameter.
     * 
     */
    @Import(name="serial")
    private @Nullable Output serial;

    /**
     * @return serial path parameter.
     * 
     */
    public Optional> serial() {
        return Optional.ofNullable(this.serial);
    }

    private GetSwitchPortsArgs() {}

    private GetSwitchPortsArgs(GetSwitchPortsArgs $) {
        this.portId = $.portId;
        this.serial = $.serial;
    }

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

    public static final class Builder {
        private GetSwitchPortsArgs $;

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

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

        /**
         * @param portId portId path parameter. Port ID
         * 
         * @return builder
         * 
         */
        public Builder portId(@Nullable Output portId) {
            $.portId = portId;
            return this;
        }

        /**
         * @param portId portId path parameter. Port ID
         * 
         * @return builder
         * 
         */
        public Builder portId(String portId) {
            return portId(Output.of(portId));
        }

        /**
         * @param serial serial path parameter.
         * 
         * @return builder
         * 
         */
        public Builder serial(@Nullable Output serial) {
            $.serial = serial;
            return this;
        }

        /**
         * @param serial serial path parameter.
         * 
         * @return builder
         * 
         */
        public Builder serial(String serial) {
            return serial(Output.of(serial));
        }

        public GetSwitchPortsArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy