Package com.vmware.nsx_policy.model
Class ApiError.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.ApiError.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiError
build()
ApiError.Builder
setDetails(java.lang.String details)
Further details about the errorApiError.Builder
setErrorCode(java.lang.Long errorCode)
A numeric error code format: int64ApiError.Builder
setErrorData(com.vmware.vapi.bindings.Structure errorData)
Additional data about the errorApiError.Builder
setErrorMessage(java.lang.String errorMessage)
A description of the errorApiError.Builder
setModuleName(java.lang.String moduleName)
The module name where the error occurredApiError.Builder
setRelatedErrors(java.util.List<RelatedApiError> relatedErrors)
Other errors related to this error
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofApiError
.
-
-
Method Detail
-
setDetails
public ApiError.Builder setDetails(java.lang.String details)
Further details about the error- Parameters:
details
- New value for the property.
-
setErrorCode
public ApiError.Builder setErrorCode(java.lang.Long errorCode)
A numeric error code format: int64- Parameters:
errorCode
- New value for the property.
-
setErrorData
public ApiError.Builder setErrorData(com.vmware.vapi.bindings.Structure errorData)
Additional data about the error- Parameters:
errorData
- New value for the property.
-
setErrorMessage
public ApiError.Builder setErrorMessage(java.lang.String errorMessage)
A description of the error- Parameters:
errorMessage
- New value for the property.
-
setModuleName
public ApiError.Builder setModuleName(java.lang.String moduleName)
The module name where the error occurred- Parameters:
moduleName
- New value for the property.
-
setRelatedErrors
public ApiError.Builder setRelatedErrors(java.util.List<RelatedApiError> relatedErrors)
Other errors related to this error- Parameters:
relatedErrors
- New value for the property.
-
build
public ApiError build()
-
-