Class ParametersRequest<T>

java.lang.Object
org.springframework.credhub.support.CredHubRequest<T>
org.springframework.credhub.support.ParametersRequest<T>
Type Parameters:
T - the type of CredHub credential
Direct Known Subclasses:
CertificateParametersRequest, PasswordParametersRequest, RsaParametersRequest, SshParametersRequest, UserParametersRequest

public class ParametersRequest<T> extends CredHubRequest<T>
The details of a request to generate a credential in CredHub.
Author:
Scott Frederick
  • Constructor Details

    • ParametersRequest

      protected ParametersRequest(CredentialType type)
      Initialize a ParametersRequest.
      Parameters:
      type - the type of credential this request supports
  • Method Details

    • getParameters

      public T getParameters()
      Get the parameters of the credential.
      Returns:
      the parameters of the credential
    • setParameters

      protected void setParameters(T parameters)