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 identifier of the API Key.

      Parameters:
      id - The identifier of the API Key.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • value

      ApiKey.Builder value(String value)

      The value of the API Key.

      Parameters:
      value - The value of the API Key.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      ApiKey.Builder name(String name)

      The name of the API Key.

      Parameters:
      name - The name of the API Key.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • customerId

      ApiKey.Builder customerId(String customerId)

      An Amazon Web Services Marketplace customer identifier, when integrating with the Amazon Web Services SaaS Marketplace.

      Parameters:
      customerId - An Amazon Web Services Marketplace customer identifier, when integrating with the Amazon Web Services SaaS Marketplace.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      ApiKey.Builder description(String description)

      The description of the API Key.

      Parameters:
      description - The description of the API Key.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • enabled

      ApiKey.Builder enabled(Boolean enabled)

      Specifies whether the API Key can be used by callers.

      Parameters:
      enabled - Specifies whether the API Key can be used by callers.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdDate

      ApiKey.Builder createdDate(Instant createdDate)

      The timestamp when the API Key was created.

      Parameters:
      createdDate - The timestamp when the API Key was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedDate

      ApiKey.Builder lastUpdatedDate(Instant lastUpdatedDate)

      The timestamp when the API Key was last updated.

      Parameters:
      lastUpdatedDate - The timestamp when the API Key was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stageKeys

      ApiKey.Builder stageKeys(Collection<String> stageKeys)

      A list of Stage resources that are associated with the ApiKey resource.

      Parameters:
      stageKeys - A list of Stage resources that are associated with the ApiKey resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stageKeys

      ApiKey.Builder stageKeys(String... stageKeys)

      A list of Stage resources that are associated with the ApiKey resource.

      Parameters:
      stageKeys - A list of Stage resources that are associated with the ApiKey resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The collection of tags. Each tag element is associated with a given resource.

      Parameters:
      tags - The collection of tags. Each tag element is associated with a given resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.