Class RedshiftDestinationUpdate
- All Implemented Interfaces:
Serializable
,Cloneable
Describes an update for 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.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 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
setPassword
(String password) The user password.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
setS3Update
(S3DestinationUpdate s3Update) 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.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.withS3Update
(S3DestinationUpdate s3Update) The Amazon S3 destination.withUsername
(String username) The name of the user.
-
Constructor Details
-
RedshiftDestinationUpdate
public RedshiftDestinationUpdate()
-
-
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.
-
setPassword
The user password.
- Parameters:
password
- The user password.
-
getPassword
The user password.
- Returns:
- The user password.
-
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.
-
setS3Update
The Amazon S3 destination.
The compression formats
SNAPPY
orZIP
cannot be specified in RedshiftDestinationUpdate.S3Update because the Amazon RedshiftCOPY
operation that reads from the S3 bucket doesn't support these compression formats.- Parameters:
s3Update
- The Amazon S3 destination.The compression formats
SNAPPY
orZIP
cannot be specified in RedshiftDestinationUpdate.S3Update because the Amazon RedshiftCOPY
operation that reads from the S3 bucket doesn't support these compression formats.
-
getS3Update
The Amazon S3 destination.
The compression formats
SNAPPY
orZIP
cannot be specified in RedshiftDestinationUpdate.S3Update because the Amazon RedshiftCOPY
operation that reads from the S3 bucket doesn't support these compression formats.- Returns:
- The Amazon S3 destination.
The compression formats
SNAPPY
orZIP
cannot be specified in RedshiftDestinationUpdate.S3Update because the Amazon RedshiftCOPY
operation that reads from the S3 bucket doesn't support these compression formats.
-
withS3Update
The Amazon S3 destination.
The compression formats
SNAPPY
orZIP
cannot be specified in RedshiftDestinationUpdate.S3Update because the Amazon RedshiftCOPY
operation that reads from the S3 bucket doesn't support these compression formats.- Parameters:
s3Update
- The Amazon S3 destination.The compression formats
SNAPPY
orZIP
cannot be specified in RedshiftDestinationUpdate.S3Update because the Amazon RedshiftCOPY
operation 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 RedshiftDestinationUpdate 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
-