public static final class ComputeManager.Builder
extends java.lang.Object
ComputeManager
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
ComputeManager . |
Modifier and Type | Method and Description |
---|---|
ComputeManager |
build() |
ComputeManager.Builder |
setAccessLevelForOidc(java.lang.String accessLevelForOidc)
Possible values are:
ComputeManager.ACCESS_LEVEL_FOR_OIDC_FULL ComputeManager.ACCESS_LEVEL_FOR_OIDC_LIMITED
Specifies the maximum access level allowed for calls from compute manager to NSX
using the OIDC provider. |
ComputeManager.Builder |
setCreateServiceAccount(java.lang.Boolean createServiceAccount)
Enable this flag to create service account user on compute manager.
|
ComputeManager.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.
|
ComputeManager.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.
|
ComputeManager.Builder |
setCredential(com.vmware.vapi.bindings.Structure credential) |
ComputeManager.Builder |
setDescription(java.lang.String description)
Description of this resource
|
ComputeManager.Builder |
setDisplayName(java.lang.String displayName)
Defaults to ID if not set
|
ComputeManager.Builder |
setExtensionCertificate(CertificateData extensionCertificate) |
ComputeManager.Builder |
setId(java.lang.String id)
Unique identifier of this resource
|
ComputeManager.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.
|
ComputeManager.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.
|
ComputeManager.Builder |
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
ComputeManager.Builder |
setMultiNsx(java.lang.Boolean multiNsx)
Enable this flag to manage same compute manager by multiple nsx.
|
ComputeManager.Builder |
setOriginProperties(java.util.List<KeyValuePair> originProperties)
Key-Value map of additional specific properties of 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.
|
ComputeManager.Builder |
setOriginType(java.lang.String originType)
Compute manager type like vCenter
|
ComputeManager.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.
|
ComputeManager.Builder |
setResourceType(java.lang.String resourceType)
The type of this resource.
|
ComputeManager.Builder |
setReverseProxyHttpsPort(java.lang.Long reverseProxyHttpsPort)
Specifies https port of the reverse proxy to connect to compute manager.
|
ComputeManager.Builder |
setRevision(java.lang.Long revision)
The _revision property describes the current revision of the resource.
|
ComputeManager.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.
|
ComputeManager.Builder |
setSelf(SelfResourceLink self) |
ComputeManager.Builder |
setServer(java.lang.String server)
IP address or hostname of compute manager format: hostname-or-ip
|
ComputeManager.Builder |
setSetAsOidcProvider(java.lang.Boolean setAsOidcProvider)
If the compute manager is VC and need to set set as OIDC provider for NSX then
this flag should be set as true.
|
ComputeManager.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.
|
ComputeManager.Builder |
setTags(java.util.List<Tag> tags)
Opaque identifiers meaningful to the API user
|
public Builder()
ComputeManager
.public ComputeManager.Builder setLinks(java.util.List<ResourceLink> links)
links
- New value for the property.public ComputeManager.Builder setSchema(java.lang.String schema)
schema
- New value for the property.public ComputeManager.Builder setSelf(SelfResourceLink self)
self
- New value for the property.public ComputeManager.Builder setRevision(java.lang.Long revision)
revision
- New value for the property.public ComputeManager.Builder setCreateTime(java.lang.Long createTime)
createTime
- New value for the property.public ComputeManager.Builder setCreateUser(java.lang.String createUser)
createUser
- New value for the property.public ComputeManager.Builder setLastModifiedTime(java.lang.Long lastModifiedTime)
lastModifiedTime
- New value for the property.public ComputeManager.Builder setLastModifiedUser(java.lang.String lastModifiedUser)
lastModifiedUser
- New value for the property.public ComputeManager.Builder setProtection(java.lang.String protection)
protection
- New value for the property.public ComputeManager.Builder setSystemOwned(java.lang.Boolean systemOwned)
systemOwned
- New value for the property.public ComputeManager.Builder setDescription(java.lang.String description)
description
- New value for the property.public ComputeManager.Builder setDisplayName(java.lang.String displayName)
displayName
- New value for the property.public ComputeManager.Builder setId(java.lang.String id)
id
- New value for the property.public ComputeManager.Builder setResourceType(java.lang.String resourceType)
resourceType
- New value for the property.public ComputeManager.Builder setTags(java.util.List<Tag> tags)
tags
- New value for the property.public ComputeManager.Builder setAccessLevelForOidc(java.lang.String accessLevelForOidc)
accessLevelForOidc
- New value for the property.public ComputeManager.Builder setCreateServiceAccount(java.lang.Boolean createServiceAccount)
createServiceAccount
- New value for the property.public ComputeManager.Builder setCredential(com.vmware.vapi.bindings.Structure credential)
credential
- 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 LoginCredential
. When methods return a value of this class
as a return value, the property will contain all the properties defined in
LoginCredential
.public ComputeManager.Builder setExtensionCertificate(CertificateData extensionCertificate)
extensionCertificate
- New value for the property.public ComputeManager.Builder setMultiNsx(java.lang.Boolean multiNsx)
multiNsx
- New value for the property.public ComputeManager.Builder setOriginProperties(java.util.List<KeyValuePair> originProperties)
originProperties
- New value for the property.public ComputeManager.Builder setOriginType(java.lang.String originType)
originType
- New value for the property.public ComputeManager.Builder setReverseProxyHttpsPort(java.lang.Long reverseProxyHttpsPort)
reverseProxyHttpsPort
- New value for the property.public ComputeManager.Builder setServer(java.lang.String server)
server
- New value for the property.public ComputeManager.Builder setSetAsOidcProvider(java.lang.Boolean setAsOidcProvider)
setAsOidcProvider
- New value for the property.public ComputeManager build()