@Generated(value="software.amazon.awssdk:codegen") public final class Segment extends Object implements StructuredPojo, ToCopyableBuilder<Segment.Builder,Segment>
Defines a non-overlapping region of a table's partitions, allowing multiple requests to be executed in parallel.
Modifier and Type | Class and Description |
---|---|
static interface |
Segment.Builder |
Modifier and Type | Method and Description |
---|---|
static Segment.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
Integer |
segmentNumber()
The zero-based index number of the this segment.
|
static Class<? extends Segment.Builder> |
serializableBuilderClass() |
Segment.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
Integer |
totalSegments()
The total numer of segments.
|
copy
public Integer segmentNumber()
The zero-based index number of the this segment. For example, if the total number of segments is 4, SegmentNumber values will range from zero through three.
public Integer totalSegments()
The total numer of segments.
public Segment.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Segment.Builder,Segment>
public static Segment.Builder builder()
public static Class<? extends Segment.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.