com.pulumi.aws.kinesisanalyticsv2.outputs.ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordColumn 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.
// *** 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.kinesisanalyticsv2.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 ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordColumn {
/**
* @return A reference to the data element in the streaming input or the reference data source.
*
*/
private @Nullable String mapping;
/**
* @return The name of the column that is created in the in-application input stream or reference table.
*
*/
private String name;
/**
* @return The type of column created in the in-application input stream or reference table.
*
*/
private String sqlType;
private ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordColumn() {}
/**
* @return A reference to the data element in the streaming input or the reference data source.
*
*/
public Optional mapping() {
return Optional.ofNullable(this.mapping);
}
/**
* @return The name of the column that is created in the in-application input stream or reference table.
*
*/
public String name() {
return this.name;
}
/**
* @return The type of column created in the in-application input stream or reference table.
*
*/
public String sqlType() {
return this.sqlType;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordColumn defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String mapping;
private String name;
private String sqlType;
public Builder() {}
public Builder(ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordColumn defaults) {
Objects.requireNonNull(defaults);
this.mapping = defaults.mapping;
this.name = defaults.name;
this.sqlType = defaults.sqlType;
}
@CustomType.Setter
public Builder mapping(@Nullable String mapping) {
this.mapping = mapping;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordColumn", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder sqlType(String sqlType) {
if (sqlType == null) {
throw new MissingRequiredPropertyException("ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordColumn", "sqlType");
}
this.sqlType = sqlType;
return this;
}
public ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordColumn build() {
final var _resultValue = new ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordColumn();
_resultValue.mapping = mapping;
_resultValue.name = name;
_resultValue.sqlType = sqlType;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy