Class MemoryStoreUpdateParams.Body
-
- All Implemented Interfaces:
public final class MemoryStoreUpdateParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classMemoryStoreUpdateParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final Optional<String>description()New description for the store, up to 1,024 characters. final Optional<MemoryStoreUpdateParams.Metadata>metadata()Changes to apply to the memory store's metadata. final Optional<String>name()The new name of the memory store, 1 to 255 characters long, without control characters. final JsonField<String>_description()Returns the raw JSON value of description. final JsonField<MemoryStoreUpdateParams.Metadata>_metadata()Returns the raw JSON value of metadata. final JsonField<String>_name()Returns the raw JSON value of name. final Map<String, JsonValue>_additionalProperties()final MemoryStoreUpdateParams.Body.BuildertoBuilder()final MemoryStoreUpdateParams.Bodyvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static MemoryStoreUpdateParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
description
final Optional<String> description()
New description for the store, up to 1,024 characters. Pass an empty string to clear it.
-
metadata
final Optional<MemoryStoreUpdateParams.Metadata> metadata()
Changes to apply to the memory store's metadata. Keys you leave out keep their values.
Set a key to a string to add or replace it, or to
nullto remove it. After the change, the metadata can hold at most 16 key-value pairs. Keys are 1 to 64 characters long and values at most 512 characters.
-
name
final Optional<String> name()
The new name of the memory store, 1 to 255 characters long, without control characters.
Sessions created after the change use the new name for the store's directory under
/mnt/memory/.
-
_description
final JsonField<String> _description()
Returns the raw JSON value of description.
Unlike description, this method doesn't throw if the JSON field has an unexpected type.
-
_metadata
final JsonField<MemoryStoreUpdateParams.Metadata> _metadata()
Returns the raw JSON value of metadata.
Unlike metadata, this method doesn't throw if the JSON field has an unexpected type.
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final MemoryStoreUpdateParams.Body.Builder toBuilder()
-
validate
final MemoryStoreUpdateParams.Body 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 MemoryStoreUpdateParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
-
-
-
-