Class PublicKey
- java.lang.Object
-
- software.amazon.awssdk.services.cloudtrail.model.PublicKey
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PublicKey.Builder,PublicKey>
@Generated("software.amazon.awssdk:codegen") public final class PublicKey extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PublicKey.Builder,PublicKey>
Contains information about a returned public key.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePublicKey.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PublicKey.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Stringfingerprint()The fingerprint of the public key.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends PublicKey.Builder>serializableBuilderClass()PublicKey.BuildertoBuilder()StringtoString()Returns a string representation of this object.InstantvalidityEndTime()The ending time of validity of the public key.InstantvalidityStartTime()The starting time of validity of the public key.SdkBytesvalue()The DER encoded public key value in PKCS#1 format.-
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
-
value
public final SdkBytes value()
The DER encoded public key value in PKCS#1 format.
- Returns:
- The DER encoded public key value in PKCS#1 format.
-
validityStartTime
public final Instant validityStartTime()
The starting time of validity of the public key.
- Returns:
- The starting time of validity of the public key.
-
validityEndTime
public final Instant validityEndTime()
The ending time of validity of the public key.
- Returns:
- The ending time of validity of the public key.
-
fingerprint
public final String fingerprint()
The fingerprint of the public key.
- Returns:
- The fingerprint of the public key.
-
toBuilder
public PublicKey.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PublicKey.Builder,PublicKey>
-
builder
public static PublicKey.Builder builder()
-
serializableBuilderClass
public static Class<? extends PublicKey.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.
-
-