Class ComponentDataConfig.Builder
java.lang.Object
software.amazon.awscdk.services.imagebuilder.alpha.ComponentDataConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComponentDataConfig>
- Enclosing interface:
ComponentDataConfig
@Stability(Experimental)
public static final class ComponentDataConfig.Builder
extends Object
implements software.amazon.jsii.Builder<ComponentDataConfig>
A builder for
ComponentDataConfig-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofComponentDataConfig.getData()Sets the value ofComponentDataConfig.getUri()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
data
Sets the value ofComponentDataConfig.getData()- Parameters:
data- The rendered component data, for use in CloudFormation.- Returns:
this
-
uri
Sets the value ofComponentDataConfig.getUri()- Parameters:
uri- The rendered component data URI, for use in CloudFormation.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComponentDataConfig>- Returns:
- a new instance of
ComponentDataConfig - Throws:
NullPointerException- if any required attribute was not provided
-