Class InlineSkill.Builder
-
- All Implemented Interfaces:
public final class InlineSkill.BuilderA builder for InlineSkill.
-
-
Method Summary
-
-
Method Detail
-
description
final InlineSkill.Builder description(String description)
The description of the skill.
-
description
final InlineSkill.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.
-
name
final InlineSkill.Builder name(String name)
The name of the skill.
-
name
final InlineSkill.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.
-
source
final InlineSkill.Builder source(InlineSkillSource source)
Inline skill payload
-
source
final InlineSkill.Builder source(JsonField<InlineSkillSource> source)
Sets Builder.source to an arbitrary JSON value.
You should usually call Builder.source with a well-typed InlineSkillSource value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final InlineSkill.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("inline")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final InlineSkill.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final InlineSkill.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final InlineSkill.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final InlineSkill.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final InlineSkill.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final InlineSkill build()
Returns an immutable instance of InlineSkill.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.description() .name() .source()
-
-
-
-