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 content of the configuration or the configuration data.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
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 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 content of the configuration or the configuration data.
- Parameters:
content
- The content of the configuration or the configuration 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-