Package com.vmware.nsx_policy.model
Class RelatedApiError.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.RelatedApiError.Builder
-
- Enclosing class:
- RelatedApiError
public static final class RelatedApiError.Builder extends java.lang.Object
Builder class forRelatedApiError
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofRelatedApiError
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RelatedApiError
build()
RelatedApiError.Builder
setDetails(java.lang.String details)
Further details about the errorRelatedApiError.Builder
setErrorCode(java.lang.Long errorCode)
A numeric error code format: int64RelatedApiError.Builder
setErrorData(com.vmware.vapi.bindings.Structure errorData)
Additional data about the errorRelatedApiError.Builder
setErrorMessage(java.lang.String errorMessage)
A description of the errorRelatedApiError.Builder
setModuleName(java.lang.String moduleName)
The module name where the error occurred
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofRelatedApiError
.
-
-
Method Detail
-
setDetails
public RelatedApiError.Builder setDetails(java.lang.String details)
Further details about the error- Parameters:
details
- New value for the property.
-
setErrorCode
public RelatedApiError.Builder setErrorCode(java.lang.Long errorCode)
A numeric error code format: int64- Parameters:
errorCode
- New value for the property.
-
setErrorData
public RelatedApiError.Builder setErrorData(com.vmware.vapi.bindings.Structure errorData)
Additional data about the error- Parameters:
errorData
- New value for the property.
-
setErrorMessage
public RelatedApiError.Builder setErrorMessage(java.lang.String errorMessage)
A description of the error- Parameters:
errorMessage
- New value for the property.
-
setModuleName
public RelatedApiError.Builder setModuleName(java.lang.String moduleName)
The module name where the error occurred- Parameters:
moduleName
- New value for the property.
-
build
public RelatedApiError build()
-
-