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

com.pulumi.alicloud.rocketmq.inputs.RocketMQInstanceNetworkInfoVpcInfoVswitchArgs Maven / Gradle / Ivy

There is a newer version: 3.63.0-alpha.1727424957
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.alicloud.rocketmq.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 RocketMQInstanceNetworkInfoVpcInfoVswitchArgs extends com.pulumi.resources.ResourceArgs {

    public static final RocketMQInstanceNetworkInfoVpcInfoVswitchArgs Empty = new RocketMQInstanceNetworkInfoVpcInfoVswitchArgs();

    /**
     * VPC switch id.
     * 
     */
    @Import(name="vswitchId")
    private @Nullable Output vswitchId;

    /**
     * @return VPC switch id.
     * 
     */
    public Optional> vswitchId() {
        return Optional.ofNullable(this.vswitchId);
    }

    private RocketMQInstanceNetworkInfoVpcInfoVswitchArgs() {}

    private RocketMQInstanceNetworkInfoVpcInfoVswitchArgs(RocketMQInstanceNetworkInfoVpcInfoVswitchArgs $) {
        this.vswitchId = $.vswitchId;
    }

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

    public static final class Builder {
        private RocketMQInstanceNetworkInfoVpcInfoVswitchArgs $;

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

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

        /**
         * @param vswitchId VPC switch id.
         * 
         * @return builder
         * 
         */
        public Builder vswitchId(@Nullable Output vswitchId) {
            $.vswitchId = vswitchId;
            return this;
        }

        /**
         * @param vswitchId VPC switch id.
         * 
         * @return builder
         * 
         */
        public Builder vswitchId(String vswitchId) {
            return vswitchId(Output.of(vswitchId));
        }

        public RocketMQInstanceNetworkInfoVpcInfoVswitchArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy