Package com.vmware.nsx_policy.model
Class RestoreStep.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.RestoreStep.Builder
-
- Enclosing class:
- RestoreStep
public static final class RestoreStep.Builder extends java.lang.Object
Builder class forRestoreStep
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofRestoreStep
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RestoreStep
build()
RestoreStep.Builder
setDescription(java.lang.String description)
Restore step description This property may be present in responses from the server, but if it is present in a request to server it will be ignored.RestoreStep.Builder
setStatus(PerStepRestoreStatus status)
RestoreStep.Builder
setStepNumber(java.lang.Long stepNumber)
Restore step number format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.RestoreStep.Builder
setValue(java.lang.String value)
Restore step 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 ofRestoreStep
.
-
-
Method Detail
-
setDescription
public RestoreStep.Builder setDescription(java.lang.String description)
Restore step description 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.
-
setStatus
public RestoreStep.Builder setStatus(PerStepRestoreStatus status)
- Parameters:
status
- New value for the property.
-
setStepNumber
public RestoreStep.Builder setStepNumber(java.lang.Long stepNumber)
Restore step number format: int64 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:
stepNumber
- New value for the property.
-
setValue
public RestoreStep.Builder setValue(java.lang.String value)
Restore step 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 RestoreStep build()
-
-