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) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.services.appconfigdata.model.AppConfigDataRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
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, 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
GetLatestConfiguration
will return a newConfigurationToken
(NextPollConfigurationToken
in the response) and must be provided to subsequentGetLatestConfiguration
API 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
GetLatestConfiguration
call 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 toGetLatestConfiguration
will return a newConfigurationToken
(NextPollConfigurationToken
in the response) and must be provided to subsequentGetLatestConfiguration
API 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
GetLatestConfiguration
call 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) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetLatestConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-