public ClaimFilterOption withInstanceStatuses(FilterInstanceStatus... instanceStatuses) {
        java.util.ArrayList<String> instanceStatusesCopy = new java.util.ArrayList<String>(instanceStatuses.length);
        for (FilterInstanceStatus value : instanceStatuses) {
            instanceStatusesCopy.add(value.toString());
        }
        if (getInstanceStatuses() == null) {
            setInstanceStatuses(instanceStatusesCopy);
        } else {
            getInstanceStatuses().addAll(instanceStatusesCopy);
        }
        return this;
    }
<p>
List of instance statuses that game servers may be claimed on. If provided, the list must contain the
<code>ACTIVE</code> status.
</p>

@param instanceStatuses
       List of instance statuses that game servers may be claimed on. If provided, the list must contain the
       <code>ACTIVE</code> status.
@return Returns a reference to this object so that method calls can be chained together.
@see FilterInstanceStatus
aws-java-sdk-gamelift/src/main/java/com/amazonaws/services/gamelift/model/ClaimFilterOption.java