Package com.vmware.nsx_policy.model
Class PolicyRuntimeAlarm.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.PolicyRuntimeAlarm.Builder
-
- Enclosing class:
- PolicyRuntimeAlarm
public static final class PolicyRuntimeAlarm.Builder extends java.lang.Object
Builder class forPolicyRuntimeAlarm
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofPolicyRuntimeAlarm
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PolicyRuntimeAlarm
build()
PolicyRuntimeAlarm.Builder
setErrorDetails(PolicyApiError errorDetails)
PolicyRuntimeAlarm.Builder
setErrorId(java.lang.String errorId)
Alarm error id.PolicyRuntimeAlarm.Builder
setMessage(java.lang.String message)
Error message describing the issue.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofPolicyRuntimeAlarm
.
-
-
Method Detail
-
setErrorDetails
public PolicyRuntimeAlarm.Builder setErrorDetails(PolicyApiError errorDetails)
- Parameters:
errorDetails
- New value for the property.
-
setErrorId
public PolicyRuntimeAlarm.Builder setErrorId(java.lang.String errorId)
Alarm error id. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
errorId
- New value for the property.
-
setMessage
public PolicyRuntimeAlarm.Builder setMessage(java.lang.String message)
Error message describing the issue. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
message
- New value for the property.
-
build
public PolicyRuntimeAlarm build()
-
-