Class RelatedItemTypeFilter
- java.lang.Object
-
- software.amazon.awssdk.services.connectcases.model.RelatedItemTypeFilter
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RelatedItemTypeFilter.Builder,RelatedItemTypeFilter>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRelatedItemTypeFilter.Builderstatic classRelatedItemTypeFilter.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RelatedItemTypeFilter.Builderbuilder()CommentFiltercomment()A filter for related items of typeComment.ContactFiltercontact()A filter for related items of typeContact.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)FileFilterfile()A filter for related items of this type ofFile.static RelatedItemTypeFilterfromComment(Consumer<CommentFilter.Builder> comment)Create an instance of this class withcomment()initialized to the given value.static RelatedItemTypeFilterfromComment(CommentFilter comment)Create an instance of this class withcomment()initialized to the given value.static RelatedItemTypeFilterfromContact(Consumer<ContactFilter.Builder> contact)Create an instance of this class withcontact()initialized to the given value.static RelatedItemTypeFilterfromContact(ContactFilter contact)Create an instance of this class withcontact()initialized to the given value.static RelatedItemTypeFilterfromFile(Consumer<FileFilter.Builder> file)Create an instance of this class withfile()initialized to the given value.static RelatedItemTypeFilterfromFile(FileFilter file)Create an instance of this class withfile()initialized to the given value.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends RelatedItemTypeFilter.Builder>serializableBuilderClass()RelatedItemTypeFilter.BuildertoBuilder()StringtoString()Returns a string representation of this object.RelatedItemTypeFilter.Typetype()Retrieve an enum value representing which member of this object is populated.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
comment
public final CommentFilter comment()
A filter for related items of type
Comment.- Returns:
- A filter for related items of type
Comment.
-
contact
public final ContactFilter contact()
A filter for related items of type
Contact.- Returns:
- A filter for related items of type
Contact.
-
file
public final FileFilter file()
A filter for related items of this type of
File.- Returns:
- A filter for related items of this type of
File.
-
toBuilder
public RelatedItemTypeFilter.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RelatedItemTypeFilter.Builder,RelatedItemTypeFilter>
-
builder
public static RelatedItemTypeFilter.Builder builder()
-
serializableBuilderClass
public static Class<? extends RelatedItemTypeFilter.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
fromComment
public static RelatedItemTypeFilter fromComment(CommentFilter comment)
Create an instance of this class withcomment()initialized to the given value.A filter for related items of type
Comment.- Parameters:
comment- A filter for related items of typeComment.
-
fromComment
public static RelatedItemTypeFilter fromComment(Consumer<CommentFilter.Builder> comment)
Create an instance of this class withcomment()initialized to the given value.A filter for related items of type
Comment.- Parameters:
comment- A filter for related items of typeComment.
-
fromContact
public static RelatedItemTypeFilter fromContact(ContactFilter contact)
Create an instance of this class withcontact()initialized to the given value.A filter for related items of type
Contact.- Parameters:
contact- A filter for related items of typeContact.
-
fromContact
public static RelatedItemTypeFilter fromContact(Consumer<ContactFilter.Builder> contact)
Create an instance of this class withcontact()initialized to the given value.A filter for related items of type
Contact.- Parameters:
contact- A filter for related items of typeContact.
-
fromFile
public static RelatedItemTypeFilter fromFile(FileFilter file)
Create an instance of this class withfile()initialized to the given value.A filter for related items of this type of
File.- Parameters:
file- A filter for related items of this type ofFile.
-
fromFile
public static RelatedItemTypeFilter fromFile(Consumer<FileFilter.Builder> file)
Create an instance of this class withfile()initialized to the given value.A filter for related items of this type of
File.- Parameters:
file- A filter for related items of this type ofFile.
-
type
public RelatedItemTypeFilter.Type type()
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beRelatedItemTypeFilter.Type.UNKNOWN_TO_SDK_VERSIONif 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 beRelatedItemTypeFilter.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
-
-