@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartPosition extends Object implements Serializable, Cloneable, StructuredPojo
A filtering option for where to start. For example, if you sent 100 messages, start with message 50.
Constructor and Description |
---|
StartPosition() |
Modifier and Type | Method and Description |
---|---|
StartPosition |
clone() |
boolean |
equals(Object obj) |
String |
getAbsoluteTime()
The time in ISO format where to start.
|
String |
getId()
The ID of the message or event where to start.
|
Integer |
getMostRecent()
The start position of the most recent message where you want to start.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAbsoluteTime(String absoluteTime)
The time in ISO format where to start.
|
void |
setId(String id)
The ID of the message or event where to start.
|
void |
setMostRecent(Integer mostRecent)
The start position of the most recent message where you want to start.
|
String |
toString()
Returns a string representation of this object.
|
StartPosition |
withAbsoluteTime(String absoluteTime)
The time in ISO format where to start.
|
StartPosition |
withId(String id)
The ID of the message or event where to start.
|
StartPosition |
withMostRecent(Integer mostRecent)
The start position of the most recent message where you want to start.
|
public void setId(String id)
The ID of the message or event where to start.
id
- The ID of the message or event where to start.public String getId()
The ID of the message or event where to start.
public StartPosition withId(String id)
The ID of the message or event where to start.
id
- The ID of the message or event where to start.public void setAbsoluteTime(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.
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.
public String getAbsoluteTime()
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.
It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
public StartPosition withAbsoluteTime(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.
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.
public void setMostRecent(Integer mostRecent)
The start position of the most recent message where you want to start.
mostRecent
- The start position of the most recent message where you want to start.public Integer getMostRecent()
The start position of the most recent message where you want to start.
public StartPosition withMostRecent(Integer mostRecent)
The start position of the most recent message where you want to start.
mostRecent
- The start position of the most recent message where you want to start.public String toString()
toString
in class Object
Object.toString()
public StartPosition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.