Package com.datadog.api.client.v2.model
Class SyntheticsNetworkTest
java.lang.Object
com.datadog.api.client.v2.model.SyntheticsNetworkTest
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SyntheticsNetworkTest
extends Object
Object containing details about a Network Path test.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSyntheticsNetworkTest(SyntheticsNetworkTestConfig config, List<String> locations, String message, String name, SyntheticsTestOptions options, SyntheticsNetworkTestType type) -
Method Summary
Modifier and TypeMethodDescriptionaddLocationsItem(String locationsItem) addTagsItem(String tagsItem) config(SyntheticsNetworkTestConfig config) booleanReturn true if this SyntheticsNetworkTest object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Configuration object for a Network Path test.Array of locations used to run the test.Notification message associated with the test.The associated monitor ID.getName()Name of the test.Object describing the extra options for a Synthetic test.The public ID for the test.Define whether you want to start (live) or pause (paused) a Synthetic test.Subtype of the Synthetic Network Path test:tcp,udp, oricmp.getTags()Array of tags attached to the test.getType()Type of the Synthetic test,network.inthashCode()options(SyntheticsTestOptions options) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetConfig(SyntheticsNetworkTestConfig config) voidsetLocations(List<String> locations) voidsetMessage(String message) voidvoidsetOptions(SyntheticsTestOptions options) voidsetStatus(SyntheticsTestPauseStatus status) voidsetSubtype(SyntheticsNetworkTestSubType subtype) voidvoidstatus(SyntheticsTestPauseStatus status) subtype(SyntheticsNetworkTestSubType subtype) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CONFIG
- See Also:
-
JSON_PROPERTY_LOCATIONS
- See Also:
-
JSON_PROPERTY_MESSAGE
- See Also:
-
JSON_PROPERTY_MONITOR_ID
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_OPTIONS
- See Also:
-
JSON_PROPERTY_PUBLIC_ID
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_SUBTYPE
- See Also:
-
JSON_PROPERTY_TAGS
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
SyntheticsNetworkTest
public SyntheticsNetworkTest() -
SyntheticsNetworkTest
public SyntheticsNetworkTest(SyntheticsNetworkTestConfig config, List<String> locations, String message, String name, SyntheticsTestOptions options, SyntheticsNetworkTestType type)
-
-
Method Details
-
config
-
getConfig
Configuration object for a Network Path test.- Returns:
- config
-
setConfig
-
locations
-
addLocationsItem
-
getLocations
Array of locations used to run the test. Network Path tests can be run from managed locations to test public endpoints, or from a Datadog Agent to test private environments.- Returns:
- locations
-
setLocations
-
message
-
getMessage
Notification message associated with the test.- Returns:
- message
-
setMessage
-
getMonitorId
The associated monitor ID.- Returns:
- monitorId
-
name
-
getName
Name of the test.- Returns:
- name
-
setName
-
options
-
getOptions
Object describing the extra options for a Synthetic test.- Returns:
- options
-
setOptions
-
getPublicId
The public ID for the test.- Returns:
- publicId
-
status
-
getStatus
Define whether you want to start (live) or pause (paused) a Synthetic test.- Returns:
- status
-
setStatus
-
subtype
-
getSubtype
Subtype of the Synthetic Network Path test:tcp,udp, oricmp.- Returns:
- subtype
-
setSubtype
-
tags
-
addTagsItem
-
getTags
Array of tags attached to the test.- Returns:
- tags
-
setTags
-
type
-
getType
Type of the Synthetic test,network.- Returns:
- type
-
setType
-
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:
- SyntheticsNetworkTest
-
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 SyntheticsNetworkTest object is equal to o. -
hashCode
public int hashCode() -
toString
-