@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SyntheticsAPIStep extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ALLOW_FAILURE |
static String |
JSON_PROPERTY_ASSERTIONS |
static String |
JSON_PROPERTY_EXTRACTED_VALUES |
static String |
JSON_PROPERTY_IS_CRITICAL |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_REQUEST |
static String |
JSON_PROPERTY_RETRY |
static String |
JSON_PROPERTY_SUBTYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
SyntheticsAPIStep() |
SyntheticsAPIStep(List<SyntheticsAssertion> assertions,
String name,
SyntheticsTestRequest request,
SyntheticsAPIStepSubtype subtype) |
| Modifier and Type | Method and Description |
|---|---|
SyntheticsAPIStep |
addAssertionsItem(SyntheticsAssertion assertionsItem) |
SyntheticsAPIStep |
addExtractedValuesItem(SyntheticsParsingOptions extractedValuesItem) |
SyntheticsAPIStep |
allowFailure(Boolean allowFailure) |
SyntheticsAPIStep |
assertions(List<SyntheticsAssertion> assertions) |
boolean |
equals(Object o)
Return true if this SyntheticsAPIStep object is equal to o.
|
SyntheticsAPIStep |
extractedValues(List<SyntheticsParsingOptions> extractedValues) |
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
Boolean |
getAllowFailure()
Determines whether or not to continue with test if this step fails.
|
List<SyntheticsAssertion> |
getAssertions()
Array of assertions used for the test.
|
List<SyntheticsParsingOptions> |
getExtractedValues()
Array of values to parse and save as variables from the response.
|
Boolean |
getIsCritical()
Determines whether or not to consider the entire test as failed if this step fails.
|
String |
getName()
The name of the step.
|
SyntheticsTestRequest |
getRequest()
Object describing the Synthetic test request.
|
SyntheticsTestOptionsRetry |
getRetry()
Object describing the retry strategy to apply to a Synthetic test.
|
SyntheticsAPIStepSubtype |
getSubtype()
The subtype of the Synthetic multistep API test step, currently only supporting
http
. |
int |
hashCode() |
SyntheticsAPIStep |
isCritical(Boolean isCritical) |
SyntheticsAPIStep |
name(String name) |
SyntheticsAPIStep |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
SyntheticsAPIStep |
request(SyntheticsTestRequest request) |
SyntheticsAPIStep |
retry(SyntheticsTestOptionsRetry retry) |
void |
setAllowFailure(Boolean allowFailure) |
void |
setAssertions(List<SyntheticsAssertion> assertions) |
void |
setExtractedValues(List<SyntheticsParsingOptions> extractedValues) |
void |
setIsCritical(Boolean isCritical) |
void |
setName(String name) |
void |
setRequest(SyntheticsTestRequest request) |
void |
setRetry(SyntheticsTestOptionsRetry retry) |
void |
setSubtype(SyntheticsAPIStepSubtype subtype) |
SyntheticsAPIStep |
subtype(SyntheticsAPIStepSubtype subtype) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_ALLOW_FAILURE
public static final String JSON_PROPERTY_ASSERTIONS
public static final String JSON_PROPERTY_EXTRACTED_VALUES
public static final String JSON_PROPERTY_IS_CRITICAL
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_REQUEST
public static final String JSON_PROPERTY_RETRY
public static final String JSON_PROPERTY_SUBTYPE
public SyntheticsAPIStep()
public SyntheticsAPIStep(List<SyntheticsAssertion> assertions, String name, SyntheticsTestRequest request, SyntheticsAPIStepSubtype subtype)
public SyntheticsAPIStep allowFailure(Boolean allowFailure)
@Nullable public Boolean getAllowFailure()
public void setAllowFailure(Boolean allowFailure)
public SyntheticsAPIStep assertions(List<SyntheticsAssertion> assertions)
public SyntheticsAPIStep addAssertionsItem(SyntheticsAssertion assertionsItem)
public List<SyntheticsAssertion> getAssertions()
public void setAssertions(List<SyntheticsAssertion> assertions)
public SyntheticsAPIStep extractedValues(List<SyntheticsParsingOptions> extractedValues)
public SyntheticsAPIStep addExtractedValuesItem(SyntheticsParsingOptions extractedValuesItem)
@Nullable public List<SyntheticsParsingOptions> getExtractedValues()
public void setExtractedValues(List<SyntheticsParsingOptions> extractedValues)
public SyntheticsAPIStep isCritical(Boolean isCritical)
@Nullable public Boolean getIsCritical()
allowFailure is true.public void setIsCritical(Boolean isCritical)
public SyntheticsAPIStep name(String name)
public String getName()
public void setName(String name)
public SyntheticsAPIStep request(SyntheticsTestRequest request)
public SyntheticsTestRequest getRequest()
public void setRequest(SyntheticsTestRequest request)
public SyntheticsAPIStep retry(SyntheticsTestOptionsRetry retry)
@Nullable public SyntheticsTestOptionsRetry getRetry()
public void setRetry(SyntheticsTestOptionsRetry retry)
public SyntheticsAPIStep subtype(SyntheticsAPIStepSubtype subtype)
public SyntheticsAPIStepSubtype getSubtype()
http
.public void setSubtype(SyntheticsAPIStepSubtype subtype)
public SyntheticsAPIStep 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.