@Generated(value="software.amazon.awssdk:codegen") public final class RelatedItemTypeFilter extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RelatedItemTypeFilter.Builder,RelatedItemTypeFilter>
The list of types of related items and their parameters to use for filtering.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RelatedItemTypeFilter.Builder |
static class |
RelatedItemTypeFilter.Type |
| Modifier and Type | Method and Description |
|---|---|
static RelatedItemTypeFilter.Builder |
builder() |
CommentFilter |
comment()
A filter for related items of type
Comment. |
ContactFilter |
contact()
A filter for related items of type
Contact. |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
static RelatedItemTypeFilter |
fromComment(CommentFilter comment)
Create an instance of this class with
comment() initialized to the given value. |
static RelatedItemTypeFilter |
fromComment(Consumer<CommentFilter.Builder> comment)
Create an instance of this class with
comment() initialized to the given value. |
static RelatedItemTypeFilter |
fromContact(Consumer<ContactFilter.Builder> contact)
Create an instance of this class with
contact() initialized to the given value. |
static RelatedItemTypeFilter |
fromContact(ContactFilter contact)
Create an instance of this class with
contact() initialized to the given value. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends RelatedItemTypeFilter.Builder> |
serializableBuilderClass() |
RelatedItemTypeFilter.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
RelatedItemTypeFilter.Type |
type()
Retrieve an enum value representing which member of this object is populated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final CommentFilter comment()
A filter for related items of type Comment.
Comment.public final ContactFilter contact()
A filter for related items of type Contact.
Contact.public RelatedItemTypeFilter.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RelatedItemTypeFilter.Builder,RelatedItemTypeFilter>public static RelatedItemTypeFilter.Builder builder()
public static Class<? extends RelatedItemTypeFilter.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public static RelatedItemTypeFilter fromComment(CommentFilter comment)
comment() initialized to the given value.
A filter for related items of type Comment.
comment - A filter for related items of type Comment.public static RelatedItemTypeFilter fromComment(Consumer<CommentFilter.Builder> comment)
comment() initialized to the given value.
A filter for related items of type Comment.
comment - A filter for related items of type Comment.public static RelatedItemTypeFilter fromContact(ContactFilter contact)
contact() initialized to the given value.
A filter for related items of type Contact.
contact - A filter for related items of type Contact.public static RelatedItemTypeFilter fromContact(Consumer<ContactFilter.Builder> contact)
contact() initialized to the given value.
A filter for related items of type Contact.
contact - A filter for related items of type Contact.public RelatedItemTypeFilter.Type type()
RelatedItemTypeFilter.Type.UNKNOWN_TO_SDK_VERSION if the
service returned a member that is only known to a newer SDK version.
When this class is created directly in your code, this will be RelatedItemTypeFilter.Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2023. All rights reserved.