Class CancelJobRequest
- Object
-
- CancelJobRequest
-
- All Implemented Interfaces:
Serializable
public class CancelJobRequest extends Object implements Serializable
The properties of request to cancel given job.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CancelJobRequest.Builder
-
Constructor Summary
Constructors Constructor Description CancelJobRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CancelJobRequest.Builder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
@NotNull UUID
getId()
Required. The id of the job to cancel.String
getMessage()
A message for the cancellation.int
hashCode()
void
setId(@NotNull UUID id)
Required. The id of the job to cancel.void
setMessage(String message)
A message for the cancellation.String
toString()
-
-
-
Method Detail
-
builder
public static CancelJobRequest.Builder builder()
-
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 classObject
-
canEqual
protected boolean canEqual(Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classObject
-
toString
public String toString()
- Overrides:
toString
in classObject
-
-