Interface GetEncryptionConfigurationResponse.Builder

    • Method Detail

      • kmsKeyId

        GetEncryptionConfigurationResponse.Builder kmsKeyId​(String kmsKeyId)

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

        Parameters:
        kmsKeyId - The ID of the KMS key that is used for encryption.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • encryptionType

        GetEncryptionConfigurationResponse.Builder encryptionType​(String 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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        EncryptionType, EncryptionType
      • encryptionType

        GetEncryptionConfigurationResponse.Builder encryptionType​(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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        EncryptionType, EncryptionType
      • errorMessage

        GetEncryptionConfigurationResponse.Builder errorMessage​(String errorMessage)

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

        Parameters:
        errorMessage - The error message that describes why encryption settings couldn't be configured, if applicable.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationTime

        GetEncryptionConfigurationResponse.Builder creationTime​(Instant creationTime)

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

        Parameters:
        creationTime - The time when encryption was configured in seconds since epoch (January 1, 1970 at midnight UTC time).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastModificationTime

        GetEncryptionConfigurationResponse.Builder lastModificationTime​(Instant lastModificationTime)

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

        Parameters:
        lastModificationTime - The time when encryption was last updated in seconds since epoch (January 1, 1970 at midnight UTC time).
        Returns:
        Returns a reference to this object so that method calls can be chained together.