Class BatchFailure
java.lang.Object
com.helixframework.api.contract.batch.BatchFailure
Represents a failure in a batch operation.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classRepresents a builder for creating instances of BatchFailure. -
Method Summary
Modifier and TypeMethodDescriptionstatic BatchFailure.Builderbuilder()Returns a Builder object for creating an instance of BatchFailure.getCode()Retrieves the code associated with a BatchFailure.getId()Returns the identifier of this BatchFailure.Gets the message associated with the BatchFailure.Retrieves the status of the BatchFailure.
-
Method Details
-
builder
Returns a Builder object for creating an instance of BatchFailure.- Returns:
- a Builder object
-
getId
Returns the identifier of this BatchFailure.- Returns:
- the identifier of this BatchFailure
-
getCode
Retrieves the code associated with a BatchFailure.- Returns:
- the code
-
getStatus
Retrieves the status of the BatchFailure.- Returns:
- the status of the BatchFailure
-
getMessage
Gets the message associated with the BatchFailure.- Returns:
- the message
-