Class ExtensionProps.Builder
java.lang.Object
software.amazon.awscdk.services.appconfig.ExtensionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ExtensionProps>
- Enclosing interface:
ExtensionProps
@Stability(Stable)
public static final class ExtensionProps.Builder
extends Object
implements software.amazon.jsii.Builder<ExtensionProps>
A builder for
ExtensionProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofExtensionProps.getActions()build()Builds the configured instance.description(String description) Sets the value ofExtensionOptions.getDescription()extensionName(String extensionName) Sets the value ofExtensionOptions.getExtensionName()latestVersionNumber(Number latestVersionNumber) Sets the value ofExtensionOptions.getLatestVersionNumber()parameters(List<? extends Parameter> parameters) Sets the value ofExtensionOptions.getParameters()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actions
Sets the value ofExtensionProps.getActions()- Parameters:
actions- The actions for the extension. This parameter is required.- Returns:
this
-
description
Sets the value ofExtensionOptions.getDescription()- Parameters:
description- A description of the extension.- Returns:
this
-
extensionName
Sets the value ofExtensionOptions.getExtensionName()- Parameters:
extensionName- The name of the extension.- Returns:
this
-
latestVersionNumber
Sets the value ofExtensionOptions.getLatestVersionNumber()- Parameters:
latestVersionNumber- The latest version number of the 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 ofExtensionOptions.getParameters()- Parameters:
parameters- The parameters accepted for the extension.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ExtensionProps>- Returns:
- a new instance of
ExtensionProps - Throws:
NullPointerException- if any required attribute was not provided
-