public static class DnsHealthCheckerDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DnsHealthCheckerDetails |
build() |
DnsHealthCheckerDetails.Builder |
copy(DnsHealthCheckerDetails model) |
DnsHealthCheckerDetails.Builder |
domainName(String domainName)
The absolute fully-qualified domain name to perform periodic DNS queries.
|
DnsHealthCheckerDetails.Builder |
queryClass(DnsHealthCheckQueryClasses queryClass)
The class the dns health check query to use; either IN or CH.
|
DnsHealthCheckerDetails.Builder |
queryType(DnsHealthCheckQueryTypes queryType)
The type the dns health check query to use; A, AAAA, TXT.
|
DnsHealthCheckerDetails.Builder |
rcodes(List<DnsHealthCheckRCodes> rcodes)
An array that represents accepetable RCODE values for DNS query response.
|
DnsHealthCheckerDetails.Builder |
transportProtocol(DnsHealthCheckTransportProtocols transportProtocol)
DNS transport protocol; either UDP or TCP.
|
public DnsHealthCheckerDetails.Builder transportProtocol(DnsHealthCheckTransportProtocols transportProtocol)
DNS transport protocol; either UDP or TCP.
Example: UDP
transportProtocol
- the value to setpublic DnsHealthCheckerDetails.Builder domainName(String domainName)
The absolute fully-qualified domain name to perform periodic DNS queries. If not provided, an extra dot will be added at the end of a domain name during the query.
domainName
- the value to setpublic DnsHealthCheckerDetails.Builder queryClass(DnsHealthCheckQueryClasses queryClass)
The class the dns health check query to use; either IN or CH.
Example: IN
queryClass
- the value to setpublic DnsHealthCheckerDetails.Builder queryType(DnsHealthCheckQueryTypes queryType)
The type the dns health check query to use; A, AAAA, TXT.
Example: A
queryType
- the value to setpublic DnsHealthCheckerDetails.Builder rcodes(List<DnsHealthCheckRCodes> rcodes)
An array that represents accepetable RCODE values for DNS query response. Example: [“NOERROR”, “NXDOMAIN”]
rcodes
- the value to setpublic DnsHealthCheckerDetails build()
public DnsHealthCheckerDetails.Builder copy(DnsHealthCheckerDetails model)
Copyright © 2016–2024. All rights reserved.