@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Page extends Object implements Serializable, Cloneable, StructuredPojo
Contains details of the fetched page.
| Constructor and Description |
|---|
Page() |
| Modifier and Type | Method and Description |
|---|---|
Page |
clone() |
boolean |
equals(Object obj) |
String |
getNextPageToken()
The token of the next page.
|
List<ValueHolder> |
getValues()
A structure that contains values in multiple encoding formats.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setNextPageToken(String nextPageToken)
The token of the next page.
|
void |
setValues(Collection<ValueHolder> values)
A structure that contains values in multiple encoding formats.
|
String |
toString()
Returns a string representation of this object.
|
Page |
withNextPageToken(String nextPageToken)
The token of the next page.
|
Page |
withValues(Collection<ValueHolder> values)
A structure that contains values in multiple encoding formats.
|
Page |
withValues(ValueHolder... values)
A structure that contains values in multiple encoding formats.
|
public List<ValueHolder> getValues()
A structure that contains values in multiple encoding formats.
public void setValues(Collection<ValueHolder> values)
A structure that contains values in multiple encoding formats.
values - A structure that contains values in multiple encoding formats.public Page withValues(ValueHolder... values)
A structure that contains values in multiple encoding formats.
NOTE: This method appends the values to the existing list (if any). Use
setValues(java.util.Collection) or withValues(java.util.Collection) if you want to override the
existing values.
values - A structure that contains values in multiple encoding formats.public Page withValues(Collection<ValueHolder> values)
A structure that contains values in multiple encoding formats.
values - A structure that contains values in multiple encoding formats.public void setNextPageToken(String nextPageToken)
The token of the next page.
nextPageToken - The token of the next page.public String getNextPageToken()
The token of the next page.
public Page withNextPageToken(String nextPageToken)
The token of the next page.
nextPageToken - The token of the next page.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.