Interface ImportDataRule.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ImportDataRule.Builder,,ImportDataRule> SdkBuilder<ImportDataRule.Builder,,ImportDataRule> SdkPojo
- Enclosing class:
ImportDataRule
@Mutable
@NotThreadSafe
public static interface ImportDataRule.Builder
extends SdkPojo, CopyableBuilder<ImportDataRule.Builder,ImportDataRule>
-
Method Summary
Modifier and TypeMethodDescriptionThe S3 key prefix that scopes this import rule.sizeLessThan(Long sizeLessThan) The upper size limit in bytes for this import rule.The event that triggers data import.trigger(ImportTrigger trigger) The event that triggers data import.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
prefix
The S3 key prefix that scopes this import rule. Only objects with keys beginning with this prefix are subject to the rule.
- Parameters:
prefix- The S3 key prefix that scopes this import rule. Only objects with keys beginning with this prefix are subject to the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trigger
The event that triggers data import. Valid values are
ON_DIRECTORY_FIRST_ACCESS(import when a directory is first accessed) andON_FILE_ACCESS(import when a file is accessed).- Parameters:
trigger- The event that triggers data import. Valid values areON_DIRECTORY_FIRST_ACCESS(import when a directory is first accessed) andON_FILE_ACCESS(import when a file is accessed).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
trigger
The event that triggers data import. Valid values are
ON_DIRECTORY_FIRST_ACCESS(import when a directory is first accessed) andON_FILE_ACCESS(import when a file is accessed).- Parameters:
trigger- The event that triggers data import. Valid values areON_DIRECTORY_FIRST_ACCESS(import when a directory is first accessed) andON_FILE_ACCESS(import when a file is accessed).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sizeLessThan
The upper size limit in bytes for this import rule. Only objects with a size strictly less than this value will have data imported into the file system.
- Parameters:
sizeLessThan- The upper size limit in bytes for this import rule. Only objects with a size strictly less than this value will have data imported into the file system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-