Class GroupReference.Builder
java.lang.Object
software.amazon.awscdk.services.resourcegroups.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.getGroupName()
-
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
-
groupName
Sets the value ofGroupReference.getGroupName()
- Parameters:
groupName
- The Name 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
-