Package com.vmware.nsx_policy.model
Class PerStepRestoreStatus.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.PerStepRestoreStatus.Builder
-
- Enclosing class:
- PerStepRestoreStatus
public static final class PerStepRestoreStatus.Builder extends java.lang.Object
Builder class forPerStepRestoreStatus
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofPerStepRestoreStatus
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PerStepRestoreStatus
build()
PerStepRestoreStatus.Builder
setDescription(java.lang.String description)
A description of the restore status This property may be present in responses from the server, but if it is present in a request to server it will be ignored.PerStepRestoreStatus.Builder
setValue(java.lang.String value)
Possible values are:PerStepRestoreStatus.VALUE_INITIAL
PerStepRestoreStatus.VALUE_RUNNING
PerStepRestoreStatus.VALUE_SUSPENDED_BY_USER
PerStepRestoreStatus.VALUE_SUSPENDED_FOR_USER_ACTION
PerStepRestoreStatus.VALUE_FAILED
PerStepRestoreStatus.VALUE_SUCCESS
Per step restore status value This property may be present in responses from the server, but if it is present in a request to server it will be ignored.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofPerStepRestoreStatus
.
-
-
Method Detail
-
setDescription
public PerStepRestoreStatus.Builder setDescription(java.lang.String description)
A description of the restore status 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:
description
- New value for the property.
-
setValue
public PerStepRestoreStatus.Builder setValue(java.lang.String value)
Possible values are: Per step restore status value 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:
value
- New value for the property.
-
build
public PerStepRestoreStatus build()
-
-