Class ValueCredentialRequest.ValueCredentialRequestBuilder
java.lang.Object
org.springframework.credhub.support.CredHubRequest.CredHubRequestBuilder<ValueCredential,ValueCredentialRequest,ValueCredentialRequest.ValueCredentialRequestBuilder>
org.springframework.credhub.support.value.ValueCredentialRequest.ValueCredentialRequestBuilder
- Enclosing class:
- ValueCredentialRequest
public static class ValueCredentialRequest.ValueCredentialRequestBuilder
extends CredHubRequest.CredHubRequestBuilder<ValueCredential,ValueCredentialRequest,ValueCredentialRequest.ValueCredentialRequestBuilder>
A builder that provides a fluent API for constructing
ValueCredentialRequest
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 ValueCredentialRequest
Provide the concrete object to build.Set the value of a value credential.value
(ValueCredential value) Set the value of a value credential.Methods inherited from class org.springframework.credhub.support.CredHubRequest.CredHubRequestBuilder
build, mode, name
-
Constructor Details
-
ValueCredentialRequestBuilder
public ValueCredentialRequestBuilder()
-
-
Method Details
-
createTarget
Description copied from class:CredHubRequest.CredHubRequestBuilder
Provide the concrete object to build.- Specified by:
createTarget
in classCredHubRequest.CredHubRequestBuilder<ValueCredential,
ValueCredentialRequest, ValueCredentialRequest.ValueCredentialRequestBuilder> - Returns:
- the target object
-
createBuilder
Description copied from class:CredHubRequest.CredHubRequestBuilder
Provide the concrete builder.- Specified by:
createBuilder
in classCredHubRequest.CredHubRequestBuilder<ValueCredential,
ValueCredentialRequest, ValueCredentialRequest.ValueCredentialRequestBuilder> - Returns:
- the builder
-
value
Set the value of a value credential.- Parameters:
value
- the credential value; must not be null- Returns:
- the builder
-
value
Set the value of a value credential.- Parameters:
value
- the credential value; must not be null- Returns:
- the builder
-