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 Details

    • Builder

      public Builder()
  • Method Details

    • actions

      @Stability(Stable) public CfnExtensionProps.Builder actions(Object actions)
      Parameters:
      actions - The actions defined in the extension. This parameter is required.
      Returns:
      this
    • name

      @Stability(Stable) public CfnExtensionProps.Builder name(String name)
      Sets the value of CfnExtensionProps.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

      @Stability(Stable) public CfnExtensionProps.Builder description(String description)
      Parameters:
      description - Information about the extension.
      Returns:
      this
    • latestVersionNumber

      @Stability(Stable) public CfnExtensionProps.Builder latestVersionNumber(Number latestVersionNumber)
      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

      @Stability(Stable) public CfnExtensionProps.Builder parameters(IResolvable parameters)
      Parameters:
      parameters - The parameters accepted by the extension. You specify parameter values when you associate the extension to an AWS AppConfig resource by using the CreateExtensionAssociation 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)
      Parameters:
      parameters - The parameters accepted by the extension. You specify parameter values when you associate the extension to an AWS AppConfig resource by using the CreateExtensionAssociation API action. For AWS Lambda extension actions, these parameters are included in the Lambda request object.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnExtensionProps.Builder tags(List<? extends CfnTag> tags)
      Sets the value of CfnExtensionProps.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

      @Stability(Stable) public CfnExtensionProps build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnExtensionProps>
      Returns:
      a new instance of CfnExtensionProps
      Throws:
      NullPointerException - if any required attribute was not provided