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