Class BetaResponseCompactionItemParam.Builder
-
- All Implemented Interfaces:
public final class BetaResponseCompactionItemParam.BuilderA builder for BetaResponseCompactionItemParam.
-
-
Method Summary
-
-
Method Detail
-
encryptedContent
final BetaResponseCompactionItemParam.Builder encryptedContent(String encryptedContent)
The encrypted content of the compaction summary.
-
encryptedContent
final BetaResponseCompactionItemParam.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 BetaResponseCompactionItemParam.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("compaction")This method is primarily for setting the field to an undocumented or not yet supported value.
-
id
final BetaResponseCompactionItemParam.Builder id(String id)
The ID of the compaction item.
-
id
final BetaResponseCompactionItemParam.Builder id(Optional<String> id)
Alias for calling Builder.id with
id.orElse(null).
-
id
final BetaResponseCompactionItemParam.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
agent
final BetaResponseCompactionItemParam.Builder agent(BetaResponseCompactionItemParam.Agent agent)
The agent that produced this item.
-
agent
final BetaResponseCompactionItemParam.Builder agent(Optional<BetaResponseCompactionItemParam.Agent> agent)
Alias for calling Builder.agent with
agent.orElse(null).
-
agent
final BetaResponseCompactionItemParam.Builder agent(JsonField<BetaResponseCompactionItemParam.Agent> agent)
Sets Builder.agent to an arbitrary JSON value.
You should usually call Builder.agent with a well-typed Agent value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaResponseCompactionItemParam.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaResponseCompactionItemParam.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaResponseCompactionItemParam.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaResponseCompactionItemParam.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaResponseCompactionItemParam.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaResponseCompactionItemParam build()
Returns an immutable instance of BetaResponseCompactionItemParam.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.encryptedContent()
-
-
-
-