public static final class ContainerApplication.Builder
extends java.lang.Object
ContainerApplication
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
ContainerApplication . |
Modifier and Type | Method and Description |
---|---|
ContainerApplication |
build() |
ContainerApplication.Builder |
setClusterIps(java.util.List<java.lang.String> clusterIps)
The IPv4 and IPv6 clusterIPs of the container application.
|
ContainerApplication.Builder |
setContainerClusterId(java.lang.String containerClusterId)
Identifier of the container cluster this container application belongs to.
|
ContainerApplication.Builder |
setContainerProjectId(java.lang.String containerProjectId)
Identifier of the project which this container application belongs to.
|
ContainerApplication.Builder |
setDescription(java.lang.String description)
Description of this resource
|
ContainerApplication.Builder |
setDisplayName(java.lang.String displayName)
Defaults to ID if not set
|
ContainerApplication.Builder |
setExternalId(java.lang.String externalId)
Identifier of the container application on container cluster e.g.
|
ContainerApplication.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.
|
ContainerApplication.Builder |
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
ContainerApplication.Builder |
setLoadBalancerIngress(java.util.List<ContainerLoadBalancerIngress> loadBalancerIngress)
Specifies list of load-balancer ingress points
|
ContainerApplication.Builder |
setNetworkErrors(java.util.List<NetworkError> networkErrors)
List of network errors related to container application.
|
ContainerApplication.Builder |
setNetworkStatus(java.lang.String networkStatus)
Possible values are:
ContainerApplication.NETWORK_STATUS_HEALTHY
ContainerApplication.NETWORK_STATUS_UNHEALTHY
Network status of container application. |
ContainerApplication.Builder |
setNodePortLocalEndpoints(java.util.List<NodePortLocalEndpoint> nodePortLocalEndpoints)
Specifies list of local endpoint, when service is NodePortLocal.
|
ContainerApplication.Builder |
setOriginProperties(java.util.List<KeyValuePair> originProperties)
Array of additional specific properties of container application in key-value
format.
|
ContainerApplication.Builder |
setResourceType(java.lang.String resourceType)
The type of this resource.
|
ContainerApplication.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.
|
ContainerApplication.Builder |
setScope(java.util.List<DiscoveredResourceScope> scope)
Specifies list of scope of discovered resource.
|
ContainerApplication.Builder |
setSelf(SelfResourceLink self) |
ContainerApplication.Builder |
setServicePorts(java.util.List<ContainerServicePort> servicePorts)
Specifies list of service port.
|
ContainerApplication.Builder |
setStatus(java.lang.String status)
Possible values are:
ContainerApplication.STATUS_UNKNOWN ContainerApplication.STATUS_HEALTHY ContainerApplication.STATUS_UP ContainerApplication.STATUS_DOWN ContainerApplication.STATUS_DEGRADED Status of
the container application. |
ContainerApplication.Builder |
setTags(java.util.List<Tag> tags)
Opaque identifiers meaningful to the API user
|
ContainerApplication.Builder |
setType(java.lang.String type)
Possible values are:
ContainerApplication.TYPE_CLUSTER_IP ContainerApplication.TYPE_NODE_PORT ContainerApplication.TYPE_LOAD_BALANCER ContainerApplication.TYPE_EXTERNAL_NAME Type of
container application |
public Builder()
ContainerApplication
.public ContainerApplication.Builder setLinks(java.util.List<ResourceLink> links)
links
- New value for the property.public ContainerApplication.Builder setSchema(java.lang.String schema)
schema
- New value for the property.public ContainerApplication.Builder setSelf(SelfResourceLink self)
self
- New value for the property.public ContainerApplication.Builder setLastSyncTime(java.lang.Long lastSyncTime)
lastSyncTime
- New value for the property.public ContainerApplication.Builder setDescription(java.lang.String description)
description
- New value for the property.public ContainerApplication.Builder setDisplayName(java.lang.String displayName)
displayName
- New value for the property.public ContainerApplication.Builder setResourceType(java.lang.String resourceType)
resourceType
- New value for the property.public ContainerApplication.Builder setScope(java.util.List<DiscoveredResourceScope> scope)
scope
- New value for the property.public ContainerApplication.Builder setTags(java.util.List<Tag> tags)
tags
- New value for the property.public ContainerApplication.Builder setClusterIps(java.util.List<java.lang.String> clusterIps)
clusterIps
- New value for the property.public ContainerApplication.Builder setContainerClusterId(java.lang.String containerClusterId)
containerClusterId
- New value for the property.public ContainerApplication.Builder setContainerProjectId(java.lang.String containerProjectId)
containerProjectId
- New value for the property.public ContainerApplication.Builder setExternalId(java.lang.String externalId)
externalId
- New value for the property.public ContainerApplication.Builder setLoadBalancerIngress(java.util.List<ContainerLoadBalancerIngress> loadBalancerIngress)
loadBalancerIngress
- New value for the property.public ContainerApplication.Builder setNetworkErrors(java.util.List<NetworkError> networkErrors)
networkErrors
- New value for the property.public ContainerApplication.Builder setNetworkStatus(java.lang.String networkStatus)
networkStatus
- New value for the property.public ContainerApplication.Builder setNodePortLocalEndpoints(java.util.List<NodePortLocalEndpoint> nodePortLocalEndpoints)
nodePortLocalEndpoints
- New value for the property.public ContainerApplication.Builder setOriginProperties(java.util.List<KeyValuePair> originProperties)
originProperties
- New value for the property.public ContainerApplication.Builder setServicePorts(java.util.List<ContainerServicePort> servicePorts)
servicePorts
- New value for the property.public ContainerApplication.Builder setStatus(java.lang.String status)
status
- New value for the property.public ContainerApplication.Builder setType(java.lang.String type)
type
- New value for the property.public ContainerApplication build()