Interface ImmutableYangNetconfError.BuildFinal
-
- All Known Implementing Classes:
ImmutableYangNetconfError.Builder
- Enclosing class:
- ImmutableYangNetconfError
public static interface ImmutableYangNetconfError.BuildFinal
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ImmutableYangNetconfError.BuildFinal
addAllInfo(Iterable<? extends YangErrorInfo> elements)
Adds elements toinfo
list.ImmutableYangNetconfError.BuildFinal
addInfo(YangErrorInfo element)
Adds one element toinfo
list.ImmutableYangNetconfError.BuildFinal
addInfo(YangErrorInfo... elements)
Adds elements toinfo
list.ImmutableYangNetconfError.BuildFinal
appTag(@Nullable String appTag)
Initializes the value for theappTag
attribute.ImmutableYangNetconfError
build()
Builds a newImmutableYangNetconfError
.ImmutableYangNetconfError.BuildFinal
message(@Nullable String message)
Initializes the value for themessage
attribute.ImmutableYangNetconfError.BuildFinal
path(@Nullable YangInstanceIdentifier path)
Initializes the value for thepath
attribute.
-
-
-
Method Detail
-
message
ImmutableYangNetconfError.BuildFinal message(@Nullable String 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
ImmutableYangNetconfError.BuildFinal appTag(@Nullable String 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
ImmutableYangNetconfError.BuildFinal path(@Nullable YangInstanceIdentifier 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
ImmutableYangNetconfError.BuildFinal addInfo(YangErrorInfo element)
Adds one element toinfo
list.- Parameters:
element
- A info element- Returns:
this
builder for use in a chained invocation
-
addInfo
ImmutableYangNetconfError.BuildFinal addInfo(YangErrorInfo... elements)
Adds elements toinfo
list.- Parameters:
elements
- An array of info elements- Returns:
this
builder for use in a chained invocation
-
addAllInfo
ImmutableYangNetconfError.BuildFinal addAllInfo(Iterable<? extends YangErrorInfo> elements)
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
-
-