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, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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
GetLatestConfigurationAPI to retrieve configuration data.This token should only be used once in your first call to
GetLatestConfiguration. You must use the new token in theGetLatestConfigurationresponse (NextPollConfigurationToken) in each subsequent call toGetLatestConfiguration.The
InitialConfigurationTokenandNextPollConfigurationTokenshould only be used once. To support long poll use cases, the tokens are valid for up to 24 hours. If aGetLatestConfigurationcall uses an expired token, the system returnsBadRequestException.- Parameters:
initialConfigurationToken- Token encapsulating state about the configuration session. Provide this token to theGetLatestConfigurationAPI to retrieve configuration data.This token should only be used once in your first call to
GetLatestConfiguration. You must use the new token in theGetLatestConfigurationresponse (NextPollConfigurationToken) in each subsequent call toGetLatestConfiguration.The
InitialConfigurationTokenandNextPollConfigurationTokenshould only be used once. To support long poll use cases, the tokens are valid for up to 24 hours. If aGetLatestConfigurationcall uses an expired token, the system returnsBadRequestException.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-