Class CredentialSummary
- java.lang.Object
-
- software.amazon.awssdk.services.rolesanywhere.model.CredentialSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CredentialSummary.Builder,CredentialSummary>
@Generated("software.amazon.awssdk:codegen") public final class CredentialSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CredentialSummary.Builder,CredentialSummary>
A record of a presented X509 credential from a temporary credential request.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCredentialSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CredentialSummary.Builderbuilder()Booleanenabled()Indicates whether the credential is enabled.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Booleanfailed()Indicates whether the temporary credential request was successful.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringissuer()The fully qualified domain name of the issuing certificate for the presented end-entity certificate.List<SdkField<?>>sdkFields()InstantseenAt()The ISO-8601 time stamp of when the certificate was last used in a temporary credential request.static Class<? extends CredentialSummary.Builder>serializableBuilderClass()StringserialNumber()The serial number of the certificate.CredentialSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringx509CertificateData()The PEM-encoded data of the certificate.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
enabled
public final Boolean enabled()
Indicates whether the credential is enabled.
- Returns:
- Indicates whether the credential is enabled.
-
failed
public final Boolean failed()
Indicates whether the temporary credential request was successful.
- Returns:
- Indicates whether the temporary credential request was successful.
-
issuer
public final String issuer()
The fully qualified domain name of the issuing certificate for the presented end-entity certificate.
- Returns:
- The fully qualified domain name of the issuing certificate for the presented end-entity certificate.
-
seenAt
public final Instant seenAt()
The ISO-8601 time stamp of when the certificate was last used in a temporary credential request.
- Returns:
- The ISO-8601 time stamp of when the certificate was last used in a temporary credential request.
-
serialNumber
public final String serialNumber()
The serial number of the certificate.
- Returns:
- The serial number of the certificate.
-
x509CertificateData
public final String x509CertificateData()
The PEM-encoded data of the certificate.
- Returns:
- The PEM-encoded data of the certificate.
-
toBuilder
public CredentialSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CredentialSummary.Builder,CredentialSummary>
-
builder
public static CredentialSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends CredentialSummary.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-