Class InlineSkillSource.Builder
-
- All Implemented Interfaces:
public final class InlineSkillSource.BuilderA builder for InlineSkillSource.
-
-
Method Summary
Modifier and Type Method Description final InlineSkillSource.Builderdata(String data)Base64-encoded skill zip bundle. final InlineSkillSource.Builderdata(JsonField<String> data)Sets Builder.data to an arbitrary JSON value. final InlineSkillSource.BuildermediaType(JsonValue mediaType)Sets the field to an arbitrary JSON value. final InlineSkillSource.Buildertype(JsonValue type)Sets the field to an arbitrary JSON value. final InlineSkillSource.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final InlineSkillSource.BuilderputAdditionalProperty(String key, JsonValue value)final InlineSkillSource.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final InlineSkillSource.BuilderremoveAdditionalProperty(String key)final InlineSkillSource.BuilderremoveAllAdditionalProperties(Set<String> keys)final InlineSkillSourcebuild()Returns an immutable instance of InlineSkillSource. -
-
Method Detail
-
data
final InlineSkillSource.Builder data(String data)
Base64-encoded skill zip bundle.
-
data
final InlineSkillSource.Builder data(JsonField<String> data)
Sets Builder.data to an arbitrary JSON value.
You should usually call Builder.data with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
mediaType
final InlineSkillSource.Builder mediaType(JsonValue mediaType)
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("application/zip")This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final InlineSkillSource.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("base64")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final InlineSkillSource.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final InlineSkillSource.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final InlineSkillSource.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final InlineSkillSource.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final InlineSkillSource.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final InlineSkillSource build()
Returns an immutable instance of InlineSkillSource.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.data()
-
-
-
-