@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SplitDocument extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the pages of a document, defined by logical boundary.
Constructor and Description |
---|
SplitDocument() |
Modifier and Type | Method and Description |
---|---|
SplitDocument |
clone() |
boolean |
equals(Object obj) |
Integer |
getIndex()
The index for a given document in a DocumentGroup of a specific Type.
|
List<Integer> |
getPages()
An array of page numbers for a for a given document, ordered by logical boundary.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setIndex(Integer index)
The index for a given document in a DocumentGroup of a specific Type.
|
void |
setPages(Collection<Integer> pages)
An array of page numbers for a for a given document, ordered by logical boundary.
|
String |
toString()
Returns a string representation of this object.
|
SplitDocument |
withIndex(Integer index)
The index for a given document in a DocumentGroup of a specific Type.
|
SplitDocument |
withPages(Collection<Integer> pages)
An array of page numbers for a for a given document, ordered by logical boundary.
|
SplitDocument |
withPages(Integer... pages)
An array of page numbers for a for a given document, ordered by logical boundary.
|
public void setIndex(Integer index)
The index for a given document in a DocumentGroup of a specific Type.
index
- The index for a given document in a DocumentGroup of a specific Type.public Integer getIndex()
The index for a given document in a DocumentGroup of a specific Type.
public SplitDocument withIndex(Integer index)
The index for a given document in a DocumentGroup of a specific Type.
index
- The index for a given document in a DocumentGroup of a specific Type.public List<Integer> getPages()
An array of page numbers for a for a given document, ordered by logical boundary.
public void setPages(Collection<Integer> pages)
An array of page numbers for a for a given document, ordered by logical boundary.
pages
- An array of page numbers for a for a given document, ordered by logical boundary.public SplitDocument withPages(Integer... pages)
An array of page numbers for a for a given document, ordered by logical boundary.
NOTE: This method appends the values to the existing list (if any). Use
setPages(java.util.Collection)
or withPages(java.util.Collection)
if you want to override the
existing values.
pages
- An array of page numbers for a for a given document, ordered by logical boundary.public SplitDocument withPages(Collection<Integer> pages)
An array of page numbers for a for a given document, ordered by logical boundary.
pages
- An array of page numbers for a for a given document, ordered by logical boundary.public String toString()
toString
in class Object
Object.toString()
public SplitDocument clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.