Class SnowflakeDestinationConfiguration
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SnowflakeDestinationConfiguration.Builder,SnowflakeDestinationConfiguration>
Configure Snowflake destination
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringURL for accessing your Snowflake account.final SnowflakeBufferingHintsDescribes the buffering to perform before delivering data to the Snowflake destination.builder()final CloudWatchLoggingOptionsReturns the value of the CloudWatchLoggingOptions property for this object.final StringThe name of the record content column.final Stringdatabase()All data in Snowflake is maintained in databases.Choose to load JSON keys mapped to table column names or choose to split the JSON payload where content is mapped to a record content column and source metadata is mapped to a record metadata column.final StringChoose to load JSON keys mapped to table column names or choose to split the JSON payload where content is mapped to a record content column and source metadata is mapped to a record metadata column.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringPassphrase to decrypt the private key when the key is encrypted.final StringSpecify a column name in the table, where the metadata information has to be loaded.final StringThe private key used to encrypt your Snowflake client.final ProcessingConfigurationReturns the value of the ProcessingConfiguration property for this object.final SnowflakeRetryOptionsThe time period where Firehose will retry sending data to the chosen HTTP endpoint.final StringroleARN()The Amazon Resource Name (ARN) of the Snowflake rolefinal SnowflakeS3BackupModeChoose an S3 backup modefinal StringChoose an S3 backup modeReturns the value of the S3Configuration property for this object.final Stringschema()Each database consists of one or more schemas, which are logical groupings of database objects, such as tables and viewsThe configuration that defines how you access secrets for Snowflake.static Class<? extends SnowflakeDestinationConfiguration.Builder> Optionally configure a Snowflake role.The VPCE ID for Firehose to privately connect with Snowflake.final Stringtable()All data in Snowflake is stored in database tables, logically structured as collections of columns and rows.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final Stringuser()User login name for the Snowflake account.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
accountUrl
URL for accessing your Snowflake account. This URL must include your account identifier. Note that the protocol (https://) and port number are optional.
- Returns:
- URL for accessing your Snowflake account. This URL must include your account identifier. Note that the protocol (https://) and port number are optional.
-
privateKey
The private key used to encrypt your Snowflake client. For information, see Using Key Pair Authentication & Key Rotation.
- Returns:
- The private key used to encrypt your Snowflake client. For information, see Using Key Pair Authentication & Key Rotation.
-
keyPassphrase
Passphrase to decrypt the private key when the key is encrypted. For information, see Using Key Pair Authentication & Key Rotation.
- Returns:
- Passphrase to decrypt the private key when the key is encrypted. For information, see Using Key Pair Authentication & Key Rotation.
-
user
User login name for the Snowflake account.
- Returns:
- User login name for the Snowflake account.
-
database
All data in Snowflake is maintained in databases.
- Returns:
- All data in Snowflake is maintained in databases.
-
schema
Each database consists of one or more schemas, which are logical groupings of database objects, such as tables and views
- Returns:
- Each database consists of one or more schemas, which are logical groupings of database objects, such as tables and views
-
table
All data in Snowflake is stored in database tables, logically structured as collections of columns and rows.
- Returns:
- All data in Snowflake is stored in database tables, logically structured as collections of columns and rows.
-
snowflakeRoleConfiguration
Optionally configure a Snowflake role. Otherwise the default user role will be used.
- Returns:
- Optionally configure a Snowflake role. Otherwise the default user role will be used.
-
dataLoadingOption
Choose to load JSON keys mapped to table column names or choose to split the JSON payload where content is mapped to a record content column and source metadata is mapped to a record metadata column.
If the service returns an enum value that is not available in the current SDK version,
dataLoadingOptionwill returnSnowflakeDataLoadingOption.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdataLoadingOptionAsString().- Returns:
- Choose to load JSON keys mapped to table column names or choose to split the JSON payload where content is mapped to a record content column and source metadata is mapped to a record metadata column.
- See Also:
-
dataLoadingOptionAsString
Choose to load JSON keys mapped to table column names or choose to split the JSON payload where content is mapped to a record content column and source metadata is mapped to a record metadata column.
If the service returns an enum value that is not available in the current SDK version,
dataLoadingOptionwill returnSnowflakeDataLoadingOption.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdataLoadingOptionAsString().- Returns:
- Choose to load JSON keys mapped to table column names or choose to split the JSON payload where content is mapped to a record content column and source metadata is mapped to a record metadata column.
- See Also:
-
metaDataColumnName
Specify a column name in the table, where the metadata information has to be loaded. When you enable this field, you will see the following column in the snowflake table, which differs based on the source type.
For Direct PUT as source
{ "firehoseDeliveryStreamName" : "streamname", "IngestionTime" : "timestamp" }For Kinesis Data Stream as source
"kinesisStreamName" : "streamname", "kinesisShardId" : "Id", "kinesisPartitionKey" : "key", "kinesisSequenceNumber" : "1234", "subsequenceNumber" : "2334", "IngestionTime" : "timestamp" }- Returns:
- Specify a column name in the table, where the metadata information has to be loaded. When you enable this
field, you will see the following column in the snowflake table, which differs based on the source
type.
For Direct PUT as source
{ "firehoseDeliveryStreamName" : "streamname", "IngestionTime" : "timestamp" }For Kinesis Data Stream as source
"kinesisStreamName" : "streamname", "kinesisShardId" : "Id", "kinesisPartitionKey" : "key", "kinesisSequenceNumber" : "1234", "subsequenceNumber" : "2334", "IngestionTime" : "timestamp" }
-
contentColumnName
The name of the record content column.
- Returns:
- The name of the record content column.
-
snowflakeVpcConfiguration
The VPCE ID for Firehose to privately connect with Snowflake. The ID format is com.amazonaws.vpce.[region].vpce-svc-<[id]>. For more information, see Amazon PrivateLink & Snowflake
- Returns:
- The VPCE ID for Firehose to privately connect with Snowflake. The ID format is com.amazonaws.vpce.[region].vpce-svc-<[id]>. For more information, see Amazon PrivateLink & Snowflake
-
cloudWatchLoggingOptions
Returns the value of the CloudWatchLoggingOptions property for this object.- Returns:
- The value of the CloudWatchLoggingOptions property for this object.
-
processingConfiguration
Returns the value of the ProcessingConfiguration property for this object.- Returns:
- The value of the ProcessingConfiguration property for this object.
-
roleARN
The Amazon Resource Name (ARN) of the Snowflake role
- Returns:
- The Amazon Resource Name (ARN) of the Snowflake role
-
retryOptions
The time period where Firehose will retry sending data to the chosen HTTP endpoint.
- Returns:
- The time period where Firehose will retry sending data to the chosen HTTP endpoint.
-
s3BackupMode
Choose an S3 backup mode
If the service returns an enum value that is not available in the current SDK version,
s3BackupModewill returnSnowflakeS3BackupMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available froms3BackupModeAsString().- Returns:
- Choose an S3 backup mode
- See Also:
-
s3BackupModeAsString
Choose an S3 backup mode
If the service returns an enum value that is not available in the current SDK version,
s3BackupModewill returnSnowflakeS3BackupMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available froms3BackupModeAsString().- Returns:
- Choose an S3 backup mode
- See Also:
-
s3Configuration
Returns the value of the S3Configuration property for this object.- Returns:
- The value of the S3Configuration property for this object.
-
secretsManagerConfiguration
The configuration that defines how you access secrets for Snowflake.
- Returns:
- The configuration that defines how you access secrets for Snowflake.
-
bufferingHints
Describes the buffering to perform before delivering data to the Snowflake destination. If you do not specify any value, Firehose uses the default values.
- Returns:
- Describes the buffering to perform before delivering data to the Snowflake destination. If you do not specify any value, Firehose uses the default values.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<SnowflakeDestinationConfiguration.Builder,SnowflakeDestinationConfiguration> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-