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