Package com.datadog.api.client.v2.model
Class Spec
java.lang.Object
com.datadog.api.client.v2.model.Spec
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class Spec
extends Object
A complete Workflow Automation definition, including its triggers, steps, and connections.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAnnotationsItem(Annotation annotationsItem) addConnectionEnvsItem(ConnectionEnv connectionEnvsItem) addStepsItem(Step stepsItem) addTriggersItem(Trigger triggersItem) annotations(List<Annotation> annotations) connectionEnvs(List<ConnectionEnv> connectionEnvs) booleanReturn true if this Spec object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Up to 100 text annotations displayed on the workflow canvas.A list of connections or connection groups used in the workflow.Unique identifier used to trigger workflows automatically in Datadog.A list of input parameters for the workflow.A list of output parameters for the workflow.getSteps()AStepis a sub-component of a workflow.The list of triggers that activate this workflow.inthashCode()inputSchema(InputSchema inputSchema) outputSchema(OutputSchema outputSchema) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAnnotations(List<Annotation> annotations) voidsetConnectionEnvs(List<ConnectionEnv> connectionEnvs) voidvoidsetInputSchema(InputSchema inputSchema) voidsetOutputSchema(OutputSchema outputSchema) voidvoidsetTriggers(List<Trigger> triggers) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ANNOTATIONS
- See Also:
-
JSON_PROPERTY_CONNECTION_ENVS
- See Also:
-
JSON_PROPERTY_HANDLE
- See Also:
-
JSON_PROPERTY_INPUT_SCHEMA
- See Also:
-
JSON_PROPERTY_OUTPUT_SCHEMA
- See Also:
-
JSON_PROPERTY_STEPS
- See Also:
-
JSON_PROPERTY_TRIGGERS
- See Also:
-
-
Constructor Details
-
Spec
public Spec()
-
-
Method Details
-
annotations
-
addAnnotationsItem
-
getAnnotations
Up to 100 text annotations displayed on the workflow canvas.- Returns:
- annotations
-
setAnnotations
-
connectionEnvs
-
addConnectionEnvsItem
-
getConnectionEnvs
A list of connections or connection groups used in the workflow.- Returns:
- connectionEnvs
-
setConnectionEnvs
-
handle
-
getHandle
Unique identifier used to trigger workflows automatically in Datadog.- Returns:
- handle
-
setHandle
-
inputSchema
-
getInputSchema
A list of input parameters for the workflow. Input parameters are available under theTriggerobject and can be referenced in workflow steps using{{ Trigger.<parameter_name> }}.- Returns:
- inputSchema
-
setInputSchema
-
outputSchema
-
getOutputSchema
A list of output parameters for the workflow.- Returns:
- outputSchema
-
setOutputSchema
-
steps
-
addStepsItem
-
getSteps
AStepis a sub-component of a workflow. EachStepperforms an action.- Returns:
- steps
-
setSteps
-
triggers
-
addTriggersItem
-
getTriggers
The list of triggers that activate this workflow. At least one trigger is required, and each trigger type may appear at most once.- Returns:
- triggers
-
setTriggers
-
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:
- Spec
-
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 Spec object is equal to o. -
hashCode
public int hashCode() -
toString
-