@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.OrderedBy
public 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.
OrderedBy
public 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.OrderedBy
public 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.OrderedBy
public 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.Order
public 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.
Order
public 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.Order
public 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.Order
public String toString()
toString
in class Object
Object.toString()
public FilesLimit clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.