Class CfnApplicationProps.Builder
java.lang.Object
software.amazon.awscdk.services.iotsitewise.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 TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnApplicationProps.getDescription()idcInstanceArn(String idcInstanceArn) Sets the value ofCfnApplicationProps.getIdcInstanceArn()Sets the value ofCfnApplicationProps.getName()Sets the value ofCfnApplicationProps.getTags()workspaceName(String workspaceName) Sets the value ofCfnApplicationProps.getWorkspaceName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnApplicationProps.getName()- Parameters:
name- The name of the application. This parameter is required.- Returns:
this
-
workspaceName
Sets the value ofCfnApplicationProps.getWorkspaceName()- Parameters:
workspaceName- The name of the workspace that the application belongs to. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnApplicationProps.getDescription()- Parameters:
description- A description of the application.- Returns:
this
-
idcInstanceArn
Sets the value ofCfnApplicationProps.getIdcInstanceArn()- Parameters:
idcInstanceArn- The ARN of the IAM Identity Center instance used to create the application.- Returns:
this
-
tags
Sets the value ofCfnApplicationProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this 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
-