public PolicyDetails withAction(FindingAction action) {
        setAction(action);
        return this;
    }
<p>
The action that produced the finding.
</p>

@param action
       The action that produced the finding.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-macie2/src/main/java/com/amazonaws/services/macie2/model/PolicyDetails.java