@Generated(value="software.amazon.awssdk:codegen") public final class FilterRule extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FilterRule.Builder,FilterRule>
Specifies which files, folders, and objects to include or exclude when transferring files from source to destination.
| Modifier and Type | Class and Description |
|---|---|
static interface |
FilterRule.Builder |
| Modifier and Type | Method and Description |
|---|---|
static FilterRule.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
FilterType |
filterType()
The type of filter rule to apply.
|
String |
filterTypeAsString()
The type of filter rule to apply.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends FilterRule.Builder> |
serializableBuilderClass() |
FilterRule.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
value()
A single filter string that consists of the patterns to include or exclude.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final FilterType filterType()
The type of filter rule to apply. DataSync only supports the SIMPLE_PATTERN rule type.
If the service returns an enum value that is not available in the current SDK version, filterType will
return FilterType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
filterTypeAsString().
FilterTypepublic final String filterTypeAsString()
The type of filter rule to apply. DataSync only supports the SIMPLE_PATTERN rule type.
If the service returns an enum value that is not available in the current SDK version, filterType will
return FilterType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
filterTypeAsString().
FilterTypepublic final String value()
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
/folder1|/folder2
public FilterRule.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<FilterRule.Builder,FilterRule>public static FilterRule.Builder builder()
public static Class<? extends FilterRule.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.