@Generated(value="software.amazon.awssdk:codegen") public final class FilesLimit extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FilesLimit.Builder,FilesLimit>
Represents a limit imposed on number of Amazon S3 files that should be selected for a dataset from a connected Amazon S3 path.
| Modifier and Type | Class and Description |
|---|---|
static interface |
FilesLimit.Builder |
| Modifier and Type | Method and Description |
|---|---|
static FilesLimit.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
maxFiles()
The number of Amazon S3 files to select.
|
Order |
order()
A criteria to use for Amazon S3 files sorting before their selection.
|
String |
orderAsString()
A criteria to use for Amazon S3 files sorting before their selection.
|
OrderedBy |
orderedBy()
A criteria to use for Amazon S3 files sorting before their selection.
|
String |
orderedByAsString()
A criteria to use for Amazon S3 files sorting before their selection.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends FilesLimit.Builder> |
serializableBuilderClass() |
FilesLimit.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer maxFiles()
The number of Amazon S3 files to select.
public final 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.
If the service returns an enum value that is not available in the current SDK version, orderedBy will
return OrderedBy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
orderedByAsString().
OrderedBypublic final String orderedByAsString()
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.
If the service returns an enum value that is not available in the current SDK version, orderedBy will
return OrderedBy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
orderedByAsString().
OrderedBypublic final 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.
If the service returns an enum value that is not available in the current SDK version, order will return
Order.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
orderAsString().
Orderpublic final String orderAsString()
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.
If the service returns an enum value that is not available in the current SDK version, order will return
Order.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
orderAsString().
Orderpublic FilesLimit.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<FilesLimit.Builder,FilesLimit>public static FilesLimit.Builder builder()
public static Class<? extends FilesLimit.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.