public static interface GetLatestConfigurationResponse.Builder extends AppConfigDataResponse.Builder, SdkPojo, CopyableBuilder<GetLatestConfigurationResponse.Builder,GetLatestConfigurationResponse>
| Modifier and Type | Method and Description |
|---|---|
GetLatestConfigurationResponse.Builder |
configuration(SdkBytes configuration)
The data of the configuration.
|
GetLatestConfigurationResponse.Builder |
contentType(String contentType)
A standard MIME type describing the format of the configuration content.
|
GetLatestConfigurationResponse.Builder |
nextPollConfigurationToken(String nextPollConfigurationToken)
The latest token describing the current state of the configuration session.
|
GetLatestConfigurationResponse.Builder |
nextPollIntervalInSeconds(Integer nextPollIntervalInSeconds)
The amount of time the client should wait before polling for configuration updates again.
|
GetLatestConfigurationResponse.Builder |
versionLabel(String versionLabel)
The user-defined label for the AppConfig hosted configuration version.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetLatestConfigurationResponse.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 returns
BadRequestException.
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 returns
BadRequestException.
GetLatestConfigurationResponse.Builder nextPollIntervalInSeconds(Integer nextPollIntervalInSeconds)
The amount of time the client should wait before polling for configuration updates again. Use
RequiredMinimumPollIntervalInSeconds to set the desired poll interval.
nextPollIntervalInSeconds - The amount of time the client should wait before polling for configuration updates again. Use
RequiredMinimumPollIntervalInSeconds to set the desired poll interval.GetLatestConfigurationResponse.Builder contentType(String contentType)
A standard MIME type describing the format of the configuration content.
contentType - A standard MIME type describing the format of the configuration content.GetLatestConfigurationResponse.Builder configuration(SdkBytes configuration)
The data of the configuration. This may be empty if the client already has the latest version of configuration.
configuration - The data of the configuration. This may be empty if the client already has the latest version of
configuration.GetLatestConfigurationResponse.Builder versionLabel(String 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.
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.Copyright © 2023. All rights reserved.