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