@Generated(value="software.amazon.awssdk:codegen") public final class ReplicationRuleAndOperator extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ReplicationRuleAndOperator.Builder,ReplicationRuleAndOperator>
A container for specifying rule filters. The filters determine the subset of objects to which the rule applies. This element is required only if you specify more than one filter.
For example:
If you specify both a Prefix and a Tag filter, wrap these filters in an And tag.
If you specify a filter based on multiple tags, wrap the Tag elements in an And tag
Modifier and Type | Class and Description |
---|---|
static interface |
ReplicationRuleAndOperator.Builder |
Modifier and Type | Method and Description |
---|---|
static ReplicationRuleAndOperator.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
prefix()
An object keyname prefix that identifies the subset of objects to which the rule applies.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ReplicationRuleAndOperator.Builder> |
serializableBuilderClass() |
List<Tag> |
tags()
An array of tags containing key and value pairs.
|
ReplicationRuleAndOperator.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String prefix()
An object keyname prefix that identifies the subset of objects to which the rule applies.
public List<Tag> tags()
An array of tags containing key and value pairs.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public ReplicationRuleAndOperator.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<ReplicationRuleAndOperator.Builder,ReplicationRuleAndOperator>
public static ReplicationRuleAndOperator.Builder builder()
public static Class<? extends ReplicationRuleAndOperator.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2019. All rights reserved.