@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SyntheticsAPITest extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_CONFIG |
static String |
JSON_PROPERTY_LOCATIONS |
static String |
JSON_PROPERTY_MESSAGE |
static String |
JSON_PROPERTY_MONITOR_ID |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_OPTIONS |
static String |
JSON_PROPERTY_PUBLIC_ID |
static String |
JSON_PROPERTY_STATUS |
static String |
JSON_PROPERTY_SUBTYPE |
static String |
JSON_PROPERTY_TAGS |
static String |
JSON_PROPERTY_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
SyntheticsAPITest() |
SyntheticsAPITest(SyntheticsAPITestConfig config,
List<String> locations,
String message,
String name,
SyntheticsTestOptions options,
SyntheticsAPITestType type) |
| Modifier and Type | Method and Description |
|---|---|
SyntheticsAPITest |
addLocationsItem(String locationsItem) |
SyntheticsAPITest |
addTagsItem(String tagsItem) |
SyntheticsAPITest |
config(SyntheticsAPITestConfig config) |
boolean |
equals(Object o)
Return true if this SyntheticsAPITest 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.
|
SyntheticsAPITestConfig |
getConfig()
Configuration object for a Synthetic API test.
|
List<String> |
getLocations()
Array of locations used to run the test.
|
String |
getMessage()
Notification message associated with the test.
|
Long |
getMonitorId()
The associated monitor ID.
|
String |
getName()
Name of the test.
|
SyntheticsTestOptions |
getOptions()
Object describing the extra options for a Synthetic test.
|
String |
getPublicId()
The public ID for the test.
|
SyntheticsTestPauseStatus |
getStatus()
Define whether you want to start (
live) or pause (paused) a Synthetic
test. |
SyntheticsTestDetailsSubType |
getSubtype()
The subtype of the Synthetic API test,
http, ssl, tcp,
dns, icmp, udp, websocket, grpc
or multi. |
List<String> |
getTags()
Array of tags attached to the test.
|
SyntheticsAPITestType |
getType()
Type of the Synthetic test,
api. |
int |
hashCode() |
SyntheticsAPITest |
locations(List<String> locations) |
SyntheticsAPITest |
message(String message) |
SyntheticsAPITest |
name(String name) |
SyntheticsAPITest |
options(SyntheticsTestOptions options) |
SyntheticsAPITest |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setConfig(SyntheticsAPITestConfig config) |
void |
setLocations(List<String> locations) |
void |
setMessage(String message) |
void |
setName(String name) |
void |
setOptions(SyntheticsTestOptions options) |
void |
setStatus(SyntheticsTestPauseStatus status) |
void |
setSubtype(SyntheticsTestDetailsSubType subtype) |
void |
setTags(List<String> tags) |
void |
setType(SyntheticsAPITestType type) |
SyntheticsAPITest |
status(SyntheticsTestPauseStatus status) |
SyntheticsAPITest |
subtype(SyntheticsTestDetailsSubType subtype) |
SyntheticsAPITest |
tags(List<String> tags) |
String |
toString() |
SyntheticsAPITest |
type(SyntheticsAPITestType type) |
public boolean unparsed
public static final String JSON_PROPERTY_CONFIG
public static final String JSON_PROPERTY_LOCATIONS
public static final String JSON_PROPERTY_MESSAGE
public static final String JSON_PROPERTY_MONITOR_ID
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_OPTIONS
public static final String JSON_PROPERTY_PUBLIC_ID
public static final String JSON_PROPERTY_STATUS
public static final String JSON_PROPERTY_SUBTYPE
public static final String JSON_PROPERTY_TAGS
public static final String JSON_PROPERTY_TYPE
public SyntheticsAPITest()
public SyntheticsAPITest(SyntheticsAPITestConfig config, List<String> locations, String message, String name, SyntheticsTestOptions options, SyntheticsAPITestType type)
public SyntheticsAPITest config(SyntheticsAPITestConfig config)
public SyntheticsAPITestConfig getConfig()
public void setConfig(SyntheticsAPITestConfig config)
public SyntheticsAPITest locations(List<String> locations)
public SyntheticsAPITest addLocationsItem(String locationsItem)
public List<String> getLocations()
public SyntheticsAPITest message(String message)
public String getMessage()
public void setMessage(String message)
@Nullable public Long getMonitorId()
public SyntheticsAPITest name(String name)
public String getName()
public void setName(String name)
public SyntheticsAPITest options(SyntheticsTestOptions options)
public SyntheticsTestOptions getOptions()
public void setOptions(SyntheticsTestOptions options)
@Nullable public String getPublicId()
public SyntheticsAPITest status(SyntheticsTestPauseStatus status)
@Nullable public SyntheticsTestPauseStatus getStatus()
live) or pause (paused) a Synthetic
test.public void setStatus(SyntheticsTestPauseStatus status)
public SyntheticsAPITest subtype(SyntheticsTestDetailsSubType subtype)
@Nullable public SyntheticsTestDetailsSubType getSubtype()
http, ssl, tcp,
dns, icmp, udp, websocket, grpc
or multi.public void setSubtype(SyntheticsTestDetailsSubType subtype)
public SyntheticsAPITest tags(List<String> tags)
public SyntheticsAPITest addTagsItem(String tagsItem)
public SyntheticsAPITest type(SyntheticsAPITestType type)
public SyntheticsAPITestType getType()
api.public void setType(SyntheticsAPITestType type)
public SyntheticsAPITest 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 © 2024. All rights reserved.