Package com.datadog.api.client.v2.model
Class SyntheticsTestOptions
java.lang.Object
com.datadog.api.client.v2.model.SyntheticsTestOptions
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SyntheticsTestOptions
extends Object
Object describing the extra options for a Synthetic test.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddRestrictedRolesItem(String restrictedRolesItem) booleanReturn true if this SyntheticsTestOptions object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Minimum amount of time in failure required to trigger an alert.Minimum number of locations in failure required to trigger an alert.The monitor name is used for the alert title as well as for all monitor dashboard widgets and SLOs.Object containing the options for a Synthetic test as a monitor (for example, renotification).Integer from 1 (high) to 5 (low) indicating alert severity.Deprecated.getRetry()Object describing the retry strategy to apply to a Synthetic test.Object containing timeframes and timezone used for advanced scheduling.The frequency at which to run the Synthetic test (in seconds).inthashCode()minFailureDuration(Long minFailureDuration) minLocationFailed(Long minLocationFailed) monitorName(String monitorName) monitorOptions(SyntheticsTestOptionsMonitorOptions monitorOptions) monitorPriority(Integer monitorPriority) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.restrictedRoles(List<String> restrictedRoles) retry(SyntheticsTestOptionsRetry retry) scheduling(SyntheticsTestOptionsScheduling scheduling) voidsetMinFailureDuration(Long minFailureDuration) voidsetMinLocationFailed(Long minLocationFailed) voidsetMonitorName(String monitorName) voidsetMonitorOptions(SyntheticsTestOptionsMonitorOptions monitorOptions) voidsetMonitorPriority(Integer monitorPriority) voidsetRestrictedRoles(List<String> restrictedRoles) Deprecated.voidvoidsetScheduling(SyntheticsTestOptionsScheduling scheduling) voidsetTickEvery(Long tickEvery) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_MIN_FAILURE_DURATION
- See Also:
-
JSON_PROPERTY_MIN_LOCATION_FAILED
- See Also:
-
JSON_PROPERTY_MONITOR_NAME
- See Also:
-
JSON_PROPERTY_MONITOR_OPTIONS
- See Also:
-
JSON_PROPERTY_MONITOR_PRIORITY
- See Also:
-
JSON_PROPERTY_RESTRICTED_ROLES
- See Also:
-
JSON_PROPERTY_RETRY
- See Also:
-
JSON_PROPERTY_SCHEDULING
- See Also:
-
JSON_PROPERTY_TICK_EVERY
- See Also:
-
-
Constructor Details
-
SyntheticsTestOptions
public SyntheticsTestOptions()
-
-
Method Details
-
minFailureDuration
-
getMinFailureDuration
Minimum amount of time in failure required to trigger an alert.- Returns:
- minFailureDuration
-
setMinFailureDuration
-
minLocationFailed
-
getMinLocationFailed
Minimum number of locations in failure required to trigger an alert.- Returns:
- minLocationFailed
-
setMinLocationFailed
-
monitorName
-
getMonitorName
The monitor name is used for the alert title as well as for all monitor dashboard widgets and SLOs.- Returns:
- monitorName
-
setMonitorName
-
monitorOptions
-
getMonitorOptions
Object containing the options for a Synthetic test as a monitor (for example, renotification).- Returns:
- monitorOptions
-
setMonitorOptions
-
monitorPriority
-
getMonitorPriority
Integer from 1 (high) to 5 (low) indicating alert severity. minimum: 1 maximum: 5- Returns:
- monitorPriority
-
setMonitorPriority
-
restrictedRoles
-
addRestrictedRolesItem
-
getRestrictedRoles
Deprecated.A list of role identifiers that can be pulled from the Roles API, for restricting read and write access. This field is deprecated. Use the restriction policies API to manage permissions.- Returns:
- restrictedRoles
-
setRestrictedRoles
Deprecated. -
retry
-
getRetry
Object describing the retry strategy to apply to a Synthetic test.- Returns:
- retry
-
setRetry
-
scheduling
-
getScheduling
Object containing timeframes and timezone used for advanced scheduling.- Returns:
- scheduling
-
setScheduling
-
tickEvery
-
getTickEvery
The frequency at which to run the Synthetic test (in seconds). minimum: 30 maximum: 604800- Returns:
- tickEvery
-
setTickEvery
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- SyntheticsTestOptions
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this SyntheticsTestOptions object is equal to o. -
hashCode
public int hashCode() -
toString
-