@Generated(value="software.amazon.awssdk:codegen") public final class LifecycleRuleFilter extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LifecycleRuleFilter.Builder,LifecycleRuleFilter>
The Filter is used to identify objects that a Lifecycle Rule applies to. A Filter must have
exactly one of Prefix, Tag, or And specified.
| Modifier and Type | Class and Description |
|---|---|
static interface |
LifecycleRuleFilter.Builder |
| Modifier and Type | Method and Description |
|---|---|
LifecycleRuleAndOperator |
and()
Returns the value of the And property for this object.
|
static LifecycleRuleFilter.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
prefix()
Prefix identifying one or more objects to which the rule applies.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends LifecycleRuleFilter.Builder> |
serializableBuilderClass() |
Tag |
tag()
This tag must exist in the object's tag set in order for the rule to apply.
|
LifecycleRuleFilter.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String prefix()
Prefix identifying one or more objects to which the rule applies.
public Tag tag()
This tag must exist in the object's tag set in order for the rule to apply.
public LifecycleRuleAndOperator and()
public LifecycleRuleFilter.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<LifecycleRuleFilter.Builder,LifecycleRuleFilter>public static LifecycleRuleFilter.Builder builder()
public static Class<? extends LifecycleRuleFilter.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.