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