Class RedshiftDestinationDescription

java.lang.Object
com.amazonaws.services.kinesisfirehose.model.RedshiftDestinationDescription
All Implemented Interfaces:
Serializable, Cloneable

public class RedshiftDestinationDescription extends Object implements Serializable, Cloneable

Describes a destination in Amazon Redshift.

See Also:
  • Constructor Details

    • RedshiftDestinationDescription

      public RedshiftDestinationDescription()
  • Method Details

    • 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 RedshiftDestinationDescription 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 RedshiftDestinationDescription 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 - The COPY command.
    • getCopyCommand

      public CopyCommand getCopyCommand()

      The COPY command.

      Returns:
      The COPY command.
    • withCopyCommand

      public RedshiftDestinationDescription withCopyCommand(CopyCommand copyCommand)

      The COPY command.

      Parameters:
      copyCommand - The COPY 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 RedshiftDestinationDescription 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.
    • 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 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).

      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.
    • setS3DestinationDescription

      public void setS3DestinationDescription(S3DestinationDescription s3DestinationDescription)

      The Amazon S3 destination.

      Parameters:
      s3DestinationDescription - The Amazon S3 destination.
    • getS3DestinationDescription

      public S3DestinationDescription getS3DestinationDescription()

      The Amazon S3 destination.

      Returns:
      The Amazon S3 destination.
    • withS3DestinationDescription

      public RedshiftDestinationDescription withS3DestinationDescription(S3DestinationDescription s3DestinationDescription)

      The Amazon S3 destination.

      Parameters:
      s3DestinationDescription - The Amazon S3 destination.
      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 RedshiftDestinationDescription 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Overrides:
      clone in class Object