@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DynamoDBTarget extends Object implements Serializable, Cloneable, StructuredPojo
Specifies an Amazon DynamoDB table to crawl.
Constructor and Description |
---|
DynamoDBTarget() |
Modifier and Type | Method and Description |
---|---|
DynamoDBTarget |
clone() |
boolean |
equals(Object obj) |
String |
getPath()
The name of the DynamoDB table to crawl.
|
Boolean |
getScanAll()
Indicates whether to scan all the records, or to sample rows from the table.
|
Double |
getScanRate()
The percentage of the configured read capacity units to use by the Glue crawler.
|
int |
hashCode() |
Boolean |
isScanAll()
Indicates whether to scan all the records, or to sample rows from the table.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPath(String path)
The name of the DynamoDB table to crawl.
|
void |
setScanAll(Boolean scanAll)
Indicates whether to scan all the records, or to sample rows from the table.
|
void |
setScanRate(Double scanRate)
The percentage of the configured read capacity units to use by the Glue crawler.
|
String |
toString()
Returns a string representation of this object.
|
DynamoDBTarget |
withPath(String path)
The name of the DynamoDB table to crawl.
|
DynamoDBTarget |
withScanAll(Boolean scanAll)
Indicates whether to scan all the records, or to sample rows from the table.
|
DynamoDBTarget |
withScanRate(Double scanRate)
The percentage of the configured read capacity units to use by the Glue crawler.
|
public void setPath(String path)
The name of the DynamoDB table to crawl.
path
- The name of the DynamoDB table to crawl.public String getPath()
The name of the DynamoDB table to crawl.
public DynamoDBTarget withPath(String path)
The name of the DynamoDB table to crawl.
path
- The name of the DynamoDB table to crawl.public void setScanAll(Boolean scanAll)
Indicates whether to scan all the records, or to sample rows from the table. Scanning all the records can take a long time when the table is not a high throughput table.
A value of true
means to scan all records, while a value of false
means to sample the
records. If no value is specified, the value defaults to true
.
scanAll
- Indicates whether to scan all the records, or to sample rows from the table. Scanning all the records can
take a long time when the table is not a high throughput table.
A value of true
means to scan all records, while a value of false
means to
sample the records. If no value is specified, the value defaults to true
.
public Boolean getScanAll()
Indicates whether to scan all the records, or to sample rows from the table. Scanning all the records can take a long time when the table is not a high throughput table.
A value of true
means to scan all records, while a value of false
means to sample the
records. If no value is specified, the value defaults to true
.
A value of true
means to scan all records, while a value of false
means to
sample the records. If no value is specified, the value defaults to true
.
public DynamoDBTarget withScanAll(Boolean scanAll)
Indicates whether to scan all the records, or to sample rows from the table. Scanning all the records can take a long time when the table is not a high throughput table.
A value of true
means to scan all records, while a value of false
means to sample the
records. If no value is specified, the value defaults to true
.
scanAll
- Indicates whether to scan all the records, or to sample rows from the table. Scanning all the records can
take a long time when the table is not a high throughput table.
A value of true
means to scan all records, while a value of false
means to
sample the records. If no value is specified, the value defaults to true
.
public Boolean isScanAll()
Indicates whether to scan all the records, or to sample rows from the table. Scanning all the records can take a long time when the table is not a high throughput table.
A value of true
means to scan all records, while a value of false
means to sample the
records. If no value is specified, the value defaults to true
.
A value of true
means to scan all records, while a value of false
means to
sample the records. If no value is specified, the value defaults to true
.
public void setScanRate(Double scanRate)
The percentage of the configured read capacity units to use by the Glue crawler. Read capacity units is a term defined by DynamoDB, and is a numeric value that acts as rate limiter for the number of reads that can be performed on that table per second.
The valid values are null or a value between 0.1 to 1.5. A null value is used when user does not provide a value, and defaults to 0.5 of the configured Read Capacity Unit (for provisioned tables), or 0.25 of the max configured Read Capacity Unit (for tables using on-demand mode).
scanRate
- The percentage of the configured read capacity units to use by the Glue crawler. Read capacity units is a
term defined by DynamoDB, and is a numeric value that acts as rate limiter for the number of reads that
can be performed on that table per second.
The valid values are null or a value between 0.1 to 1.5. A null value is used when user does not provide a value, and defaults to 0.5 of the configured Read Capacity Unit (for provisioned tables), or 0.25 of the max configured Read Capacity Unit (for tables using on-demand mode).
public Double getScanRate()
The percentage of the configured read capacity units to use by the Glue crawler. Read capacity units is a term defined by DynamoDB, and is a numeric value that acts as rate limiter for the number of reads that can be performed on that table per second.
The valid values are null or a value between 0.1 to 1.5. A null value is used when user does not provide a value, and defaults to 0.5 of the configured Read Capacity Unit (for provisioned tables), or 0.25 of the max configured Read Capacity Unit (for tables using on-demand mode).
The valid values are null or a value between 0.1 to 1.5. A null value is used when user does not provide a value, and defaults to 0.5 of the configured Read Capacity Unit (for provisioned tables), or 0.25 of the max configured Read Capacity Unit (for tables using on-demand mode).
public DynamoDBTarget withScanRate(Double scanRate)
The percentage of the configured read capacity units to use by the Glue crawler. Read capacity units is a term defined by DynamoDB, and is a numeric value that acts as rate limiter for the number of reads that can be performed on that table per second.
The valid values are null or a value between 0.1 to 1.5. A null value is used when user does not provide a value, and defaults to 0.5 of the configured Read Capacity Unit (for provisioned tables), or 0.25 of the max configured Read Capacity Unit (for tables using on-demand mode).
scanRate
- The percentage of the configured read capacity units to use by the Glue crawler. Read capacity units is a
term defined by DynamoDB, and is a numeric value that acts as rate limiter for the number of reads that
can be performed on that table per second.
The valid values are null or a value between 0.1 to 1.5. A null value is used when user does not provide a value, and defaults to 0.5 of the configured Read Capacity Unit (for provisioned tables), or 0.25 of the max configured Read Capacity Unit (for tables using on-demand mode).
public String toString()
toString
in class Object
Object.toString()
public DynamoDBTarget clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.