Interface GetLatestConfigurationResponse.Builder
- All Superinterfaces:
AppConfigDataResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<GetLatestConfigurationResponse.Builder,
,GetLatestConfigurationResponse> SdkBuilder<GetLatestConfigurationResponse.Builder,
,GetLatestConfigurationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetLatestConfigurationResponse
-
Method Summary
Modifier and TypeMethodDescriptionconfiguration
(SdkBytes configuration) The data of the configuration.contentType
(String contentType) A standard MIME type describing the format of the configuration content.nextPollConfigurationToken
(String nextPollConfigurationToken) The latest token describing the current state of the configuration session.nextPollIntervalInSeconds
(Integer nextPollIntervalInSeconds) The amount of time the client should wait before polling for configuration updates again.versionLabel
(String versionLabel) The user-defined label for the AppConfig hosted configuration version.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextPollConfigurationToken
GetLatestConfigurationResponse.Builder nextPollConfigurationToken(String nextPollConfigurationToken) The latest token describing the current state of the configuration session. This must be provided to the next call to
GetLatestConfiguration.
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:
nextPollConfigurationToken
- The latest token describing the current state of the configuration session. This must be provided to the next call toGetLatestConfiguration.
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.
-
nextPollIntervalInSeconds
The amount of time the client should wait before polling for configuration updates again. Use
RequiredMinimumPollIntervalInSeconds
to set the desired poll interval.- Parameters:
nextPollIntervalInSeconds
- The amount of time the client should wait before polling for configuration updates again. UseRequiredMinimumPollIntervalInSeconds
to set the desired poll interval.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentType
A standard MIME type describing the format of the configuration content.
- Parameters:
contentType
- A standard MIME type describing the format of the configuration content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
The data of the configuration. This may be empty if the client already has the latest version of configuration.
- Parameters:
configuration
- The data of the configuration. This may be empty if the client already has the latest version of configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versionLabel
The user-defined label for the AppConfig hosted configuration version. This attribute doesn't apply if the configuration is not from an AppConfig hosted configuration version. If the client already has the latest version of the configuration data, this value is empty.
- Parameters:
versionLabel
- The user-defined label for the AppConfig hosted configuration version. This attribute doesn't apply if the configuration is not from an AppConfig hosted configuration version. If the client already has the latest version of the configuration data, this value is empty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-