Interface GetLatestConfigurationRequest.Builder
- All Superinterfaces:
AppConfigDataRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<GetLatestConfigurationRequest.Builder,,GetLatestConfigurationRequest> SdkBuilder<GetLatestConfigurationRequest.Builder,,GetLatestConfigurationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
- GetLatestConfigurationRequest
-
Method Summary
Modifier and TypeMethodDescriptionconfigurationToken(String configurationToken) Token describing the current state of the configuration session.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Methods inherited from interface software.amazon.awssdk.services.appconfigdata.model.AppConfigDataRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods 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, sdkFields
-
Method Details
-
configurationToken
Token describing the current state of the configuration session. To obtain a token, first call the StartConfigurationSession API. Note that every call to
GetLatestConfigurationwill return a newConfigurationToken(NextPollConfigurationTokenin the response) and must be provided to subsequentGetLatestConfigurationAPI calls.This token should only be used once. To support long poll use cases, the token is valid for up to 24 hours. If a
GetLatestConfigurationcall uses an expired token, the system returnsBadRequestException.- Parameters:
configurationToken- Token describing the current state of the configuration session. To obtain a token, first call the StartConfigurationSession API. Note that every call toGetLatestConfigurationwill return a newConfigurationToken(NextPollConfigurationTokenin the response) and must be provided to subsequentGetLatestConfigurationAPI calls.This token should only be used once. To support long poll use cases, the token is valid for up to 24 hours. If a
GetLatestConfigurationcall uses an expired token, the system returnsBadRequestException.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetLatestConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
GetLatestConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-