@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 executed 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 this segment.
|
Integer |
getTotalSegments()
The total numer of segments.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setSegmentNumber(Integer segmentNumber)
The zero-based index number of the this segment.
|
void |
setTotalSegments(Integer totalSegments)
The total numer of segments.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Segment |
withSegmentNumber(Integer segmentNumber)
The zero-based index number of the this segment.
|
Segment |
withTotalSegments(Integer totalSegments)
The total numer of segments.
|
public void setSegmentNumber(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.
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 getSegmentNumber()
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 Segment withSegmentNumber(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.
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 void setTotalSegments(Integer totalSegments)
The total numer of segments.
totalSegments
- The total numer of segments.public Integer getTotalSegments()
The total numer of segments.
public Segment withTotalSegments(Integer totalSegments)
The total numer of segments.
totalSegments
- The total numer of segments.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2018. All rights reserved.