public CreateGrantRequest withAllowedOperations(String... allowedOperations) {
        if (this.allowedOperations == null) {
            setAllowedOperations(new java.util.ArrayList<String>(allowedOperations.length));
        }
        for (String ele : allowedOperations) {
            this.allowedOperations.add(ele);
        }
        return this;
    }
<p>
Allowed operations for the grant.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setAllowedOperations(java.util.Collection)} or {@link #withAllowedOperations(java.util.Collection)} if
you want to override the existing values.
</p>

@param allowedOperations
       Allowed operations for the grant.
@return Returns a reference to this object so that method calls can be chained together.
@see AllowedOperation
aws-java-sdk-licensemanager/src/main/java/com/amazonaws/services/licensemanager/model/CreateGrantRequest.java