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 Summary
Constructors - 
Method Summary
Modifier 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
- 
Builder
public Builder() 
 - 
 - 
Method Details
- 
applicationName
Sets the value ofCfnApplicationProps.getApplicationName()- Parameters:
 applicationName- The name of the web application. This parameter is required.- Returns:
 this
 - 
roleArn
Sets 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
 - 
tags
Sets the value ofCfnApplicationProps.getTags()- Parameters:
 tags- A set of key/value pairs that you can use to manage the web application resource.- Returns:
 this
 - 
build
Builds the configured instance.- Specified by:
 buildin interfacesoftware.amazon.jsii.Builder<CfnApplicationProps>- Returns:
 - a new instance of 
CfnApplicationProps - Throws:
 NullPointerException- if any required attribute was not provided
 
 -