code: public void setSamplingRuleRecords(java.util.Collection<SamplingRuleRecord> samplingRuleRecords) {
          if (samplingRuleRecords == null) {
              this.samplingRuleRecords = null;
              return;
          }
  
          this.samplingRuleRecords = new java.util.ArrayList<SamplingRuleRecord>(samplingRuleRecords);
      }
docs: <p>
  Rule definitions and metadata.
  </p>
  
  @param samplingRuleRecords
  Rule definitions and metadata.