Class CACertificateDescription

    • Method Detail

      • certificateArn

        public final String certificateArn()

        The CA certificate ARN.

        Returns:
        The CA certificate ARN.
      • certificateId

        public final String certificateId()

        The CA certificate ID.

        Returns:
        The CA certificate ID.
      • certificatePem

        public final String certificatePem()

        The CA certificate data, in PEM format.

        Returns:
        The CA certificate data, in PEM format.
      • ownedBy

        public final String ownedBy()

        The owner of the CA certificate.

        Returns:
        The owner of the CA certificate.
      • creationDate

        public final Instant creationDate()

        The date the CA certificate was created.

        Returns:
        The date the CA certificate was created.
      • autoRegistrationStatusAsString

        public final String autoRegistrationStatusAsString()

        Whether the CA certificate configured for auto registration of device certificates. Valid values are "ENABLE" and "DISABLE"

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

        Returns:
        Whether the CA certificate configured for auto registration of device certificates. Valid values are "ENABLE" and "DISABLE"
        See Also:
        AutoRegistrationStatus
      • lastModifiedDate

        public final Instant lastModifiedDate()

        The date the CA certificate was last modified.

        Returns:
        The date the CA certificate was last modified.
      • customerVersion

        public final Integer customerVersion()

        The customer version of the CA certificate.

        Returns:
        The customer version of the CA certificate.
      • generationId

        public final String generationId()

        The generation ID of the CA certificate.

        Returns:
        The generation ID of the CA certificate.
      • validity

        public final CertificateValidity validity()

        When the CA certificate is valid.

        Returns:
        When the CA certificate is valid.
      • certificateMode

        public final CertificateMode certificateMode()

        The mode of the CA.

        All the device certificates that are registered using this CA will be registered in the same mode as the CA. For more information about certificate mode for device certificates, see certificate mode.

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

        Returns:
        The mode of the CA.

        All the device certificates that are registered using this CA will be registered in the same mode as the CA. For more information about certificate mode for device certificates, see certificate mode.

        See Also:
        CertificateMode
      • certificateModeAsString

        public final String certificateModeAsString()

        The mode of the CA.

        All the device certificates that are registered using this CA will be registered in the same mode as the CA. For more information about certificate mode for device certificates, see certificate mode.

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

        Returns:
        The mode of the CA.

        All the device certificates that are registered using this CA will be registered in the same mode as the CA. For more information about certificate mode for device certificates, see certificate mode.

        See Also:
        CertificateMode
      • 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)