public static final class ChildResourceReference.Builder
extends java.lang.Object
ChildResourceReference.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
ChildResourceReference. |
| Modifier and Type | Method and Description |
|---|---|
ChildResourceReference |
build() |
ChildResourceReference.Builder |
setChildren(java.util.List<com.vmware.vapi.bindings.Structure> children)
Subtree for this type within policy tree containing nested elements.
|
ChildResourceReference.Builder |
setCreateTime(java.lang.Long createTime)
Timestamp of resource creation 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.
|
ChildResourceReference.Builder |
setCreateUser(java.lang.String createUser)
ID of the user who created this resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
ChildResourceReference.Builder |
setDescription(java.lang.String description)
Description of this resource
|
ChildResourceReference.Builder |
setDisplayName(java.lang.String displayName)
Defaults to ID if not set
|
ChildResourceReference.Builder |
setId(java.lang.String id)
Unique identifier of this resource
|
ChildResourceReference.Builder |
setLastModifiedTime(java.lang.Long lastModifiedTime)
Timestamp of last modification 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.
|
ChildResourceReference.Builder |
setLastModifiedUser(java.lang.String lastModifiedUser)
ID of the user who last modified this resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
ChildResourceReference.Builder |
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
ChildResourceReference.Builder |
setMarkedForDelete(java.lang.Boolean markedForDelete)
If this field is set to true, delete operation is triggered on the intent tree.
|
ChildResourceReference.Builder |
setMarkForOverride(java.lang.Boolean markForOverride)
Indicates whether this object is the overridden intent object Global intent
objects cannot be modified by the user.
|
ChildResourceReference.Builder |
setProtection(java.lang.String protection)
Protection status is one of the following: PROTECTED - the client who retrieved
the entity is not allowed to modify it.
|
ChildResourceReference.Builder |
setRequestParameter(com.vmware.vapi.bindings.Structure requestParameter) |
ChildResourceReference.Builder |
setRevision(java.lang.Long revision)
The _revision property describes the current revision of the resource.
|
ChildResourceReference.Builder |
setSchema(java.lang.String schema)
Schema for this resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
ChildResourceReference.Builder |
setSelf(SelfResourceLink self) |
ChildResourceReference.Builder |
setSystemOwned(java.lang.Boolean systemOwned)
Indicates system owned resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
ChildResourceReference.Builder |
setTags(java.util.List<Tag> tags)
Opaque identifiers meaningful to the API user
|
ChildResourceReference.Builder |
setTargetType(java.lang.String targetType)
The target type of this reference
|
public Builder()
ChildResourceReference.public ChildResourceReference.Builder setChildren(java.util.List<com.vmware.vapi.bindings.Structure> children)
children - New value for the property.
When clients pass a value of this class as a parameter, the property must
contain all the properties defined in ChildPolicyConfigResource. When methods return a
value of this class as a return value, the property will contain all the
properties defined in ChildPolicyConfigResource.public ChildResourceReference.Builder setTargetType(java.lang.String targetType)
targetType - New value for the property.public ChildResourceReference.Builder setLinks(java.util.List<ResourceLink> links)
links - New value for the property.public ChildResourceReference.Builder setSchema(java.lang.String schema)
schema - New value for the property.public ChildResourceReference.Builder setSelf(SelfResourceLink self)
self - New value for the property.public ChildResourceReference.Builder setRevision(java.lang.Long revision)
revision - New value for the property.public ChildResourceReference.Builder setCreateTime(java.lang.Long createTime)
createTime - New value for the property.public ChildResourceReference.Builder setCreateUser(java.lang.String createUser)
createUser - New value for the property.public ChildResourceReference.Builder setLastModifiedTime(java.lang.Long lastModifiedTime)
lastModifiedTime - New value for the property.public ChildResourceReference.Builder setLastModifiedUser(java.lang.String lastModifiedUser)
lastModifiedUser - New value for the property.public ChildResourceReference.Builder setProtection(java.lang.String protection)
protection - New value for the property.public ChildResourceReference.Builder setSystemOwned(java.lang.Boolean systemOwned)
systemOwned - New value for the property.public ChildResourceReference.Builder setDescription(java.lang.String description)
description - New value for the property.public ChildResourceReference.Builder setDisplayName(java.lang.String displayName)
displayName - New value for the property.public ChildResourceReference.Builder setId(java.lang.String id)
id - New value for the property.public ChildResourceReference.Builder setTags(java.util.List<Tag> tags)
tags - New value for the property.public ChildResourceReference.Builder setMarkForOverride(java.lang.Boolean markForOverride)
markForOverride - New value for the property.public ChildResourceReference.Builder setMarkedForDelete(java.lang.Boolean markedForDelete)
markedForDelete - New value for the property.public ChildResourceReference.Builder setRequestParameter(com.vmware.vapi.bindings.Structure requestParameter)
requestParameter - New value for the property.
When clients pass a value of this class as a parameter, the property must
contain all the properties defined in PolicyRequestParameter. When methods return a value
of this class as a return value, the property will contain all the properties
defined in PolicyRequestParameter.public ChildResourceReference build()