Class CfnDataset.PathOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.databrew.CfnDataset.PathOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataset.PathOptionsProperty>
- Enclosing interface:
CfnDataset.PathOptionsProperty
@Stability(Stable)
public static final class CfnDataset.PathOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataset.PathOptionsProperty>
A builder for
CfnDataset.PathOptionsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.filesLimit
(IResolvable filesLimit) Sets the value ofCfnDataset.PathOptionsProperty.getFilesLimit()
filesLimit
(CfnDataset.FilesLimitProperty filesLimit) Sets the value ofCfnDataset.PathOptionsProperty.getFilesLimit()
lastModifiedDateCondition
(IResolvable lastModifiedDateCondition) Sets the value ofCfnDataset.PathOptionsProperty.getLastModifiedDateCondition()
lastModifiedDateCondition
(CfnDataset.FilterExpressionProperty lastModifiedDateCondition) Sets the value ofCfnDataset.PathOptionsProperty.getLastModifiedDateCondition()
parameters
(List<? extends Object> parameters) Sets the value ofCfnDataset.PathOptionsProperty.getParameters()
parameters
(IResolvable parameters) Sets the value ofCfnDataset.PathOptionsProperty.getParameters()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
filesLimit
Sets the value ofCfnDataset.PathOptionsProperty.getFilesLimit()
- Parameters:
filesLimit
- If provided, this structure imposes a limit on a number of files that should be selected.- Returns:
this
-
filesLimit
@Stability(Stable) public CfnDataset.PathOptionsProperty.Builder filesLimit(CfnDataset.FilesLimitProperty filesLimit) Sets the value ofCfnDataset.PathOptionsProperty.getFilesLimit()
- Parameters:
filesLimit
- If provided, this structure imposes a limit on a number of files that should be selected.- Returns:
this
-
lastModifiedDateCondition
@Stability(Stable) public CfnDataset.PathOptionsProperty.Builder lastModifiedDateCondition(IResolvable lastModifiedDateCondition) Sets the value ofCfnDataset.PathOptionsProperty.getLastModifiedDateCondition()
- Parameters:
lastModifiedDateCondition
- If provided, this structure defines a date range for matching Amazon S3 objects based on their LastModifiedDate attribute in Amazon S3 .- Returns:
this
-
lastModifiedDateCondition
@Stability(Stable) public CfnDataset.PathOptionsProperty.Builder lastModifiedDateCondition(CfnDataset.FilterExpressionProperty lastModifiedDateCondition) Sets the value ofCfnDataset.PathOptionsProperty.getLastModifiedDateCondition()
- Parameters:
lastModifiedDateCondition
- If provided, this structure defines a date range for matching Amazon S3 objects based on their LastModifiedDate attribute in Amazon S3 .- Returns:
this
-
parameters
Sets the value ofCfnDataset.PathOptionsProperty.getParameters()
- Parameters:
parameters
- A structure that maps names of parameters used in the Amazon S3 path of a dataset to their definitions.- Returns:
this
-
parameters
@Stability(Stable) public CfnDataset.PathOptionsProperty.Builder parameters(List<? extends Object> parameters) Sets the value ofCfnDataset.PathOptionsProperty.getParameters()
- Parameters:
parameters
- A structure that maps names of parameters used in the Amazon S3 path of a dataset to their definitions.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataset.PathOptionsProperty>
- Returns:
- a new instance of
CfnDataset.PathOptionsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-