Package com.vmware.nsx_policy.model
Class GlobalRestoreStatus.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.GlobalRestoreStatus.Builder
-
- Enclosing class:
- GlobalRestoreStatus
public static final class GlobalRestoreStatus.Builder extends java.lang.Object
Builder class forGlobalRestoreStatus
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofGlobalRestoreStatus
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GlobalRestoreStatus
build()
GlobalRestoreStatus.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.GlobalRestoreStatus.Builder
setValue(java.lang.String value)
Possible values are:GlobalRestoreStatus.VALUE_INITIAL
GlobalRestoreStatus.VALUE_SUCCESS
GlobalRestoreStatus.VALUE_FAILED
GlobalRestoreStatus.VALUE_RUNNING
GlobalRestoreStatus.VALUE_SUSPENDED_BY_USER
GlobalRestoreStatus.VALUE_SUSPENDED_FOR_USER_ACTION
GlobalRestoreStatus.VALUE_SUSPENDED
GlobalRestoreStatus.VALUE_ABORTED
Global rolled-up 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 ofGlobalRestoreStatus
.
-
-
Method Detail
-
setDescription
public GlobalRestoreStatus.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 GlobalRestoreStatus.Builder setValue(java.lang.String value)
Possible values are:-
GlobalRestoreStatus.VALUE_INITIAL
-
GlobalRestoreStatus.VALUE_SUCCESS
-
GlobalRestoreStatus.VALUE_FAILED
-
GlobalRestoreStatus.VALUE_RUNNING
-
GlobalRestoreStatus.VALUE_SUSPENDED_BY_USER
-
GlobalRestoreStatus.VALUE_SUSPENDED_FOR_USER_ACTION
-
GlobalRestoreStatus.VALUE_SUSPENDED
-
GlobalRestoreStatus.VALUE_ABORTED
- Parameters:
value
- New value for the property.
-
-
build
public GlobalRestoreStatus build()
-
-