public static final class ContainerClusterNode.Builder
extends java.lang.Object
ContainerClusterNode
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
ContainerClusterNode . |
Modifier and Type | Method and Description |
---|---|
ContainerClusterNode |
build() |
ContainerClusterNode.Builder |
setCniAgentStatus(java.lang.String cniAgentStatus)
Possible values are:
ContainerClusterNode.CNI_AGENT_STATUS_HEALTHY
ContainerClusterNode.CNI_AGENT_STATUS_UNHEALTHY
Specifies Container Network Interface agent status of container cluster node. |
ContainerClusterNode.Builder |
setContainerClusterId(java.lang.String containerClusterId)
External identifier of the container cluster.
|
ContainerClusterNode.Builder |
setDescription(java.lang.String description)
Description of this resource
|
ContainerClusterNode.Builder |
setDisplayName(java.lang.String displayName)
Defaults to ID if not set
|
ContainerClusterNode.Builder |
setExternalId(java.lang.String externalId)
External identifier of the container cluster node in K8S/PAS.
|
ContainerClusterNode.Builder |
setExternalIpAddresses(java.util.List<java.lang.String> externalIpAddresses)
Specifies list of external ip address of Node.
|
ContainerClusterNode.Builder |
setIpAddresses(java.util.List<java.lang.String> ipAddresses)
List of IP addresses of container cluster node.
|
ContainerClusterNode.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.
|
ContainerClusterNode.Builder |
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
ContainerClusterNode.Builder |
setNetworkErrors(java.util.List<NetworkError> networkErrors)
List of network errors related to container cluster node.
|
ContainerClusterNode.Builder |
setNetworkStatus(java.lang.String networkStatus)
Possible values are:
ContainerClusterNode.NETWORK_STATUS_HEALTHY
ContainerClusterNode.NETWORK_STATUS_UNHEALTHY
Network status of container cluster node. |
ContainerClusterNode.Builder |
setOriginProperties(java.util.List<KeyValuePair> originProperties)
Array of additional specific properties of container cluster node in key-value
format.
|
ContainerClusterNode.Builder |
setPodCidrs(java.util.List<java.lang.String> podCidrs)
In case of Kubernetes container cluster, it represents the IP ranges assigned to
the node for usage by Pod on that node.
|
ContainerClusterNode.Builder |
setProviderId(java.lang.String providerId)
Specifies identifier of container cluster node given by infrastructure provider
of container cluster.
|
ContainerClusterNode.Builder |
setResourceType(java.lang.String resourceType)
The type of this resource.
|
ContainerClusterNode.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.
|
ContainerClusterNode.Builder |
setScope(java.util.List<DiscoveredResourceScope> scope)
Specifies list of scope of discovered resource.
|
ContainerClusterNode.Builder |
setSelf(SelfResourceLink self) |
ContainerClusterNode.Builder |
setTags(java.util.List<Tag> tags)
Opaque identifiers meaningful to the API user
|
public Builder()
ContainerClusterNode
.public ContainerClusterNode.Builder setLinks(java.util.List<ResourceLink> links)
links
- New value for the property.public ContainerClusterNode.Builder setSchema(java.lang.String schema)
schema
- New value for the property.public ContainerClusterNode.Builder setSelf(SelfResourceLink self)
self
- New value for the property.public ContainerClusterNode.Builder setLastSyncTime(java.lang.Long lastSyncTime)
lastSyncTime
- New value for the property.public ContainerClusterNode.Builder setDescription(java.lang.String description)
description
- New value for the property.public ContainerClusterNode.Builder setDisplayName(java.lang.String displayName)
displayName
- New value for the property.public ContainerClusterNode.Builder setResourceType(java.lang.String resourceType)
resourceType
- New value for the property.public ContainerClusterNode.Builder setScope(java.util.List<DiscoveredResourceScope> scope)
scope
- New value for the property.public ContainerClusterNode.Builder setTags(java.util.List<Tag> tags)
tags
- New value for the property.public ContainerClusterNode.Builder setCniAgentStatus(java.lang.String cniAgentStatus)
cniAgentStatus
- New value for the property.public ContainerClusterNode.Builder setContainerClusterId(java.lang.String containerClusterId)
containerClusterId
- New value for the property.public ContainerClusterNode.Builder setExternalId(java.lang.String externalId)
externalId
- New value for the property.public ContainerClusterNode.Builder setExternalIpAddresses(java.util.List<java.lang.String> externalIpAddresses)
externalIpAddresses
- New value for the property.public ContainerClusterNode.Builder setIpAddresses(java.util.List<java.lang.String> ipAddresses)
ipAddresses
- New value for the property.public ContainerClusterNode.Builder setNetworkErrors(java.util.List<NetworkError> networkErrors)
networkErrors
- New value for the property.public ContainerClusterNode.Builder setNetworkStatus(java.lang.String networkStatus)
networkStatus
- New value for the property.public ContainerClusterNode.Builder setOriginProperties(java.util.List<KeyValuePair> originProperties)
originProperties
- New value for the property.public ContainerClusterNode.Builder setPodCidrs(java.util.List<java.lang.String> podCidrs)
podCidrs
- New value for the property.public ContainerClusterNode.Builder setProviderId(java.lang.String providerId)
providerId
- New value for the property.public ContainerClusterNode build()