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 1024 characters. final Optional<MemoryStoreUpdateParams.Metadata>metadata()Metadata patch. final Optional<String>name()New human-readable name for the store. 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 1024 characters. Pass an empty string to clear it.
-
metadata
final Optional<MemoryStoreUpdateParams.Metadata> metadata()
Metadata patch. Set a key to a string to upsert it, or to null to delete it. Omit the field to preserve. The stored bag is limited to 16 keys (up to 64 chars each) with values up to 512 chars.
-
name
final Optional<String> name()
New human-readable name for the store. 1–255 characters; no control characters. Renaming changes the slug used for the store's
mount_pathin sessions created after the update.
-
_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.
-
-
-
-