@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<DeploymentSummary> |
getDeployments()
The list of deployments that is returned.
|
String |
getNextToken()
If there are more items to return, this contains a token that is passed to a subsequent call to this operation to
retrieve the next set of items.
|
int |
hashCode() |
void |
setDeployments(Collection<DeploymentSummary> deployments)
The list of deployments that is returned.
|
void |
setNextToken(String nextToken)
If there are more items to return, this contains a token that is passed to a subsequent call to this operation to
retrieve the next set of items.
|
String |
toString()
Returns a string representation of this object.
|
ListDeploymentsResult |
withDeployments(Collection<DeploymentSummary> deployments)
The list of deployments that is returned.
|
ListDeploymentsResult |
withDeployments(DeploymentSummary... deployments)
The list of deployments that is returned.
|
ListDeploymentsResult |
withNextToken(String nextToken)
If there are more items to return, this contains a token that is passed to a subsequent call to this operation to
retrieve the next set of items.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<DeploymentSummary> getDeployments()
The list of deployments that is returned.
public void setDeployments(Collection<DeploymentSummary> deployments)
The list of deployments that is returned.
deployments
- The list of deployments that is returned.public ListDeploymentsResult withDeployments(DeploymentSummary... deployments)
The list of deployments that is returned.
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
- The list of deployments that is returned.public ListDeploymentsResult withDeployments(Collection<DeploymentSummary> deployments)
The list of deployments that is returned.
deployments
- The list of deployments that is returned.public void setNextToken(String nextToken)
If there are more items to return, this contains a token that is passed to a subsequent call to this operation to retrieve the next set of items.
nextToken
- If there are more items to return, this contains a token that is passed to a subsequent call to this
operation to retrieve the next set of items.public String getNextToken()
If there are more items to return, this contains a token that is passed to a subsequent call to this operation to retrieve the next set of items.
public ListDeploymentsResult withNextToken(String nextToken)
If there are more items to return, this contains a token that is passed to a subsequent call to this operation to retrieve the next set of items.
nextToken
- If there are more items to return, this contains a token that is passed to a subsequent call to this
operation to retrieve the next set of items.public String toString()
toString
in class Object
Object.toString()
public ListDeploymentsResult clone()