public static final class ComputeCollection.Builder
extends java.lang.Object
ComputeCollection
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
ComputeCollection . |
Modifier and Type | Method and Description |
---|---|
ComputeCollection |
build() |
ComputeCollection.Builder |
setCmLocalId(java.lang.String cmLocalId)
Local Id of the compute collection in the Compute Manager
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
ComputeCollection.Builder |
setDescription(java.lang.String description)
Description of this resource
|
ComputeCollection.Builder |
setDisplayName(java.lang.String displayName)
Defaults to ID if not set
|
ComputeCollection.Builder |
setDpuConfig(ClusterDpuConfig dpuConfig) |
ComputeCollection.Builder |
setExternalId(java.lang.String externalId)
External ID of the ComputeCollection in the source Compute manager, e.g.
|
ComputeCollection.Builder |
setLastSyncTime(java.lang.Long lastSyncTime)
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.
|
ComputeCollection.Builder |
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
ComputeCollection.Builder |
setOriginId(java.lang.String originId)
Id of the compute manager from where this Compute Collection was discovered
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
ComputeCollection.Builder |
setOriginProperties(java.util.List<KeyValuePair> originProperties)
Key-Value map of additional specific properties of compute collection in the
Compute Manager
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
ComputeCollection.Builder |
setOriginType(java.lang.String originType)
ComputeCollection type like VC_Cluster.
|
ComputeCollection.Builder |
setOwnerId(java.lang.String ownerId)
Id of the owner of compute collection in the Compute Manager
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
ComputeCollection.Builder |
setOwnerNsx(java.lang.String ownerNsx)
Possible values are:
ComputeCollection.OWNER_NSX_SELF ComputeCollection.OWNER_NSX_OTHER ComputeCollection.OWNER_NSX_MULTIPLE ComputeCollection.OWNER_NSX_NONE Specifies
owner nsx of the compute collection. |
ComputeCollection.Builder |
setResourceType(java.lang.String resourceType)
The type of this resource.
|
ComputeCollection.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.
|
ComputeCollection.Builder |
setScope(java.util.List<DiscoveredResourceScope> scope)
Specifies list of scope of discovered resource.
|
ComputeCollection.Builder |
setSelf(SelfResourceLink self) |
ComputeCollection.Builder |
setTags(java.util.List<Tag> tags)
Opaque identifiers meaningful to the API user
|
public Builder()
ComputeCollection
.public ComputeCollection.Builder setLinks(java.util.List<ResourceLink> links)
links
- New value for the property.public ComputeCollection.Builder setSchema(java.lang.String schema)
schema
- New value for the property.public ComputeCollection.Builder setSelf(SelfResourceLink self)
self
- New value for the property.public ComputeCollection.Builder setLastSyncTime(java.lang.Long lastSyncTime)
lastSyncTime
- New value for the property.public ComputeCollection.Builder setDescription(java.lang.String description)
description
- New value for the property.public ComputeCollection.Builder setDisplayName(java.lang.String displayName)
displayName
- New value for the property.public ComputeCollection.Builder setResourceType(java.lang.String resourceType)
resourceType
- New value for the property.public ComputeCollection.Builder setScope(java.util.List<DiscoveredResourceScope> scope)
scope
- New value for the property.public ComputeCollection.Builder setTags(java.util.List<Tag> tags)
tags
- New value for the property.public ComputeCollection.Builder setCmLocalId(java.lang.String cmLocalId)
cmLocalId
- New value for the property.public ComputeCollection.Builder setDpuConfig(ClusterDpuConfig dpuConfig)
dpuConfig
- New value for the property.public ComputeCollection.Builder setExternalId(java.lang.String externalId)
externalId
- New value for the property.public ComputeCollection.Builder setOriginId(java.lang.String originId)
originId
- New value for the property.public ComputeCollection.Builder setOriginProperties(java.util.List<KeyValuePair> originProperties)
originProperties
- New value for the property.public ComputeCollection.Builder setOriginType(java.lang.String originType)
originType
- New value for the property.public ComputeCollection.Builder setOwnerId(java.lang.String ownerId)
ownerId
- New value for the property.public ComputeCollection.Builder setOwnerNsx(java.lang.String ownerNsx)
ownerNsx
- New value for the property.public ComputeCollection build()