Class MemoryStoreUpdateParams.Body.Builder
-
- All Implemented Interfaces:
public final class MemoryStoreUpdateParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
description
final MemoryStoreUpdateParams.Body.Builder description(String description)
New description for the store, up to 1024 characters. Pass an empty string to clear it.
-
description
final MemoryStoreUpdateParams.Body.Builder description(Optional<String> description)
Alias for calling Builder.description with
description.orElse(null).
-
description
final MemoryStoreUpdateParams.Body.Builder description(JsonField<String> description)
Sets Builder.description to an arbitrary JSON value.
You should usually call Builder.description with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
metadata
final MemoryStoreUpdateParams.Body.Builder metadata(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.
-
metadata
final MemoryStoreUpdateParams.Body.Builder metadata(Optional<MemoryStoreUpdateParams.Metadata> metadata)
Alias for calling Builder.metadata with
metadata.orElse(null).
-
metadata
final MemoryStoreUpdateParams.Body.Builder metadata(JsonField<MemoryStoreUpdateParams.Metadata> metadata)
Sets Builder.metadata to an arbitrary JSON value.
You should usually call Builder.metadata with a well-typed Metadata value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final MemoryStoreUpdateParams.Body.Builder name(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.
-
name
final MemoryStoreUpdateParams.Body.Builder name(Optional<String> name)
Alias for calling Builder.name with
name.orElse(null).
-
name
final MemoryStoreUpdateParams.Body.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final MemoryStoreUpdateParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final MemoryStoreUpdateParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final MemoryStoreUpdateParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final MemoryStoreUpdateParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final MemoryStoreUpdateParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final MemoryStoreUpdateParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-