Class ExtensionAttributes.Builder
java.lang.Object
software.amazon.awscdk.services.appconfig.ExtensionAttributes.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ExtensionAttributes>
- Enclosing interface:
ExtensionAttributes
@Stability(Stable)
public static final class ExtensionAttributes.Builder
extends Object
implements software.amazon.jsii.Builder<ExtensionAttributes>
A builder for
ExtensionAttributes
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofExtensionAttributes.getActions()
build()
Builds the configured instance.description
(String description) Sets the value ofExtensionAttributes.getDescription()
extensionArn
(String extensionArn) Sets the value ofExtensionAttributes.getExtensionArn()
extensionId
(String extensionId) Sets the value ofExtensionAttributes.getExtensionId()
extensionVersionNumber
(Number extensionVersionNumber) Sets the value ofExtensionAttributes.getExtensionVersionNumber()
Sets the value ofExtensionAttributes.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
extensionId
Sets the value ofExtensionAttributes.getExtensionId()
- Parameters:
extensionId
- The ID of the extension. This parameter is required.- Returns:
this
-
extensionVersionNumber
@Stability(Stable) public ExtensionAttributes.Builder extensionVersionNumber(Number extensionVersionNumber) Sets the value ofExtensionAttributes.getExtensionVersionNumber()
- Parameters:
extensionVersionNumber
- The version number of the extension. This parameter is required.- Returns:
this
-
actions
Sets the value ofExtensionAttributes.getActions()
- Parameters:
actions
- The actions of the extension.- Returns:
this
-
description
Sets the value ofExtensionAttributes.getDescription()
- Parameters:
description
- The description of the extension.- Returns:
this
-
extensionArn
Sets the value ofExtensionAttributes.getExtensionArn()
- Parameters:
extensionArn
- The Amazon Resource Name (ARN) of the extension.- Returns:
this
-
name
Sets the value ofExtensionAttributes.getName()
- Parameters:
name
- The name of the extension.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ExtensionAttributes>
- Returns:
- a new instance of
ExtensionAttributes
- Throws:
NullPointerException
- if any required attribute was not provided
-