Class PolicyUpdateRequest.UpdatePolicyContentRequest

java.lang.Object
org.apache.gravitino.dto.requests.PolicyUpdateRequest.UpdatePolicyContentRequest
All Implemented Interfaces:
PolicyUpdateRequest, RESTMessage, RESTRequest
Enclosing interface:
PolicyUpdateRequest

public static class PolicyUpdateRequest.UpdatePolicyContentRequest extends Object implements PolicyUpdateRequest
The policy update request for updating a policy content.
  • Constructor Details

    • UpdatePolicyContentRequest

      public UpdatePolicyContentRequest(String policyType, PolicyContentDTO newContent)
      Creates a new UpdatePolicyContentRequest.
      Parameters:
      policyType - The type of the policy, used for validation and serialization. This should match the type of the content being updated.
      newContent - The new content of the policy.
  • Method Details