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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnTask.FilterRuleProperty
static final class
An 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.
-
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
-
builder
- Returns:
- a
CfnTask.FilterRuleProperty.Builder
ofCfnTask.FilterRuleProperty
-