Interface GetConfigurationResponse.Builder

    • Method Detail

      • content

        GetConfigurationResponse.Builder content​(SdkBytes content)

        The content of the configuration or the configuration data.

        The Content attribute only contains data if the system finds new or updated configuration data. If there is no new or updated data and ClientConfigurationVersion matches the version of the current configuration, AppConfig returns a 204 No Content HTTP response code and the Content value will be empty.

        Parameters:
        content - The content of the configuration or the configuration data.

        The Content attribute only contains data if the system finds new or updated configuration data. If there is no new or updated data and ClientConfigurationVersion matches the version of the current configuration, AppConfig returns a 204 No Content HTTP response code and the Content value will be empty.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • configurationVersion

        GetConfigurationResponse.Builder configurationVersion​(String configurationVersion)

        The configuration version.

        Parameters:
        configurationVersion - The configuration version.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • contentType

        GetConfigurationResponse.Builder contentType​(String contentType)

        A standard MIME type describing the format of the configuration content. For more information, see Content-Type.

        Parameters:
        contentType - A standard MIME type describing the format of the configuration content. For more information, see Content-Type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.