Class BetaAdvisorRedactedResultBlockParam.Builder
-
- All Implemented Interfaces:
public final class BetaAdvisorRedactedResultBlockParam.BuilderA builder for BetaAdvisorRedactedResultBlockParam.
-
-
Method Summary
-
-
Method Detail
-
encryptedContent
final BetaAdvisorRedactedResultBlockParam.Builder encryptedContent(String encryptedContent)
Opaque blob produced by a prior response; must be round-tripped verbatim.
-
encryptedContent
final BetaAdvisorRedactedResultBlockParam.Builder encryptedContent(JsonField<String> encryptedContent)
Sets Builder.encryptedContent to an arbitrary JSON value.
You should usually call Builder.encryptedContent 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 BetaAdvisorRedactedResultBlockParam.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("advisor_redacted_result")This method is primarily for setting the field to an undocumented or not yet supported value.
-
stopReason
final BetaAdvisorRedactedResultBlockParam.Builder stopReason(String stopReason)
-
stopReason
final BetaAdvisorRedactedResultBlockParam.Builder stopReason(Optional<String> stopReason)
Alias for calling Builder.stopReason with
stopReason.orElse(null).
-
stopReason
final BetaAdvisorRedactedResultBlockParam.Builder stopReason(JsonField<String> stopReason)
Sets Builder.stopReason to an arbitrary JSON value.
You should usually call Builder.stopReason 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 BetaAdvisorRedactedResultBlockParam.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaAdvisorRedactedResultBlockParam.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaAdvisorRedactedResultBlockParam.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaAdvisorRedactedResultBlockParam.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaAdvisorRedactedResultBlockParam.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaAdvisorRedactedResultBlockParam build()
Returns an immutable instance of BetaAdvisorRedactedResultBlockParam.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.encryptedContent()
-
-
-
-