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

@param instanceCount
       The Amazon EC2 instance count for a 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/UpdateOutpostResolverRequest.java