public static final class DnsForwarder.Builder
extends java.lang.Object
DnsForwarder.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
DnsForwarder. |
| Modifier and Type | Method and Description |
|---|---|
DnsForwarder |
build() |
DnsForwarder.Builder |
setCacheSize(java.lang.Long cacheSize)
One DNS answer cache entry will consume ~120 bytes.
|
DnsForwarder.Builder |
setConditionalForwarders(java.util.List<ConditionalForwarderZone> conditionalForwarders)
The conditional zone forwarders.
|
DnsForwarder.Builder |
setCreateTime(java.lang.Long createTime)
Timestamp of resource creation 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.
|
DnsForwarder.Builder |
setCreateUser(java.lang.String createUser)
ID of the user who created 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.
|
DnsForwarder.Builder |
setDefaultForwarder(ForwarderZone defaultForwarder) |
DnsForwarder.Builder |
setDescription(java.lang.String description)
Description of this resource
|
DnsForwarder.Builder |
setDisplayName(java.lang.String displayName)
Defaults to ID if not set
|
DnsForwarder.Builder |
setEnabled(java.lang.Boolean enabled)
Flag to enable/disable the forwarder
|
DnsForwarder.Builder |
setId(java.lang.String id)
Unique identifier of this resource
|
DnsForwarder.Builder |
setLastModifiedTime(java.lang.Long lastModifiedTime)
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.
|
DnsForwarder.Builder |
setLastModifiedUser(java.lang.String lastModifiedUser)
ID of the user who last modified 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.
|
DnsForwarder.Builder |
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
DnsForwarder.Builder |
setListenerIp(java.lang.String listenerIp)
The ip address the DNS forwarder listens on.
|
DnsForwarder.Builder |
setLogicalRouterId(java.lang.String logicalRouterId)
Specify the LogicalRouter where the DnsForwarder runs.
|
DnsForwarder.Builder |
setLogLevel(java.lang.String logLevel)
Possible values are:
DnsForwarder.LOG_LEVEL_DEBUG DnsForwarder.LOG_LEVEL_INFO DnsForwarder.LOG_LEVEL_WARNING DnsForwarder.LOG_LEVEL_ERROR DnsForwarder.LOG_LEVEL_FATAL Log level of the
DNS forwarder |
DnsForwarder.Builder |
setProtection(java.lang.String protection)
Protection status is one of the following: PROTECTED - the client who retrieved
the entity is not allowed to modify it.
|
DnsForwarder.Builder |
setResourceType(java.lang.String resourceType)
The type of this resource.
|
DnsForwarder.Builder |
setRevision(java.lang.Long revision)
The _revision property describes the current revision of the resource.
|
DnsForwarder.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.
|
DnsForwarder.Builder |
setSelf(SelfResourceLink self) |
DnsForwarder.Builder |
setSystemOwned(java.lang.Boolean systemOwned)
Indicates system owned 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.
|
DnsForwarder.Builder |
setTags(java.util.List<Tag> tags)
Opaque identifiers meaningful to the API user
|
public Builder()
DnsForwarder.public DnsForwarder.Builder setLinks(java.util.List<ResourceLink> links)
links - New value for the property.public DnsForwarder.Builder setSchema(java.lang.String schema)
schema - New value for the property.public DnsForwarder.Builder setSelf(SelfResourceLink self)
self - New value for the property.public DnsForwarder.Builder setRevision(java.lang.Long revision)
revision - New value for the property.public DnsForwarder.Builder setCreateTime(java.lang.Long createTime)
createTime - New value for the property.public DnsForwarder.Builder setCreateUser(java.lang.String createUser)
createUser - New value for the property.public DnsForwarder.Builder setLastModifiedTime(java.lang.Long lastModifiedTime)
lastModifiedTime - New value for the property.public DnsForwarder.Builder setLastModifiedUser(java.lang.String lastModifiedUser)
lastModifiedUser - New value for the property.public DnsForwarder.Builder setProtection(java.lang.String protection)
protection - New value for the property.public DnsForwarder.Builder setSystemOwned(java.lang.Boolean systemOwned)
systemOwned - New value for the property.public DnsForwarder.Builder setDescription(java.lang.String description)
description - New value for the property.public DnsForwarder.Builder setDisplayName(java.lang.String displayName)
displayName - New value for the property.public DnsForwarder.Builder setId(java.lang.String id)
id - New value for the property.public DnsForwarder.Builder setResourceType(java.lang.String resourceType)
resourceType - New value for the property.public DnsForwarder.Builder setTags(java.util.List<Tag> tags)
tags - New value for the property.public DnsForwarder.Builder setCacheSize(java.lang.Long cacheSize)
cacheSize - New value for the property.public DnsForwarder.Builder setConditionalForwarders(java.util.List<ConditionalForwarderZone> conditionalForwarders)
conditionalForwarders - New value for the property.public DnsForwarder.Builder setDefaultForwarder(ForwarderZone defaultForwarder)
defaultForwarder - New value for the property.public DnsForwarder.Builder setEnabled(java.lang.Boolean enabled)
enabled - New value for the property.public DnsForwarder.Builder setListenerIp(java.lang.String listenerIp)
listenerIp - New value for the property.public DnsForwarder.Builder setLogLevel(java.lang.String logLevel)
logLevel - New value for the property.public DnsForwarder.Builder setLogicalRouterId(java.lang.String logicalRouterId)
logicalRouterId - New value for the property.public DnsForwarder build()