Package com.vmware.nsx_policy.model
Class DeploymentChecksStatus.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.DeploymentChecksStatus.Builder
-
- Enclosing class:
- DeploymentChecksStatus
public static final class DeploymentChecksStatus.Builder extends java.lang.ObjectBuilder class forDeploymentChecksStatus.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofDeploymentChecksStatus.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeploymentChecksStatusbuild()DeploymentChecksStatus.BuildersetDescription(java.lang.String description)Show more information about pre/post check performed.DeploymentChecksStatus.BuildersetName(java.lang.String name)Name of pre/post checkDeploymentChecksStatus.BuildersetReason(java.lang.String reason)Reason for failure of pre/post check.DeploymentChecksStatus.BuildersetStatus(java.lang.String status)Possible values are:DeploymentChecksStatus.STATUS_SUCCESSDeploymentChecksStatus.STATUS_FAILEDDeploymentChecksStatus.STATUS_WARNINGDeploymentChecksStatus.STATUS_SKIPPEDDeploymentChecksStatus.STATUS_IN_PROGRESSDeploymentChecksStatus.STATUS_STOPPINGDeploymentChecksStatus.STATUS_STOPPEDDeploymentChecksStatus.STATUS_NOT_STARTEDStatus pre/post check.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofDeploymentChecksStatus.
-
-
Method Detail
-
setDescription
public DeploymentChecksStatus.Builder setDescription(java.lang.String description)
Show more information about pre/post check performed.- Parameters:
description- New value for the property.
-
setName
public DeploymentChecksStatus.Builder setName(java.lang.String name)
Name of pre/post check- Parameters:
name- New value for the property.
-
setReason
public DeploymentChecksStatus.Builder setReason(java.lang.String reason)
Reason for failure of pre/post check. Otherwise empty.- Parameters:
reason- New value for the property.
-
setStatus
public DeploymentChecksStatus.Builder setStatus(java.lang.String status)
Possible values are:-
DeploymentChecksStatus.STATUS_SUCCESS -
DeploymentChecksStatus.STATUS_FAILED -
DeploymentChecksStatus.STATUS_WARNING -
DeploymentChecksStatus.STATUS_SKIPPED -
DeploymentChecksStatus.STATUS_IN_PROGRESS -
DeploymentChecksStatus.STATUS_STOPPING -
DeploymentChecksStatus.STATUS_STOPPED -
DeploymentChecksStatus.STATUS_NOT_STARTED
- Parameters:
status- New value for the property.
-
-
build
public DeploymentChecksStatus build()
-
-