@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DocumentTypeListItem extends Object implements Serializable, Cloneable, StructuredPojo
Document type for each page in the document.
Constructor and Description |
---|
DocumentTypeListItem() |
Modifier and Type | Method and Description |
---|---|
DocumentTypeListItem |
clone() |
boolean |
equals(Object obj) |
Integer |
getPage()
Page number.
|
String |
getType()
Document type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPage(Integer page)
Page number.
|
void |
setType(String type)
Document type.
|
String |
toString()
Returns a string representation of this object.
|
DocumentTypeListItem |
withPage(Integer page)
Page number.
|
DocumentTypeListItem |
withType(DocumentType type)
Document type.
|
DocumentTypeListItem |
withType(String type)
Document type.
|
public void setPage(Integer page)
Page number.
page
- Page number.public Integer getPage()
Page number.
public DocumentTypeListItem withPage(Integer page)
Page number.
page
- Page number.public void setType(String type)
Document type.
type
- Document type.DocumentType
public String getType()
Document type.
DocumentType
public DocumentTypeListItem withType(String type)
Document type.
type
- Document type.DocumentType
public DocumentTypeListItem withType(DocumentType type)
Document type.
type
- Document type.DocumentType
public String toString()
toString
in class Object
Object.toString()
public DocumentTypeListItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.