Class CfnApplicationProps.Builder
java.lang.Object
software.amazon.awscdk.services.iotfleethub.CfnApplicationProps.Builder
- All Implemented Interfaces:
- software.amazon.jsii.Builder<CfnApplicationProps>
- Enclosing interface:
- CfnApplicationProps
@Stability(Stable)
public static final class CfnApplicationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationProps>
A builder for 
CfnApplicationProps- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionapplicationDescription(String applicationDescription) Sets the value ofCfnApplicationProps.getApplicationDescription()applicationName(String applicationName) Sets the value ofCfnApplicationProps.getApplicationName()build()Builds the configured instance.Sets the value ofCfnApplicationProps.getRoleArn()Sets the value ofCfnApplicationProps.getTags()
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
applicationNameSets the value ofCfnApplicationProps.getApplicationName()- Parameters:
- applicationName- The name of the web application. This parameter is required.
- Returns:
- this
 
- 
roleArnSets the value ofCfnApplicationProps.getRoleArn()- Parameters:
- roleArn- The ARN of the role that the web application assumes when it interacts with AWS IoT Core . This parameter is required.- The name of the role must be in the form - FleetHub_random_string.- Pattern: - ^arn:[!-~]+$
- Returns:
- this
 
- 
applicationDescription@Stability(Stable) public CfnApplicationProps.Builder applicationDescription(String applicationDescription) Sets the value ofCfnApplicationProps.getApplicationDescription()- Parameters:
- applicationDescription- An optional description of the web application.
- Returns:
- this
 
- 
tagsSets the value ofCfnApplicationProps.getTags()- Parameters:
- tags- A set of key/value pairs that you can use to manage the web application resource.
- Returns:
- this
 
- 
buildBuilds the configured instance.- Specified by:
- buildin interface- software.amazon.jsii.Builder<CfnApplicationProps>
- Returns:
- a new instance of CfnApplicationProps
- Throws:
- NullPointerException- if any required attribute was not provided
 
 
-