Class PolicyInstanceResponse


  • @Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
               date="2022-09-20T12:01:42.046-07:00")
    public class PolicyInstanceResponse
    extends CdpResponse
    Policy execution details.
    • Constructor Detail

      • PolicyInstanceResponse

        public PolicyInstanceResponse()
    • Method Detail

      • getId

        public String getId()
        Getter for id. Policy instance command id.
      • setId

        public void setId​(String id)
        Setter for id. Policy instance command id.
      • getPolicyId

        public String getPolicyId()
        Getter for policyId. Policy id.
      • setPolicyId

        public void setPolicyId​(String policyId)
        Setter for policyId. Policy id.
      • getStatus

        public String getStatus()
        Getter for status. Policy command status.
      • setStatus

        public void setStatus​(String status)
        Setter for status. Policy command status.
      • getStartTime

        public ZonedDateTime getStartTime()
        Getter for startTime. Command start time.
      • setStartTime

        public void setStartTime​(ZonedDateTime startTime)
        Setter for startTime. Command start time.
      • getEndTime

        public ZonedDateTime getEndTime()
        Getter for endTime. Command end time.
      • setEndTime

        public void setEndTime​(ZonedDateTime endTime)
        Setter for endTime. Command end time.
      • getTrackingInfo

        public String getTrackingInfo()
        Getter for trackingInfo. JSON data to track polciy status.
      • setTrackingInfo

        public void setTrackingInfo​(String trackingInfo)
        Setter for trackingInfo. JSON data to track polciy status.
      • getMessage

        public String getMessage()
        Getter for message. Output of the policy command.
      • setMessage

        public void setMessage​(String message)
        Setter for message. Output of the policy command.
      • getJobType

        public String getJobType()
        Getter for jobType. Job type.
      • setJobType

        public void setJobType​(String jobType)
        Setter for jobType. Job type.
      • getTotalSteps

        public Integer getTotalSteps()
        Getter for totalSteps. Total number of steps.
      • setTotalSteps

        public void setTotalSteps​(Integer totalSteps)
        Setter for totalSteps. Total number of steps.
      • getCompletedSteps

        public Integer getCompletedSteps()
        Getter for completedSteps. Number of completed steps.
      • setCompletedSteps

        public void setCompletedSteps​(Integer completedSteps)
        Setter for completedSteps. Number of completed steps.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object