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
Fields common to all types of CredHub requests.
- Author:
- Scott Frederick
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
CredHubRequest.CredHubRequestBuilder<T,
R extends CredHubRequest<T>, B extends CredHubRequest.CredHubRequestBuilder<T, R, B>> A builder that provides a fluent API for constructingCredHubRequest
s. -
Field Summary
Modifier and TypeFieldDescriptionprotected CredentialType
protected T
protected WriteMode
protected CredentialName
-
Constructor Summary
-
Method Summary
-
Field Details
-
mode
-
name
-
credentialType
-
details
-
-
Constructor Details
-
CredHubRequest
public CredHubRequest()
-
-
Method Details
-
getMode
Get the value of the write mode indicator.- Returns:
- the write mode
-
getName
Get theCredentialName
of the credential.- Returns:
- the name of the credential
-
getType
Get theCredentialType
of the credential.- Returns:
- the type of the credential
-
equals
-
hashCode
public int hashCode() -
toString
-