Class AddonComposeUiActionResponseBuilder

AddonComposeUiActionResponseBuilder

A builder for AddonComposeUiActionResponse objects.

Methods

MethodReturn typeBrief description
build()AddonComposeUiActionResponseBuilds the current addon compose ui action response and validates it.
setType(type)AddonComposeUiActionResponseBuilderSets the enum field that determines the addon compose ui action.

Detailed documentation

build()

Builds the current addon compose ui action response and validates it.

Return

AddonComposeUiActionResponse — A validated compose ui action response.

Throws

Error — if the constructed AddonComposeUiActionResponse isn't valid.


setType(type)

Sets the enum field that determines the addon compose ui action.

Parameters

NameTypeDescription
typeAddonComposeUiActionTypeThe enum that indicates the addon compose ui action to take.

Return

AddonComposeUiActionResponseBuilder — This object, for chaining.