Class Certificate
- java.lang.Object
-
- software.amazon.awssdk.services.workspacesweb.model.Certificate
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Certificate.Builder,Certificate>
@Generated("software.amazon.awssdk:codegen") public final class Certificate extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Certificate.Builder,Certificate>
The certificate.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCertificate.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SdkBytesbody()The body of the certificate.static Certificate.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringissuer()The entity that issued the certificate.InstantnotValidAfter()The certificate is not valid after this date.InstantnotValidBefore()The certificate is not valid before this date.List<SdkField<?>>sdkFields()static Class<? extends Certificate.Builder>serializableBuilderClass()Stringsubject()The entity the certificate belongs to.Stringthumbprint()A hexadecimal identifier for the certificate.Certificate.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
body
public final SdkBytes body()
The body of the certificate.
- Returns:
- The body of the certificate.
-
issuer
public final String issuer()
The entity that issued the certificate.
- Returns:
- The entity that issued the certificate.
-
notValidAfter
public final Instant notValidAfter()
The certificate is not valid after this date.
- Returns:
- The certificate is not valid after this date.
-
notValidBefore
public final Instant notValidBefore()
The certificate is not valid before this date.
- Returns:
- The certificate is not valid before this date.
-
subject
public final String subject()
The entity the certificate belongs to.
- Returns:
- The entity the certificate belongs to.
-
thumbprint
public final String thumbprint()
A hexadecimal identifier for the certificate.
- Returns:
- A hexadecimal identifier for the certificate.
-
toBuilder
public Certificate.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Certificate.Builder,Certificate>
-
builder
public static Certificate.Builder builder()
-
serializableBuilderClass
public static Class<? extends Certificate.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.
-
-