Class GetJobEntityError

    • Method Detail

      • environmentDetails

        public final EnvironmentDetailsError environmentDetails()

        The environment details for the failed job entity.

        Returns:
        The environment details for the failed job entity.
      • jobAttachmentDetails

        public final JobAttachmentDetailsError jobAttachmentDetails()

        The job attachment details for the failed job entity.

        Returns:
        The job attachment details for the failed job entity.
      • jobDetails

        public final JobDetailsError jobDetails()

        The job details for the failed job entity.

        Returns:
        The job details for the failed job entity.
      • stepDetails

        public final StepDetailsError stepDetails()

        The step details for the failed job entity.

        Returns:
        The step details for the failed job entity.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)
      • fromEnvironmentDetails

        public static GetJobEntityError fromEnvironmentDetails​(EnvironmentDetailsError environmentDetails)
        Create an instance of this class with environmentDetails() initialized to the given value.

        The environment details for the failed job entity.

        Parameters:
        environmentDetails - The environment details for the failed job entity.
      • fromJobAttachmentDetails

        public static GetJobEntityError fromJobAttachmentDetails​(JobAttachmentDetailsError jobAttachmentDetails)
        Create an instance of this class with jobAttachmentDetails() initialized to the given value.

        The job attachment details for the failed job entity.

        Parameters:
        jobAttachmentDetails - The job attachment details for the failed job entity.
      • fromJobDetails

        public static GetJobEntityError fromJobDetails​(JobDetailsError jobDetails)
        Create an instance of this class with jobDetails() initialized to the given value.

        The job details for the failed job entity.

        Parameters:
        jobDetails - The job details for the failed job entity.
      • fromJobDetails

        public static GetJobEntityError fromJobDetails​(Consumer<JobDetailsError.Builder> jobDetails)
        Create an instance of this class with jobDetails() initialized to the given value.

        The job details for the failed job entity.

        Parameters:
        jobDetails - The job details for the failed job entity.
      • fromStepDetails

        public static GetJobEntityError fromStepDetails​(StepDetailsError stepDetails)
        Create an instance of this class with stepDetails() initialized to the given value.

        The step details for the failed job entity.

        Parameters:
        stepDetails - The step details for the failed job entity.
      • fromStepDetails

        public static GetJobEntityError fromStepDetails​(Consumer<StepDetailsError.Builder> stepDetails)
        Create an instance of this class with stepDetails() initialized to the given value.

        The step details for the failed job entity.

        Parameters:
        stepDetails - The step details for the failed job entity.