public void setSamplingRule(SamplingRule samplingRule) {
        this.samplingRule = samplingRule;
    }
<p>
The sampling rule.
</p>

@param samplingRule
       The sampling rule.
aws-java-sdk-xray/src/main/java/com/amazonaws/services/xray/model/SamplingRuleRecord.java