@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListViewsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListViewsResult() |
| Modifier and Type | Method and Description |
|---|---|
ListViewsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
If present, indicates that more output is available than is included in the current response.
|
List<String> |
getViews()
The list of views available in the Amazon Web Services Region in which you called this operation.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
If present, indicates that more output is available than is included in the current response.
|
void |
setViews(Collection<String> views)
The list of views available in the Amazon Web Services Region in which you called this operation.
|
String |
toString()
Returns a string representation of this object.
|
ListViewsResult |
withNextToken(String nextToken)
If present, indicates that more output is available than is included in the current response.
|
ListViewsResult |
withViews(Collection<String> views)
The list of views available in the Amazon Web Services Region in which you called this operation.
|
ListViewsResult |
withViews(String... views)
The list of views available in the Amazon Web Services Region in which you called this operation.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setNextToken(String nextToken)
If present, indicates that more output is available than is included in the current response. Use this value in
the NextToken request parameter in a subsequent call to the operation to get the next part of the
output. You should repeat this until the NextToken response element comes back as null.
The pagination tokens expire after 24 hours.
nextToken - If present, indicates that more output is available than is included in the current response. Use this
value in the NextToken request parameter in a subsequent call to the operation to get the
next part of the output. You should repeat this until the NextToken response element comes
back as null. The pagination tokens expire after 24 hours.public String getNextToken()
If present, indicates that more output is available than is included in the current response. Use this value in
the NextToken request parameter in a subsequent call to the operation to get the next part of the
output. You should repeat this until the NextToken response element comes back as null.
The pagination tokens expire after 24 hours.
NextToken request parameter in a subsequent call to the operation to get the
next part of the output. You should repeat this until the NextToken response element comes
back as null. The pagination tokens expire after 24 hours.public ListViewsResult withNextToken(String nextToken)
If present, indicates that more output is available than is included in the current response. Use this value in
the NextToken request parameter in a subsequent call to the operation to get the next part of the
output. You should repeat this until the NextToken response element comes back as null.
The pagination tokens expire after 24 hours.
nextToken - If present, indicates that more output is available than is included in the current response. Use this
value in the NextToken request parameter in a subsequent call to the operation to get the
next part of the output. You should repeat this until the NextToken response element comes
back as null. The pagination tokens expire after 24 hours.public List<String> getViews()
The list of views available in the Amazon Web Services Region in which you called this operation.
public void setViews(Collection<String> views)
The list of views available in the Amazon Web Services Region in which you called this operation.
views - The list of views available in the Amazon Web Services Region in which you called this operation.public ListViewsResult withViews(String... views)
The list of views available in the Amazon Web Services Region in which you called this operation.
NOTE: This method appends the values to the existing list (if any). Use
setViews(java.util.Collection) or withViews(java.util.Collection) if you want to override the
existing values.
views - The list of views available in the Amazon Web Services Region in which you called this operation.public ListViewsResult withViews(Collection<String> views)
The list of views available in the Amazon Web Services Region in which you called this operation.
views - The list of views available in the Amazon Web Services Region in which you called this operation.public String toString()
toString in class ObjectObject.toString()public ListViewsResult clone()