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.ObjectBuilder 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 PolicyRelatedApiErrorbuild()PolicyRelatedApiError.BuildersetDetails(java.lang.String details)Further details about the errorPolicyRelatedApiError.BuildersetErrorCode(java.lang.Long errorCode)A numeric error code format: int64PolicyRelatedApiError.BuildersetErrorData(com.vmware.vapi.bindings.Structure errorData)Additional data about the errorPolicyRelatedApiError.BuildersetErrorMessage(java.lang.String errorMessage)A description of the errorPolicyRelatedApiError.BuildersetModuleName(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()
-
-