Class SigningCertificate
- java.lang.Object
-
- software.amazon.awssdk.services.iam.model.SigningCertificate
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SigningCertificate.Builder,SigningCertificate>
@Generated("software.amazon.awssdk:codegen") public final class SigningCertificate extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SigningCertificate.Builder,SigningCertificate>
Contains information about an X.509 signing certificate.
This data type is used as a response element in the UploadSigningCertificate and ListSigningCertificates operations.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSigningCertificate.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SigningCertificate.Builderbuilder()StringcertificateBody()The contents of the signing certificate.StringcertificateId()The ID for the signing certificate.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends SigningCertificate.Builder>serializableBuilderClass()StatusTypestatus()The status of the signing certificate.StringstatusAsString()The status of the signing certificate.SigningCertificate.BuildertoBuilder()StringtoString()Returns a string representation of this object.InstantuploadDate()The date when the signing certificate was uploaded.StringuserName()The name of the user the signing certificate is associated with.-
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
-
userName
public final String userName()
The name of the user the signing certificate is associated with.
- Returns:
- The name of the user the signing certificate is associated with.
-
certificateId
public final String certificateId()
The ID for the signing certificate.
- Returns:
- The ID for the signing certificate.
-
certificateBody
public final String certificateBody()
The contents of the signing certificate.
- Returns:
- The contents of the signing certificate.
-
status
public final StatusType status()
The status of the signing certificate.
Activemeans that the key is valid for API calls, whileInactivemeans it is not.If the service returns an enum value that is not available in the current SDK version,
statuswill returnStatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the signing certificate.
Activemeans that the key is valid for API calls, whileInactivemeans it is not. - See Also:
StatusType
-
statusAsString
public final String statusAsString()
The status of the signing certificate.
Activemeans that the key is valid for API calls, whileInactivemeans it is not.If the service returns an enum value that is not available in the current SDK version,
statuswill returnStatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the signing certificate.
Activemeans that the key is valid for API calls, whileInactivemeans it is not. - See Also:
StatusType
-
uploadDate
public final Instant uploadDate()
The date when the signing certificate was uploaded.
- Returns:
- The date when the signing certificate was uploaded.
-
toBuilder
public SigningCertificate.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SigningCertificate.Builder,SigningCertificate>
-
builder
public static SigningCertificate.Builder builder()
-
serializableBuilderClass
public static Class<? extends SigningCertificate.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.
-
-