Package com.datadog.api.client.v1.model
Class SyntheticsTestOptionsRetry
java.lang.Object
com.datadog.api.client.v1.model.SyntheticsTestOptionsRetry
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SyntheticsTestOptionsRetry
extends Object
Object describing the retry strategy to apply to a Synthetic test.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this SyntheticsTestOptionsRetry object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getCount()Number of times a test needs to be retried before marking a location as failed.Time interval between retries (in milliseconds).inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetInterval(Double interval) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_COUNT
- See Also:
-
JSON_PROPERTY_INTERVAL
- See Also:
-
-
Constructor Details
-
SyntheticsTestOptionsRetry
public SyntheticsTestOptionsRetry()
-
-
Method Details
-
count
-
getCount
Number of times a test needs to be retried before marking a location as failed. Defaults to 0.- Returns:
- count
-
setCount
-
interval
-
getInterval
Time interval between retries (in milliseconds). Defaults to 300ms.- Returns:
- interval
-
setInterval
-
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:
- SyntheticsTestOptionsRetry
-
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 SyntheticsTestOptionsRetry object is equal to o. -
hashCode
public int hashCode() -
toString
-