public void setInstanceGroupType(String instanceGroupType) {
        this.instanceGroupType = instanceGroupType;
    }
<p>
The type of the instance group. Valid values are MASTER, CORE or TASK.
</p>

@param instanceGroupType
       The type of the instance group. Valid values are MASTER, CORE or TASK.
@see InstanceGroupType
aws-java-sdk-emr/src/main/java/com/amazonaws/services/elasticmapreduce/model/InstanceGroup.java