@Stability(value=Stable) public static final class CfnApplication.InitialCapacityConfigKeyValuePairProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnApplication.InitialCapacityConfigKeyValuePairProperty>
CfnApplication.InitialCapacityConfigKeyValuePairProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnApplication.InitialCapacityConfigKeyValuePairProperty |
build()
Builds the configured instance.
|
CfnApplication.InitialCapacityConfigKeyValuePairProperty.Builder |
key(String key)
Sets the value of
CfnApplication.InitialCapacityConfigKeyValuePairProperty.getKey() |
CfnApplication.InitialCapacityConfigKeyValuePairProperty.Builder |
value(CfnApplication.InitialCapacityConfigProperty value)
Sets the value of
CfnApplication.InitialCapacityConfigKeyValuePairProperty.getValue() |
CfnApplication.InitialCapacityConfigKeyValuePairProperty.Builder |
value(IResolvable value)
Sets the value of
CfnApplication.InitialCapacityConfigKeyValuePairProperty.getValue() |
@Stability(value=Stable) public CfnApplication.InitialCapacityConfigKeyValuePairProperty.Builder key(String key)
CfnApplication.InitialCapacityConfigKeyValuePairProperty.getKey()key - The worker type for an analytics framework. This parameter is required.
For Spark applications, the key can either be set to Driver or Executor . For Hive applications, it can be set to HiveDriver or TezTask .
Minimum : 1
Maximum : 50
Pattern : ^[a-zA-Z]+[-_]*[a-zA-Z]+$
this@Stability(value=Stable) public CfnApplication.InitialCapacityConfigKeyValuePairProperty.Builder value(CfnApplication.InitialCapacityConfigProperty value)
CfnApplication.InitialCapacityConfigKeyValuePairProperty.getValue()value - The value for the initial capacity configuration per worker. This parameter is required.this@Stability(value=Stable) public CfnApplication.InitialCapacityConfigKeyValuePairProperty.Builder value(IResolvable value)
CfnApplication.InitialCapacityConfigKeyValuePairProperty.getValue()value - The value for the initial capacity configuration per worker. This parameter is required.this@Stability(value=Stable) public CfnApplication.InitialCapacityConfigKeyValuePairProperty build()
build in interface software.amazon.jsii.Builder<CfnApplication.InitialCapacityConfigKeyValuePairProperty>CfnApplication.InitialCapacityConfigKeyValuePairPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.