@Generated(value="software.amazon.awssdk:codegen") public final class SigningCertificate extends Object implements 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 actions.
Modifier and Type | Class and Description |
---|---|
static interface |
SigningCertificate.Builder |
Modifier and Type | Method and Description |
---|---|
static SigningCertificate.Builder |
builder() |
String |
certificateBody()
The contents of the signing certificate.
|
String |
certificateId()
The ID for the signing certificate.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
static Class<? extends SigningCertificate.Builder> |
serializableBuilderClass() |
StatusType |
status()
The status of the signing certificate.
|
String |
statusAsString()
The status of the signing certificate.
|
SigningCertificate.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
Instant |
uploadDate()
The date when the signing certificate was uploaded.
|
String |
userName()
The name of the user the signing certificate is associated with.
|
copy
public String userName()
The name of the user the signing certificate is associated with.
public String certificateId()
The ID for the signing certificate.
public String certificateBody()
The contents of the signing certificate.
public StatusType status()
The status of the signing certificate. Active
means the key is valid for API calls, while
Inactive
means it is not.
If the service returns an enum value that is not available in the current SDK version, status
will
return StatusType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusAsString()
.
Active
means the key is valid for API calls, while
Inactive
means it is not.StatusType
public String statusAsString()
The status of the signing certificate. Active
means the key is valid for API calls, while
Inactive
means it is not.
If the service returns an enum value that is not available in the current SDK version, status
will
return StatusType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusAsString()
.
Active
means the key is valid for API calls, while
Inactive
means it is not.StatusType
public Instant uploadDate()
The date when the signing certificate was uploaded.
public SigningCertificate.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<SigningCertificate.Builder,SigningCertificate>
public static SigningCertificate.Builder builder()
public static Class<? extends SigningCertificate.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.