
com.pulumi.aws.glue.outputs.CatalogTablePartitionIndex Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
// *** 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.outputs;
import com.pulumi.core.annotations.CustomType;
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;
@CustomType
public final class CatalogTablePartitionIndex {
/**
* @return Name of the partition index.
*
*/
private String indexName;
private @Nullable String indexStatus;
/**
* @return Keys for the partition index.
*
*/
private List keys;
private CatalogTablePartitionIndex() {}
/**
* @return Name of the partition index.
*
*/
public String indexName() {
return this.indexName;
}
public Optional indexStatus() {
return Optional.ofNullable(this.indexStatus);
}
/**
* @return Keys for the partition index.
*
*/
public List keys() {
return this.keys;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(CatalogTablePartitionIndex defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String indexName;
private @Nullable String indexStatus;
private List keys;
public Builder() {}
public Builder(CatalogTablePartitionIndex defaults) {
Objects.requireNonNull(defaults);
this.indexName = defaults.indexName;
this.indexStatus = defaults.indexStatus;
this.keys = defaults.keys;
}
@CustomType.Setter
public Builder indexName(String indexName) {
if (indexName == null) {
throw new MissingRequiredPropertyException("CatalogTablePartitionIndex", "indexName");
}
this.indexName = indexName;
return this;
}
@CustomType.Setter
public Builder indexStatus(@Nullable String indexStatus) {
this.indexStatus = indexStatus;
return this;
}
@CustomType.Setter
public Builder keys(List keys) {
if (keys == null) {
throw new MissingRequiredPropertyException("CatalogTablePartitionIndex", "keys");
}
this.keys = keys;
return this;
}
public Builder keys(String... keys) {
return keys(List.of(keys));
}
public CatalogTablePartitionIndex build() {
final var _resultValue = new CatalogTablePartitionIndex();
_resultValue.indexName = indexName;
_resultValue.indexStatus = indexStatus;
_resultValue.keys = keys;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy