Interface GetConfigurationRequest.Builder
-
- All Superinterfaces:
AppConfigRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<GetConfigurationRequest.Builder,GetConfigurationRequest>,SdkBuilder<GetConfigurationRequest.Builder,GetConfigurationRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- GetConfigurationRequest
public static interface GetConfigurationRequest.Builder extends AppConfigRequest.Builder, SdkPojo, CopyableBuilder<GetConfigurationRequest.Builder,GetConfigurationRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetConfigurationRequest.Builderapplication(String application)The application to get.GetConfigurationRequest.BuilderclientConfigurationVersion(String clientConfigurationVersion)The configuration version returned in the most recentGetConfigurationresponse.GetConfigurationRequest.BuilderclientId(String clientId)The clientId parameter in the following command is a unique, user-specified ID to identify the client for the configuration.GetConfigurationRequest.Builderconfiguration(String configuration)The configuration to get.GetConfigurationRequest.Builderenvironment(String environment)The environment to get.GetConfigurationRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)GetConfigurationRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.services.appconfig.model.AppConfigRequest.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, sdkFields
-
-
-
-
Method Detail
-
application
GetConfigurationRequest.Builder application(String application)
The application to get. Specify either the application name or the application ID.
- Parameters:
application- The application to get. Specify either the application name or the application ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environment
GetConfigurationRequest.Builder environment(String environment)
The environment to get. Specify either the environment name or the environment ID.
- Parameters:
environment- The environment to get. Specify either the environment name or the environment ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
GetConfigurationRequest.Builder configuration(String configuration)
The configuration to get. Specify either the configuration name or the configuration ID.
- Parameters:
configuration- The configuration to get. Specify either the configuration name or the configuration ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientId
GetConfigurationRequest.Builder clientId(String clientId)
The clientId parameter in the following command is a unique, user-specified ID to identify the client for the configuration. This ID enables AppConfig to deploy the configuration in intervals, as defined in the deployment strategy.
- Parameters:
clientId- The clientId parameter in the following command is a unique, user-specified ID to identify the client for the configuration. This ID enables AppConfig to deploy the configuration in intervals, as defined in the deployment strategy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientConfigurationVersion
GetConfigurationRequest.Builder clientConfigurationVersion(String clientConfigurationVersion)
The configuration version returned in the most recent
GetConfigurationresponse.AppConfig uses the value of the
ClientConfigurationVersionparameter to identify the configuration version on your clients. If you don’t sendClientConfigurationVersionwith each call toGetConfiguration, your clients receive the current configuration. You are charged each time your clients receive a configuration.To avoid excess charges, we recommend you use the StartConfigurationSession and GetLatestConfiguration APIs, which track the client configuration version on your behalf. If you choose to continue using
GetConfiguration, we recommend that you include theClientConfigurationVersionvalue with every call toGetConfiguration. The value to use forClientConfigurationVersioncomes from theConfigurationVersionattribute returned byGetConfigurationwhen there is new or updated data, and should be saved for subsequent calls toGetConfiguration.For more information about working with configurations, see Retrieving the Configuration in the AppConfig User Guide.
- Parameters:
clientConfigurationVersion- The configuration version returned in the most recentGetConfigurationresponse.AppConfig uses the value of the
ClientConfigurationVersionparameter to identify the configuration version on your clients. If you don’t sendClientConfigurationVersionwith each call toGetConfiguration, your clients receive the current configuration. You are charged each time your clients receive a configuration.To avoid excess charges, we recommend you use the StartConfigurationSession and GetLatestConfiguration APIs, which track the client configuration version on your behalf. If you choose to continue using
GetConfiguration, we recommend that you include theClientConfigurationVersionvalue with every call toGetConfiguration. The value to use forClientConfigurationVersioncomes from theConfigurationVersionattribute returned byGetConfigurationwhen there is new or updated data, and should be saved for subsequent calls toGetConfiguration.For more information about working with configurations, see Retrieving the Configuration in the AppConfig User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
GetConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-