public PutPermissionRequest withAction(String action) {
        setAction(action);
        return this;
    }
<p>
The action that you are enabling the other account to perform.
</p>

@param action
       The action that you are enabling the other account to perform.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-eventbridge/src/main/java/com/amazonaws/services/eventbridge/model/PutPermissionRequest.java