com.pulumi.googlenative.dataplex.v1.outputs.GoogleCloudDataplexV1SchemaPartitionFieldResponse 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.googlenative.dataplex.v1.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GoogleCloudDataplexV1SchemaPartitionFieldResponse {
/**
* @return Partition field name must consist of letters, numbers, and underscores only, with a maximum of length of 256 characters, and must begin with a letter or underscore..
*
*/
private String name;
/**
* @return Immutable. The type of field.
*
*/
private String type;
private GoogleCloudDataplexV1SchemaPartitionFieldResponse() {}
/**
* @return Partition field name must consist of letters, numbers, and underscores only, with a maximum of length of 256 characters, and must begin with a letter or underscore..
*
*/
public String name() {
return this.name;
}
/**
* @return Immutable. The type of field.
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GoogleCloudDataplexV1SchemaPartitionFieldResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String name;
private String type;
public Builder() {}
public Builder(GoogleCloudDataplexV1SchemaPartitionFieldResponse defaults) {
Objects.requireNonNull(defaults);
this.name = defaults.name;
this.type = defaults.type;
}
@CustomType.Setter
public Builder name(String name) {
this.name = Objects.requireNonNull(name);
return this;
}
@CustomType.Setter
public Builder type(String type) {
this.type = Objects.requireNonNull(type);
return this;
}
public GoogleCloudDataplexV1SchemaPartitionFieldResponse build() {
final var o = new GoogleCloudDataplexV1SchemaPartitionFieldResponse();
o.name = name;
o.type = type;
return o;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy