Interface CfnDataset.PathOptionsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDataset.PathOptionsProperty.Jsii$Proxy
- Enclosing class:
CfnDataset
@Stability(Stable)
public static interface CfnDataset.PathOptionsProperty
extends software.amazon.jsii.JsiiSerializable
Represents a set of options that define how DataBrew selects files for a given Amazon S3 path in a dataset.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.databrew.*;
PathOptionsProperty pathOptionsProperty = PathOptionsProperty.builder()
.filesLimit(FilesLimitProperty.builder()
.maxFiles(123)
// the properties below are optional
.order("order")
.orderedBy("orderedBy")
.build())
.lastModifiedDateCondition(FilterExpressionProperty.builder()
.expression("expression")
.valuesMap(List.of(FilterValueProperty.builder()
.value("value")
.valueReference("valueReference")
.build()))
.build())
.parameters(List.of(PathParameterProperty.builder()
.datasetParameter(DatasetParameterProperty.builder()
.name("name")
.type("type")
// the properties below are optional
.createColumn(false)
.datetimeOptions(DatetimeOptionsProperty.builder()
.format("format")
// the properties below are optional
.localeCode("localeCode")
.timezoneOffset("timezoneOffset")
.build())
.filter(FilterExpressionProperty.builder()
.expression("expression")
.valuesMap(List.of(FilterValueProperty.builder()
.value("value")
.valueReference("valueReference")
.build()))
.build())
.build())
.pathParameterName("pathParameterName")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDataset.PathOptionsPropertystatic final classAn implementation forCfnDataset.PathOptionsProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectIf provided, this structure imposes a limit on a number of files that should be selected.default ObjectIf provided, this structure defines a date range for matching Amazon S3 objects based on their LastModifiedDate attribute in Amazon S3 .default ObjectA structure that maps names of parameters used in the Amazon S3 path of a dataset to their definitions.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFilesLimit
If provided, this structure imposes a limit on a number of files that should be selected.Returns union: either
IResolvableorCfnDataset.FilesLimitProperty- See Also:
-
getLastModifiedDateCondition
If provided, this structure defines a date range for matching Amazon S3 objects based on their LastModifiedDate attribute in Amazon S3 .Returns union: either
IResolvableorCfnDataset.FilterExpressionProperty- See Also:
-
getParameters
A structure that maps names of parameters used in the Amazon S3 path of a dataset to their definitions.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnDataset.PathParameterProperty>- See Also:
-
builder
-