@Generated(value="software.amazon.awssdk:codegen") public final class FilterRule extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FilterRule.Builder,FilterRule>
A pattern that determines which files to include in the transfer or which files to exclude.
| Modifier and Type | Class and Description |
|---|---|
static interface |
FilterRule.Builder |
| Modifier and Type | Method and Description |
|---|---|
static FilterRule.Builder |
builder() |
boolean |
equals(Object obj) |
FilterType |
filterType()
|
String |
filterTypeAsString()
|
<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()
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic FilterType filterType()
Specifies the type of filter rule pattern 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().
Specifies the type of filter rule pattern to apply. DataSync only supports the SIMPLE_PATTERN rule type.
FilterTypepublic String filterTypeAsString()
Specifies the type of filter rule pattern 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().
Specifies the type of filter rule pattern to apply. DataSync only supports the SIMPLE_PATTERN rule type.
FilterTypepublic String value()
A pattern that defines the filter. The filter might include or exclude files is a transfer.
A pattern that defines the filter. The filter might include or exclude files is a transfer.
public FilterRule.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<FilterRule.Builder,FilterRule>public static FilterRule.Builder builder()
public static Class<? extends FilterRule.Builder> serializableBuilderClass()
public String toString()
Copyright © 2019. All rights reserved.