com.pulumi.aws.glue.outputs.PartitionIndexPartitionIndex 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.glue.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class PartitionIndexPartitionIndex {
/**
* @return Name of the partition index.
*
*/
private @Nullable String indexName;
private @Nullable String indexStatus;
/**
* @return Keys for the partition index.
*
*/
private @Nullable List keys;
private PartitionIndexPartitionIndex() {}
/**
* @return Name of the partition index.
*
*/
public Optional indexName() {
return Optional.ofNullable(this.indexName);
}
public Optional indexStatus() {
return Optional.ofNullable(this.indexStatus);
}
/**
* @return Keys for the partition index.
*
*/
public List keys() {
return this.keys == null ? List.of() : this.keys;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(PartitionIndexPartitionIndex defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String indexName;
private @Nullable String indexStatus;
private @Nullable List keys;
public Builder() {}
public Builder(PartitionIndexPartitionIndex defaults) {
Objects.requireNonNull(defaults);
this.indexName = defaults.indexName;
this.indexStatus = defaults.indexStatus;
this.keys = defaults.keys;
}
@CustomType.Setter
public Builder indexName(@Nullable String indexName) {
this.indexName = indexName;
return this;
}
@CustomType.Setter
public Builder indexStatus(@Nullable String indexStatus) {
this.indexStatus = indexStatus;
return this;
}
@CustomType.Setter
public Builder keys(@Nullable List keys) {
this.keys = keys;
return this;
}
public Builder keys(String... keys) {
return keys(List.of(keys));
}
public PartitionIndexPartitionIndex build() {
final var _resultValue = new PartitionIndexPartitionIndex();
_resultValue.indexName = indexName;
_resultValue.indexStatus = indexStatus;
_resultValue.keys = keys;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy