public SamplingRuleUpdate withServiceType(String serviceType) {
        setServiceType(serviceType);
        return this;
    }
<p>
Matches the <code>origin</code> that the service uses to identify its type in segments.
</p>

@param serviceType
       Matches the <code>origin</code> that the service uses to identify its type in segments.
@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