public static class BrowserMonitorConfiguration.Builder extends Object
Constructor and Description |
---|
Builder() |
public BrowserMonitorConfiguration.Builder isFailureRetried(Boolean isFailureRetried)
public BrowserMonitorConfiguration.Builder dnsConfiguration(DnsConfiguration dnsConfiguration)
public BrowserMonitorConfiguration.Builder isCertificateValidationEnabled(Boolean isCertificateValidationEnabled)
If certificate validation is enabled, then the call will fail in case of certification errors.
isCertificateValidationEnabled
- the value to setpublic BrowserMonitorConfiguration.Builder isDefaultSnapshotEnabled(Boolean isDefaultSnapshotEnabled)
If disabled, auto snapshots are not collected.
isDefaultSnapshotEnabled
- the value to setpublic BrowserMonitorConfiguration.Builder verifyTexts(List<VerifyText> verifyTexts)
Verifies all the search strings present in the response. If any search string is not present in the response, then it will be considered as a failure.
verifyTexts
- the value to setpublic BrowserMonitorConfiguration.Builder verifyResponseCodes(List<String> verifyResponseCodes)
Expected HTTP response codes. For status code range, set values such as 2xx, 3xx.
verifyResponseCodes
- the value to setpublic BrowserMonitorConfiguration.Builder networkConfiguration(NetworkConfiguration networkConfiguration)
public BrowserMonitorConfiguration build()
public BrowserMonitorConfiguration.Builder copy(BrowserMonitorConfiguration model)
Copyright © 2016–2024. All rights reserved.