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