Interface KeyLastUsageData.Builder

  • Method Details

    • operation

      KeyLastUsageData.Builder operation(String operation)

      The last successful cryptographic operation the KMS key was used for. Absent if the key has not been used since KMS began tracking.

      Parameters:
      operation - The last successful cryptographic operation the KMS key was used for. Absent if the key has not been used since KMS began tracking.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • operation

      The last successful cryptographic operation the KMS key was used for. Absent if the key has not been used since KMS began tracking.

      Parameters:
      operation - The last successful cryptographic operation the KMS key was used for. Absent if the key has not been used since KMS began tracking.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • timestamp

      KeyLastUsageData.Builder timestamp(Instant timestamp)

      The date and time when the KMS key was most recently used for a successful cryptographic operation. Absent if the key has not been used since KMS began tracking.

      Parameters:
      timestamp - The date and time when the KMS key was most recently used for a successful cryptographic operation. Absent if the key has not been used since KMS began tracking.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cloudTrailEventId

      KeyLastUsageData.Builder cloudTrailEventId(String cloudTrailEventId)

      The CloudTrail eventId associated with the last successful cryptographic operation. Absent if the key has not been used since KMS began tracking.

      Parameters:
      cloudTrailEventId - The CloudTrail eventId associated with the last successful cryptographic operation. Absent if the key has not been used since KMS began tracking.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • kmsRequestId

      KeyLastUsageData.Builder kmsRequestId(String kmsRequestId)

      The KMS request ID associated with the last successful cryptographic operation. Absent if the key has not been used since KMS began tracking.

      Parameters:
      kmsRequestId - The KMS request ID associated with the last successful cryptographic operation. Absent if the key has not been used since KMS began tracking.
      Returns:
      Returns a reference to this object so that method calls can be chained together.