Class ListApplicationsResult
- java.lang.Object
-
- com.amazonaws.services.codedeploy.model.ListApplicationsResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ListApplicationsResult extends Object implements Serializable, Cloneable
Represents the output of a list applications operation.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListApplicationsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListApplicationsResult
clone()
boolean
equals(Object obj)
List<String>
getApplications()
A list of application names.String
getNextToken()
If a large amount of information is returned, an identifier is also returned.int
hashCode()
void
setApplications(Collection<String> applications)
A list of application names.void
setNextToken(String nextToken)
If a large amount of information is returned, an identifier is also returned.String
toString()
Returns a string representation of this object; useful for testing and debugging.ListApplicationsResult
withApplications(String... applications)
A list of application names.ListApplicationsResult
withApplications(Collection<String> applications)
A list of application names.ListApplicationsResult
withNextToken(String nextToken)
If a large amount of information is returned, an identifier is also returned.
-
-
-
Method Detail
-
getApplications
public List<String> getApplications()
A list of application names.
- Returns:
- A list of application names.
-
setApplications
public void setApplications(Collection<String> applications)
A list of application names.
- Parameters:
applications
- A list of application names.
-
withApplications
public ListApplicationsResult withApplications(String... applications)
A list of application names.
NOTE: This method appends the values to the existing list (if any). Use
setApplications(java.util.Collection)
orwithApplications(java.util.Collection)
if you want to override the existing values.- Parameters:
applications
- A list of application names.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withApplications
public ListApplicationsResult withApplications(Collection<String> applications)
A list of application names.
- Parameters:
applications
- A list of application names.- 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 is also returned. It can be used in a subsequent list applications call to return the next set of applications, will also be returned. in the list.
- Parameters:
nextToken
- If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list applications call to return the next set of applications, will also be returned. in the list.
-
getNextToken
public String getNextToken()
If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list applications call to return the next set of applications, will also be returned. in the list.
- Returns:
- If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list applications call to return the next set of applications, will also be returned. in the list.
-
withNextToken
public ListApplicationsResult withNextToken(String nextToken)
If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list applications call to return the next set of applications, will also be returned. in the list.
- Parameters:
nextToken
- If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list applications call to return the next set of applications, will also be returned. 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 ListApplicationsResult clone()
-
-