Class ListedCertificate

    • Method Detail

      • arn

        public final String arn()

        The Amazon Resource Name (ARN) of the specified certificate.

        Returns:
        The Amazon Resource Name (ARN) of the specified certificate.
      • certificateId

        public final String certificateId()

        An array of identifiers for the imported certificates. You use this identifier for working with profiles and partner profiles.

        Returns:
        An array of identifiers for the imported certificates. You use this identifier for working with profiles and partner profiles.
      • usageAsString

        public final String usageAsString()

        Specifies whether this certificate is used for signing or encryption.

        If the service returns an enum value that is not available in the current SDK version, usage will return CertificateUsageType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from usageAsString().

        Returns:
        Specifies whether this certificate is used for signing or encryption.
        See Also:
        CertificateUsageType
      • status

        public final CertificateStatusType status()

        The certificate can be either ACTIVE, PENDING_ROTATION, or INACTIVE. PENDING_ROTATION means that this certificate will replace the current certificate when it expires.

        If the service returns an enum value that is not available in the current SDK version, status will return CertificateStatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

        Returns:
        The certificate can be either ACTIVE, PENDING_ROTATION, or INACTIVE. PENDING_ROTATION means that this certificate will replace the current certificate when it expires.
        See Also:
        CertificateStatusType
      • statusAsString

        public final String statusAsString()

        The certificate can be either ACTIVE, PENDING_ROTATION, or INACTIVE. PENDING_ROTATION means that this certificate will replace the current certificate when it expires.

        If the service returns an enum value that is not available in the current SDK version, status will return CertificateStatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

        Returns:
        The certificate can be either ACTIVE, PENDING_ROTATION, or INACTIVE. PENDING_ROTATION means that this certificate will replace the current certificate when it expires.
        See Also:
        CertificateStatusType
      • activeDate

        public final Instant activeDate()

        An optional date that specifies when the certificate becomes active.

        Returns:
        An optional date that specifies when the certificate becomes active.
      • inactiveDate

        public final Instant inactiveDate()

        An optional date that specifies when the certificate becomes inactive.

        Returns:
        An optional date that specifies when the certificate becomes inactive.
      • type

        public final CertificateType type()

        The type for the certificate. If a private key has been specified for the certificate, its type is CERTIFICATE_WITH_PRIVATE_KEY. If there is no private key, the type is CERTIFICATE.

        If the service returns an enum value that is not available in the current SDK version, type will return CertificateType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from typeAsString().

        Returns:
        The type for the certificate. If a private key has been specified for the certificate, its type is CERTIFICATE_WITH_PRIVATE_KEY. If there is no private key, the type is CERTIFICATE.
        See Also:
        CertificateType
      • typeAsString

        public final String typeAsString()

        The type for the certificate. If a private key has been specified for the certificate, its type is CERTIFICATE_WITH_PRIVATE_KEY. If there is no private key, the type is CERTIFICATE.

        If the service returns an enum value that is not available in the current SDK version, type will return CertificateType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from typeAsString().

        Returns:
        The type for the certificate. If a private key has been specified for the certificate, its type is CERTIFICATE_WITH_PRIVATE_KEY. If there is no private key, the type is CERTIFICATE.
        See Also:
        CertificateType
      • description

        public final String description()

        The name or short description that's used to identify the certificate.

        Returns:
        The name or short description that's used to identify the certificate.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)