public static final class OvfMessage.Builder
extends java.lang.Object
OvfMessage.| Constructor and Description |
|---|
Builder(OvfMessage.Category category)
Constructor with parameters for the required properties of
OvfMessage. |
| Modifier and Type | Method and Description |
|---|---|
OvfMessage |
build() |
OvfMessage.Builder |
setError(Structure error)
Represents a server
Error. |
OvfMessage.Builder |
setIssues(java.util.List<ParseIssue> issues)
List of parse issues (see ParseIssue). |
OvfMessage.Builder |
setMessage(LocalizableMessage message)
A localizable message.
|
OvfMessage.Builder |
setName(java.lang.String name)
The name of input parameter.
|
OvfMessage.Builder |
setValue(java.lang.String value)
The value of input parameter.
|
public Builder(OvfMessage.Category category)
OvfMessage.public OvfMessage.Builder setIssues(java.util.List<ParseIssue> issues)
List of parse issues (see ParseIssue).
This property is optional and it is only relevant when the value of getCategory() is OvfMessage.Category.VALIDATION.issues - New value for the property.public OvfMessage.Builder setName(java.lang.String name)
getCategory() is OvfMessage.Category.INPUT.name - New value for the property.public OvfMessage.Builder setValue(java.lang.String value)
getCategory() is OvfMessage.Category.INPUT.value - New value for the property.public OvfMessage.Builder setMessage(LocalizableMessage message)
getCategory() is OvfMessage.Category.INPUT.message - New value for the property.public OvfMessage.Builder setError(Structure error)
Error.
This property is optional and it is only relevant when the value of getCategory() is OvfMessage.Category.SERVER.public OvfMessage build()