public static class LinkObject.Builder extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
Builder()
Use
LinkObject.builder() instead of private constructor to create new builder. |
protected |
Builder(LinkObject pObject)
Use
LinkObject.builder(LinkObject) instead of private constructor to create new builder. |
| Modifier and Type | Method and Description |
|---|---|
LinkObject |
build()
Method creates a new instance of class LinkObject.
|
LinkObject |
buildValidated()
Method creates a new validated instance of class LinkObject.
|
LinkObject.Builder |
setHref(String pHref)
Method sets the attribute "href".
|
protected Builder()
LinkObject.builder() instead of private constructor to create new builder.protected Builder(LinkObject pObject)
LinkObject.builder(LinkObject) instead of private constructor to create new builder.public LinkObject.Builder setHref(String pHref)
pHref - Value to which the attribute "href" should be set.public LinkObject build()
public LinkObject buildValidated() throws javax.validation.ConstraintViolationException
javax.validation.ConstraintViolationException - in case that one or more validations for the created object failed.Copyright © 2022. All rights reserved.