Class CredentialPermissions
java.lang.Object
org.springframework.credhub.support.CredentialPermissions
A collection of 
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.- Author:
 - Scott Frederick
 
- 
Constructor Summary
ConstructorsConstructorDescriptionCredentialPermissions(CredentialName credentialName, Permission... permissions) Create aCredentialPermissionsfrom the provided parameters. - 
Method Summary
Modifier and TypeMethodDescriptionbooleanGet the name of the credential that the permissions apply to.Get the collection ofPermissions.inthashCode()toString() 
- 
Constructor Details
- 
CredentialPermissions
Create aCredentialPermissionsfrom the provided parameters. Intended for internal use. Clients will getCredentialPermissionsobjects populated from CredHub responses.- Parameters:
 credentialName- the name of the credential that the permissions will apply topermissions- a collection ofPermissions
 
 - 
 - 
Method Details
- 
getCredentialName
Get the name of the credential that the permissions apply to.- Returns:
 - the credential name
 
 - 
getPermissions
Get the collection ofPermissions.- Returns:
 - the collection of 
Permissions 
 - 
equals
 - 
hashCode
public int hashCode() - 
toString
 
 -