public static final class ContainerGateway.Builder
extends java.lang.Object
ContainerGateway
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
ContainerGateway . |
Modifier and Type | Method and Description |
---|---|
ContainerGateway |
build() |
ContainerGateway.Builder |
setAddresses(java.util.List<ContainerGatewayAddress> addresses)
Specifies addresses which lists the IP addresses that have actually been bound
to the gateway.
|
ContainerGateway.Builder |
setContainerClusterId(java.lang.String containerClusterId)
Specifies identifier of the container cluster of this container gateway.
|
ContainerGateway.Builder |
setContainerProjectId(java.lang.String containerProjectId)
Specifies identifier of the container project of this container gateway.
|
ContainerGateway.Builder |
setDescription(java.lang.String description)
Description of this resource
|
ContainerGateway.Builder |
setDisplayName(java.lang.String displayName)
Defaults to ID if not set
|
ContainerGateway.Builder |
setExternalId(java.lang.String externalId)
Specifies identifier of the container gateway.
|
ContainerGateway.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.
|
ContainerGateway.Builder |
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
ContainerGateway.Builder |
setListeners(java.util.List<ContainerGatewayListener> listeners)
Specifies list of listeners which defines logical endpoints that are bound on
this Gateway's addresses.
|
ContainerGateway.Builder |
setOriginProperties(java.util.List<KeyValuePair> originProperties)
Array of additional specific properties of container ip pool in key-value
format.
|
ContainerGateway.Builder |
setResourceType(java.lang.String resourceType)
The type of this resource.
|
ContainerGateway.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.
|
ContainerGateway.Builder |
setScope(java.util.List<DiscoveredResourceScope> scope)
Specifies list of scope of discovered resource.
|
ContainerGateway.Builder |
setSelf(SelfResourceLink self) |
ContainerGateway.Builder |
setSpec(java.lang.String spec)
This specifies yaml definition of ContainerGateway resource.
|
ContainerGateway.Builder |
setTags(java.util.List<Tag> tags)
Opaque identifiers meaningful to the API user
|
public Builder()
ContainerGateway
.public ContainerGateway.Builder setLinks(java.util.List<ResourceLink> links)
links
- New value for the property.public ContainerGateway.Builder setSchema(java.lang.String schema)
schema
- New value for the property.public ContainerGateway.Builder setSelf(SelfResourceLink self)
self
- New value for the property.public ContainerGateway.Builder setLastSyncTime(java.lang.Long lastSyncTime)
lastSyncTime
- New value for the property.public ContainerGateway.Builder setDescription(java.lang.String description)
description
- New value for the property.public ContainerGateway.Builder setDisplayName(java.lang.String displayName)
displayName
- New value for the property.public ContainerGateway.Builder setResourceType(java.lang.String resourceType)
resourceType
- New value for the property.public ContainerGateway.Builder setScope(java.util.List<DiscoveredResourceScope> scope)
scope
- New value for the property.public ContainerGateway.Builder setTags(java.util.List<Tag> tags)
tags
- New value for the property.public ContainerGateway.Builder setAddresses(java.util.List<ContainerGatewayAddress> addresses)
addresses
- New value for the property.public ContainerGateway.Builder setContainerClusterId(java.lang.String containerClusterId)
containerClusterId
- New value for the property.public ContainerGateway.Builder setContainerProjectId(java.lang.String containerProjectId)
containerProjectId
- New value for the property.public ContainerGateway.Builder setExternalId(java.lang.String externalId)
externalId
- New value for the property.public ContainerGateway.Builder setListeners(java.util.List<ContainerGatewayListener> listeners)
listeners
- New value for the property.public ContainerGateway.Builder setOriginProperties(java.util.List<KeyValuePair> originProperties)
originProperties
- New value for the property.public ContainerGateway.Builder setSpec(java.lang.String spec)
spec
- New value for the property.public ContainerGateway build()