Package com.vmware.nsx_policy.model
Class MpsErrorClass.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.MpsErrorClass.Builder
-
- Enclosing class:
- MpsErrorClass
public static final class MpsErrorClass.Builder extends java.lang.Object
Builder class forMpsErrorClass
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofMpsErrorClass
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MpsErrorClass
build()
MpsErrorClass.Builder
setErrorId(java.lang.Long errorId)
Error Id encountered during MPS VM deployment.MpsErrorClass.Builder
setErrorMessage(java.lang.String errorMessage)
Description of issue encountered during MPS VM deployment.MpsErrorClass.Builder
setErrorTimestamp(java.lang.String errorTimestamp)
Timestamp when issue was issue encountered during MPS VM deployment.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofMpsErrorClass
.
-
-
Method Detail
-
setErrorId
public MpsErrorClass.Builder setErrorId(java.lang.Long errorId)
Error Id encountered during MPS VM deployment. format: int64 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.
-
setErrorMessage
public MpsErrorClass.Builder setErrorMessage(java.lang.String errorMessage)
Description of issue encountered during MPS VM deployment. 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:
errorMessage
- New value for the property.
-
setErrorTimestamp
public MpsErrorClass.Builder setErrorTimestamp(java.lang.String errorTimestamp)
Timestamp when issue was issue encountered during MPS VM deployment. 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:
errorTimestamp
- New value for the property.
-
build
public MpsErrorClass build()
-
-