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

com.pulumi.aws.glue.inputs.CatalogTablePartitionIndexArgs 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.72.0
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.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class CatalogTablePartitionIndexArgs extends com.pulumi.resources.ResourceArgs {

    public static final CatalogTablePartitionIndexArgs Empty = new CatalogTablePartitionIndexArgs();

    /**
     * Name of the partition index.
     * 
     */
    @Import(name="indexName", required=true)
    private Output indexName;

    /**
     * @return Name of the partition index.
     * 
     */
    public Output indexName() {
        return this.indexName;
    }

    @Import(name="indexStatus")
    private @Nullable Output indexStatus;

    public Optional> indexStatus() {
        return Optional.ofNullable(this.indexStatus);
    }

    /**
     * Keys for the partition index.
     * 
     */
    @Import(name="keys", required=true)
    private Output> keys;

    /**
     * @return Keys for the partition index.
     * 
     */
    public Output> keys() {
        return this.keys;
    }

    private CatalogTablePartitionIndexArgs() {}

    private CatalogTablePartitionIndexArgs(CatalogTablePartitionIndexArgs $) {
        this.indexName = $.indexName;
        this.indexStatus = $.indexStatus;
        this.keys = $.keys;
    }

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

    public static final class Builder {
        private CatalogTablePartitionIndexArgs $;

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

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

        /**
         * @param indexName Name of the partition index.
         * 
         * @return builder
         * 
         */
        public Builder indexName(Output indexName) {
            $.indexName = indexName;
            return this;
        }

        /**
         * @param indexName Name of the partition index.
         * 
         * @return builder
         * 
         */
        public Builder indexName(String indexName) {
            return indexName(Output.of(indexName));
        }

        public Builder indexStatus(@Nullable Output indexStatus) {
            $.indexStatus = indexStatus;
            return this;
        }

        public Builder indexStatus(String indexStatus) {
            return indexStatus(Output.of(indexStatus));
        }

        /**
         * @param keys Keys for the partition index.
         * 
         * @return builder
         * 
         */
        public Builder keys(Output> keys) {
            $.keys = keys;
            return this;
        }

        /**
         * @param keys Keys for the partition index.
         * 
         * @return builder
         * 
         */
        public Builder keys(List keys) {
            return keys(Output.of(keys));
        }

        /**
         * @param keys Keys for the partition index.
         * 
         * @return builder
         * 
         */
        public Builder keys(String... keys) {
            return keys(List.of(keys));
        }

        public CatalogTablePartitionIndexArgs build() {
            if ($.indexName == null) {
                throw new MissingRequiredPropertyException("CatalogTablePartitionIndexArgs", "indexName");
            }
            if ($.keys == null) {
                throw new MissingRequiredPropertyException("CatalogTablePartitionIndexArgs", "keys");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy