Interface StartPosition.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<StartPosition.Builder,StartPosition>,SdkBuilder<StartPosition.Builder,StartPosition>,SdkPojo
- Enclosing class:
- StartPosition
public static interface StartPosition.Builder extends SdkPojo, CopyableBuilder<StartPosition.Builder,StartPosition>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StartPosition.BuilderabsoluteTime(String absoluteTime)The time in ISO format where to start.StartPosition.Builderid(String id)The ID of the message or event where to start.StartPosition.BuildermostRecent(Integer mostRecent)The start position of the most recent message where you want to start.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
id
StartPosition.Builder id(String id)
The ID of the message or event where to start.
- Parameters:
id- The ID of the message or event where to start.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
absoluteTime
StartPosition.Builder absoluteTime(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
mostRecent
StartPosition.Builder mostRecent(Integer mostRecent)
The start position of the most recent message where you want to start.
- Parameters:
mostRecent- The start position of the most recent message where you want to start.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-