Class CfnApplicationV2Props.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisanalytics.CfnApplicationV2Props.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationV2Props>
- Enclosing interface:
CfnApplicationV2Props
@Stability(Stable)
public static final class CfnApplicationV2Props.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationV2Props>
A builder for
CfnApplicationV2Props
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapplicationConfiguration
(IResolvable applicationConfiguration) Sets the value ofCfnApplicationV2Props.getApplicationConfiguration()
applicationConfiguration
(CfnApplicationV2.ApplicationConfigurationProperty applicationConfiguration) Sets the value ofCfnApplicationV2Props.getApplicationConfiguration()
applicationDescription
(String applicationDescription) Sets the value ofCfnApplicationV2Props.getApplicationDescription()
applicationMaintenanceConfiguration
(IResolvable applicationMaintenanceConfiguration) Sets the value ofCfnApplicationV2Props.getApplicationMaintenanceConfiguration()
applicationMaintenanceConfiguration
(CfnApplicationV2.ApplicationMaintenanceConfigurationProperty applicationMaintenanceConfiguration) Sets the value ofCfnApplicationV2Props.getApplicationMaintenanceConfiguration()
applicationMode
(String applicationMode) Sets the value ofCfnApplicationV2Props.getApplicationMode()
applicationName
(String applicationName) Sets the value ofCfnApplicationV2Props.getApplicationName()
build()
Builds the configured instance.runConfiguration
(IResolvable runConfiguration) Sets the value ofCfnApplicationV2Props.getRunConfiguration()
runConfiguration
(CfnApplicationV2.RunConfigurationProperty runConfiguration) Sets the value ofCfnApplicationV2Props.getRunConfiguration()
runtimeEnvironment
(String runtimeEnvironment) Sets the value ofCfnApplicationV2Props.getRuntimeEnvironment()
serviceExecutionRole
(String serviceExecutionRole) Sets the value ofCfnApplicationV2Props.getServiceExecutionRole()
Sets the value ofCfnApplicationV2Props.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
runtimeEnvironment
@Stability(Stable) public CfnApplicationV2Props.Builder runtimeEnvironment(String runtimeEnvironment) Sets the value ofCfnApplicationV2Props.getRuntimeEnvironment()
- Parameters:
runtimeEnvironment
- The runtime environment for the application. This parameter is required.- Returns:
this
-
serviceExecutionRole
@Stability(Stable) public CfnApplicationV2Props.Builder serviceExecutionRole(String serviceExecutionRole) Sets the value ofCfnApplicationV2Props.getServiceExecutionRole()
- Parameters:
serviceExecutionRole
- Specifies the IAM role that the application uses to access external resources. This parameter is required.- Returns:
this
-
applicationConfiguration
@Stability(Stable) public CfnApplicationV2Props.Builder applicationConfiguration(IResolvable applicationConfiguration) Sets the value ofCfnApplicationV2Props.getApplicationConfiguration()
- Parameters:
applicationConfiguration
- Use this parameter to configure the application.- Returns:
this
-
applicationConfiguration
@Stability(Stable) public CfnApplicationV2Props.Builder applicationConfiguration(CfnApplicationV2.ApplicationConfigurationProperty applicationConfiguration) Sets the value ofCfnApplicationV2Props.getApplicationConfiguration()
- Parameters:
applicationConfiguration
- Use this parameter to configure the application.- Returns:
this
-
applicationDescription
@Stability(Stable) public CfnApplicationV2Props.Builder applicationDescription(String applicationDescription) Sets the value ofCfnApplicationV2Props.getApplicationDescription()
- Parameters:
applicationDescription
- The description of the application.- Returns:
this
-
applicationMaintenanceConfiguration
@Stability(Stable) public CfnApplicationV2Props.Builder applicationMaintenanceConfiguration(IResolvable applicationMaintenanceConfiguration) Sets the value ofCfnApplicationV2Props.getApplicationMaintenanceConfiguration()
- Parameters:
applicationMaintenanceConfiguration
- Describes the maintenance configuration for the application.- Returns:
this
-
applicationMaintenanceConfiguration
@Stability(Stable) public CfnApplicationV2Props.Builder applicationMaintenanceConfiguration(CfnApplicationV2.ApplicationMaintenanceConfigurationProperty applicationMaintenanceConfiguration) Sets the value ofCfnApplicationV2Props.getApplicationMaintenanceConfiguration()
- Parameters:
applicationMaintenanceConfiguration
- Describes the maintenance configuration for the application.- Returns:
this
-
applicationMode
Sets the value ofCfnApplicationV2Props.getApplicationMode()
- Parameters:
applicationMode
- To create a Kinesis Data Analytics Studio notebook, you must set the mode toINTERACTIVE
. However, for a Kinesis Data Analytics for Apache Flink application, the mode is optional.- Returns:
this
-
applicationName
Sets the value ofCfnApplicationV2Props.getApplicationName()
- Parameters:
applicationName
- The name of the application.- Returns:
this
-
runConfiguration
@Stability(Stable) public CfnApplicationV2Props.Builder runConfiguration(IResolvable runConfiguration) Sets the value ofCfnApplicationV2Props.getRunConfiguration()
- Parameters:
runConfiguration
- Describes the starting parameters for an Managed Service for Apache Flink application.- Returns:
this
-
runConfiguration
@Stability(Stable) public CfnApplicationV2Props.Builder runConfiguration(CfnApplicationV2.RunConfigurationProperty runConfiguration) Sets the value ofCfnApplicationV2Props.getRunConfiguration()
- Parameters:
runConfiguration
- Describes the starting parameters for an Managed Service for Apache Flink application.- Returns:
this
-
tags
Sets the value ofCfnApplicationV2Props.getTags()
- Parameters:
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.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnApplicationV2Props>
- Returns:
- a new instance of
CfnApplicationV2Props
- Throws:
NullPointerException
- if any required attribute was not provided
-