@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()
An array of deployment with summary data.
|
String |
getNextToken()
A token that indicates the location of the next deployment in the array of deployment, after the current
requested list of deployment.
|
int |
hashCode() |
void |
setDeployments(Collection<DeploymentSummary> deployments)
An array of deployment with summary data.
|
void |
setNextToken(String nextToken)
A token that indicates the location of the next deployment in the array of deployment, after the current
requested list of deployment.
|
String |
toString()
Returns a string representation of this object.
|
ListDeploymentsResult |
withDeployments(Collection<DeploymentSummary> deployments)
An array of deployment with summary data.
|
ListDeploymentsResult |
withDeployments(DeploymentSummary... deployments)
An array of deployment with summary data.
|
ListDeploymentsResult |
withNextToken(String nextToken)
A token that indicates the location of the next deployment in the array of deployment, after the current
requested list of deployment.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<DeploymentSummary> getDeployments()
An array of deployment with summary data.
public void setDeployments(Collection<DeploymentSummary> deployments)
An array of deployment with summary data.
deployments
- An array of deployment with summary data.public ListDeploymentsResult withDeployments(DeploymentSummary... deployments)
An array of deployment with summary data.
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
- An array of deployment with summary data.public ListDeploymentsResult withDeployments(Collection<DeploymentSummary> deployments)
An array of deployment with summary data.
deployments
- An array of deployment with summary data.public void setNextToken(String nextToken)
A token that indicates the location of the next deployment in the array of deployment, after the current requested list of deployment.
nextToken
- A token that indicates the location of the next deployment in the array of deployment, after the current
requested list of deployment.public String getNextToken()
A token that indicates the location of the next deployment in the array of deployment, after the current requested list of deployment.
public ListDeploymentsResult withNextToken(String nextToken)
A token that indicates the location of the next deployment in the array of deployment, after the current requested list of deployment.
nextToken
- A token that indicates the location of the next deployment in the array of deployment, after the current
requested list of deployment.public String toString()
toString
in class Object
Object.toString()
public ListDeploymentsResult clone()