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