Class CfnApplication.Builder

java.lang.Object
software.amazon.awscdk.services.codedeploy.CfnApplication.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplication>
Enclosing class:
CfnApplication

@Stability(Stable) public static final class CfnApplication.Builder extends Object implements software.amazon.jsii.Builder<CfnApplication>
A fluent builder for CfnApplication.
  • Method Details

    • create

      @Stability(Stable) public static CfnApplication.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnApplication.Builder.
    • applicationName

      @Stability(Stable) public CfnApplication.Builder applicationName(String applicationName)
      A name for the application.

      If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the application name. For more information, see Name Type .

      Updates to ApplicationName are not supported.

      Parameters:
      applicationName - A name for the application. This parameter is required.
      Returns:
      this
    • computePlatform

      @Stability(Stable) public CfnApplication.Builder computePlatform(String computePlatform)
      The compute platform that CodeDeploy deploys the application to.

      Parameters:
      computePlatform - The compute platform that CodeDeploy deploys the application to. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnApplication.Builder tags(List<? extends CfnTag> tags)
      The metadata that you apply to CodeDeploy applications to help you organize and categorize them.

      Each tag consists of a key and an optional value, both of which you define.

      Parameters:
      tags - The metadata that you apply to CodeDeploy applications to help you organize and categorize them. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnApplication build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnApplication>
      Returns:
      a newly built instance of CfnApplication.