Package com.vmware.nsx_policy.model
Class MonitoringError.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.MonitoringError.Builder
-
- Enclosing class:
- MonitoringError
public static final class MonitoringError.Builder extends java.lang.Object
Builder class forMonitoringError
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofMonitoringError
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MonitoringError
build()
MonitoringError.Builder
setErrorCode(java.lang.Long errorCode)
NSX error code if available format: int64MonitoringError.Builder
setErrorMessage(java.lang.String errorMessage)
Error mesageMonitoringError.Builder
setParams(java.util.List<com.vmware.vapi.bindings.Structure> params)
Parameters for construcing error details
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofMonitoringError
.
-
-
Method Detail
-
setErrorCode
public MonitoringError.Builder setErrorCode(java.lang.Long errorCode)
NSX error code if available format: int64- Parameters:
errorCode
- New value for the property.
-
setErrorMessage
public MonitoringError.Builder setErrorMessage(java.lang.String errorMessage)
Error mesage- Parameters:
errorMessage
- New value for the property.
-
setParams
public MonitoringError.Builder setParams(java.util.List<com.vmware.vapi.bindings.Structure> params)
Parameters for construcing error details- Parameters:
params
- New value for the property.
-
build
public MonitoringError build()
-
-