Class RedshiftDestinationDescription
- All Implemented Interfaces:
Serializable, Cloneable
Describes 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.Configures retry behavior in the event that Firehose is unable to deliver documents to Amazon Redshift.The ARN of the AWS credentials.The Amazon S3 destination.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.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.voidsetS3DestinationDescription(S3DestinationDescription s3DestinationDescription) The Amazon S3 destination.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.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.withS3DestinationDescription(S3DestinationDescription s3DestinationDescription) The Amazon S3 destination.withUsername(String username) The name of the user.
-
Constructor Details
-
RedshiftDestinationDescription
public RedshiftDestinationDescription()
-
-
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.
-
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.
-
setS3DestinationDescription
The Amazon S3 destination.
- Parameters:
s3DestinationDescription- The Amazon S3 destination.
-
getS3DestinationDescription
The Amazon S3 destination.
- Returns:
- The Amazon S3 destination.
-
withS3DestinationDescription
public RedshiftDestinationDescription withS3DestinationDescription(S3DestinationDescription s3DestinationDescription) The Amazon S3 destination.
- Parameters:
s3DestinationDescription- The Amazon S3 destination.- 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 RedshiftDestinationDescription 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
-