public SamplingRuleUpdate withHost(String host) {
        setHost(host);
        return this;
    }
<p>
Matches the hostname from a request URL.
</p>

@param host
       Matches the hostname from a request URL.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-xray/src/main/java/com/amazonaws/services/xray/model/SamplingRuleUpdate.java