Package com.openai.models.responses
Class ContainerReference.Builder
-
- All Implemented Interfaces:
public final class ContainerReference.BuilderA builder for ContainerReference.
-
-
Method Summary
Modifier and Type Method Description final ContainerReference.BuildercontainerId(String containerId)The ID of the referenced container. final ContainerReference.BuildercontainerId(JsonField<String> containerId)Sets Builder.containerId to an arbitrary JSON value. final ContainerReference.Buildertype(JsonValue type)Sets the field to an arbitrary JSON value. final ContainerReference.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final ContainerReference.BuilderputAdditionalProperty(String key, JsonValue value)final ContainerReference.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final ContainerReference.BuilderremoveAdditionalProperty(String key)final ContainerReference.BuilderremoveAllAdditionalProperties(Set<String> keys)final ContainerReferencebuild()Returns an immutable instance of ContainerReference. -
-
Method Detail
-
containerId
final ContainerReference.Builder containerId(String containerId)
The ID of the referenced container.
-
containerId
final ContainerReference.Builder containerId(JsonField<String> containerId)
Sets Builder.containerId to an arbitrary JSON value.
You should usually call Builder.containerId 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 ContainerReference.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("container_reference")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ContainerReference.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ContainerReference.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ContainerReference.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ContainerReference.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ContainerReference.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ContainerReference build()
Returns an immutable instance of ContainerReference.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.containerId()
-
-
-
-