Class BetaResponseCompactionItem.Builder
-
- All Implemented Interfaces:
public final class BetaResponseCompactionItem.BuilderA builder for BetaResponseCompactionItem.
-
-
Method Summary
-
-
Method Detail
-
id
final BetaResponseCompactionItem.Builder id(String id)
The unique ID of the compaction item.
-
id
final BetaResponseCompactionItem.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.
-
encryptedContent
final BetaResponseCompactionItem.Builder encryptedContent(String encryptedContent)
The encrypted content that was produced by compaction.
-
encryptedContent
final BetaResponseCompactionItem.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 BetaResponseCompactionItem.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.
-
agent
final BetaResponseCompactionItem.Builder agent(BetaResponseCompactionItem.Agent agent)
The agent that produced this item.
-
agent
final BetaResponseCompactionItem.Builder agent(JsonField<BetaResponseCompactionItem.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.
-
createdBy
final BetaResponseCompactionItem.Builder createdBy(String createdBy)
The identifier of the actor that created the item.
-
createdBy
final BetaResponseCompactionItem.Builder createdBy(JsonField<String> createdBy)
Sets Builder.createdBy to an arbitrary JSON value.
You should usually call Builder.createdBy 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 BetaResponseCompactionItem.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaResponseCompactionItem.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaResponseCompactionItem.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaResponseCompactionItem.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaResponseCompactionItem.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaResponseCompactionItem build()
Returns an immutable instance of BetaResponseCompactionItem.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .encryptedContent()
-
-
-
-