com.pulumi.azure.datafactory.outputs.DatasetMysqlSchemaColumn Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.
// *** 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.azure.datafactory.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 DatasetMysqlSchemaColumn {
/**
* @return The description of the column.
*
*/
private @Nullable String description;
/**
* @return The name of the column.
*
*/
private String name;
/**
* @return Type of the column. Valid values are `Byte`, `Byte[]`, `Boolean`, `Date`, `DateTime`,`DateTimeOffset`, `Decimal`, `Double`, `Guid`, `Int16`, `Int32`, `Int64`, `Single`, `String`, `TimeSpan`. Please note these values are case sensitive.
*
*/
private @Nullable String type;
private DatasetMysqlSchemaColumn() {}
/**
* @return The description of the column.
*
*/
public Optional description() {
return Optional.ofNullable(this.description);
}
/**
* @return The name of the column.
*
*/
public String name() {
return this.name;
}
/**
* @return Type of the column. Valid values are `Byte`, `Byte[]`, `Boolean`, `Date`, `DateTime`,`DateTimeOffset`, `Decimal`, `Double`, `Guid`, `Int16`, `Int32`, `Int64`, `Single`, `String`, `TimeSpan`. Please note these values are case sensitive.
*
*/
public Optional type() {
return Optional.ofNullable(this.type);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DatasetMysqlSchemaColumn defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String description;
private String name;
private @Nullable String type;
public Builder() {}
public Builder(DatasetMysqlSchemaColumn defaults) {
Objects.requireNonNull(defaults);
this.description = defaults.description;
this.name = defaults.name;
this.type = defaults.type;
}
@CustomType.Setter
public Builder description(@Nullable String description) {
this.description = description;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("DatasetMysqlSchemaColumn", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder type(@Nullable String type) {
this.type = type;
return this;
}
public DatasetMysqlSchemaColumn build() {
final var _resultValue = new DatasetMysqlSchemaColumn();
_resultValue.description = description;
_resultValue.name = name;
_resultValue.type = type;
return _resultValue;
}
}
}