public static final class CfnApplicationV2Props.Builder
extends java.lang.Object
CfnApplicationV2Props
Constructor and Description |
---|
Builder() |
public CfnApplicationV2Props.Builder runtimeEnvironment(java.lang.String runtimeEnvironment)
CfnApplicationV2Props.getRuntimeEnvironment()
runtimeEnvironment
- The runtime environment for the application. This parameter is required.this
public CfnApplicationV2Props.Builder serviceExecutionRole(java.lang.String serviceExecutionRole)
CfnApplicationV2Props.getServiceExecutionRole()
serviceExecutionRole
- Specifies the IAM role that the application uses to access external resources. This parameter is required.this
public CfnApplicationV2Props.Builder applicationConfiguration(IResolvable applicationConfiguration)
CfnApplicationV2Props.getApplicationConfiguration()
applicationConfiguration
- Use this parameter to configure the application.this
public CfnApplicationV2Props.Builder applicationConfiguration(CfnApplicationV2.ApplicationConfigurationProperty applicationConfiguration)
CfnApplicationV2Props.getApplicationConfiguration()
applicationConfiguration
- Use this parameter to configure the application.this
public CfnApplicationV2Props.Builder applicationDescription(java.lang.String applicationDescription)
CfnApplicationV2Props.getApplicationDescription()
applicationDescription
- The description of the application.this
public CfnApplicationV2Props.Builder applicationMode(java.lang.String applicationMode)
CfnApplicationV2Props.getApplicationMode()
applicationMode
- To create a Kinesis Data Analytics Studio notebook, you must set the mode to `INTERACTIVE` .
However, for a Kinesis Data Analytics for Apache Flink application, the mode is optional.this
public CfnApplicationV2Props.Builder applicationName(java.lang.String applicationName)
CfnApplicationV2Props.getApplicationName()
applicationName
- The name of the application.this
public CfnApplicationV2Props.Builder tags(java.util.List<? extends CfnTag> tags)
CfnApplicationV2Props.getTags()
tags
- A list of one or more tags to assign to the application.
A tag is a key-value pair that identifies an application. Note that the maximum number of application tags includes system tags. The maximum number of user-defined application tags is 50.this
public CfnApplicationV2Props build()
CfnApplicationV2Props
java.lang.NullPointerException
- if any required attribute was not provided