com.pulumi.aws.glue.outputs.PartitionStorageDescriptorSerDeInfo 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 java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class PartitionStorageDescriptorSerDeInfo {
/**
* @return Name of the SerDe.
*
*/
private @Nullable String name;
/**
* @return A map of initialization parameters for the SerDe, in key-value form.
*
*/
private @Nullable Map parameters;
/**
* @return Usually the class that implements the SerDe. An example is: org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe.
*
*/
private @Nullable String serializationLibrary;
private PartitionStorageDescriptorSerDeInfo() {}
/**
* @return Name of the SerDe.
*
*/
public Optional name() {
return Optional.ofNullable(this.name);
}
/**
* @return A map of initialization parameters for the SerDe, in key-value form.
*
*/
public Map parameters() {
return this.parameters == null ? Map.of() : this.parameters;
}
/**
* @return Usually the class that implements the SerDe. An example is: org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe.
*
*/
public Optional serializationLibrary() {
return Optional.ofNullable(this.serializationLibrary);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(PartitionStorageDescriptorSerDeInfo defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String name;
private @Nullable Map parameters;
private @Nullable String serializationLibrary;
public Builder() {}
public Builder(PartitionStorageDescriptorSerDeInfo defaults) {
Objects.requireNonNull(defaults);
this.name = defaults.name;
this.parameters = defaults.parameters;
this.serializationLibrary = defaults.serializationLibrary;
}
@CustomType.Setter
public Builder name(@Nullable String name) {
this.name = name;
return this;
}
@CustomType.Setter
public Builder parameters(@Nullable Map parameters) {
this.parameters = parameters;
return this;
}
@CustomType.Setter
public Builder serializationLibrary(@Nullable String serializationLibrary) {
this.serializationLibrary = serializationLibrary;
return this;
}
public PartitionStorageDescriptorSerDeInfo build() {
final var _resultValue = new PartitionStorageDescriptorSerDeInfo();
_resultValue.name = name;
_resultValue.parameters = parameters;
_resultValue.serializationLibrary = serializationLibrary;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy