Class BrandUpdateParams.Body.Builder
-
- All Implemented Interfaces:
public final class BrandUpdateParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
name
final BrandUpdateParams.Body.Builder name(String name)
The name of the brand.
-
name
final BrandUpdateParams.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.
-
settings
final BrandUpdateParams.Body.Builder settings(BrandSettings settings)
-
settings
final BrandUpdateParams.Body.Builder settings(Optional<BrandSettings> settings)
Alias for calling Builder.settings with
settings.orElse(null).
-
settings
final BrandUpdateParams.Body.Builder settings(JsonField<BrandSettings> settings)
Sets Builder.settings to an arbitrary JSON value.
You should usually call Builder.settings with a well-typed BrandSettings value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
snippets
final BrandUpdateParams.Body.Builder snippets(BrandSnippets snippets)
-
snippets
final BrandUpdateParams.Body.Builder snippets(Optional<BrandSnippets> snippets)
Alias for calling Builder.snippets with
snippets.orElse(null).
-
snippets
final BrandUpdateParams.Body.Builder snippets(JsonField<BrandSnippets> snippets)
Sets Builder.snippets to an arbitrary JSON value.
You should usually call Builder.snippets with a well-typed BrandSnippets value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BrandUpdateParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BrandUpdateParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BrandUpdateParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BrandUpdateParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BrandUpdateParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BrandUpdateParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.name()
-
-
-
-