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

com.pulumi.aws.glue.inputs.GetConnectionPlainArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
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.aws.glue.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 GetConnectionPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetConnectionPlainArgs Empty = new GetConnectionPlainArgs();

    /**
     * Concatenation of the catalog ID and connection name. For example, if your account ID is
     * `123456789123` and the connection name is `conn` then the ID is `123456789123:conn`.
     * 
     */
    @Import(name="id", required=true)
    private String id;

    /**
     * @return Concatenation of the catalog ID and connection name. For example, if your account ID is
     * `123456789123` and the connection name is `conn` then the ID is `123456789123:conn`.
     * 
     */
    public String id() {
        return this.id;
    }

    /**
     * Tags assigned to the resource
     * 
     */
    @Import(name="tags")
    private @Nullable Map tags;

    /**
     * @return Tags assigned to the resource
     * 
     */
    public Optional> tags() {
        return Optional.ofNullable(this.tags);
    }

    private GetConnectionPlainArgs() {}

    private GetConnectionPlainArgs(GetConnectionPlainArgs $) {
        this.id = $.id;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private GetConnectionPlainArgs $;

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

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

        /**
         * @param id Concatenation of the catalog ID and connection name. For example, if your account ID is
         * `123456789123` and the connection name is `conn` then the ID is `123456789123:conn`.
         * 
         * @return builder
         * 
         */
        public Builder id(String id) {
            $.id = id;
            return this;
        }

        /**
         * @param tags Tags assigned to the resource
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Map tags) {
            $.tags = tags;
            return this;
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy