public InstanceConfig withInstanceType(InstanceType instanceType) {
        this.instanceType = instanceType.toString();
        return this;
    }
<p>
Configures the type resource instances to use while running an Amazon Braket hybrid job.
</p>

@param instanceType
       Configures the type resource instances to use while running an Amazon Braket hybrid job.
@return Returns a reference to this object so that method calls can be chained together.
@see InstanceType
aws-java-sdk-braket/src/main/java/com/amazonaws/services/braket/model/InstanceConfig.java