public class CredentialPermissions extends Object
Permissions associated with a credential. Clients don't
typically instantiate objects of this type, but will receive them in response to write
and retrieve requests.| Constructor and Description |
|---|
CredentialPermissions(CredentialName credentialName,
Permission... permissions)
Create a
CredentialPermissions from the provided parameters. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getCredentialName()
Get the name of the credential that the permissions apply to.
|
List<Permission> |
getPermissions()
Get the collection of
Permissions. |
int |
hashCode() |
String |
toString() |
public CredentialPermissions(CredentialName credentialName, Permission... permissions)
CredentialPermissions from the provided parameters. Intended for
internal use. Clients will get CredentialPermissions objects populated from
CredHub responses.credentialName - the name of the credential that the permissions will apply topermissions - a collection of Permissionspublic String getCredentialName()
public List<Permission> getPermissions()
Permissions.Permissions