Class RedshiftDestinationConfiguration
- java.lang.Object
-
- com.amazonaws.services.kinesisfirehose.model.RedshiftDestinationConfiguration
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class RedshiftDestinationConfiguration extends Object implements Serializable, Cloneable
Describes the configuration of a destination in Amazon Redshift.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RedshiftDestinationConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
TheCOPY
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)
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
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)
TheCOPY
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.
-
-
-
Method Detail
-
setRoleARN
public void setRoleARN(String roleARN)
The ARN of the AWS credentials.
- Parameters:
roleARN
- The ARN of the AWS credentials.
-
getRoleARN
public String getRoleARN()
The ARN of the AWS credentials.
- Returns:
- The ARN of the AWS credentials.
-
withRoleARN
public RedshiftDestinationConfiguration withRoleARN(String roleARN)
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
public void setClusterJDBCURL(String clusterJDBCURL)
The database connection string.
- Parameters:
clusterJDBCURL
- The database connection string.
-
getClusterJDBCURL
public String getClusterJDBCURL()
The database connection string.
- Returns:
- The database connection string.
-
withClusterJDBCURL
public RedshiftDestinationConfiguration withClusterJDBCURL(String clusterJDBCURL)
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
public void setCopyCommand(CopyCommand copyCommand)
The
COPY
command.- Parameters:
copyCommand
- TheCOPY
command.
-
getCopyCommand
public CopyCommand getCopyCommand()
The
COPY
command.- Returns:
- The
COPY
command.
-
withCopyCommand
public RedshiftDestinationConfiguration withCopyCommand(CopyCommand copyCommand)
The
COPY
command.- Parameters:
copyCommand
- TheCOPY
command.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setUsername
public void setUsername(String username)
The name of the user.
- Parameters:
username
- The name of the user.
-
getUsername
public String getUsername()
The name of the user.
- Returns:
- The name of the user.
-
withUsername
public RedshiftDestinationConfiguration withUsername(String username)
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
public void setPassword(String password)
The user password.
- Parameters:
password
- The user password.
-
getPassword
public String getPassword()
The user password.
- Returns:
- The user password.
-
withPassword
public RedshiftDestinationConfiguration withPassword(String password)
The user password.
- Parameters:
password
- The user password.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRetryOptions
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).
- 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
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).
- Returns:
- Configures retry behavior in the event that Firehose is unable to deliver documents to Amazon Redshift. Default value is 3600 (60 minutes).
-
withRetryOptions
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).
- 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.
-
setS3Configuration
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
orZIP
cannot be specified in RedshiftDestinationConfiguration.S3Configuration because the Amazon RedshiftCOPY
operation that reads from the S3 bucket doesn't support these compression formats.- Parameters:
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
orZIP
cannot be specified in RedshiftDestinationConfiguration.S3Configuration because the Amazon RedshiftCOPY
operation that reads from the S3 bucket doesn't support these compression formats.
-
getS3Configuration
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
orZIP
cannot be specified in RedshiftDestinationConfiguration.S3Configuration because the Amazon RedshiftCOPY
operation that reads from the S3 bucket doesn't support these compression formats.- Returns:
- 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
orZIP
cannot be specified in RedshiftDestinationConfiguration.S3Configuration because the Amazon RedshiftCOPY
operation that reads from the S3 bucket doesn't support these compression formats.
-
withS3Configuration
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
orZIP
cannot be specified in RedshiftDestinationConfiguration.S3Configuration because the Amazon RedshiftCOPY
operation that reads from the S3 bucket doesn't support these compression formats.- Parameters:
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
orZIP
cannot be specified in RedshiftDestinationConfiguration.S3Configuration 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
public void setCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)
Describes CloudWatch logging options for your delivery stream.
- Parameters:
cloudWatchLoggingOptions
- Describes CloudWatch logging options for your delivery stream.
-
getCloudWatchLoggingOptions
public CloudWatchLoggingOptions getCloudWatchLoggingOptions()
Describes CloudWatch logging options for your delivery stream.
- Returns:
- Describes CloudWatch logging options for your delivery stream.
-
withCloudWatchLoggingOptions
public RedshiftDestinationConfiguration 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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public RedshiftDestinationConfiguration clone()
-
-