public class RedshiftDestinationDescription extends Object implements Serializable, Cloneable
Describes a destination in Amazon Redshift.
Constructor and Description |
---|
RedshiftDestinationDescription() |
Modifier and Type | Method and Description |
---|---|
RedshiftDestinationDescription |
clone() |
boolean |
equals(Object obj) |
String |
getClusterJDBCURL()
The database connection string.
|
CopyCommand |
getCopyCommand()
The
COPY command. |
String |
getRoleARN()
The ARN of the AWS credentials.
|
S3DestinationDescription |
getS3DestinationDescription()
The Amazon S3 destination.
|
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 |
setRoleARN(String roleARN)
The ARN of the AWS credentials.
|
void |
setS3DestinationDescription(S3DestinationDescription s3DestinationDescription)
The Amazon S3 destination.
|
void |
setUsername(String username)
The name of the user.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RedshiftDestinationDescription |
withClusterJDBCURL(String clusterJDBCURL)
The database connection string.
|
RedshiftDestinationDescription |
withCopyCommand(CopyCommand copyCommand)
The
COPY command. |
RedshiftDestinationDescription |
withRoleARN(String roleARN)
The ARN of the AWS credentials.
|
RedshiftDestinationDescription |
withS3DestinationDescription(S3DestinationDescription s3DestinationDescription)
The Amazon S3 destination.
|
RedshiftDestinationDescription |
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 RedshiftDestinationDescription 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 RedshiftDestinationDescription 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 RedshiftDestinationDescription 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 RedshiftDestinationDescription withUsername(String username)
The name of the user.
username
- The name of the user.public void setS3DestinationDescription(S3DestinationDescription s3DestinationDescription)
The Amazon S3 destination.
s3DestinationDescription
- The Amazon S3 destination.public S3DestinationDescription getS3DestinationDescription()
The Amazon S3 destination.
public RedshiftDestinationDescription withS3DestinationDescription(S3DestinationDescription s3DestinationDescription)
The Amazon S3 destination.
s3DestinationDescription
- The Amazon S3 destination.public String toString()
toString
in class Object
Object.toString()
public RedshiftDestinationDescription clone()
Copyright © 2016. All rights reserved.