public AnalyzedResource withActions(java.util.Collection<String> actions) {
        setActions(actions);
        return this;
    }
<p>
The actions that an external principal is granted permission to use by the policy that generated the finding.
</p>

@param actions
       The actions that an external principal is granted permission to use by the policy that generated the
       finding.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-accessanalyzer/src/main/java/com/amazonaws/services/accessanalyzer/model/AnalyzedResource.java