Class SequenceNumberRange
- java.lang.Object
-
- software.amazon.awssdk.services.kinesis.model.SequenceNumberRange
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<SequenceNumberRange.Builder,SequenceNumberRange>
@Generated("software.amazon.awssdk:codegen") public final class SequenceNumberRange extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SequenceNumberRange.Builder,SequenceNumberRange>
The range of possible sequence numbers for the shard.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
SequenceNumberRange.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SequenceNumberRange.Builder
builder()
String
endingSequenceNumber()
The ending sequence number for the range.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
List<SdkField<?>>
sdkFields()
static Class<? extends SequenceNumberRange.Builder>
serializableBuilderClass()
String
startingSequenceNumber()
The starting sequence number for the range.SequenceNumberRange.Builder
toBuilder()
String
toString()
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
-
startingSequenceNumber
public final String startingSequenceNumber()
The starting sequence number for the range.
- Returns:
- The starting sequence number for the range.
-
endingSequenceNumber
public final String endingSequenceNumber()
The ending sequence number for the range. Shards that are in the OPEN state have an ending sequence number of
null
.- Returns:
- The ending sequence number for the range. Shards that are in the OPEN state have an ending sequence
number of
null
.
-
toBuilder
public SequenceNumberRange.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<SequenceNumberRange.Builder,SequenceNumberRange>
-
builder
public static SequenceNumberRange.Builder builder()
-
serializableBuilderClass
public static Class<? extends SequenceNumberRange.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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.
-
-