com.pulumi.aws.glue.outputs.PartitionStorageDescriptorColumn 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.
The 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.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class PartitionStorageDescriptorColumn {
/**
* @return Free-form text comment.
*
*/
private @Nullable String comment;
private String name;
/**
* @return The datatype of data in the Column.
*
*/
private @Nullable String type;
private PartitionStorageDescriptorColumn() {}
/**
* @return Free-form text comment.
*
*/
public Optional comment() {
return Optional.ofNullable(this.comment);
}
public String name() {
return this.name;
}
/**
* @return The datatype of data in the Column.
*
*/
public Optional type() {
return Optional.ofNullable(this.type);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(PartitionStorageDescriptorColumn defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String comment;
private String name;
private @Nullable String type;
public Builder() {}
public Builder(PartitionStorageDescriptorColumn defaults) {
Objects.requireNonNull(defaults);
this.comment = defaults.comment;
this.name = defaults.name;
this.type = defaults.type;
}
@CustomType.Setter
public Builder comment(@Nullable String comment) {
this.comment = comment;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("PartitionStorageDescriptorColumn", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder type(@Nullable String type) {
this.type = type;
return this;
}
public PartitionStorageDescriptorColumn build() {
final var _resultValue = new PartitionStorageDescriptorColumn();
_resultValue.comment = comment;
_resultValue.name = name;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy