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