Class JsonCredentialRequest.JsonCredentialRequestBuilder
java.lang.Object
org.springframework.credhub.support.CredHubRequest.CredHubRequestBuilder<JsonCredential,JsonCredentialRequest,JsonCredentialRequest.JsonCredentialRequestBuilder>
org.springframework.credhub.support.json.JsonCredentialRequest.JsonCredentialRequestBuilder
- Enclosing class:
- JsonCredentialRequest
public static class JsonCredentialRequest.JsonCredentialRequestBuilder
extends CredHubRequest.CredHubRequestBuilder<JsonCredential,JsonCredentialRequest,JsonCredentialRequest.JsonCredentialRequestBuilder>
A builder that provides a fluent API for constructing
JsonCredentialRequest
s.-
Field Summary
Fields inherited from class org.springframework.credhub.support.CredHubRequest.CredHubRequestBuilder
targetObj
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionProvide the concrete builder.protected JsonCredentialRequest
Provide the concrete object to build.value
(JsonCredential value) Set the value of a JSON credential.Methods inherited from class org.springframework.credhub.support.CredHubRequest.CredHubRequestBuilder
build, mode, name
-
Constructor Details
-
JsonCredentialRequestBuilder
public JsonCredentialRequestBuilder()
-
-
Method Details
-
createTarget
Description copied from class:CredHubRequest.CredHubRequestBuilder
Provide the concrete object to build.- Specified by:
createTarget
in classCredHubRequest.CredHubRequestBuilder<JsonCredential,
JsonCredentialRequest, JsonCredentialRequest.JsonCredentialRequestBuilder> - Returns:
- the target object
-
createBuilder
Description copied from class:CredHubRequest.CredHubRequestBuilder
Provide the concrete builder.- Specified by:
createBuilder
in classCredHubRequest.CredHubRequestBuilder<JsonCredential,
JsonCredentialRequest, JsonCredentialRequest.JsonCredentialRequestBuilder> - Returns:
- the builder
-
value
Set the value of a JSON credential.- Parameters:
value
- the credential value; must not be null- Returns:
- the builder
-
value
-