Class ListDeploymentsResult
- All Implemented Interfaces:
Serializable
,Cloneable
Represents the output of a list deployments operation.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
A list of deployment IDs.If a large amount of information is returned, an identifier is also returned.int
hashCode()
void
setDeployments
(Collection<String> deployments) A list of deployment IDs.void
setNextToken
(String nextToken) If a large amount of information is returned, an identifier is also returned.toString()
Returns a string representation of this object; useful for testing and debugging.withDeployments
(String... deployments) A list of deployment IDs.withDeployments
(Collection<String> deployments) A list of deployment IDs.withNextToken
(String nextToken) If a large amount of information is returned, an identifier is also returned.
-
Constructor Details
-
ListDeploymentsResult
public ListDeploymentsResult()
-
-
Method Details
-
getDeployments
A list of deployment IDs.
- Returns:
- A list of deployment IDs.
-
setDeployments
A list of deployment IDs.
- Parameters:
deployments
- A list of deployment IDs.
-
withDeployments
A list of deployment IDs.
NOTE: This method appends the values to the existing list (if any). Use
setDeployments(java.util.Collection)
orwithDeployments(java.util.Collection)
if you want to override the existing values.- Parameters:
deployments
- A list of deployment IDs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withDeployments
A list of deployment IDs.
- Parameters:
deployments
- A list of deployment IDs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list deployments call to return the next set of deployments 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 deployments call to return the next set of deployments in the list.
-
getNextToken
If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list deployments call to return the next set of deployments 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 deployments call to return the next set of deployments in the list.
-
withNextToken
If a large amount of information is returned, an identifier is also returned. It can be used in a subsequent list deployments call to return the next set of deployments 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 deployments call to return the next set of deployments in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-