Class GetPolicyResponse


@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2026-05-01T09:59:31.533-07:00") public class GetPolicyResponse extends CdpResponse
Response object containing the policy detail which includes version IDs, associations, scope and status.
  • Constructor Details

    • GetPolicyResponse

      public GetPolicyResponse()
  • Method Details

    • getVersions

      public List<String> getVersions()
      Getter for versions. List of all version IDs of the policy.
    • setVersions

      public void setVersions(List<String> versions)
      Setter for versions. List of all version IDs of the policy.
    • getPolicyDetail

      public GetPolicyResponsePolicyDetail getPolicyDetail()
      Getter for policyDetail.
    • setPolicyDetail

      public void setPolicyDetail(GetPolicyResponsePolicyDetail policyDetail)
      Setter for policyDetail.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object