public class CredHubRequest<T> extends Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
CredHubRequest.CredHubRequestBuilder<T,R extends CredHubRequest<T>,B extends CredHubRequest.CredHubRequestBuilder<T,R,B>>
A builder that provides a fluent API for constructing
CredHubRequests. |
| Modifier and Type | Field and Description |
|---|---|
protected List<Permission> |
additionalPermissions |
protected CredentialType |
credentialType |
protected T |
details |
protected WriteMode |
mode |
protected CredentialName |
name |
protected Boolean |
overwrite |
| Constructor and Description |
|---|
CredHubRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
List<Permission> |
getAdditionalPermissions()
Get the set of
Permission to assign to the credential. |
WriteMode |
getMode()
Get the value of the write mode indicator.
|
String |
getName()
Get the
CredentialName of the credential. |
String |
getType()
Get the
CredentialType of the credential. |
int |
hashCode() |
Boolean |
isOverwrite()
Deprecated.
as of CredHub 1.6, use
mode |
String |
toString() |
protected Boolean overwrite
protected WriteMode mode
protected CredentialName name
protected CredentialType credentialType
protected List<Permission> additionalPermissions
protected T details
public Boolean isOverwrite()
modepublic WriteMode getMode()
public String getName()
CredentialName of the credential.public String getType()
CredentialType of the credential.public List<Permission> getAdditionalPermissions()
Permission to assign to the credential.Permission