public ServiceManagedEc2InstanceMarketOptions withType(String type) {
        setType(type);
        return this;
    }
<p>
The Amazon EC2 instance type.
</p>

@param type
       The Amazon EC2 instance type.
@return Returns a reference to this object so that method calls can be chained together.
@see Ec2MarketType
aws-java-sdk-deadline/src/main/java/com/amazonaws/services/deadline/model/ServiceManagedEc2InstanceMarketOptions.java