public static class LocalBeanParamType.Builder extends Object
LocalBeanParamType.| Modifier | Constructor and Description |
|---|---|
protected |
Builder()
Use
LocalBeanParamType.builder() instead of private constructor to create new builder. |
protected |
Builder(LocalBeanParamType pObject)
Use
LocalBeanParamType.builder(LocalBeanParamType) instead of private constructor to create new builder. |
| Modifier and Type | Method and Description |
|---|---|
LocalBeanParamType |
build()
Method creates a new instance of class LocalBeanParamType.
|
LocalBeanParamType |
buildValidated()
Method creates a new validated instance of class LocalBeanParamType.
|
LocalBeanParamType.Builder |
setAuthorization(String pAuthorization)
Method sets attribute
authorization. |
LocalBeanParamType.Builder |
setLocalID(String pLocalID)
Method sets attribute
localID. |
LocalBeanParamType.Builder |
setLocalKey(String pLocalKey)
Method sets attribute
localKey. |
protected Builder()
LocalBeanParamType.builder() instead of private constructor to create new builder.protected Builder(LocalBeanParamType pObject)
LocalBeanParamType.builder(LocalBeanParamType) instead of private constructor to create new builder.public LocalBeanParamType.Builder setLocalKey(String pLocalKey)
localKey.pLocalKey - Value to which localKey should be set.LocalBeanParamType.Builder Instance of this builder to support chaining setters. Method never returns null.public LocalBeanParamType.Builder setLocalID(String pLocalID)
localID.pLocalID - Value to which localID should be set.LocalBeanParamType.Builder Instance of this builder to support chaining setters. Method never returns null.public LocalBeanParamType.Builder setAuthorization(String pAuthorization)
authorization.pAuthorization - Value to which authorization should be set.LocalBeanParamType.Builder Instance of this builder to support chaining setters. Method never returns null.public LocalBeanParamType build()
public LocalBeanParamType 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.