public class ListDeploymentsResult extends Object implements Serializable
Represents the output of a list deployments operation.
| Constructor and Description |
|---|
ListDeploymentsResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<String> |
getDeployments()
A list of deployment IDs.
|
String |
getNextToken()
If the amount of information that is returned is significantly large,
an identifier will also be returned, which can be used in a subsequent
list deployments call to return the next set of deployments in the
list.
|
int |
hashCode() |
void |
setDeployments(Collection<String> deployments)
A list of deployment IDs.
|
void |
setNextToken(String nextToken)
If the amount of information that is returned is significantly large,
an identifier will also be returned, which can be used in a subsequent
list deployments call to return the next set of deployments in the
list.
|
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 the amount of information that is returned is significantly large,
an identifier will also be returned, which can be used in a subsequent
list deployments call to return the next set of deployments in the
list.
|
public List<String> getDeployments()
public void setDeployments(Collection<String> deployments)
deployments - A list of deployment IDs.public ListDeploymentsResult withDeployments(String... deployments)
Returns a reference to this object so that method calls can be chained together.
deployments - A list of deployment IDs.public ListDeploymentsResult withDeployments(Collection<String> deployments)
Returns a reference to this object so that method calls can be chained together.
deployments - A list of deployment IDs.public String getNextToken()
public void setNextToken(String nextToken)
nextToken - If the amount of information that is returned is significantly large,
an identifier will also be returned, which can be used in a subsequent
list deployments call to return the next set of deployments in the
list.public ListDeploymentsResult withNextToken(String nextToken)
Returns a reference to this object so that method calls can be chained together.
nextToken - If the amount of information that is returned is significantly large,
an identifier will also be returned, which 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 ObjectObject.toString()Copyright © 2014. All rights reserved.