Class ExtensionOptions.Builder
java.lang.Object
software.amazon.awscdk.services.appconfig.ExtensionOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ExtensionOptions>
- Enclosing interface:
ExtensionOptions
@Stability(Stable)
public static final class ExtensionOptions.Builder
extends Object
implements software.amazon.jsii.Builder<ExtensionOptions>
A builder for
ExtensionOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
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
-
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:
build
in interfacesoftware.amazon.jsii.Builder<ExtensionOptions>
- Returns:
- a new instance of
ExtensionOptions
- Throws:
NullPointerException
- if any required attribute was not provided
-