Class GetConfigurationRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.appconfig.model.AppConfigRequest
-
- software.amazon.awssdk.services.appconfig.model.GetConfigurationRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetConfigurationRequest.Builder,GetConfigurationRequest>
@Generated("software.amazon.awssdk:codegen") public final class GetConfigurationRequest extends AppConfigRequest implements ToCopyableBuilder<GetConfigurationRequest.Builder,GetConfigurationRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetConfigurationRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringapplication()The application to get.static GetConfigurationRequest.Builderbuilder()StringclientConfigurationVersion()The configuration version returned in the most recentGetConfigurationresponse.StringclientId()The clientId parameter in the following command is a unique, user-specified ID to identify the client for the configuration.Stringconfiguration()The configuration to get.Stringenvironment()The environment to get.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends GetConfigurationRequest.Builder>serializableBuilderClass()GetConfigurationRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
application
public final String application()
The application to get. Specify either the application name or the application ID.
- Returns:
- The application to get. Specify either the application name or the application ID.
-
environment
public final String environment()
The environment to get. Specify either the environment name or the environment ID.
- Returns:
- The environment to get. Specify either the environment name or the environment ID.
-
configuration
public final String configuration()
The configuration to get. Specify either the configuration name or the configuration ID.
- Returns:
- The configuration to get. Specify either the configuration name or the configuration ID.
-
clientId
public final 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.
- Returns:
- 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.
-
clientConfigurationVersion
public final 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.
- Returns:
- 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.
-
toBuilder
public GetConfigurationRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetConfigurationRequest.Builder,GetConfigurationRequest>- Specified by:
toBuilderin classAppConfigRequest
-
builder
public static GetConfigurationRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetConfigurationRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-