@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 to CreateSession.
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 CreateSession
operation 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 CreateSession
operation.
|
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 CreateSession
operation 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 CreateSession
operation 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 CreateSession
operation.
|
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 CreateSession
operation 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 CreateSession
operation.
|
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 CreateSession operation was successful.
failed
- Indicates whether the CreateSession operation was successful.public Boolean getFailed()
Indicates whether the CreateSession operation was successful.
public CredentialSummary withFailed(Boolean failed)
Indicates whether the CreateSession operation was successful.
failed
- Indicates whether the CreateSession operation was successful.public Boolean isFailed()
Indicates whether the CreateSession operation 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 CreateSession operation.
seenAt
- The ISO-8601 time stamp of when the certificate was last used in a CreateSession operation.public Date getSeenAt()
The ISO-8601 time stamp of when the certificate was last used in a CreateSession operation.
public CredentialSummary withSeenAt(Date seenAt)
The ISO-8601 time stamp of when the certificate was last used in a CreateSession operation.
seenAt
- The ISO-8601 time stamp of when the certificate was last used in a CreateSession operation.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.