Interface PathOptions.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PathOptions.Builder,PathOptions>,SdkBuilder<PathOptions.Builder,PathOptions>,SdkPojo
- Enclosing class:
- PathOptions
public static interface PathOptions.Builder extends SdkPojo, CopyableBuilder<PathOptions.Builder,PathOptions>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default PathOptions.BuilderfilesLimit(Consumer<FilesLimit.Builder> filesLimit)If provided, this structure imposes a limit on a number of files that should be selected.PathOptions.BuilderfilesLimit(FilesLimit filesLimit)If provided, this structure imposes a limit on a number of files that should be selected.default PathOptions.BuilderlastModifiedDateCondition(Consumer<FilterExpression.Builder> lastModifiedDateCondition)If provided, this structure defines a date range for matching Amazon S3 objects based on their LastModifiedDate attribute in Amazon S3.PathOptions.BuilderlastModifiedDateCondition(FilterExpression lastModifiedDateCondition)If provided, this structure defines a date range for matching Amazon S3 objects based on their LastModifiedDate attribute in Amazon S3.PathOptions.Builderparameters(Map<String,DatasetParameter> parameters)A structure that maps names of parameters used in the Amazon S3 path of a dataset to their definitions.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
lastModifiedDateCondition
PathOptions.Builder lastModifiedDateCondition(FilterExpression lastModifiedDateCondition)
If provided, this structure defines a date range for matching Amazon S3 objects based on their LastModifiedDate attribute in Amazon S3.
- Parameters:
lastModifiedDateCondition- If provided, this structure defines a date range for matching Amazon S3 objects based on their LastModifiedDate attribute in Amazon S3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedDateCondition
default PathOptions.Builder lastModifiedDateCondition(Consumer<FilterExpression.Builder> lastModifiedDateCondition)
If provided, this structure defines a date range for matching Amazon S3 objects based on their LastModifiedDate attribute in Amazon S3.
This is a convenience method that creates an instance of theFilterExpression.Builderavoiding the need to create one manually viaFilterExpression.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolastModifiedDateCondition(FilterExpression).- Parameters:
lastModifiedDateCondition- a consumer that will call methods onFilterExpression.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
lastModifiedDateCondition(FilterExpression)
-
filesLimit
PathOptions.Builder filesLimit(FilesLimit filesLimit)
If provided, this structure imposes a limit on a number of files that should be selected.
- Parameters:
filesLimit- If provided, this structure imposes a limit on a number of files that should be selected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filesLimit
default PathOptions.Builder filesLimit(Consumer<FilesLimit.Builder> filesLimit)
If provided, this structure imposes a limit on a number of files that should be selected.
This is a convenience method that creates an instance of theFilesLimit.Builderavoiding the need to create one manually viaFilesLimit.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilesLimit(FilesLimit).- Parameters:
filesLimit- a consumer that will call methods onFilesLimit.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
filesLimit(FilesLimit)
-
parameters
PathOptions.Builder parameters(Map<String,DatasetParameter> parameters)
A structure that maps names of parameters used in the Amazon S3 path of a dataset to their definitions.
- Parameters:
parameters- A structure that maps names of parameters used in the Amazon S3 path of a dataset to their definitions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-