Package com.vmware.nsx_policy.model
Class ResourceInfo.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.ResourceInfo.Builder
-
- Enclosing class:
- ResourceInfo
public static final class ResourceInfo.Builder extends java.lang.ObjectBuilder class forResourceInfo.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofResourceInfo.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceInfobuild()ResourceInfo.BuildersetResourceIds(java.util.List<java.lang.String> resourceIds)It will represent resource identifiers.ResourceInfo.BuildersetResourceType(java.lang.String resourceType)It will represent resource type on which tag bulk operation to be performed.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofResourceInfo.
-
-
Method Detail
-
setResourceIds
public ResourceInfo.Builder setResourceIds(java.util.List<java.lang.String> resourceIds)
It will represent resource identifiers. For example, policy objects will be represented with paths and virtual machine will be represented with external ids.- Parameters:
resourceIds- New value for the property.
-
setResourceType
public ResourceInfo.Builder setResourceType(java.lang.String resourceType)
It will represent resource type on which tag bulk operation to be performed. Supported resource type is VirtualMachine.- Parameters:
resourceType- New value for the property.
-
build
public ResourceInfo build()
-
-