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 Summary
Modifier and TypeMethodDescriptioninitialConfigurationToken
(String initialConfigurationToken) Token encapsulating state about the configuration session.Methods inherited from interface software.amazon.awssdk.services.appconfigdata.model.AppConfigDataResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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 theGetLatestConfiguration
response (NextPollConfigurationToken
) in each subsequent call toGetLatestConfiguration
.The
InitialConfigurationToken
andNextPollConfigurationToken
should only be used once. To support long poll use cases, the tokens are valid for up to 24 hours. If aGetLatestConfiguration
call uses an expired token, the system returnsBadRequestException
.- Parameters:
initialConfigurationToken
- Token encapsulating state about the configuration session. Provide this token to theGetLatestConfiguration
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 theGetLatestConfiguration
response (NextPollConfigurationToken
) in each subsequent call toGetLatestConfiguration
.The
InitialConfigurationToken
andNextPollConfigurationToken
should only be used once. To support long poll use cases, the tokens are valid for up to 24 hours. If aGetLatestConfiguration
call uses an expired token, the system returnsBadRequestException
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-