Class CfnDataset.FilesLimitProperty.Builder
java.lang.Object
software.amazon.awscdk.services.databrew.CfnDataset.FilesLimitProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataset.FilesLimitProperty>
- Enclosing interface:
- CfnDataset.FilesLimitProperty
@Stability(Stable)
public static final class CfnDataset.FilesLimitProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataset.FilesLimitProperty>
A builder for
CfnDataset.FilesLimitProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDataset.FilesLimitProperty.getMaxFiles()Sets the value ofCfnDataset.FilesLimitProperty.getOrder()Sets the value ofCfnDataset.FilesLimitProperty.getOrderedBy()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maxFiles
Sets the value ofCfnDataset.FilesLimitProperty.getMaxFiles()- Parameters:
maxFiles- The number of Amazon S3 files to select. This parameter is required.- Returns:
this
-
order
Sets the value ofCfnDataset.FilesLimitProperty.getOrder()- Parameters:
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.- Returns:
this
-
orderedBy
Sets the value ofCfnDataset.FilesLimitProperty.getOrderedBy()- Parameters:
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.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataset.FilesLimitProperty>- Returns:
- a new instance of
CfnDataset.FilesLimitProperty - Throws:
NullPointerException- if any required attribute was not provided
-