Class SpeedyUpdateRequestBuilder<T>
java.lang.Object
com.github.silent.samurai.speedy.api.client.builder.SpeedyUpdateRequestBuilder<T>
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SpeedyUpdateRequestBuilder
-
-
Method Details
-
key
Add a key field (typically for identifying the record to update).- Parameters:
field- the field namevalue- the field value- Returns:
- this builder instance
-
field
Add a field to be updated.- Parameters:
field- the field namevalue- the field value- Returns:
- this builder instance
-
build
Build the SpeedyUpdateRequest without executing it.- Returns:
- the constructed SpeedyUpdateRequest
-
execute
Build and execute the update request using the configured SpeedyApi.- Returns:
- the response from the API
- Throws:
Exception
-