public Permission withActions(String... actions) {
        if (this.actions == null) {
            setActions(new java.util.ArrayList<String>(actions.length));
        }
        for (String ele : actions) {
            this.actions.add(ele);
        }
        return this;
    }
<p>
The private CA actions that can be performed by the designated Amazon Web Services service.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setActions(java.util.Collection)} or {@link #withActions(java.util.Collection)} if you want to override
the existing values.
</p>

@param actions
       The private CA actions that can be performed by the designated Amazon Web Services service.
@return Returns a reference to this object so that method calls can be chained together.
@see ActionType
aws-java-sdk-acmpca/src/main/java/com/amazonaws/services/acmpca/model/Permission.java