Class Certificate
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<Certificate.Builder,
Certificate>
A CA certificate for an Amazon Web Services account.
For more information, see Using SSL/TLS to encrypt a connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS to encrypt a connection to a DB cluster in the Amazon Aurora User Guide.
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Certificate.Builder
builder()
final String
The Amazon Resource Name (ARN) for the certificate.final String
The unique key that identifies a certificate.final String
The type of the certificate.final Boolean
Indicates whether there is an override for the default certificate identifier.final Instant
If there is an override for the default certificate identifier, when the override expires.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
static Class
<? extends Certificate.Builder> final String
The thumbprint of the certificate.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final Instant
The starting date from which the certificate is valid.final Instant
The final date that the certificate continues to be valid.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
certificateIdentifier
The unique key that identifies a certificate.
- Returns:
- The unique key that identifies a certificate.
-
certificateType
The type of the certificate.
- Returns:
- The type of the certificate.
-
thumbprint
The thumbprint of the certificate.
- Returns:
- The thumbprint of the certificate.
-
validFrom
The starting date from which the certificate is valid.
- Returns:
- The starting date from which the certificate is valid.
-
validTill
The final date that the certificate continues to be valid.
- Returns:
- The final date that the certificate continues to be valid.
-
certificateArn
The Amazon Resource Name (ARN) for the certificate.
- Returns:
- The Amazon Resource Name (ARN) for the certificate.
-
customerOverride
Indicates whether there is an override for the default certificate identifier.
- Returns:
- Indicates whether there is an override for the default certificate identifier.
-
customerOverrideValidTill
If there is an override for the default certificate identifier, when the override expires.
- Returns:
- If there is an override for the default certificate identifier, when the override expires.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<Certificate.Builder,
Certificate> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
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. -
getValueForField
-
sdkFields
-