Interface ImportApiKeysRequest.Builder

    • Method Detail

      • body

        ImportApiKeysRequest.Builder body​(SdkBytes body)

        The payload of the POST request to import API keys. For the payload format, see API Key File Format.

        Parameters:
        body - The payload of the POST request to import API keys. For the payload format, see API Key File Format.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • format

        ImportApiKeysRequest.Builder format​(String format)

        A query parameter to specify the input format to imported API keys. Currently, only the csv format is supported.

        Parameters:
        format - A query parameter to specify the input format to imported API keys. Currently, only the csv format is supported.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ApiKeysFormat, ApiKeysFormat
      • format

        ImportApiKeysRequest.Builder format​(ApiKeysFormat format)

        A query parameter to specify the input format to imported API keys. Currently, only the csv format is supported.

        Parameters:
        format - A query parameter to specify the input format to imported API keys. Currently, only the csv format is supported.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ApiKeysFormat, ApiKeysFormat
      • failOnWarnings

        ImportApiKeysRequest.Builder failOnWarnings​(Boolean failOnWarnings)

        A query parameter to indicate whether to rollback ApiKey importation (true) or not ( false) when error is encountered.

        Parameters:
        failOnWarnings - A query parameter to indicate whether to rollback ApiKey importation (true) or not ( false) when error is encountered.
        Returns:
        Returns a reference to this object so that method calls can be chained together.