@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FilesLimit extends Object implements Serializable, Cloneable, StructuredPojo
Represents a limit imposed on number of Amazon S3 files that should be selected for a dataset from a connected Amazon S3 path.
| Constructor and Description |
|---|
FilesLimit() |
| Modifier and Type | Method and Description |
|---|---|
FilesLimit |
clone() |
boolean |
equals(Object obj) |
Integer |
getMaxFiles()
The number of Amazon S3 files to select.
|
String |
getOrder()
A criteria to use for Amazon S3 files sorting before their selection.
|
String |
getOrderedBy()
A criteria to use for Amazon S3 files sorting before their selection.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setMaxFiles(Integer maxFiles)
The number of Amazon S3 files to select.
|
void |
setOrder(String order)
A criteria to use for Amazon S3 files sorting before their selection.
|
void |
setOrderedBy(String orderedBy)
A criteria to use for Amazon S3 files sorting before their selection.
|
String |
toString()
Returns a string representation of this object.
|
FilesLimit |
withMaxFiles(Integer maxFiles)
The number of Amazon S3 files to select.
|
FilesLimit |
withOrder(Order order)
A criteria to use for Amazon S3 files sorting before their selection.
|
FilesLimit |
withOrder(String order)
A criteria to use for Amazon S3 files sorting before their selection.
|
FilesLimit |
withOrderedBy(OrderedBy orderedBy)
A criteria to use for Amazon S3 files sorting before their selection.
|
FilesLimit |
withOrderedBy(String orderedBy)
A criteria to use for Amazon S3 files sorting before their selection.
|
public void setMaxFiles(Integer maxFiles)
The number of Amazon S3 files to select.
maxFiles - The number of Amazon S3 files to select.public Integer getMaxFiles()
The number of Amazon S3 files to select.
public FilesLimit withMaxFiles(Integer maxFiles)
The number of Amazon S3 files to select.
maxFiles - The number of Amazon S3 files to select.public void setOrderedBy(String orderedBy)
A criteria to use for Amazon S3 files sorting before their selection. By default uses LAST_MODIFIED_DATE as a sorting criteria. Currently it's the only allowed value.
orderedBy - A criteria to use for Amazon S3 files sorting before their selection. By default uses LAST_MODIFIED_DATE
as a sorting criteria. Currently it's the only allowed value.OrderedBypublic String getOrderedBy()
A criteria to use for Amazon S3 files sorting before their selection. By default uses LAST_MODIFIED_DATE as a sorting criteria. Currently it's the only allowed value.
OrderedBypublic FilesLimit withOrderedBy(String orderedBy)
A criteria to use for Amazon S3 files sorting before their selection. By default uses LAST_MODIFIED_DATE as a sorting criteria. Currently it's the only allowed value.
orderedBy - A criteria to use for Amazon S3 files sorting before their selection. By default uses LAST_MODIFIED_DATE
as a sorting criteria. Currently it's the only allowed value.OrderedBypublic FilesLimit withOrderedBy(OrderedBy orderedBy)
A criteria to use for Amazon S3 files sorting before their selection. By default uses LAST_MODIFIED_DATE as a sorting criteria. Currently it's the only allowed value.
orderedBy - A criteria to use for Amazon S3 files sorting before their selection. By default uses LAST_MODIFIED_DATE
as a sorting criteria. Currently it's the only allowed value.OrderedBypublic void setOrder(String order)
A criteria to use for Amazon S3 files sorting before their selection. By default uses DESCENDING order, i.e. most recent files are selected first. Another possible value is ASCENDING.
order - A criteria to use for Amazon S3 files sorting before their selection. By default uses DESCENDING order,
i.e. most recent files are selected first. Another possible value is ASCENDING.Orderpublic String getOrder()
A criteria to use for Amazon S3 files sorting before their selection. By default uses DESCENDING order, i.e. most recent files are selected first. Another possible value is ASCENDING.
Orderpublic FilesLimit withOrder(String order)
A criteria to use for Amazon S3 files sorting before their selection. By default uses DESCENDING order, i.e. most recent files are selected first. Another possible value is ASCENDING.
order - A criteria to use for Amazon S3 files sorting before their selection. By default uses DESCENDING order,
i.e. most recent files are selected first. Another possible value is ASCENDING.Orderpublic FilesLimit withOrder(Order order)
A criteria to use for Amazon S3 files sorting before their selection. By default uses DESCENDING order, i.e. most recent files are selected first. Another possible value is ASCENDING.
order - A criteria to use for Amazon S3 files sorting before their selection. By default uses DESCENDING order,
i.e. most recent files are selected first. Another possible value is ASCENDING.Orderpublic String toString()
toString in class ObjectObject.toString()public FilesLimit clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.