Class CodeBundle.Builder
-
- All Implemented Interfaces:
public final class CodeBundle.BuilderA builder for CodeBundle.
-
-
Method Summary
-
-
Method Detail
-
bundleId
final CodeBundle.Builder bundleId(String bundleId)
-
bundleId
final CodeBundle.Builder bundleId(JsonField<String> bundleId)
Sets Builder.bundleId to an arbitrary JSON value.
You should usually call Builder.bundleId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
location
final CodeBundle.Builder location(CodeBundle.Location location)
-
location
final CodeBundle.Builder location(JsonField<CodeBundle.Location> location)
Sets Builder.location to an arbitrary JSON value.
You should usually call Builder.location with a well-typed Location value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
location
final CodeBundle.Builder location(CodeBundle.Location.Experiment experiment)
Alias for calling location with
Location.ofExperiment(experiment).
-
location
final CodeBundle.Builder location(CodeBundle.Location.Function function)
Alias for calling location with
Location.ofFunction(function).
-
runtimeContext
final CodeBundle.Builder runtimeContext(CodeBundle.RuntimeContext runtimeContext)
-
runtimeContext
final CodeBundle.Builder runtimeContext(JsonField<CodeBundle.RuntimeContext> runtimeContext)
Sets Builder.runtimeContext to an arbitrary JSON value.
You should usually call Builder.runtimeContext with a well-typed RuntimeContext value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
preview
final CodeBundle.Builder preview(String preview)
A preview of the code
-
preview
final CodeBundle.Builder preview(Optional<String> preview)
Alias for calling Builder.preview with
preview.orElse(null).
-
preview
final CodeBundle.Builder preview(JsonField<String> preview)
Sets Builder.preview to an arbitrary JSON value.
You should usually call Builder.preview 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 CodeBundle.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final CodeBundle.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final CodeBundle.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final CodeBundle.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final CodeBundle.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final CodeBundle build()
Returns an immutable instance of CodeBundle.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.bundleId() .location() .runtimeContext()
-
-
-
-