@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SyntheticsTestOptions extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_MIN_FAILURE_DURATION |
static String |
JSON_PROPERTY_MIN_LOCATION_FAILED |
static String |
JSON_PROPERTY_MONITOR_NAME |
static String |
JSON_PROPERTY_MONITOR_OPTIONS |
static String |
JSON_PROPERTY_MONITOR_PRIORITY |
static String |
JSON_PROPERTY_RESTRICTED_ROLES |
static String |
JSON_PROPERTY_RETRY |
static String |
JSON_PROPERTY_SCHEDULING |
static String |
JSON_PROPERTY_TICK_EVERY |
boolean |
unparsed |
| Constructor and Description |
|---|
SyntheticsTestOptions() |
| Modifier and Type | Method and Description |
|---|---|
SyntheticsTestOptions |
addRestrictedRolesItem(String restrictedRolesItem) |
boolean |
equals(Object o)
Return true if this SyntheticsTestOptions object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
Long |
getMinFailureDuration()
Minimum amount of time in failure required to trigger an alert.
|
Long |
getMinLocationFailed()
Minimum number of locations in failure required to trigger an alert.
|
String |
getMonitorName()
The monitor name is used for the alert title as well as for all monitor dashboard widgets and
SLOs.
|
SyntheticsTestOptionsMonitorOptions |
getMonitorOptions()
Object containing the options for a Synthetic test as a monitor (for example, renotification).
|
Integer |
getMonitorPriority()
Integer from 1 (high) to 5 (low) indicating alert severity.
|
List<String> |
getRestrictedRoles()
Deprecated.
|
SyntheticsTestOptionsRetry |
getRetry()
Object describing the retry strategy to apply to a Synthetic test.
|
SyntheticsTestOptionsScheduling |
getScheduling()
Object containing timeframes and timezone used for advanced scheduling.
|
Long |
getTickEvery()
The frequency at which to run the Synthetic test (in seconds).
|
int |
hashCode() |
SyntheticsTestOptions |
minFailureDuration(Long minFailureDuration) |
SyntheticsTestOptions |
minLocationFailed(Long minLocationFailed) |
SyntheticsTestOptions |
monitorName(String monitorName) |
SyntheticsTestOptions |
monitorOptions(SyntheticsTestOptionsMonitorOptions monitorOptions) |
SyntheticsTestOptions |
monitorPriority(Integer monitorPriority) |
SyntheticsTestOptions |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
SyntheticsTestOptions |
restrictedRoles(List<String> restrictedRoles) |
SyntheticsTestOptions |
retry(SyntheticsTestOptionsRetry retry) |
SyntheticsTestOptions |
scheduling(SyntheticsTestOptionsScheduling scheduling) |
void |
setMinFailureDuration(Long minFailureDuration) |
void |
setMinLocationFailed(Long minLocationFailed) |
void |
setMonitorName(String monitorName) |
void |
setMonitorOptions(SyntheticsTestOptionsMonitorOptions monitorOptions) |
void |
setMonitorPriority(Integer monitorPriority) |
void |
setRestrictedRoles(List<String> restrictedRoles)
Deprecated.
|
void |
setRetry(SyntheticsTestOptionsRetry retry) |
void |
setScheduling(SyntheticsTestOptionsScheduling scheduling) |
void |
setTickEvery(Long tickEvery) |
SyntheticsTestOptions |
tickEvery(Long tickEvery) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_MIN_FAILURE_DURATION
public static final String JSON_PROPERTY_MIN_LOCATION_FAILED
public static final String JSON_PROPERTY_MONITOR_NAME
public static final String JSON_PROPERTY_MONITOR_OPTIONS
public static final String JSON_PROPERTY_MONITOR_PRIORITY
public static final String JSON_PROPERTY_RESTRICTED_ROLES
public static final String JSON_PROPERTY_RETRY
public static final String JSON_PROPERTY_SCHEDULING
public static final String JSON_PROPERTY_TICK_EVERY
public SyntheticsTestOptions minFailureDuration(Long minFailureDuration)
@Nullable public Long getMinFailureDuration()
public void setMinFailureDuration(Long minFailureDuration)
public SyntheticsTestOptions minLocationFailed(Long minLocationFailed)
@Nullable public Long getMinLocationFailed()
public void setMinLocationFailed(Long minLocationFailed)
public SyntheticsTestOptions monitorName(String monitorName)
@Nullable public String getMonitorName()
public void setMonitorName(String monitorName)
public SyntheticsTestOptions monitorOptions(SyntheticsTestOptionsMonitorOptions monitorOptions)
@Nullable public SyntheticsTestOptionsMonitorOptions getMonitorOptions()
public void setMonitorOptions(SyntheticsTestOptionsMonitorOptions monitorOptions)
public SyntheticsTestOptions monitorPriority(Integer monitorPriority)
@Nullable public Integer getMonitorPriority()
public void setMonitorPriority(Integer monitorPriority)
public SyntheticsTestOptions restrictedRoles(List<String> restrictedRoles)
public SyntheticsTestOptions addRestrictedRolesItem(String restrictedRolesItem)
@Deprecated @Nullable public List<String> getRestrictedRoles()
@Deprecated public void setRestrictedRoles(List<String> restrictedRoles)
public SyntheticsTestOptions retry(SyntheticsTestOptionsRetry retry)
@Nullable public SyntheticsTestOptionsRetry getRetry()
public void setRetry(SyntheticsTestOptionsRetry retry)
public SyntheticsTestOptions scheduling(SyntheticsTestOptionsScheduling scheduling)
@Nullable public SyntheticsTestOptionsScheduling getScheduling()
public void setScheduling(SyntheticsTestOptionsScheduling scheduling)
public SyntheticsTestOptions tickEvery(Long tickEvery)
@Nullable public Long getTickEvery()
public void setTickEvery(Long tickEvery)
public SyntheticsTestOptions putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2026. All rights reserved.