Class BetaManagedAgentsRefreshHttpResponse.Builder
-
- All Implemented Interfaces:
public final class BetaManagedAgentsRefreshHttpResponse.BuilderA builder for BetaManagedAgentsRefreshHttpResponse.
-
-
Method Summary
-
-
Method Detail
-
body
final BetaManagedAgentsRefreshHttpResponse.Builder body(String body)
Response body. May be truncated and has sensitive values scrubbed.
-
body
final BetaManagedAgentsRefreshHttpResponse.Builder body(JsonField<String> body)
Sets Builder.body to an arbitrary JSON value.
You should usually call Builder.body with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
bodyTruncated
final BetaManagedAgentsRefreshHttpResponse.Builder bodyTruncated(Boolean bodyTruncated)
Whether
bodywas truncated.
-
bodyTruncated
final BetaManagedAgentsRefreshHttpResponse.Builder bodyTruncated(JsonField<Boolean> bodyTruncated)
Sets Builder.bodyTruncated to an arbitrary JSON value.
You should usually call Builder.bodyTruncated with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
contentType
final BetaManagedAgentsRefreshHttpResponse.Builder contentType(String contentType)
Value of the
Content-Typeresponse header.
-
contentType
final BetaManagedAgentsRefreshHttpResponse.Builder contentType(JsonField<String> contentType)
Sets Builder.contentType to an arbitrary JSON value.
You should usually call Builder.contentType with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
statusCode
final BetaManagedAgentsRefreshHttpResponse.Builder statusCode(Integer statusCode)
HTTP status code.
-
statusCode
final BetaManagedAgentsRefreshHttpResponse.Builder statusCode(JsonField<Integer> statusCode)
Sets Builder.statusCode to an arbitrary JSON value.
You should usually call Builder.statusCode with a well-typed Int value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaManagedAgentsRefreshHttpResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaManagedAgentsRefreshHttpResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaManagedAgentsRefreshHttpResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaManagedAgentsRefreshHttpResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaManagedAgentsRefreshHttpResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaManagedAgentsRefreshHttpResponse build()
Returns an immutable instance of BetaManagedAgentsRefreshHttpResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.body() .bodyTruncated() .contentType() .statusCode()
-
-
-
-