public class CredHubRequest<T>
extends java.lang.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 java.util.List<Permission> |
additionalPermissions |
protected CredentialType |
credentialType |
protected T |
details |
protected WriteMode |
mode |
protected CredentialName |
name |
protected java.lang.Boolean |
overwrite |
Constructor and Description |
---|
CredHubRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.util.List<Permission> |
getAdditionalPermissions()
Get the set of
Permission to assign to the credential. |
WriteMode |
getMode()
Get the value of the write mode indicator.
|
java.lang.String |
getName()
Get the
CredentialName of the credential. |
java.lang.String |
getType()
Get the
CredentialType of the credential. |
int |
hashCode() |
java.lang.Boolean |
isOverwrite()
Deprecated.
as of CredHub 1.6, use
mode |
java.lang.String |
toString() |
protected java.lang.Boolean overwrite
protected WriteMode mode
protected CredentialName name
protected CredentialType credentialType
protected java.util.List<Permission> additionalPermissions
protected T details
public java.lang.Boolean isOverwrite()
mode
public WriteMode getMode()
public java.lang.String getName()
CredentialName
of the credential.public java.lang.String getType()
CredentialType
of the credential.public java.util.List<Permission> getAdditionalPermissions()
Permission
to assign to the credential.Permission
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object