public TerminateRecoveryInstancesRequest withRecoveryInstanceIDs(String... recoveryInstanceIDs) {
        if (this.recoveryInstanceIDs == null) {
            setRecoveryInstanceIDs(new java.util.ArrayList<String>(recoveryInstanceIDs.length));
        }
        for (String ele : recoveryInstanceIDs) {
            this.recoveryInstanceIDs.add(ele);
        }
        return this;
    }
<p>
The IDs of the Recovery Instances that should be terminated.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setRecoveryInstanceIDs(java.util.Collection)} or {@link #withRecoveryInstanceIDs(java.util.Collection)}
if you want to override the existing values.
</p>

@param recoveryInstanceIDs
       The IDs of the Recovery Instances that should be terminated.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-drs/src/main/java/com/amazonaws/services/drs/model/TerminateRecoveryInstancesRequest.java