public AssociateRoleToGroupRequest withGroupId(String groupId) {
        setGroupId(groupId);
        return this;
    }
The ID of the Greengrass group.

@param groupId
       The ID of the Greengrass group.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-greengrass/src/main/java/com/amazonaws/services/greengrass/model/AssociateRoleToGroupRequest.java