@Stability(value=Experimental) public static final class ApplicationProps.Builder extends Object implements software.amazon.jsii.Builder<ApplicationProps>
ApplicationProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) public ApplicationProps.Builder code(ApplicationCode code)
ApplicationProps.getCode()code - The Flink code asset to run. This parameter is required.this@Stability(value=Experimental) public ApplicationProps.Builder runtime(Runtime runtime)
ApplicationProps.getRuntime()runtime - The Flink version to use for this application. This parameter is required.this@Stability(value=Experimental) public ApplicationProps.Builder applicationName(String applicationName)
ApplicationProps.getApplicationName()applicationName - A name for your Application that is unique to an AWS account.this@Stability(value=Experimental) public ApplicationProps.Builder autoScalingEnabled(Boolean autoScalingEnabled)
ApplicationProps.getAutoScalingEnabled()autoScalingEnabled - Whether the Kinesis Data Analytics service can increase the parallelism of the application in response to resource usage.this@Stability(value=Experimental) public ApplicationProps.Builder checkpointingEnabled(Boolean checkpointingEnabled)
ApplicationProps.getCheckpointingEnabled()checkpointingEnabled - Whether checkpointing is enabled while your application runs.this@Stability(value=Experimental) public ApplicationProps.Builder checkpointInterval(Duration checkpointInterval)
ApplicationProps.getCheckpointInterval()checkpointInterval - The interval between checkpoints.this@Stability(value=Experimental) public ApplicationProps.Builder logGroup(ILogGroup logGroup)
ApplicationProps.getLogGroup()logGroup - The log group to send log entries to.this@Stability(value=Experimental) public ApplicationProps.Builder logLevel(LogLevel logLevel)
ApplicationProps.getLogLevel()logLevel - The level of log verbosity from the Flink application.this@Stability(value=Experimental) public ApplicationProps.Builder metricsLevel(MetricsLevel metricsLevel)
ApplicationProps.getMetricsLevel()metricsLevel - Describes the granularity of the CloudWatch metrics for an application.
Use caution with Parallelism level metrics. Parallelism granularity logs
metrics for each parallel thread and can quickly become expensive when
parallelism is high (e.g. > 64).this@Stability(value=Experimental) public ApplicationProps.Builder minPauseBetweenCheckpoints(Duration minPauseBetweenCheckpoints)
ApplicationProps.getMinPauseBetweenCheckpoints()minPauseBetweenCheckpoints - The minimum amount of time in to wait after a checkpoint finishes to start a new checkpoint.this@Stability(value=Experimental) public ApplicationProps.Builder parallelism(Number parallelism)
ApplicationProps.getParallelism()parallelism - The initial parallelism for the application.
Kinesis Data Analytics can
stop the app, increase the parallelism, and start the app again if
autoScalingEnabled is true (the default value).this@Stability(value=Experimental) public ApplicationProps.Builder parallelismPerKpu(Number parallelismPerKpu)
ApplicationProps.getParallelismPerKpu()parallelismPerKpu - The Flink parallelism allowed per Kinesis Processing Unit (KPU).this@Stability(value=Experimental) public ApplicationProps.Builder propertyGroups(PropertyGroups propertyGroups)
ApplicationProps.getPropertyGroups()propertyGroups - Configuration PropertyGroups.
You can use these property groups to pass
arbitrary runtime configuration values to your Flink app.this@Stability(value=Experimental) public ApplicationProps.Builder removalPolicy(RemovalPolicy removalPolicy)
ApplicationProps.getRemovalPolicy()removalPolicy - Provide a RemovalPolicy to override the default.this@Stability(value=Experimental) public ApplicationProps.Builder role(IRole role)
ApplicationProps.getRole()role - A role to use to grant permissions to your application.
Prefer omitting
this property and using the default role.this@Stability(value=Experimental) public ApplicationProps.Builder snapshotsEnabled(Boolean snapshotsEnabled)
ApplicationProps.getSnapshotsEnabled()snapshotsEnabled - Determines if Flink snapshots are enabled.this@Stability(value=Experimental) public ApplicationProps build()
build in interface software.amazon.jsii.Builder<ApplicationProps>ApplicationPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.