public class RedshiftDestinationDescription
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes a destination in Amazon Redshift.
Modifier and Type | Field and Description |
---|---|
private CloudWatchLoggingOptions |
cloudWatchLoggingOptions
Describes CloudWatch logging options for your delivery stream.
|
private java.lang.String |
clusterJDBCURL
The database connection string.
|
private CopyCommand |
copyCommand
The
COPY command. |
private RedshiftRetryOptions |
retryOptions
Configures retry behavior in the event that Firehose is unable to deliver
documents to Amazon Redshift.
|
private java.lang.String |
roleARN
The ARN of the AWS credentials.
|
private S3DestinationDescription |
s3DestinationDescription
The Amazon S3 destination.
|
private java.lang.String |
username
The name of the user.
|
Constructor and Description |
---|
RedshiftDestinationDescription() |
Modifier and Type | Method and Description |
---|---|
RedshiftDestinationDescription |
clone() |
boolean |
equals(java.lang.Object obj) |
CloudWatchLoggingOptions |
getCloudWatchLoggingOptions()
Describes CloudWatch logging options for your delivery stream.
|
java.lang.String |
getClusterJDBCURL()
The database connection string.
|
CopyCommand |
getCopyCommand()
The
COPY command. |
RedshiftRetryOptions |
getRetryOptions()
Configures retry behavior in the event that Firehose is unable to deliver
documents to Amazon Redshift.
|
java.lang.String |
getRoleARN()
The ARN of the AWS credentials.
|
S3DestinationDescription |
getS3DestinationDescription()
The Amazon S3 destination.
|
java.lang.String |
getUsername()
The name of the user.
|
int |
hashCode() |
void |
setCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)
Describes CloudWatch logging options for your delivery stream.
|
void |
setClusterJDBCURL(java.lang.String clusterJDBCURL)
The database connection string.
|
void |
setCopyCommand(CopyCommand copyCommand)
The
COPY command. |
void |
setRetryOptions(RedshiftRetryOptions retryOptions)
Configures retry behavior in the event that Firehose is unable to deliver
documents to Amazon Redshift.
|
void |
setRoleARN(java.lang.String roleARN)
The ARN of the AWS credentials.
|
void |
setS3DestinationDescription(S3DestinationDescription s3DestinationDescription)
The Amazon S3 destination.
|
void |
setUsername(java.lang.String username)
The name of the user.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RedshiftDestinationDescription |
withCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)
Describes CloudWatch logging options for your delivery stream.
|
RedshiftDestinationDescription |
withClusterJDBCURL(java.lang.String clusterJDBCURL)
The database connection string.
|
RedshiftDestinationDescription |
withCopyCommand(CopyCommand copyCommand)
The
COPY command. |
RedshiftDestinationDescription |
withRetryOptions(RedshiftRetryOptions retryOptions)
Configures retry behavior in the event that Firehose is unable to deliver
documents to Amazon Redshift.
|
RedshiftDestinationDescription |
withRoleARN(java.lang.String roleARN)
The ARN of the AWS credentials.
|
RedshiftDestinationDescription |
withS3DestinationDescription(S3DestinationDescription s3DestinationDescription)
The Amazon S3 destination.
|
RedshiftDestinationDescription |
withUsername(java.lang.String username)
The name of the user.
|
private java.lang.String roleARN
The ARN of the AWS credentials.
private java.lang.String clusterJDBCURL
The database connection string.
private CopyCommand copyCommand
The COPY
command.
private java.lang.String username
The name of the user.
private RedshiftRetryOptions retryOptions
Configures retry behavior in the event that Firehose is unable to deliver documents to Amazon Redshift. Default value is 3600 (60 minutes).
private S3DestinationDescription s3DestinationDescription
The Amazon S3 destination.
private CloudWatchLoggingOptions cloudWatchLoggingOptions
Describes CloudWatch logging options for your delivery stream.
public void setRoleARN(java.lang.String roleARN)
The ARN of the AWS credentials.
roleARN
- The ARN of the AWS credentials.public java.lang.String getRoleARN()
The ARN of the AWS credentials.
public RedshiftDestinationDescription withRoleARN(java.lang.String roleARN)
The ARN of the AWS credentials.
roleARN
- The ARN of the AWS credentials.public void setClusterJDBCURL(java.lang.String clusterJDBCURL)
The database connection string.
clusterJDBCURL
- The database connection string.public java.lang.String getClusterJDBCURL()
The database connection string.
public RedshiftDestinationDescription withClusterJDBCURL(java.lang.String clusterJDBCURL)
The database connection string.
clusterJDBCURL
- The database connection string.public void setCopyCommand(CopyCommand copyCommand)
The COPY
command.
copyCommand
- The COPY
command.public CopyCommand getCopyCommand()
The COPY
command.
COPY
command.public RedshiftDestinationDescription withCopyCommand(CopyCommand copyCommand)
The COPY
command.
copyCommand
- The COPY
command.public void setUsername(java.lang.String username)
The name of the user.
username
- The name of the user.public java.lang.String getUsername()
The name of the user.
public RedshiftDestinationDescription withUsername(java.lang.String username)
The name of the user.
username
- The name of the user.public void setRetryOptions(RedshiftRetryOptions retryOptions)
Configures retry behavior in the event that Firehose is unable to deliver documents to Amazon Redshift. Default value is 3600 (60 minutes).
retryOptions
- Configures retry behavior in the event that Firehose is unable to
deliver documents to Amazon Redshift. Default value is 3600 (60
minutes).public RedshiftRetryOptions getRetryOptions()
Configures retry behavior in the event that Firehose is unable to deliver documents to Amazon Redshift. Default value is 3600 (60 minutes).
public RedshiftDestinationDescription withRetryOptions(RedshiftRetryOptions retryOptions)
Configures retry behavior in the event that Firehose is unable to deliver documents to Amazon Redshift. Default value is 3600 (60 minutes).
retryOptions
- Configures retry behavior in the event that Firehose is unable to
deliver documents to Amazon Redshift. Default value is 3600 (60
minutes).public void setS3DestinationDescription(S3DestinationDescription s3DestinationDescription)
The Amazon S3 destination.
s3DestinationDescription
- The Amazon S3 destination.public S3DestinationDescription getS3DestinationDescription()
The Amazon S3 destination.
public RedshiftDestinationDescription withS3DestinationDescription(S3DestinationDescription s3DestinationDescription)
The Amazon S3 destination.
s3DestinationDescription
- The Amazon S3 destination.public void setCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)
Describes CloudWatch logging options for your delivery stream.
cloudWatchLoggingOptions
- Describes CloudWatch logging options for your delivery stream.public CloudWatchLoggingOptions getCloudWatchLoggingOptions()
Describes CloudWatch logging options for your delivery stream.
public RedshiftDestinationDescription withCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)
Describes CloudWatch logging options for your delivery stream.
cloudWatchLoggingOptions
- Describes CloudWatch logging options for your delivery stream.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public RedshiftDestinationDescription clone()
clone
in class java.lang.Object