@Generated(value="software.amazon.awssdk:codegen") public final class ListDeploymentInstancesRequest extends CodeDeployRequest implements ToCopyableBuilder<ListDeploymentInstancesRequest.Builder,ListDeploymentInstancesRequest>
Represents the input of a ListDeploymentInstances operation.
Modifier and Type | Class and Description |
---|---|
static interface |
ListDeploymentInstancesRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static ListDeploymentInstancesRequest.Builder |
builder() |
String |
deploymentId()
The unique ID of a deployment.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
List<InstanceStatus> |
instanceStatusFilter()
A subset of instances to list by status:
|
List<String> |
instanceStatusFilterAsStrings()
A subset of instances to list by status:
|
List<InstanceType> |
instanceTypeFilter()
The set of instances in a blue/green deployment, either those in the original environment ("BLUE") or those in
the replacement environment ("GREEN"), for which you want to view instance information.
|
List<String> |
instanceTypeFilterAsStrings()
The set of instances in a blue/green deployment, either those in the original environment ("BLUE") or those in
the replacement environment ("GREEN"), for which you want to view instance information.
|
String |
nextToken()
An identifier returned from the previous list deployment instances call.
|
static Class<? extends ListDeploymentInstancesRequest.Builder> |
serializableBuilderClass() |
ListDeploymentInstancesRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public String deploymentId()
The unique ID of a deployment.
public String 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.
public List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
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.
public List<String> instanceStatusFilterAsStrings()
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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
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.
public List<InstanceType> instanceTypeFilter()
The set of instances in a blue/green deployment, either those in the original environment ("BLUE") or those in the replacement environment ("GREEN"), for which you want to view instance information.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> instanceTypeFilterAsStrings()
The set of instances in a blue/green deployment, either those in the original environment ("BLUE") or those in the replacement environment ("GREEN"), for which you want to view instance information.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public ListDeploymentInstancesRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ListDeploymentInstancesRequest.Builder,ListDeploymentInstancesRequest>
toBuilder
in class CodeDeployRequest
public static ListDeploymentInstancesRequest.Builder builder()
public static Class<? extends ListDeploymentInstancesRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.