public class ListDeploymentInstancesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a list deployment instances operation.
NOOP
Constructor and Description |
---|
ListDeploymentInstancesRequest() |
Modifier and Type | Method and Description |
---|---|
ListDeploymentInstancesRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getDeploymentId()
The unique ID of a deployment.
|
List<String> |
getInstanceStatusFilter()
A subset of instances to list, by status:
|
String |
getNextToken()
An identifier that was returned from the previous list deployment
instances call, which can be used to return the next set of deployment
instances in the list.
|
int |
hashCode() |
void |
setDeploymentId(String deploymentId)
The unique ID of a deployment.
|
void |
setInstanceStatusFilter(Collection<String> instanceStatusFilter)
A subset of instances to list, by status:
|
void |
setNextToken(String nextToken)
An identifier that was returned from the previous list deployment
instances call, which can be used to return the next set of deployment
instances in the list.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListDeploymentInstancesRequest |
withDeploymentId(String deploymentId)
The unique ID of a deployment.
|
ListDeploymentInstancesRequest |
withInstanceStatusFilter(Collection<String> instanceStatusFilter)
A subset of instances to list, by status:
|
ListDeploymentInstancesRequest |
withInstanceStatusFilter(InstanceStatus... instanceStatusFilter)
A subset of instances to list, by status:
|
ListDeploymentInstancesRequest |
withInstanceStatusFilter(String... instanceStatusFilter)
A subset of instances to list, by status:
|
ListDeploymentInstancesRequest |
withNextToken(String nextToken)
An identifier that was returned from the previous list deployment
instances call, which can be used to return the next set of deployment
instances in the list.
|
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public void setDeploymentId(String deploymentId)
The unique ID of a deployment.
deploymentId
- The unique ID of a deployment.public String getDeploymentId()
The unique ID of a deployment.
public ListDeploymentInstancesRequest withDeploymentId(String deploymentId)
The unique ID of a deployment.
deploymentId
- The unique ID of a deployment.public void setNextToken(String nextToken)
An identifier that was returned from the previous list deployment instances call, which can be used to return the next set of deployment instances in the list.
nextToken
- An identifier that was returned from the previous list deployment
instances call, which can be used to return the next set of
deployment instances in the list.public String getNextToken()
An identifier that was returned from the previous list deployment instances call, which can be used to return the next set of deployment instances in the list.
public ListDeploymentInstancesRequest withNextToken(String nextToken)
An identifier that was returned from the previous list deployment instances call, which can be used to return the next set of deployment instances in the list.
nextToken
- An identifier that was returned from the previous list deployment
instances call, which can be used to return the next set of
deployment instances in the list.public List<String> getInstanceStatusFilter()
A subset of instances to list, by status:
InstanceStatus
public void setInstanceStatusFilter(Collection<String> instanceStatusFilter)
A subset of instances to list, by status:
instanceStatusFilter
- A subset of instances to list, by status:
InstanceStatus
public ListDeploymentInstancesRequest withInstanceStatusFilter(String... instanceStatusFilter)
A subset of instances to list, by status:
NOTE: This method appends the values to the existing list (if
any). Use setInstanceStatusFilter(java.util.Collection)
or
withInstanceStatusFilter(java.util.Collection)
if you want to
override the existing values.
instanceStatusFilter
- A subset of instances to list, by status:
InstanceStatus
public ListDeploymentInstancesRequest withInstanceStatusFilter(Collection<String> instanceStatusFilter)
A subset of instances to list, by status:
instanceStatusFilter
- A subset of instances to list, by status:
InstanceStatus
public ListDeploymentInstancesRequest withInstanceStatusFilter(InstanceStatus... instanceStatusFilter)
A subset of instances to list, by status:
instanceStatusFilter
- A subset of instances to list, by status:
InstanceStatus
public String toString()
toString
in class Object
Object.toString()
public ListDeploymentInstancesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.