Class DnsServerMonitorConfiguration.Builder
- java.lang.Object
-
- com.oracle.bmc.apmsynthetics.model.DnsServerMonitorConfiguration.Builder
-
- Enclosing class:
- DnsServerMonitorConfiguration
public static class DnsServerMonitorConfiguration.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
isFailureRetried
public DnsServerMonitorConfiguration.Builder isFailureRetried(Boolean isFailureRetried)
-
dnsConfiguration
public DnsServerMonitorConfiguration.Builder dnsConfiguration(DnsConfiguration dnsConfiguration)
-
recordType
public DnsServerMonitorConfiguration.Builder recordType(DnsRecordType recordType)
DNS record type.- Parameters:
recordType
- the value to set- Returns:
- this builder
-
nameServer
public DnsServerMonitorConfiguration.Builder nameServer(String nameServer)
Name of the server that will be used to perform DNS lookup.- Parameters:
nameServer
- the value to set- Returns:
- this builder
-
networkConfiguration
public DnsServerMonitorConfiguration.Builder networkConfiguration(NetworkConfiguration networkConfiguration)
-
protocol
public DnsServerMonitorConfiguration.Builder protocol(DnsTransportProtocol protocol)
Type of protocol.- Parameters:
protocol
- the value to set- Returns:
- this builder
-
verifyResponseContent
public 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.
- Parameters:
verifyResponseContent
- the value to set- Returns:
- this builder
-
isQueryRecursive
public DnsServerMonitorConfiguration.Builder isQueryRecursive(Boolean isQueryRecursive)
If isQueryRecursive is enabled, then queries will be sent recursively to the target server.- Parameters:
isQueryRecursive
- the value to set- Returns:
- this builder
-
build
public DnsServerMonitorConfiguration build()
-
copy
public DnsServerMonitorConfiguration.Builder copy(DnsServerMonitorConfiguration model)
-
-