Class ListDeploymentInstancesResult
- java.lang.Object
-
- com.amazonaws.services.codedeploy.model.ListDeploymentInstancesResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ListDeploymentInstancesResult extends Object implements Serializable, Cloneable
Represents the output of a list deployment instances operation.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListDeploymentInstancesResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListDeploymentInstancesResult
clone()
boolean
equals(Object obj)
List<String>
getInstancesList()
A list of instance IDs.String
getNextToken()
If a large amount of information is returned, an identifier is also returned.int
hashCode()
void
setInstancesList(Collection<String> instancesList)
A list of instance IDs.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.ListDeploymentInstancesResult
withInstancesList(String... instancesList)
A list of instance IDs.ListDeploymentInstancesResult
withInstancesList(Collection<String> instancesList)
A list of instance IDs.ListDeploymentInstancesResult
withNextToken(String nextToken)
If a large amount of information is returned, an identifier is also returned.
-
-
-
Method Detail
-
getInstancesList
public List<String> getInstancesList()
A list of instance IDs.
- Returns:
- A list of instance IDs.
-
setInstancesList
public void setInstancesList(Collection<String> instancesList)
A list of instance IDs.
- Parameters:
instancesList
- A list of instance IDs.
-
withInstancesList
public ListDeploymentInstancesResult withInstancesList(String... instancesList)
A list of instance IDs.
NOTE: This method appends the values to the existing list (if any). Use
setInstancesList(java.util.Collection)
orwithInstancesList(java.util.Collection)
if you want to override the existing values.- Parameters:
instancesList
- A list of instance IDs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withInstancesList
public ListDeploymentInstancesResult withInstancesList(Collection<String> instancesList)
A list of instance IDs.
- Parameters:
instancesList
- A list of instance IDs.- 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 deployment instances call to return the next set of deployment instances 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 deployment instances call to return the next set of deployment instances 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 deployment instances call to return the next set of deployment instances 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 deployment instances call to return the next set of deployment instances in the list.
-
withNextToken
public ListDeploymentInstancesResult withNextToken(String nextToken)
If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list deployment instances call to return the next set of deployment instances 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 deployment instances call to return the next set of deployment instances 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 ListDeploymentInstancesResult clone()
-
-