public class ListApplicationRevisionsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents the output of a list application revisions operation.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
nextToken
If a large amount of information is returned, an identifier will also be
returned.
|
private SdkInternalList<RevisionLocation> |
revisions
A list of locations that contain the matching revisions.
|
Constructor and Description |
---|
ListApplicationRevisionsResult() |
Modifier and Type | Method and Description |
---|---|
ListApplicationRevisionsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNextToken()
If a large amount of information is returned, an identifier will also be
returned.
|
java.util.List<RevisionLocation> |
getRevisions()
A list of locations that contain the matching revisions.
|
int |
hashCode() |
void |
setNextToken(java.lang.String nextToken)
If a large amount of information is returned, an identifier will also be
returned.
|
void |
setRevisions(java.util.Collection<RevisionLocation> revisions)
A list of locations that contain the matching revisions.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListApplicationRevisionsResult |
withNextToken(java.lang.String nextToken)
If a large amount of information is returned, an identifier will also be
returned.
|
ListApplicationRevisionsResult |
withRevisions(java.util.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.
|
private SdkInternalList<RevisionLocation> revisions
A list of locations that contain the matching revisions.
private java.lang.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.
public java.util.List<RevisionLocation> getRevisions()
A list of locations that contain the matching revisions.
public void setRevisions(java.util.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(java.util.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(java.lang.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 java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ListApplicationRevisionsResult clone()
clone
in class java.lang.Object