Class ExternalKeyValidateResponse.Builder
-
- All Implemented Interfaces:
public final class ExternalKeyValidateResponse.BuilderA builder for ExternalKeyValidateResponse.
-
-
Method Summary
-
-
Method Detail
-
error
final ExternalKeyValidateResponse.Builder error(String error)
Error message when status is
failure. Null otherwise.
-
error
final ExternalKeyValidateResponse.Builder error(Optional<String> error)
Alias for calling Builder.error with
error.orElse(null).
-
error
final ExternalKeyValidateResponse.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.
-
status
final ExternalKeyValidateResponse.Builder status(ExternalKeyValidateResponse.Status status)
success— encrypt/decrypt roundtrip succeeded.failure— the roundtrip failed or timed out; seeerror.
-
status
final ExternalKeyValidateResponse.Builder status(JsonField<ExternalKeyValidateResponse.Status> status)
Sets Builder.status to an arbitrary JSON value.
You should usually call Builder.status with a well-typed Status value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final ExternalKeyValidateResponse.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("external_key_validation")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ExternalKeyValidateResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ExternalKeyValidateResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ExternalKeyValidateResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ExternalKeyValidateResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ExternalKeyValidateResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ExternalKeyValidateResponse build()
Returns an immutable instance of ExternalKeyValidateResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.error() .status()
-
-
-
-