public ListOperationsRequest withType(String... type) {
        if (this.type == null) {
            setType(new com.amazonaws.internal.SdkInternalList<String>(type.length));
        }
        for (String ele : type) {
            this.type.add(ele);
        }
        return this;
    }
<p>
An arrays of the domains operation types.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setType(java.util.Collection)} or {@link #withType(java.util.Collection)} if you want to override the
existing values.
</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