public static final class ContainerApplicationInstance.Builder
extends java.lang.Object
ContainerApplicationInstance
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
ContainerApplicationInstance . |
Modifier and Type | Method and Description |
---|---|
ContainerApplicationInstance |
build() |
ContainerApplicationInstance.Builder |
setClusterNodeId(java.lang.String clusterNodeId)
Cluster node id where application instance is running.
|
ContainerApplicationInstance.Builder |
setContainerApplicationIds(java.util.List<java.lang.String> containerApplicationIds)
List of identifiers of the container application.
|
ContainerApplicationInstance.Builder |
setContainerClusterId(java.lang.String containerClusterId)
Identifier of the container cluster this application instance belongs to.
|
ContainerApplicationInstance.Builder |
setContainerProjectId(java.lang.String containerProjectId)
Identifier of the container project which this container application instance
belongs to.
|
ContainerApplicationInstance.Builder |
setDescription(java.lang.String description)
Description of this resource
|
ContainerApplicationInstance.Builder |
setDisplayName(java.lang.String displayName)
Defaults to ID if not set
|
ContainerApplicationInstance.Builder |
setExternalId(java.lang.String externalId)
Identifier of the container application instance on container cluster.
|
ContainerApplicationInstance.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.
|
ContainerApplicationInstance.Builder |
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
ContainerApplicationInstance.Builder |
setNetworkErrors(java.util.List<NetworkError> networkErrors)
List of network errors related to container application instance.
|
ContainerApplicationInstance.Builder |
setNetworkStatus(java.lang.String networkStatus)
Possible values are:
ContainerApplicationInstance.NETWORK_STATUS_HEALTHY
ContainerApplicationInstance.NETWORK_STATUS_UNHEALTHY
Network status of container application instance. |
ContainerApplicationInstance.Builder |
setOriginProperties(java.util.List<KeyValuePair> originProperties)
Array of additional specific properties of container application instance in
key-value format.
|
ContainerApplicationInstance.Builder |
setResourceType(java.lang.String resourceType)
The type of this resource.
|
ContainerApplicationInstance.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.
|
ContainerApplicationInstance.Builder |
setScope(java.util.List<DiscoveredResourceScope> scope)
Specifies list of scope of discovered resource.
|
ContainerApplicationInstance.Builder |
setSelf(SelfResourceLink self) |
ContainerApplicationInstance.Builder |
setStatus(java.lang.String status)
Possible values are:
ContainerApplicationInstance.STATUS_UNKNOWN
ContainerApplicationInstance.STATUS_HEALTHY
ContainerApplicationInstance.STATUS_UP
ContainerApplicationInstance.STATUS_DOWN
ContainerApplicationInstance.STATUS_DEGRADED
Status of the container application instance. |
ContainerApplicationInstance.Builder |
setTags(java.util.List<Tag> tags)
Opaque identifiers meaningful to the API user
|
public Builder()
ContainerApplicationInstance
.public ContainerApplicationInstance.Builder setLinks(java.util.List<ResourceLink> links)
links
- New value for the property.public ContainerApplicationInstance.Builder setSchema(java.lang.String schema)
schema
- New value for the property.public ContainerApplicationInstance.Builder setSelf(SelfResourceLink self)
self
- New value for the property.public ContainerApplicationInstance.Builder setLastSyncTime(java.lang.Long lastSyncTime)
lastSyncTime
- New value for the property.public ContainerApplicationInstance.Builder setDescription(java.lang.String description)
description
- New value for the property.public ContainerApplicationInstance.Builder setDisplayName(java.lang.String displayName)
displayName
- New value for the property.public ContainerApplicationInstance.Builder setResourceType(java.lang.String resourceType)
resourceType
- New value for the property.public ContainerApplicationInstance.Builder setScope(java.util.List<DiscoveredResourceScope> scope)
scope
- New value for the property.public ContainerApplicationInstance.Builder setTags(java.util.List<Tag> tags)
tags
- New value for the property.public ContainerApplicationInstance.Builder setClusterNodeId(java.lang.String clusterNodeId)
clusterNodeId
- New value for the property.public ContainerApplicationInstance.Builder setContainerApplicationIds(java.util.List<java.lang.String> containerApplicationIds)
containerApplicationIds
- New value for the property.public ContainerApplicationInstance.Builder setContainerClusterId(java.lang.String containerClusterId)
containerClusterId
- New value for the property.public ContainerApplicationInstance.Builder setContainerProjectId(java.lang.String containerProjectId)
containerProjectId
- New value for the property.public ContainerApplicationInstance.Builder setExternalId(java.lang.String externalId)
externalId
- New value for the property.public ContainerApplicationInstance.Builder setNetworkErrors(java.util.List<NetworkError> networkErrors)
networkErrors
- New value for the property.public ContainerApplicationInstance.Builder setNetworkStatus(java.lang.String networkStatus)
networkStatus
- New value for the property.public ContainerApplicationInstance.Builder setOriginProperties(java.util.List<KeyValuePair> originProperties)
originProperties
- New value for the property.public ContainerApplicationInstance.Builder setStatus(java.lang.String status)
status
- New value for the property.public ContainerApplicationInstance build()