public static class TechnicalHeaderContext.Builder extends Object
TechnicalHeaderContext.| Modifier | Constructor and Description |
|---|---|
protected |
Builder()
Use
TechnicalHeaderContext.builder() instead of private constructor to create new builder. |
protected |
Builder(TechnicalHeaderContext pObject)
Use
TechnicalHeaderContext.builder(TechnicalHeaderContext) instead of private constructor to create new
builder. |
| Modifier and Type | Method and Description |
|---|---|
TechnicalHeaderContext |
build()
Method creates a new instance of class TechnicalHeaderContext.
|
TechnicalHeaderContext |
buildValidated()
Method creates a new validated instance of class TechnicalHeaderContext.
|
TechnicalHeaderContext.Builder |
setReseller(String pReseller)
Method sets attribute
reseller. |
protected Builder()
TechnicalHeaderContext.builder() instead of private constructor to create new builder.protected Builder(TechnicalHeaderContext pObject)
TechnicalHeaderContext.builder(TechnicalHeaderContext) instead of private constructor to create new
builder.public TechnicalHeaderContext.Builder setReseller(String pReseller)
reseller.pReseller - Value to which reseller should be set.TechnicalHeaderContext.Builder Instance of this builder to support chaining setters. Method never returns null.public TechnicalHeaderContext build()
public TechnicalHeaderContext buildValidated() throws javax.validation.ConstraintViolationException
javax.validation.ConstraintViolationException - in case that one or more validations for the created object failed.Copyright © 2023. All rights reserved.