public static final class NodeProperties.Builder
extends java.lang.Object
NodeProperties
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
NodeProperties . |
Modifier and Type | Method and Description |
---|---|
NodeProperties |
build() |
NodeProperties.Builder |
setCliCoredumpConfig(CoreDumpConfig cliCoredumpConfig) |
NodeProperties.Builder |
setCliHistorySize(java.lang.Long cliHistorySize)
NSX CLI command history limit, set to 0 to configure no history size limit
format: int64
|
NodeProperties.Builder |
setCliOutputDatetime(java.lang.Boolean cliOutputDatetime)
NSX CLI display datetime stamp in command output
|
NodeProperties.Builder |
setCliTimeout(java.lang.Long cliTimeout)
NSX CLI inactivity timeout, set to 0 to configure no timeout format: int64
|
NodeProperties.Builder |
setExportType(java.lang.String exportType)
Possible values are:
NodeProperties.EXPORT_TYPE_RESTRICTED NodeProperties.EXPORT_TYPE_UNRESTRICTED Export
restrictions in effect, if any
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored. |
NodeProperties.Builder |
setFullyQualifiedDomainName(java.lang.String fullyQualifiedDomainName)
Fully qualified domain name
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
NodeProperties.Builder |
setHostname(java.lang.String hostname)
Host name or fully qualified domain name of node
|
NodeProperties.Builder |
setKernelVersion(java.lang.String kernelVersion)
Kernel version
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
NodeProperties.Builder |
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
NodeProperties.Builder |
setNodeType(java.lang.String nodeType)
Possible values are:
NodeProperties.NODE_TYPE_MANAGER NodeProperties.NODE_TYPE_GLOBAL_MANAGER NodeProperties.NODE_TYPE_EDGE NodeProperties.NODE_TYPE_AUTONOMOUS_EDGE NodeProperties.NODE_TYPE_CLOUD_SERVICE_MANAGER
NodeProperties.NODE_TYPE_PUBLIC_CLOUD_GATEWAY
NodeProperties.NODE_TYPE_MALWARE_PREVENTION_SERVICE_VM
Node type
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored. |
NodeProperties.Builder |
setNodeUuid(java.lang.String nodeUuid)
Node Unique Identifier
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
NodeProperties.Builder |
setNodeVersion(java.lang.String nodeVersion)
Node version
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
NodeProperties.Builder |
setProductVersion(java.lang.String productVersion)
Product version
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
NodeProperties.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.
|
NodeProperties.Builder |
setSelf(SelfResourceLink self) |
NodeProperties.Builder |
setSystemDatetime(java.lang.String systemDatetime)
System date time in UTC
|
NodeProperties.Builder |
setSystemTime(java.lang.Long systemTime)
Current time expressed in milliseconds since epoch 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.
|
NodeProperties.Builder |
setTimezone(java.lang.String timezone)
Timezone
|
public Builder()
NodeProperties
.public NodeProperties.Builder setLinks(java.util.List<ResourceLink> links)
links
- New value for the property.public NodeProperties.Builder setSchema(java.lang.String schema)
schema
- New value for the property.public NodeProperties.Builder setSelf(SelfResourceLink self)
self
- New value for the property.public NodeProperties.Builder setCliCoredumpConfig(CoreDumpConfig cliCoredumpConfig)
cliCoredumpConfig
- New value for the property.public NodeProperties.Builder setCliHistorySize(java.lang.Long cliHistorySize)
cliHistorySize
- New value for the property.public NodeProperties.Builder setCliOutputDatetime(java.lang.Boolean cliOutputDatetime)
cliOutputDatetime
- New value for the property.public NodeProperties.Builder setCliTimeout(java.lang.Long cliTimeout)
cliTimeout
- New value for the property.public NodeProperties.Builder setExportType(java.lang.String exportType)
exportType
- New value for the property.public NodeProperties.Builder setFullyQualifiedDomainName(java.lang.String fullyQualifiedDomainName)
fullyQualifiedDomainName
- New value for the property.public NodeProperties.Builder setHostname(java.lang.String hostname)
hostname
- New value for the property.public NodeProperties.Builder setKernelVersion(java.lang.String kernelVersion)
kernelVersion
- New value for the property.public NodeProperties.Builder setNodeType(java.lang.String nodeType)
nodeType
- New value for the property.public NodeProperties.Builder setNodeUuid(java.lang.String nodeUuid)
nodeUuid
- New value for the property.public NodeProperties.Builder setNodeVersion(java.lang.String nodeVersion)
nodeVersion
- New value for the property.public NodeProperties.Builder setProductVersion(java.lang.String productVersion)
productVersion
- New value for the property.public NodeProperties.Builder setSystemDatetime(java.lang.String systemDatetime)
systemDatetime
- New value for the property.public NodeProperties.Builder setSystemTime(java.lang.Long systemTime)
systemTime
- New value for the property.public NodeProperties.Builder setTimezone(java.lang.String timezone)
timezone
- New value for the property.public NodeProperties build()