Class BetaOutputBehaviorUpdateExisting
-
- All Implemented Interfaces:
public final class BetaOutputBehaviorUpdateExistingWrite the result into the input memory store instead of a new memory store.
The credential must be allowed to write memory stores, or the request returns a 403 error. While another
update_existingdream on the same memory store hasn't fully stopped, the request returns a 409 error.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaOutputBehaviorUpdateExisting.BuilderA builder for BetaOutputBehaviorUpdateExisting.
-
Method Summary
Modifier and Type Method Description final StringmemoryStoreId()The ID of the memory store for the dream to write its result to ( memstore_...).final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("update_existing")final JsonField<String>_memoryStoreId()Returns the raw JSON value of memoryStoreId. final Map<String, JsonValue>_additionalProperties()final BetaOutputBehaviorUpdateExisting.BuildertoBuilder()final BetaOutputBehaviorUpdateExistingvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaOutputBehaviorUpdateExisting.Builderbuilder()Returns a mutable builder for constructing an instance of BetaOutputBehaviorUpdateExisting. final static BetaOutputBehaviorUpdateExistingof(String memoryStoreId)Returns an immutable instance of BetaOutputBehaviorUpdateExisting with the required memoryStoreId set to the given value. -
-
Method Detail
-
memoryStoreId
final String memoryStoreId()
The ID of the memory store for the dream to write its result to (
memstore_...). It must be the memory store in thememory_storeentry ofinputs.
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("update_existing")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_memoryStoreId
final JsonField<String> _memoryStoreId()
Returns the raw JSON value of memoryStoreId.
Unlike memoryStoreId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaOutputBehaviorUpdateExisting.Builder toBuilder()
-
validate
final BetaOutputBehaviorUpdateExisting validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BetaOutputBehaviorUpdateExisting.Builder builder()
Returns a mutable builder for constructing an instance of BetaOutputBehaviorUpdateExisting.
The following fields are required:
.memoryStoreId()
-
of
final static BetaOutputBehaviorUpdateExisting of(String memoryStoreId)
Returns an immutable instance of BetaOutputBehaviorUpdateExisting with the required memoryStoreId set to the given value.
-
-
-
-