Package com.vmware.nsx.model
Class MPPolicyPromotionHistory.Builder
- java.lang.Object
-
- com.vmware.nsx.model.MPPolicyPromotionHistory.Builder
-
- Enclosing class:
- MPPolicyPromotionHistory
public static final class MPPolicyPromotionHistory.Builder extends java.lang.ObjectBuilder class forMPPolicyPromotionHistory.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofMPPolicyPromotionHistory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MPPolicyPromotionHistorybuild()MPPolicyPromotionHistory.BuildersetDateTime(java.lang.String dateTime)Date and and time of the promotion operation.MPPolicyPromotionHistory.BuildersetStatus(java.lang.String status)Possible values are:MPPolicyPromotionHistory.STATUS_INITIATEDMPPolicyPromotionHistory.STATUS_CANCELLEDMPPolicyPromotionHistory.STATUS_SUCCESSMPPolicyPromotionHistory.STATUS_PARTIAL_SUCCESSRepresents the type of operation in the mp to policy promotion life cycle.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofMPPolicyPromotionHistory.
-
-
Method Detail
-
setDateTime
public MPPolicyPromotionHistory.Builder setDateTime(java.lang.String dateTime)
Date and and time of the promotion operation. The date and time is stored in epoch time format. 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:
dateTime- New value for the property.
-
setStatus
public MPPolicyPromotionHistory.Builder setStatus(java.lang.String status)
Possible values are: Represents the type of operation in the mp to policy promotion life cycle. Can be INITIATED, CANCELLED, PARTIAL_SUCCESS or SUCCESS.- Parameters:
status- New value for the property.
-
build
public MPPolicyPromotionHistory build()
-
-