Class ListApplicationRevisionsResult
- java.lang.Object
-
- com.amazonaws.services.codedeploy.model.ListApplicationRevisionsResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ListApplicationRevisionsResult extends Object implements Serializable, Cloneable
Represents the output of a list application revisions operation.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListApplicationRevisionsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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(RevisionLocation... revisions)
A list of locations that contain the matching revisions.ListApplicationRevisionsResult
withRevisions(Collection<RevisionLocation> revisions)
A list of locations that contain the matching revisions.
-
-
-
Method Detail
-
getRevisions
public List<RevisionLocation> getRevisions()
A list of locations that contain the matching revisions.
- Returns:
- A list of locations that contain the matching revisions.
-
setRevisions
public void setRevisions(Collection<RevisionLocation> revisions)
A list of locations that contain the matching revisions.
- Parameters:
revisions
- A list of locations that contain the matching revisions.
-
withRevisions
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)
orwithRevisions(java.util.Collection)
if you want to override the existing values.- Parameters:
revisions
- A list of locations that contain the matching revisions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withRevisions
public ListApplicationRevisionsResult withRevisions(Collection<RevisionLocation> revisions)
A list of locations that contain the matching revisions.
- Parameters:
revisions
- A list of locations that contain the matching revisions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
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.
- Parameters:
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.
-
getNextToken
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.
- Returns:
- 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.
-
withNextToken
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListApplicationRevisionsResult clone()
-
-