Interface GetApiKeyResponse.Builder

  • Method Details

    • apiKey

      The value of the API key. The key value is a credential. Store it securely and don't log it.

      Parameters:
      apiKey - The value of the API key. The key value is a credential. Store it securely and don't log it.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • apiKeyId

      GetApiKeyResponse.Builder apiKeyId(String apiKeyId)

      The ID of the API key. Use the ID to identify the key when you list or revoke keys.

      Parameters:
      apiKeyId - The ID of the API key. Use the ID to identify the key when you list or revoke keys.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      GetApiKeyResponse.Builder createdAt(Instant createdAt)

      The time at which the API key was created. The value is in ISO-8601 format.

      Parameters:
      createdAt - The time at which the API key was created. The value is in ISO-8601 format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The status of the API key.

      Parameters:
      status - The status of the API key.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the API key.

      Parameters:
      status - The status of the API key.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • updatedAt

      GetApiKeyResponse.Builder updatedAt(Instant updatedAt)

      The time at which the API key was last updated. The value is in ISO-8601 format. For a key that was never updated, this is the same as the creation time.

      Parameters:
      updatedAt - The time at which the API key was last updated. The value is in ISO-8601 format. For a key that was never updated, this is the same as the creation time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.