Class RedshiftDestinationConfiguration
- All Implemented Interfaces:
Serializable, Cloneable
Describes the configuration of a destination in Amazon Redshift.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanDescribes CloudWatch logging options for your delivery stream.The database connection string.TheCOPYcommand.The user password.Configures retry behavior in the event that Firehose is unable to deliver documents to Amazon Redshift.The ARN of the AWS credentials.The S3 configuration for the intermediate location from which Amazon Redshift obtains data.The name of the user.inthashCode()voidsetCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions) Describes CloudWatch logging options for your delivery stream.voidsetClusterJDBCURL(String clusterJDBCURL) The database connection string.voidsetCopyCommand(CopyCommand copyCommand) TheCOPYcommand.voidsetPassword(String password) The user password.voidsetRetryOptions(RedshiftRetryOptions retryOptions) Configures retry behavior in the event that Firehose is unable to deliver documents to Amazon Redshift.voidsetRoleARN(String roleARN) The ARN of the AWS credentials.voidsetS3Configuration(S3DestinationConfiguration s3Configuration) The S3 configuration for the intermediate location from which Amazon Redshift obtains data.voidsetUsername(String username) The name of the user.toString()Returns a string representation of this object; useful for testing and debugging.withCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions) Describes CloudWatch logging options for your delivery stream.withClusterJDBCURL(String clusterJDBCURL) The database connection string.withCopyCommand(CopyCommand copyCommand) TheCOPYcommand.withPassword(String password) The user password.withRetryOptions(RedshiftRetryOptions retryOptions) Configures retry behavior in the event that Firehose is unable to deliver documents to Amazon Redshift.withRoleARN(String roleARN) The ARN of the AWS credentials.withS3Configuration(S3DestinationConfiguration s3Configuration) The S3 configuration for the intermediate location from which Amazon Redshift obtains data.withUsername(String username) The name of the user.
-
Constructor Details
-
RedshiftDestinationConfiguration
public RedshiftDestinationConfiguration()
-
-
Method Details
-
setRoleARN
The ARN of the AWS credentials.
- Parameters:
roleARN- The ARN of the AWS credentials.
-
getRoleARN
-
withRoleARN
The ARN of the AWS credentials.
- Parameters:
roleARN- The ARN of the AWS credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setClusterJDBCURL
The database connection string.
- Parameters:
clusterJDBCURL- The database connection string.
-
getClusterJDBCURL
The database connection string.
- Returns:
- The database connection string.
-
withClusterJDBCURL
The database connection string.
- Parameters:
clusterJDBCURL- The database connection string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCopyCommand
The
COPYcommand.- Parameters:
copyCommand- TheCOPYcommand.
-
getCopyCommand
-
withCopyCommand
The
COPYcommand.- Parameters:
copyCommand- TheCOPYcommand.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setUsername
The name of the user.
- Parameters:
username- The name of the user.
-
getUsername
-
withUsername
The name of the user.
- Parameters:
username- The name of the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPassword
The user password.
- Parameters:
password- The user password.
-
getPassword
-
withPassword
The user password.
- Parameters:
password- The user password.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRetryOptions
Configures retry behavior in the event that Firehose is unable to deliver documents to Amazon Redshift. Default value is 3600 (60 minutes).
- Parameters:
retryOptions- Configures retry behavior in the event that Firehose is unable to deliver documents to Amazon Redshift. Default value is 3600 (60 minutes).
-
getRetryOptions
Configures retry behavior in the event that Firehose is unable to deliver documents to Amazon Redshift. Default value is 3600 (60 minutes).
- Returns:
- Configures retry behavior in the event that Firehose is unable to deliver documents to Amazon Redshift. Default value is 3600 (60 minutes).
-
withRetryOptions
Configures retry behavior in the event that Firehose is unable to deliver documents to Amazon Redshift. Default value is 3600 (60 minutes).
- Parameters:
retryOptions- Configures retry behavior in the event that Firehose is unable to deliver documents to Amazon Redshift. Default value is 3600 (60 minutes).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setS3Configuration
The S3 configuration for the intermediate location from which Amazon Redshift obtains data. Restrictions are described in the topic for CreateDeliveryStream.
The compression formats
SNAPPYorZIPcannot be specified in RedshiftDestinationConfiguration.S3Configuration because the Amazon RedshiftCOPYoperation that reads from the S3 bucket doesn't support these compression formats.- Parameters:
s3Configuration- The S3 configuration for the intermediate location from which Amazon Redshift obtains data. Restrictions are described in the topic for CreateDeliveryStream.The compression formats
SNAPPYorZIPcannot be specified in RedshiftDestinationConfiguration.S3Configuration because the Amazon RedshiftCOPYoperation that reads from the S3 bucket doesn't support these compression formats.
-
getS3Configuration
The S3 configuration for the intermediate location from which Amazon Redshift obtains data. Restrictions are described in the topic for CreateDeliveryStream.
The compression formats
SNAPPYorZIPcannot be specified in RedshiftDestinationConfiguration.S3Configuration because the Amazon RedshiftCOPYoperation that reads from the S3 bucket doesn't support these compression formats.- Returns:
- The S3 configuration for the intermediate location from which
Amazon Redshift obtains data. Restrictions are described in the
topic for CreateDeliveryStream.
The compression formats
SNAPPYorZIPcannot be specified in RedshiftDestinationConfiguration.S3Configuration because the Amazon RedshiftCOPYoperation that reads from the S3 bucket doesn't support these compression formats.
-
withS3Configuration
public RedshiftDestinationConfiguration withS3Configuration(S3DestinationConfiguration s3Configuration) The S3 configuration for the intermediate location from which Amazon Redshift obtains data. Restrictions are described in the topic for CreateDeliveryStream.
The compression formats
SNAPPYorZIPcannot be specified in RedshiftDestinationConfiguration.S3Configuration because the Amazon RedshiftCOPYoperation that reads from the S3 bucket doesn't support these compression formats.- Parameters:
s3Configuration- The S3 configuration for the intermediate location from which Amazon Redshift obtains data. Restrictions are described in the topic for CreateDeliveryStream.The compression formats
SNAPPYorZIPcannot be specified in RedshiftDestinationConfiguration.S3Configuration because the Amazon RedshiftCOPYoperation that reads from the S3 bucket doesn't support these compression formats.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCloudWatchLoggingOptions
Describes CloudWatch logging options for your delivery stream.
- Parameters:
cloudWatchLoggingOptions- Describes CloudWatch logging options for your delivery stream.
-
getCloudWatchLoggingOptions
Describes CloudWatch logging options for your delivery stream.
- Returns:
- Describes CloudWatch logging options for your delivery stream.
-
withCloudWatchLoggingOptions
public RedshiftDestinationConfiguration withCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions) Describes CloudWatch logging options for your delivery stream.
- Parameters:
cloudWatchLoggingOptions- Describes CloudWatch logging options for your delivery stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
-