@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RedshiftDestinationConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Describes the configuration of a destination in Amazon Redshift.
Constructor and Description |
---|
RedshiftDestinationConfiguration() |
Modifier and Type | Method and Description |
---|---|
RedshiftDestinationConfiguration |
clone() |
boolean |
equals(Object obj) |
CloudWatchLoggingOptions |
getCloudWatchLoggingOptions()
The CloudWatch logging options for your delivery stream.
|
String |
getClusterJDBCURL()
The database connection string.
|
CopyCommand |
getCopyCommand()
The
COPY command. |
String |
getPassword()
The user password.
|
ProcessingConfiguration |
getProcessingConfiguration()
The data processing configuration.
|
RedshiftRetryOptions |
getRetryOptions()
The retry behavior in case Kinesis Data Firehose is unable to deliver documents to Amazon Redshift.
|
String |
getRoleARN()
The Amazon Resource Name (ARN) of the AWS credentials.
|
S3DestinationConfiguration |
getS3BackupConfiguration()
The configuration for backup in Amazon S3.
|
String |
getS3BackupMode()
The Amazon S3 backup mode.
|
S3DestinationConfiguration |
getS3Configuration()
The configuration for the intermediate Amazon S3 location from which Amazon Redshift obtains data.
|
String |
getUsername()
The name of the user.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)
The CloudWatch logging options for your delivery stream.
|
void |
setClusterJDBCURL(String clusterJDBCURL)
The database connection string.
|
void |
setCopyCommand(CopyCommand copyCommand)
The
COPY command. |
void |
setPassword(String password)
The user password.
|
void |
setProcessingConfiguration(ProcessingConfiguration processingConfiguration)
The data processing configuration.
|
void |
setRetryOptions(RedshiftRetryOptions retryOptions)
The retry behavior in case Kinesis Data Firehose is unable to deliver documents to Amazon Redshift.
|
void |
setRoleARN(String roleARN)
The Amazon Resource Name (ARN) of the AWS credentials.
|
void |
setS3BackupConfiguration(S3DestinationConfiguration s3BackupConfiguration)
The configuration for backup in Amazon S3.
|
void |
setS3BackupMode(RedshiftS3BackupMode s3BackupMode)
The Amazon S3 backup mode.
|
void |
setS3BackupMode(String s3BackupMode)
The Amazon S3 backup mode.
|
void |
setS3Configuration(S3DestinationConfiguration s3Configuration)
The configuration for the intermediate Amazon S3 location from which Amazon Redshift obtains data.
|
void |
setUsername(String username)
The name of the user.
|
String |
toString()
Returns a string representation of this object.
|
RedshiftDestinationConfiguration |
withCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)
The CloudWatch logging options for your delivery stream.
|
RedshiftDestinationConfiguration |
withClusterJDBCURL(String clusterJDBCURL)
The database connection string.
|
RedshiftDestinationConfiguration |
withCopyCommand(CopyCommand copyCommand)
The
COPY command. |
RedshiftDestinationConfiguration |
withPassword(String password)
The user password.
|
RedshiftDestinationConfiguration |
withProcessingConfiguration(ProcessingConfiguration processingConfiguration)
The data processing configuration.
|
RedshiftDestinationConfiguration |
withRetryOptions(RedshiftRetryOptions retryOptions)
The retry behavior in case Kinesis Data Firehose is unable to deliver documents to Amazon Redshift.
|
RedshiftDestinationConfiguration |
withRoleARN(String roleARN)
The Amazon Resource Name (ARN) of the AWS credentials.
|
RedshiftDestinationConfiguration |
withS3BackupConfiguration(S3DestinationConfiguration s3BackupConfiguration)
The configuration for backup in Amazon S3.
|
RedshiftDestinationConfiguration |
withS3BackupMode(RedshiftS3BackupMode s3BackupMode)
The Amazon S3 backup mode.
|
RedshiftDestinationConfiguration |
withS3BackupMode(String s3BackupMode)
The Amazon S3 backup mode.
|
RedshiftDestinationConfiguration |
withS3Configuration(S3DestinationConfiguration s3Configuration)
The configuration for the intermediate Amazon S3 location from which Amazon Redshift obtains data.
|
RedshiftDestinationConfiguration |
withUsername(String username)
The name of the user.
|
public void setRoleARN(String roleARN)
The Amazon Resource Name (ARN) of the AWS credentials. For more information, see Amazon Resource Names (ARNs) and AWS Service Namespaces.
roleARN
- The Amazon Resource Name (ARN) of the AWS credentials. For more information, see Amazon Resource Names
(ARNs) and AWS Service Namespaces.public String getRoleARN()
The Amazon Resource Name (ARN) of the AWS credentials. For more information, see Amazon Resource Names (ARNs) and AWS Service Namespaces.
public RedshiftDestinationConfiguration withRoleARN(String roleARN)
The Amazon Resource Name (ARN) of the AWS credentials. For more information, see Amazon Resource Names (ARNs) and AWS Service Namespaces.
roleARN
- The Amazon Resource Name (ARN) of the AWS credentials. For more information, see Amazon Resource Names
(ARNs) and AWS Service Namespaces.public void setClusterJDBCURL(String clusterJDBCURL)
The database connection string.
clusterJDBCURL
- The database connection string.public String getClusterJDBCURL()
The database connection string.
public RedshiftDestinationConfiguration withClusterJDBCURL(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 RedshiftDestinationConfiguration withCopyCommand(CopyCommand copyCommand)
The COPY
command.
copyCommand
- The COPY
command.public void setUsername(String username)
The name of the user.
username
- The name of the user.public String getUsername()
The name of the user.
public RedshiftDestinationConfiguration withUsername(String username)
The name of the user.
username
- The name of the user.public void setPassword(String password)
The user password.
password
- The user password.public String getPassword()
The user password.
public RedshiftDestinationConfiguration withPassword(String password)
The user password.
password
- The user password.public void setRetryOptions(RedshiftRetryOptions retryOptions)
The retry behavior in case Kinesis Data Firehose is unable to deliver documents to Amazon Redshift. Default value is 3600 (60 minutes).
retryOptions
- The retry behavior in case Kinesis Data Firehose is unable to deliver documents to Amazon Redshift.
Default value is 3600 (60 minutes).public RedshiftRetryOptions getRetryOptions()
The retry behavior in case Kinesis Data Firehose is unable to deliver documents to Amazon Redshift. Default value is 3600 (60 minutes).
public RedshiftDestinationConfiguration withRetryOptions(RedshiftRetryOptions retryOptions)
The retry behavior in case Kinesis Data Firehose is unable to deliver documents to Amazon Redshift. Default value is 3600 (60 minutes).
retryOptions
- The retry behavior in case Kinesis Data Firehose is unable to deliver documents to Amazon Redshift.
Default value is 3600 (60 minutes).public void setS3Configuration(S3DestinationConfiguration s3Configuration)
The configuration for the intermediate Amazon S3 location from which Amazon Redshift obtains data. Restrictions are described in the topic for CreateDeliveryStream.
The compression formats SNAPPY
or ZIP
cannot be specified in
RedshiftDestinationConfiguration.S3Configuration
because the Amazon Redshift COPY
operation that reads from the S3 bucket doesn't support these compression formats.
s3Configuration
- The configuration for the intermediate Amazon S3 location from which Amazon Redshift obtains data.
Restrictions are described in the topic for CreateDeliveryStream.
The compression formats SNAPPY
or ZIP
cannot be specified in
RedshiftDestinationConfiguration.S3Configuration
because the Amazon Redshift
COPY
operation that reads from the S3 bucket doesn't support these compression formats.
public S3DestinationConfiguration getS3Configuration()
The configuration for the intermediate Amazon S3 location from which Amazon Redshift obtains data. Restrictions are described in the topic for CreateDeliveryStream.
The compression formats SNAPPY
or ZIP
cannot be specified in
RedshiftDestinationConfiguration.S3Configuration
because the Amazon Redshift COPY
operation that reads from the S3 bucket doesn't support these compression formats.
The compression formats SNAPPY
or ZIP
cannot be specified in
RedshiftDestinationConfiguration.S3Configuration
because the Amazon Redshift
COPY
operation that reads from the S3 bucket doesn't support these compression formats.
public RedshiftDestinationConfiguration withS3Configuration(S3DestinationConfiguration s3Configuration)
The configuration for the intermediate Amazon S3 location from which Amazon Redshift obtains data. Restrictions are described in the topic for CreateDeliveryStream.
The compression formats SNAPPY
or ZIP
cannot be specified in
RedshiftDestinationConfiguration.S3Configuration
because the Amazon Redshift COPY
operation that reads from the S3 bucket doesn't support these compression formats.
s3Configuration
- The configuration for the intermediate Amazon S3 location from which Amazon Redshift obtains data.
Restrictions are described in the topic for CreateDeliveryStream.
The compression formats SNAPPY
or ZIP
cannot be specified in
RedshiftDestinationConfiguration.S3Configuration
because the Amazon Redshift
COPY
operation that reads from the S3 bucket doesn't support these compression formats.
public void setProcessingConfiguration(ProcessingConfiguration processingConfiguration)
The data processing configuration.
processingConfiguration
- The data processing configuration.public ProcessingConfiguration getProcessingConfiguration()
The data processing configuration.
public RedshiftDestinationConfiguration withProcessingConfiguration(ProcessingConfiguration processingConfiguration)
The data processing configuration.
processingConfiguration
- The data processing configuration.public void setS3BackupMode(String s3BackupMode)
The Amazon S3 backup mode. After you create a delivery stream, you can update it to enable Amazon S3 backup if it is disabled. If backup is enabled, you can't update the delivery stream to disable it.
s3BackupMode
- The Amazon S3 backup mode. After you create a delivery stream, you can update it to enable Amazon S3
backup if it is disabled. If backup is enabled, you can't update the delivery stream to disable it.RedshiftS3BackupMode
public String getS3BackupMode()
The Amazon S3 backup mode. After you create a delivery stream, you can update it to enable Amazon S3 backup if it is disabled. If backup is enabled, you can't update the delivery stream to disable it.
RedshiftS3BackupMode
public RedshiftDestinationConfiguration withS3BackupMode(String s3BackupMode)
The Amazon S3 backup mode. After you create a delivery stream, you can update it to enable Amazon S3 backup if it is disabled. If backup is enabled, you can't update the delivery stream to disable it.
s3BackupMode
- The Amazon S3 backup mode. After you create a delivery stream, you can update it to enable Amazon S3
backup if it is disabled. If backup is enabled, you can't update the delivery stream to disable it.RedshiftS3BackupMode
public void setS3BackupMode(RedshiftS3BackupMode s3BackupMode)
The Amazon S3 backup mode. After you create a delivery stream, you can update it to enable Amazon S3 backup if it is disabled. If backup is enabled, you can't update the delivery stream to disable it.
s3BackupMode
- The Amazon S3 backup mode. After you create a delivery stream, you can update it to enable Amazon S3
backup if it is disabled. If backup is enabled, you can't update the delivery stream to disable it.RedshiftS3BackupMode
public RedshiftDestinationConfiguration withS3BackupMode(RedshiftS3BackupMode s3BackupMode)
The Amazon S3 backup mode. After you create a delivery stream, you can update it to enable Amazon S3 backup if it is disabled. If backup is enabled, you can't update the delivery stream to disable it.
s3BackupMode
- The Amazon S3 backup mode. After you create a delivery stream, you can update it to enable Amazon S3
backup if it is disabled. If backup is enabled, you can't update the delivery stream to disable it.RedshiftS3BackupMode
public void setS3BackupConfiguration(S3DestinationConfiguration s3BackupConfiguration)
The configuration for backup in Amazon S3.
s3BackupConfiguration
- The configuration for backup in Amazon S3.public S3DestinationConfiguration getS3BackupConfiguration()
The configuration for backup in Amazon S3.
public RedshiftDestinationConfiguration withS3BackupConfiguration(S3DestinationConfiguration s3BackupConfiguration)
The configuration for backup in Amazon S3.
s3BackupConfiguration
- The configuration for backup in Amazon S3.public void setCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)
The CloudWatch logging options for your delivery stream.
cloudWatchLoggingOptions
- The CloudWatch logging options for your delivery stream.public CloudWatchLoggingOptions getCloudWatchLoggingOptions()
The CloudWatch logging options for your delivery stream.
public RedshiftDestinationConfiguration withCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)
The CloudWatch logging options for your delivery stream.
cloudWatchLoggingOptions
- The CloudWatch logging options for your delivery stream.public String toString()
toString
in class Object
Object.toString()
public RedshiftDestinationConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2021. All rights reserved.