Class CfnExtension.ActionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appconfig.CfnExtension.ActionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnExtension.ActionProperty>
- Enclosing interface:
CfnExtension.ActionProperty
@Stability(Stable)
public static final class CfnExtension.ActionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnExtension.ActionProperty>
A builder for
CfnExtension.ActionProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.description
(String description) Sets the value ofCfnExtension.ActionProperty.getDescription()
Sets the value ofCfnExtension.ActionProperty.getName()
Sets the value ofCfnExtension.ActionProperty.getRoleArn()
Sets the value ofCfnExtension.ActionProperty.getUri()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnExtension.ActionProperty.getName()
- Parameters:
name
- The action name. This parameter is required.- Returns:
this
-
uri
Sets the value ofCfnExtension.ActionProperty.getUri()
- Parameters:
uri
- The extension URI associated to the action point in the extension definition. This parameter is required. The URI can be an Amazon Resource Name (ARN) for one of the following: an AWS Lambda function, an Amazon Simple Queue Service queue, an Amazon Simple Notification Service topic, or the Amazon EventBridge default event bus.- Returns:
this
-
description
Sets the value ofCfnExtension.ActionProperty.getDescription()
- Parameters:
description
- Information about actions defined in the extension.- Returns:
this
-
roleArn
Sets the value ofCfnExtension.ActionProperty.getRoleArn()
- Parameters:
roleArn
- An Amazon Resource Name (ARN) for an AWS Identity and Access Management assume role.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnExtension.ActionProperty>
- Returns:
- a new instance of
CfnExtension.ActionProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-