Interface ApiKey.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ApiKey.Builder,ApiKey>, SdkBuilder<ApiKey.Builder,ApiKey>, SdkPojo
Enclosing class:
ApiKey

public static interface ApiKey.Builder extends SdkPojo, CopyableBuilder<ApiKey.Builder,ApiKey>
  • Method Details

    • id

      The API key ID.

      Parameters:
      id - The API key ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      ApiKey.Builder description(String description)

      A description of the purpose of the API key.

      Parameters:
      description - A description of the purpose of the API key.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expires

      ApiKey.Builder expires(Long expires)

      The time after which the API key expires. The date is represented as seconds since the epoch, rounded down to the nearest hour.

      Parameters:
      expires - The time after which the API key expires. The date is represented as seconds since the epoch, rounded down to the nearest hour.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deletes

      ApiKey.Builder deletes(Long deletes)

      The time after which the API key is deleted. The date is represented as seconds since the epoch, rounded down to the nearest hour.

      Parameters:
      deletes - The time after which the API key is deleted. The date is represented as seconds since the epoch, rounded down to the nearest hour.
      Returns:
      Returns a reference to this object so that method calls can be chained together.