public static final class HD.Builder extends Object
HD.Builder
Build class used to construct and validate an HD object.| Constructor and Description |
|---|
Builder()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
HD |
build()
Build HD and validate necessary fields.
|
HD.Builder |
identifier(String value)
Set the universal identifier.
|
HD.Builder |
identifierType(String value)
Set the universal identifier type.
|
HD.Builder |
namespace(String value)
Set the namespace.
|
public HD.Builder namespace(String value)
value - Namespace (not null).HD.Builderpublic HD.Builder identifier(String value)
value - Universal identifier (not null).HD.Builderpublic HD.Builder identifierType(String value)
value - Universal identifier type (not null).HD.Builderpublic HD build() throws MDMValidationException
HDMDMValidationException - Thrown when validation fails.Copyright © 2021. All rights reserved.