Class CredHubRequest<T>

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

public class CredHubRequest<T> extends Object
Fields common to all types of CredHub requests.
Author:
Scott Frederick
  • Field Details

  • Constructor Details

    • CredHubRequest

      public CredHubRequest()
  • Method Details

    • getMode

      public WriteMode getMode()
      Get the value of the write mode indicator.
      Returns:
      the write mode
    • getName

      public String getName()
      Get the CredentialName of the credential.
      Returns:
      the name of the credential
    • getType

      public String getType()
      Get the CredentialType of the credential.
      Returns:
      the type of the credential
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object