@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListDeploymentsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListDeploymentsResult() |
Modifier and Type | Method and Description |
---|---|
ListDeploymentsResult |
clone() |
boolean |
equals(Object obj) |
List<Deployment> |
getDeployments()
A list of deployments for the requested groups.
|
String |
getNextToken()
The token for the next set of results, or ''null'' if there are no additional results.
|
int |
hashCode() |
void |
setDeployments(Collection<Deployment> deployments)
A list of deployments for the requested groups.
|
void |
setNextToken(String nextToken)
The token for the next set of results, or ''null'' if there are no additional results.
|
String |
toString()
Returns a string representation of this object.
|
ListDeploymentsResult |
withDeployments(Collection<Deployment> deployments)
A list of deployments for the requested groups.
|
ListDeploymentsResult |
withDeployments(Deployment... deployments)
A list of deployments for the requested groups.
|
ListDeploymentsResult |
withNextToken(String nextToken)
The token for the next set of results, or ''null'' if there are no additional results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Deployment> getDeployments()
public void setDeployments(Collection<Deployment> deployments)
deployments
- A list of deployments for the requested groups.public ListDeploymentsResult withDeployments(Deployment... deployments)
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 deployments for the requested groups.public ListDeploymentsResult withDeployments(Collection<Deployment> deployments)
deployments
- A list of deployments for the requested groups.public void setNextToken(String nextToken)
nextToken
- The token for the next set of results, or ''null'' if there are no additional results.public String getNextToken()
public ListDeploymentsResult withNextToken(String nextToken)
nextToken
- The token for the next set of results, or ''null'' if there are no additional results.public String toString()
toString
in class Object
Object.toString()
public ListDeploymentsResult clone()