Interface ModifyAttributeLiveCommandAnswerBuilder.ResponseFactory
-
- All Superinterfaces:
LiveCommandResponseFactory
- Enclosing interface:
- ModifyAttributeLiveCommandAnswerBuilder
@ParametersAreNonnullByDefault public static interface ModifyAttributeLiveCommandAnswerBuilder.ResponseFactory extends LiveCommandResponseFactory
Factory forCommandResponses toModifyAttributecommand.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.ditto.signals.commands.things.ThingErrorResponseattributeNotAccessibleError()Builds aThingErrorResponseindicating that the attribute was not accessible.org.eclipse.ditto.signals.commands.things.ThingErrorResponseattributeNotModifiableError()Builds aThingErrorResponseindicating that the attribute was not modifiable.org.eclipse.ditto.signals.commands.things.modify.ModifyAttributeResponsecreated()Builds a "created"ModifyAttributeResponseusing the values of theCommand.org.eclipse.ditto.signals.commands.things.modify.ModifyAttributeResponsemodified()Builds a "modified"ModifyAttributeResponseusing the values of theCommand.-
Methods inherited from interface org.eclipse.ditto.signals.commands.live.base.LiveCommandResponseFactory
errorResponse, errorResponse, errorResponse
-
-
-
-
Method Detail
-
created
@Nonnull org.eclipse.ditto.signals.commands.things.modify.ModifyAttributeResponse created()
Builds a "created"ModifyAttributeResponseusing the values of theCommand.- Returns:
- the response.
-
modified
@Nonnull org.eclipse.ditto.signals.commands.things.modify.ModifyAttributeResponse modified()
Builds a "modified"ModifyAttributeResponseusing the values of theCommand.- Returns:
- the response.
-
attributeNotAccessibleError
@Nonnull org.eclipse.ditto.signals.commands.things.ThingErrorResponse attributeNotAccessibleError()
Builds aThingErrorResponseindicating that the attribute was not accessible.- Returns:
- the response.
- See Also:
AttributeNotAccessibleException
-
attributeNotModifiableError
@Nonnull org.eclipse.ditto.signals.commands.things.ThingErrorResponse attributeNotModifiableError()
Builds aThingErrorResponseindicating that the attribute was not modifiable.- Returns:
- the response.
- See Also:
AttributeNotModifiableException
-
-