com.pulumi.aws.kinesisanalyticsv2.outputs.ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchema 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.aws.kinesisanalyticsv2.outputs.ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordColumn;
import com.pulumi.aws.kinesisanalyticsv2.outputs.ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormat;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchema {
/**
* @return Describes the mapping of each data element in the streaming source to the corresponding column in the in-application stream.
*
*/
private List recordColumns;
/**
* @return Specifies the encoding of the records in the streaming source. For example, `UTF-8`.
*
*/
private @Nullable String recordEncoding;
/**
* @return Specifies the format of the records on the streaming source.
*
*/
private ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormat recordFormat;
private ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchema() {}
/**
* @return Describes the mapping of each data element in the streaming source to the corresponding column in the in-application stream.
*
*/
public List recordColumns() {
return this.recordColumns;
}
/**
* @return Specifies the encoding of the records in the streaming source. For example, `UTF-8`.
*
*/
public Optional recordEncoding() {
return Optional.ofNullable(this.recordEncoding);
}
/**
* @return Specifies the format of the records on the streaming source.
*
*/
public ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormat recordFormat() {
return this.recordFormat;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchema defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List recordColumns;
private @Nullable String recordEncoding;
private ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormat recordFormat;
public Builder() {}
public Builder(ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchema defaults) {
Objects.requireNonNull(defaults);
this.recordColumns = defaults.recordColumns;
this.recordEncoding = defaults.recordEncoding;
this.recordFormat = defaults.recordFormat;
}
@CustomType.Setter
public Builder recordColumns(List recordColumns) {
if (recordColumns == null) {
throw new MissingRequiredPropertyException("ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchema", "recordColumns");
}
this.recordColumns = recordColumns;
return this;
}
public Builder recordColumns(ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordColumn... recordColumns) {
return recordColumns(List.of(recordColumns));
}
@CustomType.Setter
public Builder recordEncoding(@Nullable String recordEncoding) {
this.recordEncoding = recordEncoding;
return this;
}
@CustomType.Setter
public Builder recordFormat(ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchemaRecordFormat recordFormat) {
if (recordFormat == null) {
throw new MissingRequiredPropertyException("ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchema", "recordFormat");
}
this.recordFormat = recordFormat;
return this;
}
public ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchema build() {
final var _resultValue = new ApplicationApplicationConfigurationSqlApplicationConfigurationReferenceDataSourceReferenceSchema();
_resultValue.recordColumns = recordColumns;
_resultValue.recordEncoding = recordEncoding;
_resultValue.recordFormat = recordFormat;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy