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

com.pulumi.aws.msk.inputs.GetVpcConnectionPlainArgs 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.aws.msk.inputs;

import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final GetVpcConnectionPlainArgs Empty = new GetVpcConnectionPlainArgs();

    /**
     * ARN of the VPC Connection.
     * 
     */
    @Import(name="arn", required=true)
    private String arn;

    /**
     * @return ARN of the VPC Connection.
     * 
     */
    public String arn() {
        return this.arn;
    }

    /**
     * Map of key-value pairs assigned to the VPC Connection.
     * 
     */
    @Import(name="tags")
    private @Nullable Map tags;

    /**
     * @return Map of key-value pairs assigned to the VPC Connection.
     * 
     */
    public Optional> tags() {
        return Optional.ofNullable(this.tags);
    }

    private GetVpcConnectionPlainArgs() {}

    private GetVpcConnectionPlainArgs(GetVpcConnectionPlainArgs $) {
        this.arn = $.arn;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private GetVpcConnectionPlainArgs $;

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

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

        /**
         * @param arn ARN of the VPC Connection.
         * 
         * @return builder
         * 
         */
        public Builder arn(String arn) {
            $.arn = arn;
            return this;
        }

        /**
         * @param tags Map of key-value pairs assigned to the VPC Connection.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Map tags) {
            $.tags = tags;
            return this;
        }

        public GetVpcConnectionPlainArgs build() {
            if ($.arn == null) {
                throw new MissingRequiredPropertyException("GetVpcConnectionPlainArgs", "arn");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy