Class BetaTelemetryDestinationTestFailure.Builder
-
- All Implemented Interfaces:
public final class BetaTelemetryDestinationTestFailure.BuilderA builder for BetaTelemetryDestinationTestFailure.
-
-
Method Summary
-
-
Method Detail
-
error
final BetaTelemetryDestinationTestFailure.Builder error(String error)
A message that describes why the test span was not delivered, including the HTTP status code when the destination returned one. Examples:
HTTP error (status 403),timeout,TLS failure. It has the same form as the destination'sdelivery_health.last_errorand never contains the destination's response body, any header value, a network address, or TLS details.
-
error
final BetaTelemetryDestinationTestFailure.Builder error(JsonField<String> error)
Sets Builder.error to an arbitrary JSON value.
You should usually call Builder.error 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 BetaTelemetryDestinationTestFailure.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("failure")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaTelemetryDestinationTestFailure.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaTelemetryDestinationTestFailure.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaTelemetryDestinationTestFailure.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaTelemetryDestinationTestFailure.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaTelemetryDestinationTestFailure.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaTelemetryDestinationTestFailure build()
Returns an immutable instance of BetaTelemetryDestinationTestFailure.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.error()
-
-
-
-