@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CredentialSummary extends Object implements Serializable, Cloneable, StructuredPojo
A record of a presented X509 credential from a temporary credential request.
Constructor and Description |
---|
CredentialSummary() |
Modifier and Type | Method and Description |
---|---|
CredentialSummary |
clone() |
boolean |
equals(Object obj) |
Boolean |
getEnabled()
Indicates whether the credential is enabled.
|
Boolean |
getFailed()
Indicates whether the temporary credential request was successful.
|
String |
getIssuer()
The fully qualified domain name of the issuing certificate for the presented end-entity certificate.
|
Date |
getSeenAt()
The ISO-8601 time stamp of when the certificate was last used in a temporary credential request.
|
String |
getSerialNumber()
The serial number of the certificate.
|
String |
getX509CertificateData()
The PEM-encoded data of the certificate.
|
int |
hashCode() |
Boolean |
isEnabled()
Indicates whether the credential is enabled.
|
Boolean |
isFailed()
Indicates whether the temporary credential request was successful.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEnabled(Boolean enabled)
Indicates whether the credential is enabled.
|
void |
setFailed(Boolean failed)
Indicates whether the temporary credential request was successful.
|
void |
setIssuer(String issuer)
The fully qualified domain name of the issuing certificate for the presented end-entity certificate.
|
void |
setSeenAt(Date seenAt)
The ISO-8601 time stamp of when the certificate was last used in a temporary credential request.
|
void |
setSerialNumber(String serialNumber)
The serial number of the certificate.
|
void |
setX509CertificateData(String x509CertificateData)
The PEM-encoded data of the certificate.
|
String |
toString()
Returns a string representation of this object.
|
CredentialSummary |
withEnabled(Boolean enabled)
Indicates whether the credential is enabled.
|
CredentialSummary |
withFailed(Boolean failed)
Indicates whether the temporary credential request was successful.
|
CredentialSummary |
withIssuer(String issuer)
The fully qualified domain name of the issuing certificate for the presented end-entity certificate.
|
CredentialSummary |
withSeenAt(Date seenAt)
The ISO-8601 time stamp of when the certificate was last used in a temporary credential request.
|
CredentialSummary |
withSerialNumber(String serialNumber)
The serial number of the certificate.
|
CredentialSummary |
withX509CertificateData(String x509CertificateData)
The PEM-encoded data of the certificate.
|
public void setEnabled(Boolean enabled)
Indicates whether the credential is enabled.
enabled
- Indicates whether the credential is enabled.public Boolean getEnabled()
Indicates whether the credential is enabled.
public CredentialSummary withEnabled(Boolean enabled)
Indicates whether the credential is enabled.
enabled
- Indicates whether the credential is enabled.public Boolean isEnabled()
Indicates whether the credential is enabled.
public void setFailed(Boolean failed)
Indicates whether the temporary credential request was successful.
failed
- Indicates whether the temporary credential request was successful.public Boolean getFailed()
Indicates whether the temporary credential request was successful.
public CredentialSummary withFailed(Boolean failed)
Indicates whether the temporary credential request was successful.
failed
- Indicates whether the temporary credential request was successful.public Boolean isFailed()
Indicates whether the temporary credential request was successful.
public void setIssuer(String issuer)
The fully qualified domain name of the issuing certificate for the presented end-entity certificate.
issuer
- The fully qualified domain name of the issuing certificate for the presented end-entity certificate.public String getIssuer()
The fully qualified domain name of the issuing certificate for the presented end-entity certificate.
public CredentialSummary withIssuer(String issuer)
The fully qualified domain name of the issuing certificate for the presented end-entity certificate.
issuer
- The fully qualified domain name of the issuing certificate for the presented end-entity certificate.public void setSeenAt(Date seenAt)
The ISO-8601 time stamp of when the certificate was last used in a temporary credential request.
seenAt
- The ISO-8601 time stamp of when the certificate was last used in a temporary credential request.public Date getSeenAt()
The ISO-8601 time stamp of when the certificate was last used in a temporary credential request.
public CredentialSummary withSeenAt(Date seenAt)
The ISO-8601 time stamp of when the certificate was last used in a temporary credential request.
seenAt
- The ISO-8601 time stamp of when the certificate was last used in a temporary credential request.public void setSerialNumber(String serialNumber)
The serial number of the certificate.
serialNumber
- The serial number of the certificate.public String getSerialNumber()
The serial number of the certificate.
public CredentialSummary withSerialNumber(String serialNumber)
The serial number of the certificate.
serialNumber
- The serial number of the certificate.public void setX509CertificateData(String x509CertificateData)
The PEM-encoded data of the certificate.
x509CertificateData
- The PEM-encoded data of the certificate.public String getX509CertificateData()
The PEM-encoded data of the certificate.
public CredentialSummary withX509CertificateData(String x509CertificateData)
The PEM-encoded data of the certificate.
x509CertificateData
- The PEM-encoded data of the certificate.public String toString()
toString
in class Object
Object.toString()
public CredentialSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.