public PolicyDetails withActions(java.util.Collection<Action> actions) {
        setActions(actions);
        return this;
    }
<p>
<b>[Event-based policies only]</b> The actions to be performed when the event-based policy is activated. You can
specify only one action per policy.
</p>

@param actions
       <b>[Event-based policies only]</b> The actions to be performed when the event-based policy is activated.
       You can specify only one action per policy.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-dlm/src/main/java/com/amazonaws/services/dlm/model/PolicyDetails.java