@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SyntheticsStep extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ALLOW_FAILURE |
static String |
JSON_PROPERTY_IS_CRITICAL |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_NO_SCREENSHOT |
static String |
JSON_PROPERTY_PARAMS |
static String |
JSON_PROPERTY_TIMEOUT |
static String |
JSON_PROPERTY_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
SyntheticsStep() |
| Modifier and Type | Method and Description |
|---|---|
SyntheticsStep |
allowFailure(Boolean allowFailure) |
boolean |
equals(Object o)
Return true if this SyntheticsStep 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.
|
Boolean |
getAllowFailure()
A boolean set to allow this step to fail.
|
Boolean |
getIsCritical()
A boolean to use in addition to
allowFailure to determine if the test should be
marked as failed when the step fails. |
String |
getName()
The name of the step.
|
Boolean |
getNoScreenshot()
A boolean set to not take a screenshot for the step.
|
Object |
getParams()
The parameters of the step.
|
Long |
getTimeout()
The time before declaring a step failed.
|
SyntheticsStepType |
getType()
Step type used in your Synthetic test.
|
int |
hashCode() |
SyntheticsStep |
isCritical(Boolean isCritical) |
SyntheticsStep |
name(String name) |
SyntheticsStep |
noScreenshot(Boolean noScreenshot) |
SyntheticsStep |
params(Object params) |
SyntheticsStep |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAllowFailure(Boolean allowFailure) |
void |
setIsCritical(Boolean isCritical) |
void |
setName(String name) |
void |
setNoScreenshot(Boolean noScreenshot) |
void |
setParams(Object params) |
void |
setTimeout(Long timeout) |
void |
setType(SyntheticsStepType type) |
SyntheticsStep |
timeout(Long timeout) |
String |
toString() |
SyntheticsStep |
type(SyntheticsStepType type) |
public boolean unparsed
public static final String JSON_PROPERTY_ALLOW_FAILURE
public static final String JSON_PROPERTY_IS_CRITICAL
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NO_SCREENSHOT
public static final String JSON_PROPERTY_PARAMS
public static final String JSON_PROPERTY_TIMEOUT
public static final String JSON_PROPERTY_TYPE
public SyntheticsStep allowFailure(Boolean allowFailure)
@Nullable public Boolean getAllowFailure()
public void setAllowFailure(Boolean allowFailure)
public SyntheticsStep isCritical(Boolean isCritical)
@Nullable public Boolean getIsCritical()
allowFailure to determine if the test should be
marked as failed when the step fails.public void setIsCritical(Boolean isCritical)
public SyntheticsStep name(String name)
@Nullable public String getName()
public void setName(String name)
public SyntheticsStep noScreenshot(Boolean noScreenshot)
@Nullable public Boolean getNoScreenshot()
public void setNoScreenshot(Boolean noScreenshot)
public SyntheticsStep params(Object params)
@Nullable public Object getParams()
public void setParams(Object params)
public SyntheticsStep timeout(Long timeout)
@Nullable public Long getTimeout()
public void setTimeout(Long timeout)
public SyntheticsStep type(SyntheticsStepType type)
@Nullable public SyntheticsStepType getType()
public void setType(SyntheticsStepType type)
public SyntheticsStep 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.