Package com.vmware.nsx_policy.model
Class AdvanceClusterRestoreInput.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.AdvanceClusterRestoreInput.Builder
-
- Enclosing class:
- AdvanceClusterRestoreInput
public static final class AdvanceClusterRestoreInput.Builder extends java.lang.ObjectBuilder class forAdvanceClusterRestoreInput.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofAdvanceClusterRestoreInput.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdvanceClusterRestoreInputbuild()AdvanceClusterRestoreInput.BuildersetId(java.lang.String id)Unique id of an instruction (as returned by the GET /restore/status call) for which input is to be provided This property may be present in responses from the server, but if it is present in a request to server it will be ignored.AdvanceClusterRestoreInput.BuildersetResources(java.util.List<SelectableResourceReference> resources)List of resources for which the instruction is applicable.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofAdvanceClusterRestoreInput.
-
-
Method Detail
-
setId
public AdvanceClusterRestoreInput.Builder setId(java.lang.String id)
Unique id of an instruction (as returned by the GET /restore/status call) for which input is to be provided 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:
id- New value for the property.
-
setResources
public AdvanceClusterRestoreInput.Builder setResources(java.util.List<SelectableResourceReference> resources)
List of resources for which the instruction is applicable.- Parameters:
resources- New value for the property.
-
build
public AdvanceClusterRestoreInput build()
-
-