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