Class Activity

java.lang.Object
com.cloudera.cdp.compute.model.Activity

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2026-03-25T09:53:08.660-07:00") public class Activity extends Object
Represents an individual activity within a workflow execution.
  • Constructor Details

    • Activity

      public Activity()
  • Method Details

    • getActivityId

      public String getActivityId()
      Getter for activityId. Unique identifier for this activity instance.
    • setActivityId

      public void setActivityId(String activityId)
      Setter for activityId. Unique identifier for this activity instance.
    • getName

      public String getName()
      Getter for name. Human-readable name of the activity.
    • setName

      public void setName(String name)
      Setter for name. Human-readable name of the activity.
    • getStatus

      public String getStatus()
      Getter for status. Current execution status of the activity.
    • setStatus

      public void setStatus(String status)
      Setter for status. Current execution status of the activity.
    • getStartedAt

      public ZonedDateTime getStartedAt()
      Getter for startedAt. Time when the activity started execution.
    • setStartedAt

      public void setStartedAt(ZonedDateTime startedAt)
      Setter for startedAt. Time when the activity started execution.
    • getCompletedAt

      public ZonedDateTime getCompletedAt()
      Getter for completedAt. Time when the activity completed execution.
    • setCompletedAt

      public void setCompletedAt(ZonedDateTime completedAt)
      Setter for completedAt. Time when the activity completed execution.
    • getLogs

      public List<String> getLogs()
      Getter for logs. Collection of log messages generated during activity execution.
    • setLogs

      public void setLogs(List<String> logs)
      Setter for logs. Collection of log messages generated during activity execution.
    • 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