Class BetaEncryptedCodeExecutionResultBlock.Builder
-
- All Implemented Interfaces:
public final class BetaEncryptedCodeExecutionResultBlock.BuilderA builder for BetaEncryptedCodeExecutionResultBlock.
-
-
Method Summary
-
-
Method Detail
-
content
final BetaEncryptedCodeExecutionResultBlock.Builder content(List<BetaCodeExecutionOutputBlock> content)
-
content
final BetaEncryptedCodeExecutionResultBlock.Builder content(JsonField<List<BetaCodeExecutionOutputBlock>> content)
Sets Builder.content to an arbitrary JSON value.
You should usually call Builder.content with a well-typed
List<BetaCodeExecutionOutputBlock>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addContent
final BetaEncryptedCodeExecutionResultBlock.Builder addContent(BetaCodeExecutionOutputBlock content)
Adds a single BetaCodeExecutionOutputBlock to Builder.content.
-
encryptedStdout
final BetaEncryptedCodeExecutionResultBlock.Builder encryptedStdout(String encryptedStdout)
-
encryptedStdout
final BetaEncryptedCodeExecutionResultBlock.Builder encryptedStdout(JsonField<String> encryptedStdout)
Sets Builder.encryptedStdout to an arbitrary JSON value.
You should usually call Builder.encryptedStdout with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
returnCode
final BetaEncryptedCodeExecutionResultBlock.Builder returnCode(Long returnCode)
-
returnCode
final BetaEncryptedCodeExecutionResultBlock.Builder returnCode(JsonField<Long> returnCode)
Sets Builder.returnCode to an arbitrary JSON value.
You should usually call Builder.returnCode with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
stderr
final BetaEncryptedCodeExecutionResultBlock.Builder stderr(String stderr)
-
stderr
final BetaEncryptedCodeExecutionResultBlock.Builder stderr(JsonField<String> stderr)
Sets Builder.stderr to an arbitrary JSON value.
You should usually call Builder.stderr 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 BetaEncryptedCodeExecutionResultBlock.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("encrypted_code_execution_result")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaEncryptedCodeExecutionResultBlock.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaEncryptedCodeExecutionResultBlock.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaEncryptedCodeExecutionResultBlock.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaEncryptedCodeExecutionResultBlock.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaEncryptedCodeExecutionResultBlock.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaEncryptedCodeExecutionResultBlock build()
Returns an immutable instance of BetaEncryptedCodeExecutionResultBlock.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.content() .encryptedStdout() .returnCode() .stderr()
-
-
-
-