Interface UpdateApiKeyResponse.Builder

    • Method Detail

      • id

        UpdateApiKeyResponse.Builder id​(String 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

        UpdateApiKeyResponse.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

        UpdateApiKeyResponse.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

        UpdateApiKeyResponse.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

        UpdateApiKeyResponse.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

        UpdateApiKeyResponse.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

        UpdateApiKeyResponse.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

        UpdateApiKeyResponse.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

        UpdateApiKeyResponse.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

        UpdateApiKeyResponse.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

        UpdateApiKeyResponse.Builder tags​(Map<String,​String> 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.