public static final class ContainerIpPool.Builder
extends java.lang.Object
ContainerIpPool.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
ContainerIpPool. |
| Modifier and Type | Method and Description |
|---|---|
ContainerIpPool |
build() |
ContainerIpPool.Builder |
setContainerClusterId(java.lang.String containerClusterId)
Specifies identifier of the container cluster this container ip pool belongs to.
|
ContainerIpPool.Builder |
setDescription(java.lang.String description)
Description of this resource
|
ContainerIpPool.Builder |
setDisplayName(java.lang.String displayName)
Defaults to ID if not set
|
ContainerIpPool.Builder |
setExternalId(java.lang.String externalId)
Specifies identifier of the container ip pool.
|
ContainerIpPool.Builder |
setIpRanges(java.util.List<SubnetIpRange> ipRanges)
Specifies list of SubnetIpRange, which is a set of contiguous IP addresses,
represented by a CIDR or a pair of start and end IPs, along with subnet
definition.
|
ContainerIpPool.Builder |
setIpVersion(java.lang.Long ipVersion)
Possible values are:
ContainerIpPool.IP_VERSION_4 ContainerIpPool.IP_VERSION_6 Specifies IP
version of container IP pool. |
ContainerIpPool.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.
|
ContainerIpPool.Builder |
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
ContainerIpPool.Builder |
setOriginProperties(java.util.List<KeyValuePair> originProperties)
Array of additional specific properties of container ip pool in key-value
format.
|
ContainerIpPool.Builder |
setResourceType(java.lang.String resourceType)
The type of this resource.
|
ContainerIpPool.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.
|
ContainerIpPool.Builder |
setScope(java.util.List<DiscoveredResourceScope> scope)
Specifies list of scope of discovered resource.
|
ContainerIpPool.Builder |
setSelf(SelfResourceLink self) |
ContainerIpPool.Builder |
setSpec(java.lang.String spec)
This specifies yaml definition of ContainerIpPool resource.
|
ContainerIpPool.Builder |
setTags(java.util.List<Tag> tags)
Opaque identifiers meaningful to the API user
|
public Builder()
ContainerIpPool.public ContainerIpPool.Builder setLinks(java.util.List<ResourceLink> links)
links - New value for the property.public ContainerIpPool.Builder setSchema(java.lang.String schema)
schema - New value for the property.public ContainerIpPool.Builder setSelf(SelfResourceLink self)
self - New value for the property.public ContainerIpPool.Builder setLastSyncTime(java.lang.Long lastSyncTime)
lastSyncTime - New value for the property.public ContainerIpPool.Builder setDescription(java.lang.String description)
description - New value for the property.public ContainerIpPool.Builder setDisplayName(java.lang.String displayName)
displayName - New value for the property.public ContainerIpPool.Builder setResourceType(java.lang.String resourceType)
resourceType - New value for the property.public ContainerIpPool.Builder setScope(java.util.List<DiscoveredResourceScope> scope)
scope - New value for the property.public ContainerIpPool.Builder setTags(java.util.List<Tag> tags)
tags - New value for the property.public ContainerIpPool.Builder setContainerClusterId(java.lang.String containerClusterId)
containerClusterId - New value for the property.public ContainerIpPool.Builder setExternalId(java.lang.String externalId)
externalId - New value for the property.public ContainerIpPool.Builder setIpRanges(java.util.List<SubnetIpRange> ipRanges)
ipRanges - New value for the property.public ContainerIpPool.Builder setIpVersion(java.lang.Long ipVersion)
ipVersion - New value for the property.public ContainerIpPool.Builder setOriginProperties(java.util.List<KeyValuePair> originProperties)
originProperties - New value for the property.public ContainerIpPool.Builder setSpec(java.lang.String spec)
spec - New value for the property.public ContainerIpPool build()