public class CertificateSummary
extends java.lang.Object
Constructor and Description |
---|
CertificateSummary(java.lang.String id,
java.lang.String name)
Create a
CertificateSummary from the provided parameters. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getId()
Get the CredHub-generated ID of the certificate credential.
|
java.lang.String |
getName()
Get the client-provided name of the certificate credential.
|
int |
hashCode() |
java.lang.String |
toString() |
public CertificateSummary(java.lang.String id, java.lang.String name)
CertificateSummary
from the provided parameters. Intended for
internal use. Clients will get CertificateSummary
objects populated from
CredHub responses.id
- the ID of the certificate credentialname
- the name of the certificate credentialpublic java.lang.String getId()
public java.lang.String getName()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object