Class CancelJobRequest

  • All Implemented Interfaces:
    Serializable

    public class CancelJobRequest
    extends Object
    implements Serializable
    The properties of request to cancel given job.
    See Also:
    Serialized Form
    • Constructor Detail

      • CancelJobRequest

        public CancelJobRequest()
    • Method Detail

      • getId

        @NotNull
        public @NotNull UUID getId()
        Required. The id of the job to cancel.
      • getMessage

        public String getMessage()
        A message for the cancellation.
      • setId

        public void setId​(@NotNull
                          @NotNull UUID id)
        Required. The id of the job to cancel.
      • setMessage

        public void setMessage​(String message)
        A message for the cancellation.
      • equals

        public boolean equals​(Object o)
        Overrides:
        equals in class Object
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • toString

        public String toString()
        Overrides:
        toString in class Object