Package com.vmware.nsx_policy.model
Class ResourceObject.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.ResourceObject.Builder
-
- Enclosing class:
- ResourceObject
public static final class ResourceObject.Builder extends java.lang.Object
Builder class forResourceObject
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofResourceObject
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceObject
build()
ResourceObject.Builder
setIncludeChildren(java.lang.Boolean includeChildren)
Whether the children of the shared resource_path are shared (true) or just the entity represented by the path is shared (false).ResourceObject.Builder
setResourcePath(java.lang.String resourcePath)
Represents the path of the resource to be shared.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofResourceObject
.
-
-
Method Detail
-
setIncludeChildren
public ResourceObject.Builder setIncludeChildren(java.lang.Boolean includeChildren)
Whether the children of the shared resource_path are shared (true) or just the entity represented by the path is shared (false). The default value is false.- Parameters:
includeChildren
- New value for the property.
-
setResourcePath
public ResourceObject.Builder setResourcePath(java.lang.String resourcePath)
Represents the path of the resource to be shared. The entity represented by this shared resources is shared with all the Orgs or Projects contexts that the Share container references.- Parameters:
resourcePath
- New value for the property.
-
build
public ResourceObject build()
-
-