public BatchGetDeploymentInstancesRequest withInstanceIds(java.util.Collection<String> instanceIds) {
        setInstanceIds(instanceIds);
        return this;
    }
<p>
The unique IDs of instances used in the deployment. The maximum number of instance IDs you can specify is 25.
</p>

@param instanceIds
       The unique IDs of instances used in the deployment. The maximum number of instance IDs you can specify is
       25.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codedeploy/src/main/java/com/amazonaws/services/codedeploy/model/BatchGetDeploymentInstancesRequest.java