public class RedshiftDestinationConfiguration extends Object implements Serializable, Cloneable
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()
Describes CloudWatch logging options for your delivery stream.
|
String |
getClusterJDBCURL()
The database connection string.
|
CopyCommand |
getCopyCommand()
The
COPY command. |
String |
getPassword()
The user password.
|
RedshiftRetryOptions |
getRetryOptions()
Configures retry behavior in the event that Firehose is unable to deliver
documents to Amazon Redshift.
|
String |
getRoleARN()
The ARN of the AWS credentials.
|
S3DestinationConfiguration |
getS3Configuration()
The S3 configuration for the intermediate location from which Amazon
Redshift obtains data.
|
String |
getUsername()
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)
The
COPY 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 |
setS3Configuration(S3DestinationConfiguration s3Configuration)
The S3 configuration for the intermediate 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; useful for testing and
debugging.
|
RedshiftDestinationConfiguration |
withCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)
Describes 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 |
withRetryOptions(RedshiftRetryOptions retryOptions)
Configures retry behavior in the event that Firehose is unable to deliver
documents to Amazon Redshift.
|
RedshiftDestinationConfiguration |
withRoleARN(String roleARN)
The ARN of the AWS credentials.
|
RedshiftDestinationConfiguration |
withS3Configuration(S3DestinationConfiguration s3Configuration)
The S3 configuration for the intermediate location from which Amazon
Redshift obtains data.
|
RedshiftDestinationConfiguration |
withUsername(String username)
The name of the user.
|
public void setRoleARN(String roleARN)
The ARN of the AWS credentials.
roleARN
- The ARN of the AWS credentials.public String getRoleARN()
The ARN of the AWS credentials.
public RedshiftDestinationConfiguration withRoleARN(String roleARN)
The ARN of the AWS credentials.
roleARN
- The ARN of the AWS credentials.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)
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 RedshiftDestinationConfiguration 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 setS3Configuration(S3DestinationConfiguration s3Configuration)
The S3 configuration for the intermediate 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 S3 configuration for the intermediate 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 S3 configuration for the intermediate 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 S3 configuration for the intermediate 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 S3 configuration for the intermediate 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 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 RedshiftDestinationConfiguration withCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)
Describes CloudWatch logging options for your delivery stream.
cloudWatchLoggingOptions
- Describes CloudWatch logging options for your delivery stream.public String toString()
toString
in class Object
Object.toString()
public RedshiftDestinationConfiguration clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.