@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()
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)
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; useful for testing and debugging.
|
ListDeploymentsResult |
withDeployments(Collection<Deployment> deployments)
List of deployments for the requested groups
|
ListDeploymentsResult |
withDeployments(Deployment... deployments)
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
- List of deployments for the requested groupspublic 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
- List of deployments for the requested groupspublic ListDeploymentsResult withDeployments(Collection<Deployment> deployments)
deployments
- List of deployments for the requested groupspublic 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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.