Class CfnApplicationProps.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisanalyticsv2.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 TypeMethodDescriptionapplicationConfiguration
(IResolvable applicationConfiguration) Sets the value ofCfnApplicationProps.getApplicationConfiguration()
applicationConfiguration
(CfnApplication.ApplicationConfigurationProperty applicationConfiguration) Sets the value ofCfnApplicationProps.getApplicationConfiguration()
applicationDescription
(String applicationDescription) Sets the value ofCfnApplicationProps.getApplicationDescription()
applicationMaintenanceConfiguration
(IResolvable applicationMaintenanceConfiguration) Sets the value ofCfnApplicationProps.getApplicationMaintenanceConfiguration()
applicationMaintenanceConfiguration
(CfnApplication.ApplicationMaintenanceConfigurationProperty applicationMaintenanceConfiguration) Sets the value ofCfnApplicationProps.getApplicationMaintenanceConfiguration()
applicationMode
(String applicationMode) Sets the value ofCfnApplicationProps.getApplicationMode()
applicationName
(String applicationName) Sets the value ofCfnApplicationProps.getApplicationName()
build()
Builds the configured instance.runConfiguration
(IResolvable runConfiguration) Sets the value ofCfnApplicationProps.getRunConfiguration()
runConfiguration
(CfnApplication.RunConfigurationProperty runConfiguration) Sets the value ofCfnApplicationProps.getRunConfiguration()
runtimeEnvironment
(String runtimeEnvironment) Sets the value ofCfnApplicationProps.getRuntimeEnvironment()
serviceExecutionRole
(String serviceExecutionRole) Sets the value ofCfnApplicationProps.getServiceExecutionRole()
Sets the value ofCfnApplicationProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
runtimeEnvironment
Sets the value ofCfnApplicationProps.getRuntimeEnvironment()
- Parameters:
runtimeEnvironment
- The runtime environment for the application. This parameter is required.- Returns:
this
-
serviceExecutionRole
@Stability(Stable) public CfnApplicationProps.Builder serviceExecutionRole(String serviceExecutionRole) Sets the value ofCfnApplicationProps.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 CfnApplicationProps.Builder applicationConfiguration(IResolvable applicationConfiguration) Sets the value ofCfnApplicationProps.getApplicationConfiguration()
- Parameters:
applicationConfiguration
- Use this parameter to configure the application.- Returns:
this
-
applicationConfiguration
@Stability(Stable) public CfnApplicationProps.Builder applicationConfiguration(CfnApplication.ApplicationConfigurationProperty applicationConfiguration) Sets the value ofCfnApplicationProps.getApplicationConfiguration()
- Parameters:
applicationConfiguration
- Use this parameter to configure the application.- Returns:
this
-
applicationDescription
@Stability(Stable) public CfnApplicationProps.Builder applicationDescription(String applicationDescription) Sets the value ofCfnApplicationProps.getApplicationDescription()
- Parameters:
applicationDescription
- The description of the application.- Returns:
this
-
applicationMaintenanceConfiguration
@Stability(Stable) public CfnApplicationProps.Builder applicationMaintenanceConfiguration(IResolvable applicationMaintenanceConfiguration) Sets the value ofCfnApplicationProps.getApplicationMaintenanceConfiguration()
- Parameters:
applicationMaintenanceConfiguration
- Describes the maintenance configuration for the application.- Returns:
this
-
applicationMaintenanceConfiguration
@Stability(Stable) public CfnApplicationProps.Builder applicationMaintenanceConfiguration(CfnApplication.ApplicationMaintenanceConfigurationProperty applicationMaintenanceConfiguration) Sets the value ofCfnApplicationProps.getApplicationMaintenanceConfiguration()
- Parameters:
applicationMaintenanceConfiguration
- Describes the maintenance configuration for the application.- Returns:
this
-
applicationMode
Sets the value ofCfnApplicationProps.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 ofCfnApplicationProps.getApplicationName()
- Parameters:
applicationName
- The name of the application.- Returns:
this
-
runConfiguration
@Stability(Stable) public CfnApplicationProps.Builder runConfiguration(IResolvable runConfiguration) Sets the value ofCfnApplicationProps.getRunConfiguration()
- Parameters:
runConfiguration
- Describes the starting parameters for an Managed Service for Apache Flink application.- Returns:
this
-
runConfiguration
@Stability(Stable) public CfnApplicationProps.Builder runConfiguration(CfnApplication.RunConfigurationProperty runConfiguration) Sets the value ofCfnApplicationProps.getRunConfiguration()
- Parameters:
runConfiguration
- Describes the starting parameters for an Managed Service for Apache Flink application.- Returns:
this
-
tags
Sets the value ofCfnApplicationProps.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<CfnApplicationProps>
- Returns:
- a new instance of
CfnApplicationProps
- Throws:
NullPointerException
- if any required attribute was not provided
-