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