Class SearchContactsTimeRange
- java.lang.Object
-
- software.amazon.awssdk.services.connect.model.SearchContactsTimeRange
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SearchContactsTimeRange.Builder,SearchContactsTimeRange>
@Generated("software.amazon.awssdk:codegen") public final class SearchContactsTimeRange extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SearchContactsTimeRange.Builder,SearchContactsTimeRange>
A structure of time range that you want to search results.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSearchContactsTimeRange.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SearchContactsTimeRange.Builderbuilder()InstantendTime()The end time of the time range.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends SearchContactsTimeRange.Builder>serializableBuilderClass()InstantstartTime()The start time of the time range.SearchContactsTimeRange.BuildertoBuilder()StringtoString()Returns a string representation of this object.SearchContactsTimeRangeTypetype()The type of timestamp to search.StringtypeAsString()The type of timestamp to search.-
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
-
type
public final SearchContactsTimeRangeType type()
The type of timestamp to search.
If the service returns an enum value that is not available in the current SDK version,
typewill returnSearchContactsTimeRangeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of timestamp to search.
- See Also:
SearchContactsTimeRangeType
-
typeAsString
public final String typeAsString()
The type of timestamp to search.
If the service returns an enum value that is not available in the current SDK version,
typewill returnSearchContactsTimeRangeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of timestamp to search.
- See Also:
SearchContactsTimeRangeType
-
startTime
public final Instant startTime()
The start time of the time range.
- Returns:
- The start time of the time range.
-
endTime
public final Instant endTime()
The end time of the time range.
- Returns:
- The end time of the time range.
-
toBuilder
public SearchContactsTimeRange.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SearchContactsTimeRange.Builder,SearchContactsTimeRange>
-
builder
public static SearchContactsTimeRange.Builder builder()
-
serializableBuilderClass
public static Class<? extends SearchContactsTimeRange.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.
-
-