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 interface
CredentialSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CredentialSummary.Builder
builder()
Boolean
enabled()
Indicates whether the credential is enabled.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
Boolean
failed()
Indicates whether the temporary credential request was successful.<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
issuer()
The fully qualified domain name of the issuing certificate for the presented end-entity certificate.List<SdkField<?>>
sdkFields()
Instant
seenAt()
The ISO-8601 time stamp of when the certificate was last used in a temporary credential request.static Class<? extends CredentialSummary.Builder>
serializableBuilderClass()
String
serialNumber()
The serial number of the certificate.CredentialSummary.Builder
toBuilder()
String
toString()
Returns a string representation of this object.String
x509CertificateData()
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:
toBuilder
in 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:
equalsBySdkFields
in 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.
-
-