Class DuplicateEnumValuesErrorBuilder

java.lang.Object
com.commercetools.api.models.error.DuplicateEnumValuesErrorBuilder
All Implemented Interfaces:
Builder<DuplicateEnumValuesError>

public class DuplicateEnumValuesErrorBuilder extends Object implements Builder<DuplicateEnumValuesError>
DuplicateEnumValuesErrorBuilder
Example to create an instance using the builder pattern

     DuplicateEnumValuesError duplicateEnumValuesError = DuplicateEnumValuesError.builder()
             .message("{message}")
             .plusDuplicates(duplicatesBuilder -> duplicatesBuilder)
             .build()
 
  • Constructor Details

    • DuplicateEnumValuesErrorBuilder

      public DuplicateEnumValuesErrorBuilder()
  • Method Details