Class PolicyObject

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

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2026-05-01T09:59:31.533-07:00") public class PolicyObject extends Object
The policy object containing name, status and other details.
  • Constructor Details

    • PolicyObject

      public PolicyObject()
  • Method Details

    • getStatus

      public String getStatus()
      Getter for status. The policy status.
    • setStatus

      public void setStatus(String status)
      Setter for status. The policy status.
    • getPolicyName

      public String getPolicyName()
      Getter for policyName. The policy name.
    • setPolicyName

      public void setPolicyName(String policyName)
      Setter for policyName. The policy name.
    • getTaskCount

      public Integer getTaskCount()
      Getter for taskCount. The number of tasks ran for this policy.
    • setTaskCount

      public void setTaskCount(Integer taskCount)
      Setter for taskCount. The number of tasks ran for this policy.
    • getTableCount

      public Integer getTableCount()
      Getter for tableCount. The number of tables associated with this policy.
    • setTableCount

      public void setTableCount(Integer tableCount)
      Setter for tableCount. The number of tables associated with this policy.
    • getCreationTime

      public Long getCreationTime()
      Getter for creationTime. The policy creation time in epoch milliseconds.
    • setCreationTime

      public void setCreationTime(Long creationTime)
      Setter for creationTime. The policy creation time in epoch milliseconds.
    • getLastExecutionTime

      public Long getLastExecutionTime()
      Getter for lastExecutionTime. The recent task execution time in epoch milliseconds.
    • setLastExecutionTime

      public void setLastExecutionTime(Long lastExecutionTime)
      Setter for lastExecutionTime. The recent task execution time in epoch milliseconds.
    • getIsDefault

      public Boolean getIsDefault()
      Getter for isDefault. Flag to indicate if the policy is a default one provided by Cloudera. Policy is default if true else false.
    • setIsDefault

      public void setIsDefault(Boolean isDefault)
      Setter for isDefault. Flag to indicate if the policy is a default one provided by Cloudera. Policy is default if true else false.
    • 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