Class ServerCertificateMetadata
- java.lang.Object
-
- software.amazon.awssdk.services.iam.model.ServerCertificateMetadata
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ServerCertificateMetadata.Builder,ServerCertificateMetadata>
@Generated("software.amazon.awssdk:codegen") public final class ServerCertificateMetadata extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ServerCertificateMetadata.Builder,ServerCertificateMetadata>
Contains information about a server certificate without its certificate body, certificate chain, and private key.
This data type is used as a response element in the UploadServerCertificate and ListServerCertificates operations.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceServerCertificateMetadata.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The Amazon Resource Name (ARN) specifying the server certificate.static ServerCertificateMetadata.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Instantexpiration()The date on which the certificate is set to expire.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringpath()The path to the server certificate.List<SdkField<?>>sdkFields()static Class<? extends ServerCertificateMetadata.Builder>serializableBuilderClass()StringserverCertificateId()The stable and unique string identifying the server certificate.StringserverCertificateName()The name that identifies the server certificate.ServerCertificateMetadata.BuildertoBuilder()StringtoString()Returns a string representation of this object.InstantuploadDate()The date when the server certificate was uploaded.-
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
-
path
public final String path()
The path to the server certificate. For more information about paths, see IAM identifiers in the IAM User Guide.
- Returns:
- The path to the server certificate. For more information about paths, see IAM identifiers in the IAM User Guide.
-
serverCertificateName
public final String serverCertificateName()
The name that identifies the server certificate.
- Returns:
- The name that identifies the server certificate.
-
serverCertificateId
public final String serverCertificateId()
The stable and unique string identifying the server certificate. For more information about IDs, see IAM identifiers in the IAM User Guide.
- Returns:
- The stable and unique string identifying the server certificate. For more information about IDs, see IAM identifiers in the IAM User Guide.
-
arn
public final String arn()
The Amazon Resource Name (ARN) specifying the server certificate. For more information about ARNs and how to use them in policies, see IAM identifiers in the IAM User Guide.
- Returns:
- The Amazon Resource Name (ARN) specifying the server certificate. For more information about ARNs and how to use them in policies, see IAM identifiers in the IAM User Guide.
-
uploadDate
public final Instant uploadDate()
The date when the server certificate was uploaded.
- Returns:
- The date when the server certificate was uploaded.
-
expiration
public final Instant expiration()
The date on which the certificate is set to expire.
- Returns:
- The date on which the certificate is set to expire.
-
toBuilder
public ServerCertificateMetadata.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ServerCertificateMetadata.Builder,ServerCertificateMetadata>
-
builder
public static ServerCertificateMetadata.Builder builder()
-
serializableBuilderClass
public static Class<? extends ServerCertificateMetadata.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.
-
-