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 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()
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.
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 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.
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 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.
public 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.
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 Object
Object.toString()
public ListDeploymentsResult clone()
Copyright © 2015. All rights reserved.