public SamplingRuleUpdate withAttributes(java.util.Map<String, String> attributes) {
        setAttributes(attributes);
        return this;
    }
<p>
Matches attributes derived from the request.
</p>

@param attributes
       Matches attributes derived from the request.
@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