Class CfnExtensionMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.appconfig.CfnExtensionMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnExtensionMixinProps>
- Enclosing interface:
CfnExtensionMixinProps
@Stability(Stable)
public static final class CfnExtensionMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnExtensionMixinProps>
A builder for
CfnExtensionMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnExtensionMixinProps.getActions()build()Builds the configured instance.description(String description) Sets the value ofCfnExtensionMixinProps.getDescription()latestVersionNumber(Number latestVersionNumber) Sets the value ofCfnExtensionMixinProps.getLatestVersionNumber()Sets the value ofCfnExtensionMixinProps.getName()parameters(Map<String, ? extends Object> parameters) Sets the value ofCfnExtensionMixinProps.getParameters()parameters(IResolvable parameters) Sets the value ofCfnExtensionMixinProps.getParameters()Sets the value ofCfnExtensionMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actions
Sets the value ofCfnExtensionMixinProps.getActions()- Parameters:
actions- The actions defined in the extension.- Returns:
this
-
description
Sets the value ofCfnExtensionMixinProps.getDescription()- Parameters:
description- Information about the extension.- Returns:
this
-
latestVersionNumber
@Stability(Stable) public CfnExtensionMixinProps.Builder latestVersionNumber(Number latestVersionNumber) Sets the value ofCfnExtensionMixinProps.getLatestVersionNumber()- Parameters:
latestVersionNumber- You can omit this field when you create an extension. When you create a new version, specify the most recent current version number. For example, you create version 3, enter 2 for this field.- Returns:
this
-
name
Sets the value ofCfnExtensionMixinProps.getName()- Parameters:
name- A name for the extension. Each extension name in your account must be unique. Extension versions use the same name.- Returns:
this
-
parameters
Sets the value ofCfnExtensionMixinProps.getParameters()- Parameters:
parameters- The parameters accepted by the extension. You specify parameter values when you associate the extension to an AWS AppConfig resource by using theCreateExtensionAssociationAPI action. For AWS Lambda extension actions, these parameters are included in the Lambda request object.- Returns:
this
-
parameters
@Stability(Stable) public CfnExtensionMixinProps.Builder parameters(Map<String, ? extends Object> parameters) Sets the value ofCfnExtensionMixinProps.getParameters()- Parameters:
parameters- The parameters accepted by the extension. You specify parameter values when you associate the extension to an AWS AppConfig resource by using theCreateExtensionAssociationAPI action. For AWS Lambda extension actions, these parameters are included in the Lambda request object.- Returns:
this
-
tags
Sets the value ofCfnExtensionMixinProps.getTags()- Parameters:
tags- Adds one or more tags for the specified extension. Tags are metadata that help you categorize resources in different ways, for example, by purpose, owner, or environment. Each tag consists of a key and an optional value, both of which you define.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnExtensionMixinProps>- Returns:
- a new instance of
CfnExtensionMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-