@Test void expressionAndIdShouldBeTheOnlyMandatoryFields() { assertThatCode(() -> DLPConfigurationItem.builder() .id(UNIQUE_ID) .expression(REGEX) .build()) .doesNotThrowAnyException(); }
public static Builder builder() { return new Builder(); }
DLPConfigurationItem { public static Builder builder() { return new Builder(); } }
DLPConfigurationItem { public static Builder builder() { return new Builder(); } private  DLPConfigurationItem(Id id, Optional<String> explanation, Pattern regexp, Targets targets); }
DLPConfigurationItem { public static Builder builder() { return new Builder(); } private  DLPConfigurationItem(Id id, Optional<String> explanation, Pattern regexp, Targets targets); static Builder builder(); Optional<String> getExplanation(); Pattern getRegexp(); Targets getTargets(); Id getId(); @Override final boolean equals(Object o); @Override final int hashCode(); @Override String toString(); }
DLPConfigurationItem { public static Builder builder() { return new Builder(); } private  DLPConfigurationItem(Id id, Optional<String> explanation, Pattern regexp, Targets targets); static Builder builder(); Optional<String> getExplanation(); Pattern getRegexp(); Targets getTargets(); Id getId(); @Override final boolean equals(Object o); @Override final int hashCode(); @Override String toString();  }