Class CfnExtensionProps.Builder
java.lang.Object
software.amazon.awscdk.services.appconfig.CfnExtensionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnExtensionProps>
- Enclosing interface:
CfnExtensionProps
@Stability(Stable)
public static final class CfnExtensionProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnExtensionProps>
A builder for
CfnExtensionProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnExtensionProps.getActions()
build()
Builds the configured instance.description
(String description) Sets the value ofCfnExtensionProps.getDescription()
latestVersionNumber
(Number latestVersionNumber) Sets the value ofCfnExtensionProps.getLatestVersionNumber()
Sets the value ofCfnExtensionProps.getName()
parameters
(Map<String, ? extends Object> parameters) Sets the value ofCfnExtensionProps.getParameters()
parameters
(IResolvable parameters) Sets the value ofCfnExtensionProps.getParameters()
Sets the value ofCfnExtensionProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actions
Sets the value ofCfnExtensionProps.getActions()
- Parameters:
actions
- The actions defined in the extension. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnExtensionProps.getName()
- Parameters:
name
- A name for the extension. This parameter is required. Each extension name in your account must be unique. Extension versions use the same name.- Returns:
this
-
description
Sets the value ofCfnExtensionProps.getDescription()
- Parameters:
description
- Information about the extension.- Returns:
this
-
latestVersionNumber
Sets the value ofCfnExtensionProps.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
-
parameters
Sets the value ofCfnExtensionProps.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 theCreateExtensionAssociation
API action. For AWS Lambda extension actions, these parameters are included in the Lambda request object.- Returns:
this
-
parameters
@Stability(Stable) public CfnExtensionProps.Builder parameters(Map<String, ? extends Object> parameters) Sets the value ofCfnExtensionProps.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 theCreateExtensionAssociation
API action. For AWS Lambda extension actions, these parameters are included in the Lambda request object.- Returns:
this
-
tags
Sets the value ofCfnExtensionProps.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:
build
in interfacesoftware.amazon.jsii.Builder<CfnExtensionProps>
- Returns:
- a new instance of
CfnExtensionProps
- Throws:
NullPointerException
- if any required attribute was not provided
-