@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RedshiftSource extends Object implements Serializable, Cloneable, StructuredPojo
Specifies an Amazon Redshift data store.
Constructor and Description |
---|
RedshiftSource() |
Modifier and Type | Method and Description |
---|---|
RedshiftSource |
clone() |
boolean |
equals(Object obj) |
String |
getDatabase()
The database to read from.
|
String |
getName()
The name of the Amazon Redshift data store.
|
String |
getRedshiftTmpDir()
The Amazon S3 path where temporary data can be staged when copying out of the database.
|
String |
getTable()
The database table to read from.
|
String |
getTmpDirIAMRole()
The IAM role with permissions.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDatabase(String database)
The database to read from.
|
void |
setName(String name)
The name of the Amazon Redshift data store.
|
void |
setRedshiftTmpDir(String redshiftTmpDir)
The Amazon S3 path where temporary data can be staged when copying out of the database.
|
void |
setTable(String table)
The database table to read from.
|
void |
setTmpDirIAMRole(String tmpDirIAMRole)
The IAM role with permissions.
|
String |
toString()
Returns a string representation of this object.
|
RedshiftSource |
withDatabase(String database)
The database to read from.
|
RedshiftSource |
withName(String name)
The name of the Amazon Redshift data store.
|
RedshiftSource |
withRedshiftTmpDir(String redshiftTmpDir)
The Amazon S3 path where temporary data can be staged when copying out of the database.
|
RedshiftSource |
withTable(String table)
The database table to read from.
|
RedshiftSource |
withTmpDirIAMRole(String tmpDirIAMRole)
The IAM role with permissions.
|
public void setName(String name)
The name of the Amazon Redshift data store.
name
- The name of the Amazon Redshift data store.public String getName()
The name of the Amazon Redshift data store.
public RedshiftSource withName(String name)
The name of the Amazon Redshift data store.
name
- The name of the Amazon Redshift data store.public void setDatabase(String database)
The database to read from.
database
- The database to read from.public String getDatabase()
The database to read from.
public RedshiftSource withDatabase(String database)
The database to read from.
database
- The database to read from.public void setTable(String table)
The database table to read from.
table
- The database table to read from.public String getTable()
The database table to read from.
public RedshiftSource withTable(String table)
The database table to read from.
table
- The database table to read from.public void setRedshiftTmpDir(String redshiftTmpDir)
The Amazon S3 path where temporary data can be staged when copying out of the database.
redshiftTmpDir
- The Amazon S3 path where temporary data can be staged when copying out of the database.public String getRedshiftTmpDir()
The Amazon S3 path where temporary data can be staged when copying out of the database.
public RedshiftSource withRedshiftTmpDir(String redshiftTmpDir)
The Amazon S3 path where temporary data can be staged when copying out of the database.
redshiftTmpDir
- The Amazon S3 path where temporary data can be staged when copying out of the database.public void setTmpDirIAMRole(String tmpDirIAMRole)
The IAM role with permissions.
tmpDirIAMRole
- The IAM role with permissions.public String getTmpDirIAMRole()
The IAM role with permissions.
public RedshiftSource withTmpDirIAMRole(String tmpDirIAMRole)
The IAM role with permissions.
tmpDirIAMRole
- The IAM role with permissions.public String toString()
toString
in class Object
Object.toString()
public RedshiftSource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.