Package com.vmware.nsx_policy.model
Class RaDNSConfig.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.RaDNSConfig.Builder
-
- Enclosing class:
- RaDNSConfig
public static final class RaDNSConfig.Builder extends java.lang.Object
Builder class forRaDNSConfig
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofRaDNSConfig
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RaDNSConfig
build()
RaDNSConfig.Builder
setDnsServer(java.util.List<java.lang.String> dnsServer)
DNS server.RaDNSConfig.Builder
setDnsServerLifetime(java.lang.Long dnsServerLifetime)
Lifetime of DNS server in milliseconds format: int64RaDNSConfig.Builder
setDomainName(java.util.List<java.lang.String> domainName)
Domain name in RA message.RaDNSConfig.Builder
setDomainNameLifetime(java.lang.Long domainNameLifetime)
Lifetime of Domain names in milliseconds format: int64
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofRaDNSConfig
.
-
-
Method Detail
-
setDnsServer
public RaDNSConfig.Builder setDnsServer(java.util.List<java.lang.String> dnsServer)
DNS server. format: ipv6- Parameters:
dnsServer
- New value for the property.
-
setDnsServerLifetime
public RaDNSConfig.Builder setDnsServerLifetime(java.lang.Long dnsServerLifetime)
Lifetime of DNS server in milliseconds format: int64- Parameters:
dnsServerLifetime
- New value for the property.
-
setDomainName
public RaDNSConfig.Builder setDomainName(java.util.List<java.lang.String> domainName)
Domain name in RA message.- Parameters:
domainName
- New value for the property.
-
setDomainNameLifetime
public RaDNSConfig.Builder setDomainNameLifetime(java.lang.Long domainNameLifetime)
Lifetime of Domain names in milliseconds format: int64- Parameters:
domainNameLifetime
- New value for the property.
-
build
public RaDNSConfig build()
-
-