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