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 1,024 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)
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.
-
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)
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/.
-
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.
-
-
-
-