public void setInfrastructureClass(String infrastructureClass) {
        this.infrastructureClass = infrastructureClass;
    }
<p>
For registered instances, the infrastructure class: <code>ec2</code> or <code>on-premises</code>.
</p>

@param infrastructureClass
       For registered instances, the infrastructure class: <code>ec2</code> or <code>on-premises</code>.
aws-java-sdk-opsworks/src/main/java/com/amazonaws/services/opsworks/model/Instance.java