@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchGetDeploymentInstancesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a BatchGetDeploymentInstances
operation.
NOOP
Constructor and Description |
---|
BatchGetDeploymentInstancesRequest() |
Modifier and Type | Method and Description |
---|---|
BatchGetDeploymentInstancesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDeploymentId()
The unique ID of a deployment.
|
List<String> |
getInstanceIds()
The unique IDs of instances used in the deployment.
|
int |
hashCode() |
void |
setDeploymentId(String deploymentId)
The unique ID of a deployment.
|
void |
setInstanceIds(Collection<String> instanceIds)
The unique IDs of instances used in the deployment.
|
String |
toString()
Returns a string representation of this object.
|
BatchGetDeploymentInstancesRequest |
withDeploymentId(String deploymentId)
The unique ID of a deployment.
|
BatchGetDeploymentInstancesRequest |
withInstanceIds(Collection<String> instanceIds)
The unique IDs of instances used in the deployment.
|
BatchGetDeploymentInstancesRequest |
withInstanceIds(String... instanceIds)
The unique IDs of instances used in the deployment.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
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 BatchGetDeploymentInstancesRequest withDeploymentId(String deploymentId)
The unique ID of a deployment.
deploymentId
- The unique ID of a deployment.public List<String> getInstanceIds()
The unique IDs of instances used in the deployment. The maximum number of instance IDs you can specify is 25.
public void setInstanceIds(Collection<String> instanceIds)
The unique IDs of instances used in the deployment. The maximum number of instance IDs you can specify is 25.
instanceIds
- The unique IDs of instances used in the deployment. The maximum number of instance IDs you can specify is
25.public BatchGetDeploymentInstancesRequest withInstanceIds(String... instanceIds)
The unique IDs of instances used in the deployment. The maximum number of instance IDs you can specify is 25.
NOTE: This method appends the values to the existing list (if any). Use
setInstanceIds(java.util.Collection)
or withInstanceIds(java.util.Collection)
if you want to
override the existing values.
instanceIds
- The unique IDs of instances used in the deployment. The maximum number of instance IDs you can specify is
25.public BatchGetDeploymentInstancesRequest withInstanceIds(Collection<String> instanceIds)
The unique IDs of instances used in the deployment. The maximum number of instance IDs you can specify is 25.
instanceIds
- The unique IDs of instances used in the deployment. The maximum number of instance IDs you can specify is
25.public String toString()
toString
in class Object
Object.toString()
public BatchGetDeploymentInstancesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()