Interface GetConfigurationResponse.Builder

All Superinterfaces:
AppConfigResponse.Builder, AwsResponse.Builder, Buildable, CopyableBuilder<GetConfigurationResponse.Builder,GetConfigurationResponse>, SdkBuilder<GetConfigurationResponse.Builder,GetConfigurationResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetConfigurationResponse

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

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