Class CfnApplication.WorkerTypeSpecificationInputProperty.Builder
java.lang.Object
software.amazon.awscdk.services.emrserverless.CfnApplication.WorkerTypeSpecificationInputProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplication.WorkerTypeSpecificationInputProperty>
- Enclosing interface:
CfnApplication.WorkerTypeSpecificationInputProperty
@Stability(Stable)
public static final class CfnApplication.WorkerTypeSpecificationInputProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplication.WorkerTypeSpecificationInputProperty>
A builder for
CfnApplication.WorkerTypeSpecificationInputProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.imageConfiguration
(IResolvable imageConfiguration) imageConfiguration
(CfnApplication.ImageConfigurationInputProperty imageConfiguration)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
imageConfiguration
@Stability(Stable) public CfnApplication.WorkerTypeSpecificationInputProperty.Builder imageConfiguration(IResolvable imageConfiguration) - Parameters:
imageConfiguration
- The image configuration for a worker type.- Returns:
this
-
imageConfiguration
@Stability(Stable) public CfnApplication.WorkerTypeSpecificationInputProperty.Builder imageConfiguration(CfnApplication.ImageConfigurationInputProperty imageConfiguration) - Parameters:
imageConfiguration
- The image configuration for a worker type.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnApplication.WorkerTypeSpecificationInputProperty>
- Returns:
- a new instance of
CfnApplication.WorkerTypeSpecificationInputProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-