Class CfnApplication.ImageConfigurationInputProperty.Builder
java.lang.Object
software.amazon.awscdk.services.emrserverless.CfnApplication.ImageConfigurationInputProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplication.ImageConfigurationInputProperty>
- Enclosing interface:
CfnApplication.ImageConfigurationInputProperty
@Stability(Stable)
public static final class CfnApplication.ImageConfigurationInputProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplication.ImageConfigurationInputProperty>
A builder for
CfnApplication.ImageConfigurationInputProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnApplication.ImageConfigurationInputProperty.getImageUri()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
imageUri
@Stability(Stable) public CfnApplication.ImageConfigurationInputProperty.Builder imageUri(String imageUri) Sets the value ofCfnApplication.ImageConfigurationInputProperty.getImageUri()
- Parameters:
imageUri
- The URI of an image in the Amazon ECR registry. This field is required when you create a new application. If you leave this field blank in an update, Amazon EMR will remove the image configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnApplication.ImageConfigurationInputProperty>
- Returns:
- a new instance of
CfnApplication.ImageConfigurationInputProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-