@Generated(value="software.amazon.awssdk:codegen") public final class FilterRule extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FilterRule.Builder,FilterRule>
A container for a key value pair that defines the criteria for the filter rule.
Modifier and Type | Class and Description |
---|---|
static interface |
FilterRule.Builder |
Modifier and Type | Method and Description |
---|---|
static FilterRule.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
FilterRuleName |
name()
The object key name prefix or suffix identifying one or more objects to which the filtering rule applies.
|
String |
nameAsString()
The object key name prefix or suffix identifying one or more objects to which the filtering rule applies.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends FilterRule.Builder> |
serializableBuilderClass() |
FilterRule.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
value()
Returns the value of the Value property for this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public FilterRuleName name()
The object key name prefix or suffix identifying one or more objects to which the filtering rule applies. The maximum prefix length is 1,024 characters. Overlapping prefixes and suffixes are not supported. For more information, see Configuring Event Notifications in the Amazon Simple Storage Service Developer Guide.
If the service returns an enum value that is not available in the current SDK version, name
will return
FilterRuleName.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
nameAsString()
.
FilterRuleName
public String nameAsString()
The object key name prefix or suffix identifying one or more objects to which the filtering rule applies. The maximum prefix length is 1,024 characters. Overlapping prefixes and suffixes are not supported. For more information, see Configuring Event Notifications in the Amazon Simple Storage Service Developer Guide.
If the service returns an enum value that is not available in the current SDK version, name
will return
FilterRuleName.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
nameAsString()
.
FilterRuleName
public String value()
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.