Class GetEncryptionConfigurationResponse

    • Method Detail

      • kmsKeyId

        public final String kmsKeyId()

        The ID of the KMS key that is used for encryption.

        Returns:
        The ID of the KMS key that is used for encryption.
      • encryptionType

        public final EncryptionType encryptionType()

        The type of encryption. Set to KMS_BASED_ENCRYPTION to use a KMS key that you own and manage. Set to FLEETWISE_DEFAULT_ENCRYPTION to use an Amazon Web Services managed key that is owned by the Amazon Web Services IoT FleetWise service account.

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

        Returns:
        The type of encryption. Set to KMS_BASED_ENCRYPTION to use a KMS key that you own and manage. Set to FLEETWISE_DEFAULT_ENCRYPTION to use an Amazon Web Services managed key that is owned by the Amazon Web Services IoT FleetWise service account.
        See Also:
        EncryptionType
      • encryptionTypeAsString

        public final String encryptionTypeAsString()

        The type of encryption. Set to KMS_BASED_ENCRYPTION to use a KMS key that you own and manage. Set to FLEETWISE_DEFAULT_ENCRYPTION to use an Amazon Web Services managed key that is owned by the Amazon Web Services IoT FleetWise service account.

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

        Returns:
        The type of encryption. Set to KMS_BASED_ENCRYPTION to use a KMS key that you own and manage. Set to FLEETWISE_DEFAULT_ENCRYPTION to use an Amazon Web Services managed key that is owned by the Amazon Web Services IoT FleetWise service account.
        See Also:
        EncryptionType
      • errorMessage

        public final String errorMessage()

        The error message that describes why encryption settings couldn't be configured, if applicable.

        Returns:
        The error message that describes why encryption settings couldn't be configured, if applicable.
      • creationTime

        public final Instant creationTime()

        The time when encryption was configured in seconds since epoch (January 1, 1970 at midnight UTC time).

        Returns:
        The time when encryption was configured in seconds since epoch (January 1, 1970 at midnight UTC time).
      • lastModificationTime

        public final Instant lastModificationTime()

        The time when encryption was last updated in seconds since epoch (January 1, 1970 at midnight UTC time).

        Returns:
        The time when encryption was last updated in seconds since epoch (January 1, 1970 at midnight UTC time).
      • 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