Class APIResponseDTO.ErrorsDTO.Builder

  • Enclosing class:
    APIResponseDTO.ErrorsDTO

    public static class APIResponseDTO.ErrorsDTO.Builder
    extends Object
    Builder used to create a new immutable APIResponseDTO.ErrorsDTO implementation


    This builder provides a fluent API for setting certain object properties and creating a new immutable APIResponseDTO.ErrorsDTO instance based on these properties. New builders may be initialized with some existing DTO instance, which presets the builders properties to the values of the given DTO, still retaining the option to make additional changes before actually building a new immutable object.