Class RedshiftDestinationUpdate
- java.lang.Object
-
- com.amazonaws.services.kinesisfirehose.model.RedshiftDestinationUpdate
-
- All Implemented Interfaces:
Serializable,Cloneable
public class RedshiftDestinationUpdate extends Object implements Serializable, Cloneable
Describes an update for a destination in Amazon Redshift.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RedshiftDestinationUpdate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RedshiftDestinationUpdateclone()booleanequals(Object obj)CloudWatchLoggingOptionsgetCloudWatchLoggingOptions()Describes CloudWatch logging options for your delivery stream.StringgetClusterJDBCURL()The database connection string.CopyCommandgetCopyCommand()TheCOPYcommand.StringgetPassword()The user password.RedshiftRetryOptionsgetRetryOptions()Configures retry behavior in the event that Firehose is unable to deliver documents to Amazon Redshift.StringgetRoleARN()The ARN of the AWS credentials.S3DestinationUpdategetS3Update()The Amazon S3 destination.StringgetUsername()The name of the user.inthashCode()voidsetCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)Describes CloudWatch logging options for your delivery stream.voidsetClusterJDBCURL(String clusterJDBCURL)The database connection string.voidsetCopyCommand(CopyCommand copyCommand)TheCOPYcommand.voidsetPassword(String password)The user password.voidsetRetryOptions(RedshiftRetryOptions retryOptions)Configures retry behavior in the event that Firehose is unable to deliver documents to Amazon Redshift.voidsetRoleARN(String roleARN)The ARN of the AWS credentials.voidsetS3Update(S3DestinationUpdate s3Update)The Amazon S3 destination.voidsetUsername(String username)The name of the user.StringtoString()Returns a string representation of this object; useful for testing and debugging.RedshiftDestinationUpdatewithCloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)Describes CloudWatch logging options for your delivery stream.RedshiftDestinationUpdatewithClusterJDBCURL(String clusterJDBCURL)The database connection string.RedshiftDestinationUpdatewithCopyCommand(CopyCommand copyCommand)TheCOPYcommand.RedshiftDestinationUpdatewithPassword(String password)The user password.RedshiftDestinationUpdatewithRetryOptions(RedshiftRetryOptions retryOptions)Configures retry behavior in the event that Firehose is unable to deliver documents to Amazon Redshift.RedshiftDestinationUpdatewithRoleARN(String roleARN)The ARN of the AWS credentials.RedshiftDestinationUpdatewithS3Update(S3DestinationUpdate s3Update)The Amazon S3 destination.RedshiftDestinationUpdatewithUsername(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 RedshiftDestinationUpdate 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 RedshiftDestinationUpdate 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
COPYcommand.- Parameters:
copyCommand- TheCOPYcommand.
-
getCopyCommand
public CopyCommand getCopyCommand()
The
COPYcommand.- Returns:
- The
COPYcommand.
-
withCopyCommand
public RedshiftDestinationUpdate withCopyCommand(CopyCommand copyCommand)
The
COPYcommand.- Parameters:
copyCommand- TheCOPYcommand.- 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 RedshiftDestinationUpdate 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 RedshiftDestinationUpdate 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 RedshiftDestinationUpdate 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.
-
setS3Update
public void setS3Update(S3DestinationUpdate s3Update)
The Amazon S3 destination.
The compression formats
SNAPPYorZIPcannot be specified in RedshiftDestinationUpdate.S3Update because the Amazon RedshiftCOPYoperation that reads from the S3 bucket doesn't support these compression formats.- Parameters:
s3Update- The Amazon S3 destination.The compression formats
SNAPPYorZIPcannot be specified in RedshiftDestinationUpdate.S3Update because the Amazon RedshiftCOPYoperation that reads from the S3 bucket doesn't support these compression formats.
-
getS3Update
public S3DestinationUpdate getS3Update()
The Amazon S3 destination.
The compression formats
SNAPPYorZIPcannot be specified in RedshiftDestinationUpdate.S3Update because the Amazon RedshiftCOPYoperation that reads from the S3 bucket doesn't support these compression formats.- Returns:
- The Amazon S3 destination.
The compression formats
SNAPPYorZIPcannot be specified in RedshiftDestinationUpdate.S3Update because the Amazon RedshiftCOPYoperation that reads from the S3 bucket doesn't support these compression formats.
-
withS3Update
public RedshiftDestinationUpdate withS3Update(S3DestinationUpdate s3Update)
The Amazon S3 destination.
The compression formats
SNAPPYorZIPcannot be specified in RedshiftDestinationUpdate.S3Update because the Amazon RedshiftCOPYoperation that reads from the S3 bucket doesn't support these compression formats.- Parameters:
s3Update- The Amazon S3 destination.The compression formats
SNAPPYorZIPcannot be specified in RedshiftDestinationUpdate.S3Update because the Amazon RedshiftCOPYoperation 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 RedshiftDestinationUpdate 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public RedshiftDestinationUpdate clone()
-
-