Interface ImmutableYangNetconfError.BuildFinal
- All Known Implementing Classes:
ImmutableYangNetconfError.Builder
- Enclosing class:
- ImmutableYangNetconfError
public static interface ImmutableYangNetconfError.BuildFinal
-
Method Summary
Modifier and TypeMethodDescriptionaddAllInfo
(Iterable<? extends YangErrorInfo> elements) Adds elements toinfo
list.addInfo
(YangErrorInfo element) Adds one element toinfo
list.addInfo
(YangErrorInfo... elements) Adds elements toinfo
list.Initializes the value for theappTag
attribute.build()
Builds a newImmutableYangNetconfError
.Initializes the value for themessage
attribute.path
(@Nullable YangInstanceIdentifier path) Initializes the value for thepath
attribute.
-
Method Details
-
message
Initializes the value for themessage
attribute.- Parameters:
message
- The value for message (can benull
)- Returns:
this
builder for use in a chained invocation
-
appTag
Initializes the value for theappTag
attribute.- Parameters:
appTag
- The value for appTag (can benull
)- Returns:
this
builder for use in a chained invocation
-
path
Initializes the value for thepath
attribute.- Parameters:
path
- The value for path (can benull
)- Returns:
this
builder for use in a chained invocation
-
addInfo
Adds one element toinfo
list.- Parameters:
element
- A info element- Returns:
this
builder for use in a chained invocation
-
addInfo
Adds elements toinfo
list.- Parameters:
elements
- An array of info elements- Returns:
this
builder for use in a chained invocation
-
addAllInfo
Adds elements toinfo
list.- Parameters:
elements
- An iterable of info elements- Returns:
this
builder for use in a chained invocation
-
build
ImmutableYangNetconfError build()Builds a newImmutableYangNetconfError
.- Returns:
- An immutable instance of YangNetconfError
- Throws:
IllegalStateException
- if any required attributes are missing
-