Interface CreateHostedConfigurationVersionRequest.Builder
- All Superinterfaces:
AppConfigRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<CreateHostedConfigurationVersionRequest.Builder,,CreateHostedConfigurationVersionRequest> SdkBuilder<CreateHostedConfigurationVersionRequest.Builder,,CreateHostedConfigurationVersionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateHostedConfigurationVersionRequest
-
Method Summary
Modifier and TypeMethodDescriptionapplicationId(String applicationId) The application ID.configurationProfileId(String configurationProfileId) The configuration profile ID.The configuration data, as bytes.contentType(String contentType) A standard MIME type describing the format of the configuration content.description(String description) A description of the configuration.latestVersionNumber(Integer latestVersionNumber) An optional locking token used to prevent race conditions from overwriting configuration updates when creating a new version.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.versionLabel(String versionLabel) An optional, user-defined label for the AppConfig hosted configuration version.Methods inherited from interface software.amazon.awssdk.services.appconfig.model.AppConfigRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
applicationId
The application ID.
- Parameters:
applicationId- The application ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationProfileId
CreateHostedConfigurationVersionRequest.Builder configurationProfileId(String configurationProfileId) The configuration profile ID.
- Parameters:
configurationProfileId- The configuration profile ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the configuration.
- Parameters:
description- A description of the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
The configuration data, as bytes.
AppConfig accepts any type of data, including text formats like JSON or TOML, or binary formats like protocol buffers or compressed data.
- Parameters:
content- The configuration data, as bytes.AppConfig accepts any type of data, including text formats like JSON or TOML, or binary formats like protocol buffers or compressed data.
- 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. For more information, see Content-Type.
- Parameters:
contentType- A standard MIME type describing the format of the configuration content. For more information, see Content-Type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestVersionNumber
An optional locking token used to prevent race conditions from overwriting configuration updates when creating a new version. To ensure your data is not overwritten when creating multiple hosted configuration versions in rapid succession, specify the version number of the latest hosted configuration version.
- Parameters:
latestVersionNumber- An optional locking token used to prevent race conditions from overwriting configuration updates when creating a new version. To ensure your data is not overwritten when creating multiple hosted configuration versions in rapid succession, specify the version number of the latest hosted configuration version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versionLabel
An optional, user-defined label for the AppConfig hosted configuration version. This value must contain at least one non-numeric character. For example, "v2.2.0".
- Parameters:
versionLabel- An optional, user-defined label for the AppConfig hosted configuration version. This value must contain at least one non-numeric character. For example, "v2.2.0".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateHostedConfigurationVersionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateHostedConfigurationVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-