public class CredentialSummary
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected CredentialName |
name |
protected java.util.Date |
versionCreatedAt |
| Constructor and Description |
|---|
CredentialSummary(CredentialName name)
Create a
CredentialSummary from the provided parameters. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
CredentialName |
getName()
Get the client-provided name of the credential.
|
java.util.Date |
getVersionCreatedAt()
Get the CredHub-generated
Date when this version of the credential was created. |
int |
hashCode() |
java.lang.String |
toString() |
protected final CredentialName name
protected final java.util.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 java.util.Date getVersionCreatedAt()
Date when this version of the credential was created.Datepublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object