public class ListDeploymentsResult extends Object implements Serializable, Cloneable
Represents the output of a list deployments operation.
Constructor and Description |
---|
ListDeploymentsResult() |
Modifier and Type | Method and Description |
---|---|
ListDeploymentsResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getDeployments()
A list of deployment IDs.
|
String |
getNextToken()
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListDeploymentsResult |
withDeployments(Collection<String> deployments)
A list of deployment IDs.
|
ListDeploymentsResult |
withDeployments(String... deployments)
A list of deployment IDs.
|
ListDeploymentsResult |
withNextToken(String nextToken)
If a large amount of information is returned, an identifier is also
returned.
|
public List<String> getDeployments()
A list of deployment IDs.
public void setDeployments(Collection<String> deployments)
A list of deployment IDs.
deployments
- A list of deployment IDs.public ListDeploymentsResult withDeployments(String... deployments)
A list of deployment IDs.
NOTE: This method appends the values to the existing list (if
any). Use setDeployments(java.util.Collection)
or
withDeployments(java.util.Collection)
if you want to override
the existing values.
deployments
- A list of deployment IDs.public ListDeploymentsResult withDeployments(Collection<String> deployments)
A list of deployment IDs.
deployments
- A list of deployment IDs.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 deployments call to return the next set of deployments in the list.
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.public String 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.
public ListDeploymentsResult withNextToken(String 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.
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.public String toString()
toString
in class Object
Object.toString()
public ListDeploymentsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.