Interface ModifyAttributesLiveCommandAnswerBuilder.ResponseFactory
-
- All Superinterfaces:
LiveCommandResponseFactory
- Enclosing interface:
- ModifyAttributesLiveCommandAnswerBuilder
public static interface ModifyAttributesLiveCommandAnswerBuilder.ResponseFactory extends LiveCommandResponseFactory
Factory forCommandResponses toModifyAttributescommand.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.ditto.signals.commands.things.ThingErrorResponseattributesNotAccessibleError()Builds aThingErrorResponseindicating that the attributes were not accessible.org.eclipse.ditto.signals.commands.things.ThingErrorResponseattributesNotModifiableError()Builds aThingErrorResponseindicating that the attributes were not modifiable.org.eclipse.ditto.signals.commands.things.modify.ModifyAttributesResponsecreated()Builds a "created"ModifyAttributesResponseusing the values of theCommand.org.eclipse.ditto.signals.commands.things.modify.ModifyAttributesResponsemodified()Builds a "modified"ModifyAttributesResponseusing 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.ModifyAttributesResponse created()
Builds a "created"ModifyAttributesResponseusing the values of theCommand.- Returns:
- the response.
-
modified
@Nonnull org.eclipse.ditto.signals.commands.things.modify.ModifyAttributesResponse modified()
Builds a "modified"ModifyAttributesResponseusing the values of theCommand.- Returns:
- the response
-
attributesNotAccessibleError
@Nonnull org.eclipse.ditto.signals.commands.things.ThingErrorResponse attributesNotAccessibleError()
Builds aThingErrorResponseindicating that the attributes were not accessible.- Returns:
- the response.
- See Also:
AttributesNotAccessibleException
-
attributesNotModifiableError
@Nonnull org.eclipse.ditto.signals.commands.things.ThingErrorResponse attributesNotModifiableError()
Builds aThingErrorResponseindicating that the attributes were not modifiable.- Returns:
- the response.
- See Also:
AttributesNotModifiableException
-
-