public static class ScriptedRestMonitorConfiguration.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ScriptedRestMonitorConfiguration |
build() |
ScriptedRestMonitorConfiguration.Builder |
copy(ScriptedRestMonitorConfiguration model) |
ScriptedRestMonitorConfiguration.Builder |
dnsConfiguration(DnsConfiguration dnsConfiguration) |
ScriptedRestMonitorConfiguration.Builder |
isFailureRetried(Boolean isFailureRetried) |
ScriptedRestMonitorConfiguration.Builder |
networkConfiguration(NetworkConfiguration networkConfiguration) |
ScriptedRestMonitorConfiguration.Builder |
reqAuthenticationScheme(RequestAuthenticationSchemesForScriptedRest reqAuthenticationScheme)
Request HTTP authentication scheme.
|
ScriptedRestMonitorConfiguration.Builder |
verifyResponseCodes(List<String> verifyResponseCodes)
Expected HTTP response codes.
|
public ScriptedRestMonitorConfiguration.Builder isFailureRetried(Boolean isFailureRetried)
public ScriptedRestMonitorConfiguration.Builder dnsConfiguration(DnsConfiguration dnsConfiguration)
public ScriptedRestMonitorConfiguration.Builder reqAuthenticationScheme(RequestAuthenticationSchemesForScriptedRest reqAuthenticationScheme)
Request HTTP authentication scheme.
reqAuthenticationScheme
- the value to setpublic ScriptedRestMonitorConfiguration.Builder verifyResponseCodes(List<String> verifyResponseCodes)
Expected HTTP response codes. For status code range, set values such as 2xx, 3xx.
verifyResponseCodes
- the value to setpublic ScriptedRestMonitorConfiguration.Builder networkConfiguration(NetworkConfiguration networkConfiguration)
public ScriptedRestMonitorConfiguration build()
public ScriptedRestMonitorConfiguration.Builder copy(ScriptedRestMonitorConfiguration model)
Copyright © 2016–2024. All rights reserved.