Interface CfnTask.FilterRuleProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTask.FilterRuleProperty.Jsii$Proxy
- Enclosing class:
CfnTask
@Stability(Stable)
public static interface CfnTask.FilterRuleProperty
extends software.amazon.jsii.JsiiSerializable
Specifies which files, folders, and objects to include or exclude when transferring files from source to destination.
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.datasync.*;
FilterRuleProperty filterRuleProperty = FilterRuleProperty.builder()
.filterType("filterType")
.value("value")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTask.FilterRulePropertystatic final classAn implementation forCfnTask.FilterRuleProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFilterType
The type of filter rule to apply.AWS DataSync only supports the SIMPLE_PATTERN rule type.
- See Also:
-
getValue
A single filter string that consists of the patterns to include or exclude.The patterns are delimited by "|" (that is, a pipe), for example:
/folder1|/folder2- See Also:
-
builder
- Returns:
- a
CfnTask.FilterRuleProperty.BuilderofCfnTask.FilterRuleProperty
-