Class ComponentReference.Builder
java.lang.Object
software.amazon.awscdk.services.imagebuilder.ComponentReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComponentReference>
- Enclosing interface:
ComponentReference
@Stability(Stable)
public static final class ComponentReference.Builder
extends Object
implements software.amazon.jsii.Builder<ComponentReference>
A builder for
ComponentReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.componentArn
(String componentArn) Sets the value ofComponentReference.getComponentArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
componentArn
Sets the value ofComponentReference.getComponentArn()
- Parameters:
componentArn
- The Arn of the Component resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ComponentReference>
- Returns:
- a new instance of
ComponentReference
- Throws:
NullPointerException
- if any required attribute was not provided
-