Class DeletePolicyRequest

java.lang.Object
com.cloudera.cdp.lakehouseopt.model.DeletePolicyRequest

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2026-05-01T09:59:31.533-07:00") public class DeletePolicyRequest extends Object
Request object specifying the policy and resource scope for deletion.
  • Constructor Details

    • DeletePolicyRequest

      public DeletePolicyRequest()
  • Method Details

    • getDatahubCrn

      public String getDatahubCrn()
      Getter for datahubCrn. The CRN of the CLO Data Hub.
    • setDatahubCrn

      public void setDatahubCrn(String datahubCrn)
      Setter for datahubCrn. The CRN of the CLO Data Hub.
    • getPolicyName

      public String getPolicyName()
      Getter for policyName. Policy name that needs to be deleted. The version is identified through the resource.
    • setPolicyName

      public void setPolicyName(String policyName)
      Setter for policyName. Policy name that needs to be deleted. The version is identified through the resource.
    • getResourceScope

      public String getResourceScope()
      Getter for resourceScope. Represents the hierarchical level (<catalog>.<namespace>.<table>) at which a policy is defined and needs to be deleted. Give `*` for catalog level and `catalog.namespace.*` for namespace level.
    • setResourceScope

      public void setResourceScope(String resourceScope)
      Setter for resourceScope. Represents the hierarchical level (<catalog>.<namespace>.<table>) at which a policy is defined and needs to be deleted. Give `*` for catalog level and `catalog.namespace.*` for namespace level.
    • 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