Class Function.Origin.Builder
-
- All Implemented Interfaces:
public final class Function.Origin.BuilderA builder for Origin.
-
-
Method Summary
-
-
Method Detail
-
objectId
final Function.Origin.Builder objectId(String objectId)
Id of the object the function is originating from
-
objectId
final Function.Origin.Builder objectId(JsonField<String> objectId)
Sets Builder.objectId to an arbitrary JSON value.
You should usually call Builder.objectId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
objectType
final Function.Origin.Builder objectType(AclObjectType objectType)
The object type that the ACL applies to
-
objectType
final Function.Origin.Builder objectType(JsonField<AclObjectType> objectType)
Sets Builder.objectType to an arbitrary JSON value.
You should usually call Builder.objectType with a well-typed AclObjectType value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
internal_
final Function.Origin.Builder internal_(Boolean internal_)
The function exists for internal purposes and should not be displayed in the list of functions.
-
internal_
final Function.Origin.Builder internal_(Boolean internal_)
Alias for Builder.internal_.
This unboxed primitive overload exists for backwards compatibility.
-
internal_
final Function.Origin.Builder internal_(Optional<Boolean> internal_)
Alias for calling Builder.internal_ with
internal_.orElse(null).
-
internal_
final Function.Origin.Builder internal_(JsonField<Boolean> internal_)
Sets Builder.internal_ to an arbitrary JSON value.
You should usually call Builder.internal_ with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final Function.Origin.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final Function.Origin.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final Function.Origin.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final Function.Origin.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final Function.Origin.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final Function.Origin build()
Returns an immutable instance of Origin.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.objectId() .objectType()
-
-
-
-