public void setAction(java.util.Collection<String> action) {
        if (action == null) {
            this.action = null;
            return;
        }

        this.action = new java.util.ArrayList<String>(action);
    }
<p>
The action in the analyzed policy statement that an external principal has permission to perform.
</p>

@param action
       The action in the analyzed policy statement that an external principal has permission to perform.
aws-java-sdk-accessanalyzer/src/main/java/com/amazonaws/services/accessanalyzer/model/AccessPreviewFinding.java