Class CfnApplication.InitialCapacityConfigKeyValuePairProperty.Builder
java.lang.Object
software.amazon.awscdk.services.emrserverless.CfnApplication.InitialCapacityConfigKeyValuePairProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplication.InitialCapacityConfigKeyValuePairProperty>
- Enclosing interface:
CfnApplication.InitialCapacityConfigKeyValuePairProperty
@Stability(Stable)
public static final class CfnApplication.InitialCapacityConfigKeyValuePairProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplication.InitialCapacityConfigKeyValuePairProperty>
A builder for
CfnApplication.InitialCapacityConfigKeyValuePairProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnApplication.InitialCapacityConfigKeyValuePairProperty.getKey()
value
(IResolvable value) Sets the value ofCfnApplication.InitialCapacityConfigKeyValuePairProperty.getValue()
Sets the value ofCfnApplication.InitialCapacityConfigKeyValuePairProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
key
@Stability(Stable) public CfnApplication.InitialCapacityConfigKeyValuePairProperty.Builder key(String key) Sets the value ofCfnApplication.InitialCapacityConfigKeyValuePairProperty.getKey()
- Parameters:
key
- Worker type for an analytics framework. This parameter is required.- Returns:
this
-
value
@Stability(Stable) public CfnApplication.InitialCapacityConfigKeyValuePairProperty.Builder value(IResolvable value) Sets the value ofCfnApplication.InitialCapacityConfigKeyValuePairProperty.getValue()
- Parameters:
value
- the value to be set. This parameter is required.- Returns:
this
-
value
@Stability(Stable) public CfnApplication.InitialCapacityConfigKeyValuePairProperty.Builder value(CfnApplication.InitialCapacityConfigProperty value) Sets the value ofCfnApplication.InitialCapacityConfigKeyValuePairProperty.getValue()
- Parameters:
value
- the value to be set. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnApplication.InitialCapacityConfigKeyValuePairProperty>
- Returns:
- a new instance of
CfnApplication.InitialCapacityConfigKeyValuePairProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-