public static class DnsServerMonitorConfiguration.Builder extends Object
Constructor and Description |
---|
Builder() |
public DnsServerMonitorConfiguration.Builder isFailureRetried(Boolean isFailureRetried)
public DnsServerMonitorConfiguration.Builder dnsConfiguration(DnsConfiguration dnsConfiguration)
public DnsServerMonitorConfiguration.Builder recordType(DnsRecordType recordType)
DNS record type.
recordType
- the value to setpublic DnsServerMonitorConfiguration.Builder nameServer(String nameServer)
Name of the server that will be used to perform DNS lookup.
nameServer
- the value to setpublic DnsServerMonitorConfiguration.Builder networkConfiguration(NetworkConfiguration networkConfiguration)
public DnsServerMonitorConfiguration.Builder protocol(DnsTransportProtocol protocol)
Type of protocol.
protocol
- the value to setpublic DnsServerMonitorConfiguration.Builder verifyResponseContent(String verifyResponseContent)
Verify response content against regular expression based string. If response content does not match the verifyResponseContent value, then it will be considered a failure.
verifyResponseContent
- the value to setpublic DnsServerMonitorConfiguration.Builder isQueryRecursive(Boolean isQueryRecursive)
If isQueryRecursive is enabled, then queries will be sent recursively to the target server.
isQueryRecursive
- the value to setpublic DnsServerMonitorConfiguration build()
public DnsServerMonitorConfiguration.Builder copy(DnsServerMonitorConfiguration model)
Copyright © 2016–2024. All rights reserved.