MetadataReportBuilder extends AbstractBuilder<MetadataReportConfig, MetadataReportBuilder> { public MetadataReportBuilder cycleReport(Boolean cycleReport) { this.cycleReport = cycleReport; return getThis(); }  static MetadataReportBuilder newBuilder(); MetadataReportBuilder address(String address); MetadataReportBuilder username(String username); MetadataReportBuilder password(String password); MetadataReportBuilder timeout(Integer timeout); MetadataReportBuilder group(String group); MetadataReportBuilder appendParameters(Map<String, String> appendParameters); MetadataReportBuilder appendParameter(String key, String value); MetadataReportBuilder retryTimes(Integer retryTimes); MetadataReportBuilder retryPeriod(Integer retryPeriod); MetadataReportBuilder cycleReport(Boolean cycleReport); MetadataReportBuilder syncReport(Boolean syncReport); MetadataReportConfig build();  }
@Test void cycleReport() { MetadataReportBuilder builder = new MetadataReportBuilder(); builder.cycleReport(true); Assertions.assertTrue(builder.build().getCycleReport()); builder.cycleReport(false); Assertions.assertFalse(builder.build().getCycleReport()); builder.cycleReport(null); Assertions.assertNull(builder.build().getCycleReport()); }