They can be used to set the attribute value:
```
var attributes = primitive.getGeometryInstanceAttributes('geometry');
attributes.color = ColorGeometryInstanceAttribute.toValue(Color.AQUA);
```