Package com.vmware.nsx_policy.model
Class ValidationError.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.ValidationError.Builder
-
- Enclosing class:
- ValidationError
public static final class ValidationError.Builder extends java.lang.Object
Builder class forValidationError
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofValidationError
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValidationError
build()
ValidationError.Builder
setDiscoveredNodeId(java.lang.String discoveredNodeId)
Discovered Node Id This property may be present in responses from the server, but if it is present in a request to server it will be ignored.ValidationError.Builder
setErrorMessage(java.lang.String errorMessage)
Validation error message This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofValidationError
.
-
-
Method Detail
-
setDiscoveredNodeId
public ValidationError.Builder setDiscoveredNodeId(java.lang.String discoveredNodeId)
Discovered Node Id This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
discoveredNodeId
- New value for the property.
-
setErrorMessage
public ValidationError.Builder setErrorMessage(java.lang.String errorMessage)
Validation error message This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
errorMessage
- New value for the property.
-
build
public ValidationError build()
-
-