Class StartPosition
- java.lang.Object
-
- software.amazon.awssdk.services.connectparticipant.model.StartPosition
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<StartPosition.Builder,StartPosition>
@Generated("software.amazon.awssdk:codegen") public final class StartPosition extends Object implements SdkPojo, Serializable, ToCopyableBuilder<StartPosition.Builder,StartPosition>
A filtering option for where to start. For example, if you sent 100 messages, start with message 50.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStartPosition.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringabsoluteTime()The time in ISO format where to start.static StartPosition.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The ID of the message or event where to start.IntegermostRecent()The start position of the most recent message where you want to start.List<SdkField<?>>sdkFields()static Class<? extends StartPosition.Builder>serializableBuilderClass()StartPosition.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
id
public final String id()
The ID of the message or event where to start.
- Returns:
- The ID of the message or event where to start.
-
absoluteTime
public final String absoluteTime()
The time in ISO format where to start.
It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
- Returns:
- The time in ISO format where to start.
It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
-
mostRecent
public final Integer mostRecent()
The start position of the most recent message where you want to start.
- Returns:
- The start position of the most recent message where you want to start.
-
toBuilder
public StartPosition.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StartPosition.Builder,StartPosition>
-
builder
public static StartPosition.Builder builder()
-
serializableBuilderClass
public static Class<? extends StartPosition.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.
-
-