@Generated(value="software.amazon.awssdk:codegen") public final class AmazonRedshiftNodeData extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AmazonRedshiftNodeData.Builder,AmazonRedshiftNodeData>
Specifies an Amazon Redshift node.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AmazonRedshiftNodeData.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accessType()
The access type for the Redshift connection.
|
String |
action()
Specifies how writing to a Redshift cluser will occur.
|
List<AmazonRedshiftAdvancedOption> |
advancedOptions()
Optional values when connecting to the Redshift cluster.
|
static AmazonRedshiftNodeData.Builder |
builder() |
Option |
catalogDatabase()
The name of the Glue Data Catalog database when working with a data catalog.
|
String |
catalogRedshiftSchema()
The Redshift schema name when working with a data catalog.
|
String |
catalogRedshiftTable()
The database table to read from.
|
Option |
catalogTable()
The Glue Data Catalog table name when working with a data catalog.
|
Option |
connection()
The Glue connection to the Redshift cluster.
|
String |
crawlerConnection()
Specifies the name of the connection that is associated with the catalog table used.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAdvancedOptions()
For responses, this returns true if the service returned a value for the AdvancedOptions property.
|
int |
hashCode() |
boolean |
hasSelectedColumns()
For responses, this returns true if the service returned a value for the SelectedColumns property.
|
boolean |
hasTableSchema()
For responses, this returns true if the service returned a value for the TableSchema property.
|
Option |
iamRole()
Optional.
|
String |
mergeAction()
The action used when to detemine how a MERGE in a Redshift sink will be handled.
|
String |
mergeClause()
The SQL used in a custom merge to deal with matching records.
|
String |
mergeWhenMatched()
The action used when to detemine how a MERGE in a Redshift sink will be handled when an existing record matches a
new record.
|
String |
mergeWhenNotMatched()
The action used when to detemine how a MERGE in a Redshift sink will be handled when an existing record doesn't
match a new record.
|
String |
postAction()
The SQL used before a MERGE or APPEND with upsert is run.
|
String |
preAction()
The SQL used before a MERGE or APPEND with upsert is run.
|
String |
sampleQuery()
The SQL used to fetch the data from a Redshift sources when the SourceType is 'query'.
|
Option |
schema()
The Redshift schema name when working with a direct connection.
|
List<SdkField<?>> |
sdkFields() |
List<Option> |
selectedColumns()
The list of column names used to determine a matching record when doing a MERGE or APPEND with upsert.
|
static Class<? extends AmazonRedshiftNodeData.Builder> |
serializableBuilderClass() |
String |
sourceType()
The source type to specify whether a specific table is the source or a custom query.
|
String |
stagingTable()
The name of the temporary staging table that is used when doing a MERGE or APPEND with upsert.
|
Option |
table()
The Redshift table name when working with a direct connection.
|
String |
tablePrefix()
Specifies the prefix to a table.
|
List<Option> |
tableSchema()
The array of schema output for a given node.
|
String |
tempDir()
The Amazon S3 path where temporary data can be staged when copying out of the database.
|
AmazonRedshiftNodeData.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Boolean |
upsert()
The action used on Redshift sinks when doing an APPEND.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String accessType()
The access type for the Redshift connection. Can be a direct connection or catalog connections.
public final String sourceType()
The source type to specify whether a specific table is the source or a custom query.
public final Option connection()
The Glue connection to the Redshift cluster.
public final Option schema()
The Redshift schema name when working with a direct connection.
public final Option table()
The Redshift table name when working with a direct connection.
public final Option catalogDatabase()
The name of the Glue Data Catalog database when working with a data catalog.
public final Option catalogTable()
The Glue Data Catalog table name when working with a data catalog.
public final String catalogRedshiftSchema()
The Redshift schema name when working with a data catalog.
public final String catalogRedshiftTable()
The database table to read from.
public final String tempDir()
The Amazon S3 path where temporary data can be staged when copying out of the database.
public final Option iamRole()
Optional. The role name use when connection to S3. The IAM role ill default to the role on the job when left blank.
public final boolean hasAdvancedOptions()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<AmazonRedshiftAdvancedOption> advancedOptions()
Optional values when connecting to the Redshift cluster.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAdvancedOptions() method.
public final String sampleQuery()
The SQL used to fetch the data from a Redshift sources when the SourceType is 'query'.
public final String preAction()
The SQL used before a MERGE or APPEND with upsert is run.
public final String postAction()
The SQL used before a MERGE or APPEND with upsert is run.
public final String action()
Specifies how writing to a Redshift cluser will occur.
public final String tablePrefix()
Specifies the prefix to a table.
public final Boolean upsert()
The action used on Redshift sinks when doing an APPEND.
public final String mergeAction()
The action used when to detemine how a MERGE in a Redshift sink will be handled.
public final String mergeWhenMatched()
The action used when to detemine how a MERGE in a Redshift sink will be handled when an existing record matches a new record.
public final String mergeWhenNotMatched()
The action used when to detemine how a MERGE in a Redshift sink will be handled when an existing record doesn't match a new record.
public final String mergeClause()
The SQL used in a custom merge to deal with matching records.
public final String crawlerConnection()
Specifies the name of the connection that is associated with the catalog table used.
public final boolean hasTableSchema()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<Option> tableSchema()
The array of schema output for a given node.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTableSchema() method.
public final String stagingTable()
The name of the temporary staging table that is used when doing a MERGE or APPEND with upsert.
public final boolean hasSelectedColumns()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<Option> selectedColumns()
The list of column names used to determine a matching record when doing a MERGE or APPEND with upsert.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSelectedColumns() method.
public AmazonRedshiftNodeData.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AmazonRedshiftNodeData.Builder,AmazonRedshiftNodeData>public static AmazonRedshiftNodeData.Builder builder()
public static Class<? extends AmazonRedshiftNodeData.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.