public static final class ContainerEgress.Builder
extends java.lang.Object
ContainerEgress
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
ContainerEgress . |
Modifier and Type | Method and Description |
---|---|
ContainerEgress |
build() |
ContainerEgress.Builder |
setContainerClusterId(java.lang.String containerClusterId)
Identifier of the container cluster this egress belongs to.
|
ContainerEgress.Builder |
setDescription(java.lang.String description)
Description of this resource
|
ContainerEgress.Builder |
setDisplayName(java.lang.String displayName)
Defaults to ID if not set
|
ContainerEgress.Builder |
setEgressIp(java.lang.String egressIp)
Container egress IP.
|
ContainerEgress.Builder |
setExternalId(java.lang.String externalId)
Identifier of the container egress.
|
ContainerEgress.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.
|
ContainerEgress.Builder |
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
ContainerEgress.Builder |
setOriginProperties(java.util.List<KeyValuePair> originProperties)
Array of additional specific properties of container egress in key-value format.
|
ContainerEgress.Builder |
setResourceType(java.lang.String resourceType)
The type of this resource.
|
ContainerEgress.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.
|
ContainerEgress.Builder |
setScope(java.util.List<DiscoveredResourceScope> scope)
Specifies list of scope of discovered resource.
|
ContainerEgress.Builder |
setSelf(SelfResourceLink self) |
ContainerEgress.Builder |
setSpec(java.lang.String spec)
This specifies yaml definition of ContainerEgress resource.
|
ContainerEgress.Builder |
setTags(java.util.List<Tag> tags)
Opaque identifiers meaningful to the API user
|
public Builder()
ContainerEgress
.public ContainerEgress.Builder setLinks(java.util.List<ResourceLink> links)
links
- New value for the property.public ContainerEgress.Builder setSchema(java.lang.String schema)
schema
- New value for the property.public ContainerEgress.Builder setSelf(SelfResourceLink self)
self
- New value for the property.public ContainerEgress.Builder setLastSyncTime(java.lang.Long lastSyncTime)
lastSyncTime
- New value for the property.public ContainerEgress.Builder setDescription(java.lang.String description)
description
- New value for the property.public ContainerEgress.Builder setDisplayName(java.lang.String displayName)
displayName
- New value for the property.public ContainerEgress.Builder setResourceType(java.lang.String resourceType)
resourceType
- New value for the property.public ContainerEgress.Builder setScope(java.util.List<DiscoveredResourceScope> scope)
scope
- New value for the property.public ContainerEgress.Builder setTags(java.util.List<Tag> tags)
tags
- New value for the property.public ContainerEgress.Builder setContainerClusterId(java.lang.String containerClusterId)
containerClusterId
- New value for the property.public ContainerEgress.Builder setEgressIp(java.lang.String egressIp)
egressIp
- New value for the property.public ContainerEgress.Builder setExternalId(java.lang.String externalId)
externalId
- New value for the property.public ContainerEgress.Builder setOriginProperties(java.util.List<KeyValuePair> originProperties)
originProperties
- New value for the property.public ContainerEgress.Builder setSpec(java.lang.String spec)
spec
- New value for the property.public ContainerEgress build()