Interface GetLatestConfigurationResponse.Builder
-
- All Superinterfaces:
AppConfigDataResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetLatestConfigurationResponse.Builder,GetLatestConfigurationResponse>,SdkBuilder<GetLatestConfigurationResponse.Builder,GetLatestConfigurationResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetLatestConfigurationResponse
public static interface GetLatestConfigurationResponse.Builder extends AppConfigDataResponse.Builder, SdkPojo, CopyableBuilder<GetLatestConfigurationResponse.Builder,GetLatestConfigurationResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetLatestConfigurationResponse.Builderconfiguration(SdkBytes configuration)The data of the configuration.GetLatestConfigurationResponse.BuildercontentType(String contentType)A standard MIME type describing the format of the configuration content.GetLatestConfigurationResponse.BuildernextPollConfigurationToken(String nextPollConfigurationToken)The latest token describing the current state of the configuration session.GetLatestConfigurationResponse.BuildernextPollIntervalInSeconds(Integer nextPollIntervalInSeconds)The amount of time the client should wait before polling for configuration updates again.GetLatestConfigurationResponse.BuilderversionLabel(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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
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
GetLatestConfigurationcall 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
GetLatestConfigurationcall uses an expired token, the system returnsBadRequestException.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextPollIntervalInSeconds
GetLatestConfigurationResponse.Builder nextPollIntervalInSeconds(Integer nextPollIntervalInSeconds)
The amount of time the client should wait before polling for configuration updates again. Use
RequiredMinimumPollIntervalInSecondsto set the desired poll interval.- Parameters:
nextPollIntervalInSeconds- The amount of time the client should wait before polling for configuration updates again. UseRequiredMinimumPollIntervalInSecondsto set the desired poll interval.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentType
GetLatestConfigurationResponse.Builder contentType(String 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
GetLatestConfigurationResponse.Builder configuration(SdkBytes 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
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.
- 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.
-
-