public class ListApplicationRevisionsResult extends Object implements Serializable, Cloneable
Represents the output of a list application revisions operation.
Constructor and Description |
---|
ListApplicationRevisionsResult() |
Modifier and Type | Method and Description |
---|---|
ListApplicationRevisionsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
If a large amount of information is returned, an identifier will also be
returned.
|
List<RevisionLocation> |
getRevisions()
A list of locations that contain the matching revisions.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
If a large amount of information is returned, an identifier will also be
returned.
|
void |
setRevisions(Collection<RevisionLocation> revisions)
A list of locations that contain the matching revisions.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListApplicationRevisionsResult |
withNextToken(String nextToken)
If a large amount of information is returned, an identifier will also be
returned.
|
ListApplicationRevisionsResult |
withRevisions(Collection<RevisionLocation> revisions)
A list of locations that contain the matching revisions.
|
ListApplicationRevisionsResult |
withRevisions(RevisionLocation... revisions)
A list of locations that contain the matching revisions.
|
public List<RevisionLocation> getRevisions()
A list of locations that contain the matching revisions.
public void setRevisions(Collection<RevisionLocation> revisions)
A list of locations that contain the matching revisions.
revisions
- A list of locations that contain the matching revisions.public ListApplicationRevisionsResult withRevisions(RevisionLocation... revisions)
A list of locations that contain the matching revisions.
NOTE: This method appends the values to the existing list (if
any). Use setRevisions(java.util.Collection)
or
withRevisions(java.util.Collection)
if you want to override the
existing values.
revisions
- A list of locations that contain the matching revisions.public ListApplicationRevisionsResult withRevisions(Collection<RevisionLocation> revisions)
A list of locations that contain the matching revisions.
revisions
- A list of locations that contain the matching revisions.public void setNextToken(String nextToken)
If a large amount of information is returned, an identifier will also be returned. It can be used in a subsequent list application revisions call to return the next set of application revisions in the list.
nextToken
- If a large amount of information is returned, an identifier will
also be returned. It can be used in a subsequent list application
revisions call to return the next set of application revisions in
the list.public String getNextToken()
If a large amount of information is returned, an identifier will also be returned. It can be used in a subsequent list application revisions call to return the next set of application revisions in the list.
public ListApplicationRevisionsResult withNextToken(String nextToken)
If a large amount of information is returned, an identifier will also be returned. It can be used in a subsequent list application revisions call to return the next set of application revisions in the list.
nextToken
- If a large amount of information is returned, an identifier will
also be returned. It can be used in a subsequent list application
revisions call to return the next set of application revisions in
the list.public String toString()
toString
in class Object
Object.toString()
public ListApplicationRevisionsResult clone()
Copyright © 2018. All rights reserved.