@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Segment extends Object implements Serializable, Cloneable, StructuredPojo
Defines a non-overlapping region of a table's partitions, allowing multiple requests to be run in parallel.
Constructor and Description |
---|
Segment() |
Modifier and Type | Method and Description |
---|---|
Segment |
clone() |
boolean |
equals(Object obj) |
Integer |
getSegmentNumber()
The zero-based index number of the segment.
|
Integer |
getTotalSegments()
The total number of segments.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSegmentNumber(Integer segmentNumber)
The zero-based index number of the segment.
|
void |
setTotalSegments(Integer totalSegments)
The total number of segments.
|
String |
toString()
Returns a string representation of this object.
|
Segment |
withSegmentNumber(Integer segmentNumber)
The zero-based index number of the segment.
|
Segment |
withTotalSegments(Integer totalSegments)
The total number of segments.
|
public void setSegmentNumber(Integer segmentNumber)
The zero-based index number of the segment. For example, if the total number of segments is 4,
SegmentNumber
values range from 0 through 3.
segmentNumber
- The zero-based index number of the segment. For example, if the total number of segments is 4,
SegmentNumber
values range from 0 through 3.public Integer getSegmentNumber()
The zero-based index number of the segment. For example, if the total number of segments is 4,
SegmentNumber
values range from 0 through 3.
SegmentNumber
values range from 0 through 3.public Segment withSegmentNumber(Integer segmentNumber)
The zero-based index number of the segment. For example, if the total number of segments is 4,
SegmentNumber
values range from 0 through 3.
segmentNumber
- The zero-based index number of the segment. For example, if the total number of segments is 4,
SegmentNumber
values range from 0 through 3.public void setTotalSegments(Integer totalSegments)
The total number of segments.
totalSegments
- The total number of segments.public Integer getTotalSegments()
The total number of segments.
public Segment withTotalSegments(Integer totalSegments)
The total number of segments.
totalSegments
- The total number of segments.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.