Class CfnHostedConfigurationVersionMixinProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.appconfig.mixins.CfnHostedConfigurationVersionMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnHostedConfigurationVersionMixinProps>
- Enclosing interface:
CfnHostedConfigurationVersionMixinProps
@Stability(Stable)
public static final class CfnHostedConfigurationVersionMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnHostedConfigurationVersionMixinProps>
A builder for
CfnHostedConfigurationVersionMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplicationId(String applicationId) Sets the value ofCfnHostedConfigurationVersionMixinProps.getApplicationId()build()Builds the configured instance.configurationProfileId(String configurationProfileId) Sets the value ofCfnHostedConfigurationVersionMixinProps.getConfigurationProfileId()Sets the value ofCfnHostedConfigurationVersionMixinProps.getContent()contentType(String contentType) Sets the value ofCfnHostedConfigurationVersionMixinProps.getContentType()description(String description) Sets the value ofCfnHostedConfigurationVersionMixinProps.getDescription()latestVersionNumber(Number latestVersionNumber) Sets the value ofCfnHostedConfigurationVersionMixinProps.getLatestVersionNumber()versionLabel(String versionLabel) Sets the value ofCfnHostedConfigurationVersionMixinProps.getVersionLabel()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationId
@Stability(Stable) public CfnHostedConfigurationVersionMixinProps.Builder applicationId(String applicationId) Sets the value ofCfnHostedConfigurationVersionMixinProps.getApplicationId()- Parameters:
applicationId- The application ID.- Returns:
this
-
configurationProfileId
@Stability(Stable) public CfnHostedConfigurationVersionMixinProps.Builder configurationProfileId(String configurationProfileId) Sets the value ofCfnHostedConfigurationVersionMixinProps.getConfigurationProfileId()- Parameters:
configurationProfileId- The configuration profile ID.- Returns:
this
-
content
Sets the value ofCfnHostedConfigurationVersionMixinProps.getContent()- Parameters:
content- The configuration data, as bytes.AWS AppConfig accepts any type of data, including text formats like JSON or TOML, or binary formats like protocol buffers or compressed data.
- Returns:
this
-
contentType
@Stability(Stable) public CfnHostedConfigurationVersionMixinProps.Builder contentType(String contentType) Sets the value ofCfnHostedConfigurationVersionMixinProps.getContentType()- Parameters:
contentType- A standard MIME type describing the format of the configuration content. For more information, see Content-Type .- Returns:
this
-
description
@Stability(Stable) public CfnHostedConfigurationVersionMixinProps.Builder description(String description) Sets the value ofCfnHostedConfigurationVersionMixinProps.getDescription()- Parameters:
description- A description of the configuration.Due to HTTP limitations, this field only supports ASCII characters.
- Returns:
this
-
latestVersionNumber
@Stability(Stable) public CfnHostedConfigurationVersionMixinProps.Builder latestVersionNumber(Number latestVersionNumber) Sets the value ofCfnHostedConfigurationVersionMixinProps.getLatestVersionNumber()- 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:
this
-
versionLabel
@Stability(Stable) public CfnHostedConfigurationVersionMixinProps.Builder versionLabel(String versionLabel) Sets the value ofCfnHostedConfigurationVersionMixinProps.getVersionLabel()- Parameters:
versionLabel- A user-defined label for an AWS AppConfig hosted configuration version.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnHostedConfigurationVersionMixinProps>- Returns:
- a new instance of
CfnHostedConfigurationVersionMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-