Class CfnApplicationMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iotfleethub.CfnApplicationMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationMixinProps>
- Enclosing interface:
CfnApplicationMixinProps
@Stability(Stable)
public static final class CfnApplicationMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationMixinProps>
A builder for
CfnApplicationMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplicationDescription(String applicationDescription) Sets the value ofCfnApplicationMixinProps.getApplicationDescription()applicationName(String applicationName) Sets the value ofCfnApplicationMixinProps.getApplicationName()build()Builds the configured instance.Sets the value ofCfnApplicationMixinProps.getRoleArn()Sets the value ofCfnApplicationMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationDescription
@Stability(Stable) public CfnApplicationMixinProps.Builder applicationDescription(String applicationDescription) Sets the value ofCfnApplicationMixinProps.getApplicationDescription()- Parameters:
applicationDescription- An optional description of the web application.- Returns:
this
-
applicationName
Sets the value ofCfnApplicationMixinProps.getApplicationName()- Parameters:
applicationName- The name of the web application.- Returns:
this
-
roleArn
Sets the value ofCfnApplicationMixinProps.getRoleArn()- Parameters:
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:[!-~]+$- Returns:
this
-
tags
Sets the value ofCfnApplicationMixinProps.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<CfnApplicationMixinProps>- Returns:
- a new instance of
CfnApplicationMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-