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

com.pulumi.aws.kendra.inputs.GetIndexArgs 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.kendra.inputs;

import com.pulumi.core.Output;
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 GetIndexArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetIndexArgs Empty = new GetIndexArgs();

    /**
     * Returns information on a specific Index by id.
     * 
     */
    @Import(name="id", required=true)
    private Output id;

    /**
     * @return Returns information on a specific Index by id.
     * 
     */
    public Output id() {
        return this.id;
    }

    /**
     * Metadata that helps organize the Indices you create.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return Metadata that helps organize the Indices you create.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    private GetIndexArgs() {}

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

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

    public static final class Builder {
        private GetIndexArgs $;

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

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

        /**
         * @param id Returns information on a specific Index by id.
         * 
         * @return builder
         * 
         */
        public Builder id(Output id) {
            $.id = id;
            return this;
        }

        /**
         * @param id Returns information on a specific Index by id.
         * 
         * @return builder
         * 
         */
        public Builder id(String id) {
            return id(Output.of(id));
        }

        /**
         * @param tags Metadata that helps organize the Indices you create.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags Metadata that helps organize the Indices you create.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy