public static final class CfnDataset.FilesLimitProperty.Builder
extends java.lang.Object
CfnDataset.FilesLimitProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnDataset.FilesLimitProperty |
build()
Builds the configured instance.
|
CfnDataset.FilesLimitProperty.Builder |
maxFiles(java.lang.Number maxFiles)
Sets the value of
CfnDataset.FilesLimitProperty.getMaxFiles() |
CfnDataset.FilesLimitProperty.Builder |
order(java.lang.String order)
Sets the value of
CfnDataset.FilesLimitProperty.getOrder() |
CfnDataset.FilesLimitProperty.Builder |
orderedBy(java.lang.String orderedBy)
Sets the value of
CfnDataset.FilesLimitProperty.getOrderedBy() |
public CfnDataset.FilesLimitProperty.Builder maxFiles(java.lang.Number maxFiles)
CfnDataset.FilesLimitProperty.getMaxFiles()
maxFiles
- The number of Amazon S3 files to select. This parameter is required.this
public CfnDataset.FilesLimitProperty.Builder order(java.lang.String order)
CfnDataset.FilesLimitProperty.getOrder()
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. Anotherpossible value is ASCENDING.this
public CfnDataset.FilesLimitProperty.Builder orderedBy(java.lang.String orderedBy)
CfnDataset.FilesLimitProperty.getOrderedBy()
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.this
public CfnDataset.FilesLimitProperty build()
CfnDataset.FilesLimitProperty
java.lang.NullPointerException
- if any required attribute was not provided