Interface StartConfigurationSessionResponse.Builder

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

  • Method Details

    • initialConfigurationToken

      StartConfigurationSessionResponse.Builder initialConfigurationToken(String initialConfigurationToken)

      Token encapsulating state about the configuration session. Provide this token to the GetLatestConfiguration API to retrieve configuration data.

      This token should only be used once in your first call to GetLatestConfiguration. You must use the new token in the GetLatestConfiguration response ( NextPollConfigurationToken) in each subsequent call to GetLatestConfiguration.

      The InitialConfigurationToken and NextPollConfigurationToken should only be used once. To support long poll use cases, the tokens are valid for up to 24 hours. If a GetLatestConfiguration call uses an expired token, the system returns BadRequestException.

      Parameters:
      initialConfigurationToken - Token encapsulating state about the configuration session. Provide this token to the GetLatestConfiguration API to retrieve configuration data.

      This token should only be used once in your first call to GetLatestConfiguration. You must use the new token in the GetLatestConfiguration response ( NextPollConfigurationToken) in each subsequent call to GetLatestConfiguration.

      The InitialConfigurationToken and NextPollConfigurationToken should only be used once. To support long poll use cases, the tokens are valid for up to 24 hours. If a GetLatestConfiguration call uses an expired token, the system returns BadRequestException.

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