public static final class VdsTopology.Builder
extends java.lang.Object
VdsTopology
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
VdsTopology . |
Modifier and Type | Method and Description |
---|---|
VdsTopology |
build() |
VdsTopology.Builder |
setClusterId(java.lang.String clusterId)
Identifier of cluster where VDS will be created
|
VdsTopology.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.
|
VdsTopology.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.
|
VdsTopology.Builder |
setDataCenterId(java.lang.String dataCenterId)
Identifier of datacenter where VDS will be created
|
VdsTopology.Builder |
setDescription(java.lang.String description)
Description of this resource
|
VdsTopology.Builder |
setDisplayName(java.lang.String displayName)
Defaults to ID if not set
|
VdsTopology.Builder |
setId(java.lang.String id)
Unique identifier of this resource
|
VdsTopology.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.
|
VdsTopology.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.
|
VdsTopology.Builder |
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
VdsTopology.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.
|
VdsTopology.Builder |
setResourceType(java.lang.String resourceType)
The type of this resource.
|
VdsTopology.Builder |
setRevision(java.lang.Long revision)
The _revision property describes the current revision of the resource.
|
VdsTopology.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.
|
VdsTopology.Builder |
setSelf(SelfResourceLink self) |
VdsTopology.Builder |
setStatusDetails(java.util.List<java.lang.String> statusDetails)
Details of the VDS configuration status
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
VdsTopology.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.
|
VdsTopology.Builder |
setTags(java.util.List<Tag> tags)
Opaque identifiers meaningful to the API user
|
VdsTopology.Builder |
setTransportNodeId(java.util.List<java.lang.String> transportNodeId)
Transport node identifiers on which NVDS(s) being upgraded to VDS
|
VdsTopology.Builder |
setVdsConfig(DVSConfig vdsConfig) |
VdsTopology.Builder |
setVdsName(java.lang.String vdsName)
VDS name that will be created under above datacenter
|
VdsTopology.Builder |
setVdsStatus(java.lang.String vdsStatus)
Possible values are:
VdsTopology.VDS_STATUS_PENDING_TOPOLOGY VdsTopology.VDS_STATUS_APPLYING_TOPOLOGY VdsTopology.VDS_STATUS_APPLY_TOPOLOGY_FAILED
VdsTopology.VDS_STATUS_READY VdsTopology.VDS_STATUS_REMOVING_TOPOLOGY Status
of the VDS configuration
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored. |
VdsTopology.Builder |
setVmknic(java.util.List<java.lang.String> vmknic)
Virtual network interfaces that will be moved from VLAN Logical switch to
Distributed Virtual PortGroup
|
public Builder()
VdsTopology
.public VdsTopology.Builder setLinks(java.util.List<ResourceLink> links)
links
- New value for the property.public VdsTopology.Builder setSchema(java.lang.String schema)
schema
- New value for the property.public VdsTopology.Builder setSelf(SelfResourceLink self)
self
- New value for the property.public VdsTopology.Builder setRevision(java.lang.Long revision)
revision
- New value for the property.public VdsTopology.Builder setCreateTime(java.lang.Long createTime)
createTime
- New value for the property.public VdsTopology.Builder setCreateUser(java.lang.String createUser)
createUser
- New value for the property.public VdsTopology.Builder setLastModifiedTime(java.lang.Long lastModifiedTime)
lastModifiedTime
- New value for the property.public VdsTopology.Builder setLastModifiedUser(java.lang.String lastModifiedUser)
lastModifiedUser
- New value for the property.public VdsTopology.Builder setProtection(java.lang.String protection)
protection
- New value for the property.public VdsTopology.Builder setSystemOwned(java.lang.Boolean systemOwned)
systemOwned
- New value for the property.public VdsTopology.Builder setDescription(java.lang.String description)
description
- New value for the property.public VdsTopology.Builder setDisplayName(java.lang.String displayName)
displayName
- New value for the property.public VdsTopology.Builder setId(java.lang.String id)
id
- New value for the property.public VdsTopology.Builder setResourceType(java.lang.String resourceType)
resourceType
- New value for the property.public VdsTopology.Builder setTags(java.util.List<Tag> tags)
tags
- New value for the property.public VdsTopology.Builder setClusterId(java.lang.String clusterId)
clusterId
- New value for the property.public VdsTopology.Builder setDataCenterId(java.lang.String dataCenterId)
dataCenterId
- New value for the property.public VdsTopology.Builder setStatusDetails(java.util.List<java.lang.String> statusDetails)
statusDetails
- New value for the property.public VdsTopology.Builder setTransportNodeId(java.util.List<java.lang.String> transportNodeId)
transportNodeId
- New value for the property.public VdsTopology.Builder setVdsConfig(DVSConfig vdsConfig)
vdsConfig
- New value for the property.public VdsTopology.Builder setVdsName(java.lang.String vdsName)
vdsName
- New value for the property.public VdsTopology.Builder setVdsStatus(java.lang.String vdsStatus)
vdsStatus
- New value for the property.public VdsTopology.Builder setVmknic(java.util.List<java.lang.String> vmknic)
vmknic
- New value for the property.public VdsTopology build()