@Generated(value="software.amazon.awssdk:codegen") public final class RedshiftDestinationConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RedshiftDestinationConfiguration.Builder,RedshiftDestinationConfiguration>
Describes the configuration of a destination in Amazon Redshift.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RedshiftDestinationConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static RedshiftDestinationConfiguration.Builder |
builder() |
CloudWatchLoggingOptions |
cloudWatchLoggingOptions()
The CloudWatch logging options for your delivery stream.
|
String |
clusterJDBCURL()
The database connection string.
|
CopyCommand |
copyCommand()
The
COPY command. |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
password()
The user password.
|
ProcessingConfiguration |
processingConfiguration()
The data processing configuration.
|
RedshiftRetryOptions |
retryOptions()
The retry behavior in case Kinesis Data Firehose is unable to deliver documents to Amazon Redshift.
|
String |
roleARN()
The Amazon Resource Name (ARN) of the Amazon Web Services credentials.
|
S3DestinationConfiguration |
s3BackupConfiguration()
The configuration for backup in Amazon S3.
|
RedshiftS3BackupMode |
s3BackupMode()
The Amazon S3 backup mode.
|
String |
s3BackupModeAsString()
The Amazon S3 backup mode.
|
S3DestinationConfiguration |
s3Configuration()
The configuration for the intermediate Amazon S3 location from which Amazon Redshift obtains data.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RedshiftDestinationConfiguration.Builder> |
serializableBuilderClass() |
RedshiftDestinationConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
username()
The name of the user.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String roleARN()
The Amazon Resource Name (ARN) of the Amazon Web Services credentials. For more information, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces.
public final String clusterJDBCURL()
The database connection string.
public final CopyCommand copyCommand()
The COPY command.
COPY command.public final String username()
The name of the user.
public final String password()
The user password.
public final RedshiftRetryOptions retryOptions()
The retry behavior in case Kinesis Data Firehose is unable to deliver documents to Amazon Redshift. Default value is 3600 (60 minutes).
public final 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.
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 final ProcessingConfiguration processingConfiguration()
The data processing configuration.
public final 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.
If the service returns an enum value that is not available in the current SDK version, s3BackupMode will
return RedshiftS3BackupMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from s3BackupModeAsString().
RedshiftS3BackupModepublic final String s3BackupModeAsString()
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.
If the service returns an enum value that is not available in the current SDK version, s3BackupMode will
return RedshiftS3BackupMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from s3BackupModeAsString().
RedshiftS3BackupModepublic final S3DestinationConfiguration s3BackupConfiguration()
The configuration for backup in Amazon S3.
public final CloudWatchLoggingOptions cloudWatchLoggingOptions()
The CloudWatch logging options for your delivery stream.
public RedshiftDestinationConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RedshiftDestinationConfiguration.Builder,RedshiftDestinationConfiguration>public static RedshiftDestinationConfiguration.Builder builder()
public static Class<? extends RedshiftDestinationConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.