public static class LinkObject.Builder extends Object
LinkObject.| 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 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)
href.pHref - Value to which href should be set.LinkObject.Builder Instance of this builder to support chaining setters. Method never returns null.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 © 2023. All rights reserved.