public OutpostResolver withPreferredInstanceType(String preferredInstanceType) {
        setPreferredInstanceType(preferredInstanceType);
        return this;
    }
<p>
The Amazon EC2 instance type.
</p>

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