Class CfnApplication.Builder

java.lang.Object
software.amazon.awscdk.services.iotfleethub.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)
      The name of the web application.

      Parameters:
      applicationName - The name of the web application. This parameter is required.
      Returns:
      this
    • roleArn

      @Stability(Stable) public CfnApplication.Builder roleArn(String roleArn)
      The ARN of the role that the web application assumes when it interacts with AWS IoT Core .

      The name of the role must be in the form FleetHub_random_string .

      Pattern: ^arn:[!-~]+$

      Parameters:
      roleArn - The ARN of the role that the web application assumes when it interacts with AWS IoT Core . This parameter is required.
      Returns:
      this
    • applicationDescription

      @Stability(Stable) public CfnApplication.Builder applicationDescription(String applicationDescription)
      An optional description of the web application.

      Parameters:
      applicationDescription - An optional description of the web application. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnApplication.Builder tags(List<? extends CfnTag> tags)
      A set of key/value pairs that you can use to manage the web application resource.

      Parameters:
      tags - A set of key/value pairs that you can use to manage the web application resource. 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.