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