public String getInstanceRole() {
        return this.instanceRole;
    }
<p>
Role of the instance in the cluster.
</p>
<p>
Starting with Amazon EMR release 5.23.0, the only supported instance role is <code>MASTER</code>.
</p>

@return Role of the instance in the cluster.</p>
        <p>
        Starting with Amazon EMR release 5.23.0, the only supported instance role is <code>MASTER</code>.
@see InstanceRoleType
aws-java-sdk-emr/src/main/java/com/amazonaws/services/elasticmapreduce/model/PlacementGroupConfig.java