public class ErrorBuilder extends Object implements org.opendaylight.yangtools.concepts.Builder<Error>
ErrorBuilder
instances.ErrorBuilder
Constructor and Description |
---|
ErrorBuilder() |
ErrorBuilder(Error base) |
Modifier and Type | Method and Description |
---|---|
ErrorBuilder |
addAugmentation(Class<? extends Augmentation<Error>> augmentationType,
Augmentation<Error> augmentationValue) |
<E extends Augmentation<Error>> |
augmentation(Class<E> augmentationType) |
Error |
build() |
String |
getErrorAppTag() |
ErrorInfo |
getErrorInfo() |
String |
getErrorMessage() |
DataResourceIdentifier |
getErrorPath() |
String |
getErrorTag() |
Error.ErrorType |
getErrorType() |
ErrorBuilder |
removeAugmentation(Class<? extends Augmentation<Error>> augmentationType) |
ErrorBuilder |
setErrorAppTag(String value) |
ErrorBuilder |
setErrorInfo(ErrorInfo value) |
ErrorBuilder |
setErrorMessage(String value) |
ErrorBuilder |
setErrorPath(DataResourceIdentifier value) |
ErrorBuilder |
setErrorTag(String value) |
ErrorBuilder |
setErrorType(Error.ErrorType value) |
public ErrorBuilder()
public ErrorBuilder(Error base)
public String getErrorAppTag()
public ErrorInfo getErrorInfo()
public String getErrorMessage()
public DataResourceIdentifier getErrorPath()
public String getErrorTag()
public Error.ErrorType getErrorType()
public <E extends Augmentation<Error>> E augmentation(Class<E> augmentationType)
public ErrorBuilder setErrorAppTag(String value)
public ErrorBuilder setErrorInfo(ErrorInfo value)
public ErrorBuilder setErrorMessage(String value)
public ErrorBuilder setErrorPath(DataResourceIdentifier value)
public ErrorBuilder setErrorTag(String value)
public ErrorBuilder setErrorType(Error.ErrorType value)
public ErrorBuilder addAugmentation(Class<? extends Augmentation<Error>> augmentationType, Augmentation<Error> augmentationValue)
public ErrorBuilder removeAugmentation(Class<? extends Augmentation<Error>> augmentationType)
public Error build()
build
in interface org.opendaylight.yangtools.concepts.CheckedBuilder<Error,IllegalArgumentException>
Copyright © 2019 OpenDaylight. All rights reserved.