Class EntityPresentDetailsRequest.Error.ErrorBuilder
java.lang.Object
com.slack.api.methods.request.entity.EntityPresentDetailsRequest.Error.ErrorBuilder
- Enclosing class:
- EntityPresentDetailsRequest.Error
-
Method Summary
Modifier and TypeMethodDescriptionAn action button to be shown in case of a specific errorbuild()customMessage(String customMessage) Used when status is 'custom' to provide a specific message to the clientcustomTitle(String customTitle) Used when status is 'custom' to provide a specific title to the clientmessageFormat(String messageFormat) Format of the messageStandardized error statustoString()
-
Method Details
-
status
Standardized error status- Returns:
this.
-
customMessage
Used when status is 'custom' to provide a specific message to the client- Returns:
this.
-
messageFormat
Format of the message- Returns:
this.
-
customTitle
Used when status is 'custom' to provide a specific title to the client- Returns:
this.
-
actions
public EntityPresentDetailsRequest.Error.ErrorBuilder actions(EntityPresentDetailsRequest.Error.ActionButton[] actions) An action button to be shown in case of a specific error- Returns:
this.
-
build
-
toString
-