@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3CatalogSource extends Object implements Serializable, Cloneable, StructuredPojo
Specifies an Amazon S3 data store in the Glue Data Catalog.
Constructor and Description |
---|
S3CatalogSource() |
Modifier and Type | Method and Description |
---|---|
S3CatalogSource |
clone() |
boolean |
equals(Object obj) |
S3SourceAdditionalOptions |
getAdditionalOptions()
Specifies additional connection options.
|
String |
getDatabase()
The database to read from.
|
String |
getName()
The name of the data store.
|
String |
getPartitionPredicate()
Partitions satisfying this predicate are deleted.
|
String |
getTable()
The database table to read from.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAdditionalOptions(S3SourceAdditionalOptions additionalOptions)
Specifies additional connection options.
|
void |
setDatabase(String database)
The database to read from.
|
void |
setName(String name)
The name of the data store.
|
void |
setPartitionPredicate(String partitionPredicate)
Partitions satisfying this predicate are deleted.
|
void |
setTable(String table)
The database table to read from.
|
String |
toString()
Returns a string representation of this object.
|
S3CatalogSource |
withAdditionalOptions(S3SourceAdditionalOptions additionalOptions)
Specifies additional connection options.
|
S3CatalogSource |
withDatabase(String database)
The database to read from.
|
S3CatalogSource |
withName(String name)
The name of the data store.
|
S3CatalogSource |
withPartitionPredicate(String partitionPredicate)
Partitions satisfying this predicate are deleted.
|
S3CatalogSource |
withTable(String table)
The database table to read from.
|
public void setName(String name)
The name of the data store.
name
- The name of the data store.public String getName()
The name of the data store.
public S3CatalogSource withName(String name)
The name of the data store.
name
- The name of the 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 S3CatalogSource 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 S3CatalogSource withTable(String table)
The database table to read from.
table
- The database table to read from.public void setPartitionPredicate(String partitionPredicate)
Partitions satisfying this predicate are deleted. Files within the retention period in these partitions are not
deleted. Set to ""
– empty by default.
partitionPredicate
- Partitions satisfying this predicate are deleted. Files within the retention period in these partitions
are not deleted. Set to ""
– empty by default.public String getPartitionPredicate()
Partitions satisfying this predicate are deleted. Files within the retention period in these partitions are not
deleted. Set to ""
– empty by default.
""
– empty by default.public S3CatalogSource withPartitionPredicate(String partitionPredicate)
Partitions satisfying this predicate are deleted. Files within the retention period in these partitions are not
deleted. Set to ""
– empty by default.
partitionPredicate
- Partitions satisfying this predicate are deleted. Files within the retention period in these partitions
are not deleted. Set to ""
– empty by default.public void setAdditionalOptions(S3SourceAdditionalOptions additionalOptions)
Specifies additional connection options.
additionalOptions
- Specifies additional connection options.public S3SourceAdditionalOptions getAdditionalOptions()
Specifies additional connection options.
public S3CatalogSource withAdditionalOptions(S3SourceAdditionalOptions additionalOptions)
Specifies additional connection options.
additionalOptions
- Specifies additional connection options.public String toString()
toString
in class Object
Object.toString()
public S3CatalogSource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.