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) |
String |
getClusterJDBCURL()
The database connection string.
|
CopyCommand |
getCopyCommand()
The
COPY command. |
String |
getPassword()
The user password.
|
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 |
setClusterJDBCURL(String clusterJDBCURL)
The database connection string.
|
void |
setCopyCommand(CopyCommand copyCommand)
The
COPY command. |
void |
setPassword(String password)
The user password.
|
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 |
withClusterJDBCURL(String clusterJDBCURL)
The database connection string.
|
RedshiftDestinationConfiguration |
withCopyCommand(CopyCommand copyCommand)
The
COPY command. |
RedshiftDestinationConfiguration |
withPassword(String password)
The user password.
|
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 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 String toString()
toString
in class Object
Object.toString()
public RedshiftDestinationConfiguration clone()
Copyright © 2016. All rights reserved.