public OutpostResolver withInstanceCount(Integer instanceCount) {
        setInstanceCount(instanceCount);
        return this;
    }
<p>
Amazon EC2 instance count for the Resolver on the Outpost.
</p>

@param instanceCount
       Amazon EC2 instance count for the Resolver on the Outpost.
@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