Class ListDeploymentInstancesRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
Represents the input of a list deployment instances operation.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The unique ID of a deployment.A subset of instances to list by status:An identifier returned from the previous list deployment instances call.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 returned from the previous list deployment instances call.toString()
Returns a string representation of this object; useful for testing and debugging.withDeploymentId
(String deploymentId) The unique ID of a deployment.withInstanceStatusFilter
(InstanceStatus... instanceStatusFilter) A subset of instances to list by status:withInstanceStatusFilter
(String... instanceStatusFilter) A subset of instances to list by status:withInstanceStatusFilter
(Collection<String> instanceStatusFilter) A subset of instances to list by status:withNextToken
(String nextToken) An identifier returned from the previous list deployment instances call.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
ListDeploymentInstancesRequest
public ListDeploymentInstancesRequest()
-
-
Method Details
-
setDeploymentId
The unique ID of a deployment.
- Parameters:
deploymentId
- The unique ID of a deployment.
-
getDeploymentId
The unique ID of a deployment.
- Returns:
- The unique ID of a deployment.
-
withDeploymentId
The unique ID of a deployment.
- Parameters:
deploymentId
- The unique ID of a deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
An identifier returned from the previous list deployment instances call. It can be used to return the next set of deployment instances in the list.
- Parameters:
nextToken
- An identifier returned from the previous list deployment instances call. It can be used to return the next set of deployment instances in the list.
-
getNextToken
An identifier returned from the previous list deployment instances call. It can be used to return the next set of deployment instances in the list.
- Returns:
- An identifier returned from the previous list deployment instances call. It can be used to return the next set of deployment instances in the list.
-
withNextToken
An identifier returned from the previous list deployment instances call. It can be used to return the next set of deployment instances in the list.
- Parameters:
nextToken
- An identifier returned from the previous list deployment instances call. It can be used to return the next set of deployment instances in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getInstanceStatusFilter
A subset of instances to list by status:
- Pending: Include those instance with pending deployments.
- InProgress: Include those instance where deployments are still in progress.
- Succeeded: Include those instances with successful deployments.
- Failed: Include those instance with failed deployments.
- Skipped: Include those instance with skipped deployments.
- Unknown: Include those instance with deployments in an unknown state.
- Returns:
- A subset of instances to list by status:
- Pending: Include those instance with pending deployments.
- InProgress: Include those instance where deployments are still in progress.
- Succeeded: Include those instances with successful deployments.
- Failed: Include those instance with failed deployments.
- Skipped: Include those instance with skipped deployments.
- Unknown: Include those instance with deployments in an unknown state.
- See Also:
-
setInstanceStatusFilter
A subset of instances to list by status:
- Pending: Include those instance with pending deployments.
- InProgress: Include those instance where deployments are still in progress.
- Succeeded: Include those instances with successful deployments.
- Failed: Include those instance with failed deployments.
- Skipped: Include those instance with skipped deployments.
- Unknown: Include those instance with deployments in an unknown state.
- Parameters:
instanceStatusFilter
- A subset of instances to list by status:- Pending: Include those instance with pending deployments.
- InProgress: Include those instance where deployments are still in progress.
- Succeeded: Include those instances with successful deployments.
- Failed: Include those instance with failed deployments.
- Skipped: Include those instance with skipped deployments.
- Unknown: Include those instance with deployments in an unknown state.
- See Also:
-
withInstanceStatusFilter
A subset of instances to list by status:
- Pending: Include those instance with pending deployments.
- InProgress: Include those instance where deployments are still in progress.
- Succeeded: Include those instances with successful deployments.
- Failed: Include those instance with failed deployments.
- Skipped: Include those instance with skipped deployments.
- Unknown: Include those instance with deployments in an unknown state.
NOTE: This method appends the values to the existing list (if any). Use
setInstanceStatusFilter(java.util.Collection)
orwithInstanceStatusFilter(java.util.Collection)
if you want to override the existing values.- Parameters:
instanceStatusFilter
- A subset of instances to list by status:- Pending: Include those instance with pending deployments.
- InProgress: Include those instance where deployments are still in progress.
- Succeeded: Include those instances with successful deployments.
- Failed: Include those instance with failed deployments.
- Skipped: Include those instance with skipped deployments.
- Unknown: Include those instance with deployments in an unknown state.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
withInstanceStatusFilter
public ListDeploymentInstancesRequest withInstanceStatusFilter(Collection<String> instanceStatusFilter) A subset of instances to list by status:
- Pending: Include those instance with pending deployments.
- InProgress: Include those instance where deployments are still in progress.
- Succeeded: Include those instances with successful deployments.
- Failed: Include those instance with failed deployments.
- Skipped: Include those instance with skipped deployments.
- Unknown: Include those instance with deployments in an unknown state.
- Parameters:
instanceStatusFilter
- A subset of instances to list by status:- Pending: Include those instance with pending deployments.
- InProgress: Include those instance where deployments are still in progress.
- Succeeded: Include those instances with successful deployments.
- Failed: Include those instance with failed deployments.
- Skipped: Include those instance with skipped deployments.
- Unknown: Include those instance with deployments in an unknown state.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
withInstanceStatusFilter
public ListDeploymentInstancesRequest withInstanceStatusFilter(InstanceStatus... instanceStatusFilter) A subset of instances to list by status:
- Pending: Include those instance with pending deployments.
- InProgress: Include those instance where deployments are still in progress.
- Succeeded: Include those instances with successful deployments.
- Failed: Include those instance with failed deployments.
- Skipped: Include those instance with skipped deployments.
- Unknown: Include those instance with deployments in an unknown state.
- Parameters:
instanceStatusFilter
- A subset of instances to list by status:- Pending: Include those instance with pending deployments.
- InProgress: Include those instance where deployments are still in progress.
- Succeeded: Include those instances with successful deployments.
- Failed: Include those instance with failed deployments.
- Skipped: Include those instance with skipped deployments.
- Unknown: Include those instance with deployments in an unknown state.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-