T
- the type of CredHub credentialpublic 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
CredHubRequest s. |
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()
mode
public 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