public ListOperationsRequest withType(OperationType... type) {
        com.amazonaws.internal.SdkInternalList<String> typeCopy = new com.amazonaws.internal.SdkInternalList<String>(type.length);
        for (OperationType value : type) {
            typeCopy.add(value.toString());
        }
        if (getType() == null) {
            setType(typeCopy);
        } else {
            getType().addAll(typeCopy);
        }
        return this;
    }
<p>
An arrays of the domains operation types.
</p>

@param type
       An arrays of the domains operation types.
@return Returns a reference to this object so that method calls can be chained together.
@see OperationType
aws-java-sdk-route53/src/main/java/com/amazonaws/services/route53domains/model/ListOperationsRequest.java