public static final class PolicyRelatedApiError.Builder
extends java.lang.Object
PolicyRelatedApiError
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
PolicyRelatedApiError . |
Modifier and Type | Method and Description |
---|---|
PolicyRelatedApiError |
build() |
PolicyRelatedApiError.Builder |
setDetails(java.lang.String details)
Further details about the error
|
PolicyRelatedApiError.Builder |
setErrorCode(java.lang.Long errorCode)
A numeric error code format: int64
|
PolicyRelatedApiError.Builder |
setErrorData(com.vmware.vapi.bindings.Structure errorData)
Additional data about the error
|
PolicyRelatedApiError.Builder |
setErrorMessage(java.lang.String errorMessage)
A description of the error
|
PolicyRelatedApiError.Builder |
setModuleName(java.lang.String moduleName)
The module name where the error occurred
|
public Builder()
PolicyRelatedApiError
.public PolicyRelatedApiError.Builder setDetails(java.lang.String details)
details
- New value for the property.public PolicyRelatedApiError.Builder setErrorCode(java.lang.Long errorCode)
errorCode
- New value for the property.public PolicyRelatedApiError.Builder setErrorData(com.vmware.vapi.bindings.Structure errorData)
errorData
- New value for the property.public PolicyRelatedApiError.Builder setErrorMessage(java.lang.String errorMessage)
errorMessage
- New value for the property.public PolicyRelatedApiError.Builder setModuleName(java.lang.String moduleName)
moduleName
- New value for the property.public PolicyRelatedApiError build()