Class PolicyInstanceResponse

java.lang.Object
com.cloudera.cdp.client.BaseResponse
com.cloudera.cdp.client.CdpResponse
com.cloudera.cdp.replicationmanager.model.PolicyInstanceResponse

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2024-09-27T08:40:29.297-07:00") public class PolicyInstanceResponse extends CdpResponse
Policy execution details.
  • Constructor Details

    • PolicyInstanceResponse

      public PolicyInstanceResponse()
  • Method Details

    • 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.
    • 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