Class LastSyncStatusResponse

java.lang.Object
com.cloudera.cdp.client.BaseResponse
com.cloudera.cdp.client.CdpResponse
com.cloudera.cdp.environments.model.LastSyncStatusResponse

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2025-01-23T07:12:40.736-08:00") public class LastSyncStatusResponse extends CdpResponse
Response object for Sync Operation.
  • Constructor Details

    • LastSyncStatusResponse

      public LastSyncStatusResponse()
  • Method Details

    • getOperationId

      public String getOperationId()
      Getter for operationId. UUID of the request for this operation. This Id can be used for geting status on the operation.
    • setOperationId

      public void setOperationId(String operationId)
      Setter for operationId. UUID of the request for this operation. This Id can be used for geting status on the operation.
    • getOperationType

      public String getOperationType()
      Getter for operationType. Operation type, set password or user sync
    • setOperationType

      public void setOperationType(String operationType)
      Setter for operationType. Operation type, set password or user sync
    • getStatus

      public String getStatus()
      Getter for status. Status of this operation. Status can be one of these values (REQUESTED, RUNNING, COMPLETED, FAILED, REJECTED, TIMEDOUT)
    • setStatus

      public void setStatus(String status)
      Setter for status. Status of this operation. Status can be one of these values (REQUESTED, RUNNING, COMPLETED, FAILED, REJECTED, TIMEDOUT)
    • getSuccess

      public List<SyncOperationDetails> getSuccess()
      Getter for success. List of sync operation details for all succeeded environments.
    • setSuccess

      public void setSuccess(List<SyncOperationDetails> success)
      Setter for success. List of sync operation details for all succeeded environments.
    • getFailure

      public List<SyncOperationDetails> getFailure()
      Getter for failure. List of sync operation details for all failed environments.
    • setFailure

      public void setFailure(List<SyncOperationDetails> failure)
      Setter for failure. List of sync operation details for all failed environments.
    • getError

      public String getError()
      Getter for error. If there is any error associated. The error will be populated on any error and it may be populated when the operation failure details are empty.
    • setError

      public void setError(String error)
      Setter for error. If there is any error associated. The error will be populated on any error and it may be populated when the operation failure details are empty.
    • getStartDate

      public ZonedDateTime getStartDate()
      Getter for startDate. Date when the sync operation started.
    • setStartDate

      public void setStartDate(ZonedDateTime startDate)
      Setter for startDate. Date when the sync operation started.
    • getEndDate

      public ZonedDateTime getEndDate()
      Getter for endDate. Date when the sync operation ended. Omitted if operation has not ended.
    • setEndDate

      public void setEndDate(ZonedDateTime endDate)
      Setter for endDate. Date when the sync operation ended. Omitted if operation has not ended.
    • 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