Package com.vmware.nsx_policy.model
Class PatchResources.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.PatchResources.Builder
-
- Enclosing class:
- PatchResources
public static final class PatchResources.Builder extends java.lang.Object
Builder class forPatchResources
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofPatchResources
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PatchResources
build()
PatchResources.Builder
setBody(com.vmware.vapi.bindings.Structure body)
Patch body representing a Hierarchical Patch payload.PatchResources.Builder
setInjections(java.util.List<Injection> injections)
Injections holding keys (variables) and their corresponding values.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofPatchResources
.
-
-
Method Detail
-
setBody
public PatchResources.Builder setBody(com.vmware.vapi.bindings.Structure body)
Patch body representing a Hierarchical Patch payload. The resources included in the body are patched replacing the injections' keys with their actual values.- Parameters:
body
- New value for the property.
-
setInjections
public PatchResources.Builder setInjections(java.util.List<Injection> injections)
Injections holding keys (variables) and their corresponding values.- Parameters:
injections
- New value for the property.
-
build
public PatchResources build()
-
-