public class CredentialSummary extends Object
Modifier and Type | Field and Description |
---|---|
protected CredentialName |
name |
protected Date |
versionCreatedAt |
Constructor and Description |
---|
CredentialSummary(CredentialName name)
Create a
CredentialSummary from the provided parameters. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
CredentialName |
getName()
Get the client-provided name of the credential.
|
Date |
getVersionCreatedAt()
Get the CredHub-generated
Date when this version of the credential was
created. |
int |
hashCode() |
String |
toString() |
protected final CredentialName name
protected final Date versionCreatedAt
public CredentialSummary(CredentialName name)
CredentialSummary
from the provided parameters. Intended for
internal use. Clients will get CredentialSummary
objects populated from
CredHub responses.name
- the name of the credentialpublic CredentialName getName()
public Date getVersionCreatedAt()
Date
when this version of the credential was
created.Date