Class RedshiftDestinationDescription
- All Implemented Interfaces:
Serializable
,Cloneable
Describes a destination in Amazon Redshift.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Describes CloudWatch logging options for your delivery stream.The database connection string.TheCOPY
command.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.int
hashCode()
void
setCloudWatchLoggingOptions
(CloudWatchLoggingOptions cloudWatchLoggingOptions) Describes CloudWatch logging options for your delivery stream.void
setClusterJDBCURL
(String clusterJDBCURL) The database connection string.void
setCopyCommand
(CopyCommand copyCommand) TheCOPY
command.void
setRetryOptions
(RedshiftRetryOptions retryOptions) Configures retry behavior in the event that Firehose is unable to deliver documents to Amazon Redshift.void
setRoleARN
(String roleARN) The ARN of the AWS credentials.void
setS3DestinationDescription
(S3DestinationDescription s3DestinationDescription) The Amazon S3 destination.void
setUsername
(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) TheCOPY
command.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
The ARN of the AWS credentials.
- Returns:
- The ARN of the AWS credentials.
-
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
COPY
command.- Parameters:
copyCommand
- TheCOPY
command.
-
getCopyCommand
The
COPY
command.- Returns:
- The
COPY
command.
-
withCopyCommand
The
COPY
command.- Parameters:
copyCommand
- TheCOPY
command.- 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
The name of the user.
- Returns:
- The name of the user.
-
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-