@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PathOptions extends Object implements Serializable, Cloneable, StructuredPojo
Represents a set of options that define how DataBrew selects files for a given Amazon S3 path in a dataset.
| Constructor and Description |
|---|
PathOptions() |
| Modifier and Type | Method and Description |
|---|---|
PathOptions |
addParametersEntry(String key,
DatasetParameter value)
Add a single Parameters entry
|
PathOptions |
clearParametersEntries()
Removes all the entries added into Parameters.
|
PathOptions |
clone() |
boolean |
equals(Object obj) |
FilesLimit |
getFilesLimit()
If provided, this structure imposes a limit on a number of files that should be selected.
|
FilterExpression |
getLastModifiedDateCondition()
If provided, this structure defines a date range for matching Amazon S3 objects based on their LastModifiedDate
attribute in Amazon S3.
|
Map<String,DatasetParameter> |
getParameters()
A structure that maps names of parameters used in the Amazon S3 path of a dataset to their definitions.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setFilesLimit(FilesLimit filesLimit)
If provided, this structure imposes a limit on a number of files that should be selected.
|
void |
setLastModifiedDateCondition(FilterExpression lastModifiedDateCondition)
If provided, this structure defines a date range for matching Amazon S3 objects based on their LastModifiedDate
attribute in Amazon S3.
|
void |
setParameters(Map<String,DatasetParameter> parameters)
A structure that maps names of parameters used in the Amazon S3 path of a dataset to their definitions.
|
String |
toString()
Returns a string representation of this object.
|
PathOptions |
withFilesLimit(FilesLimit filesLimit)
If provided, this structure imposes a limit on a number of files that should be selected.
|
PathOptions |
withLastModifiedDateCondition(FilterExpression lastModifiedDateCondition)
If provided, this structure defines a date range for matching Amazon S3 objects based on their LastModifiedDate
attribute in Amazon S3.
|
PathOptions |
withParameters(Map<String,DatasetParameter> parameters)
A structure that maps names of parameters used in the Amazon S3 path of a dataset to their definitions.
|
public void setLastModifiedDateCondition(FilterExpression lastModifiedDateCondition)
If provided, this structure defines a date range for matching Amazon S3 objects based on their LastModifiedDate attribute in Amazon S3.
lastModifiedDateCondition - If provided, this structure defines a date range for matching Amazon S3 objects based on their
LastModifiedDate attribute in Amazon S3.public FilterExpression getLastModifiedDateCondition()
If provided, this structure defines a date range for matching Amazon S3 objects based on their LastModifiedDate attribute in Amazon S3.
public PathOptions withLastModifiedDateCondition(FilterExpression lastModifiedDateCondition)
If provided, this structure defines a date range for matching Amazon S3 objects based on their LastModifiedDate attribute in Amazon S3.
lastModifiedDateCondition - If provided, this structure defines a date range for matching Amazon S3 objects based on their
LastModifiedDate attribute in Amazon S3.public void setFilesLimit(FilesLimit filesLimit)
If provided, this structure imposes a limit on a number of files that should be selected.
filesLimit - If provided, this structure imposes a limit on a number of files that should be selected.public FilesLimit getFilesLimit()
If provided, this structure imposes a limit on a number of files that should be selected.
public PathOptions withFilesLimit(FilesLimit filesLimit)
If provided, this structure imposes a limit on a number of files that should be selected.
filesLimit - If provided, this structure imposes a limit on a number of files that should be selected.public Map<String,DatasetParameter> getParameters()
A structure that maps names of parameters used in the Amazon S3 path of a dataset to their definitions.
public void setParameters(Map<String,DatasetParameter> parameters)
A structure that maps names of parameters used in the Amazon S3 path of a dataset to their definitions.
parameters - A structure that maps names of parameters used in the Amazon S3 path of a dataset to their definitions.public PathOptions withParameters(Map<String,DatasetParameter> parameters)
A structure that maps names of parameters used in the Amazon S3 path of a dataset to their definitions.
parameters - A structure that maps names of parameters used in the Amazon S3 path of a dataset to their definitions.public PathOptions addParametersEntry(String key, DatasetParameter value)
public PathOptions clearParametersEntries()
public String toString()
toString in class ObjectObject.toString()public PathOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.