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.Object
Builder 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 DeploymentChecksStatus
build()
DeploymentChecksStatus.Builder
setDescription(java.lang.String description)
Show more information about pre/post check performed.DeploymentChecksStatus.Builder
setName(java.lang.String name)
Name of pre/post checkDeploymentChecksStatus.Builder
setReason(java.lang.String reason)
Reason for failure of pre/post check.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
Status 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()
-
-