@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class Spec extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ANNOTATIONS |
static String |
JSON_PROPERTY_CONNECTION_ENVS |
static String |
JSON_PROPERTY_HANDLE |
static String |
JSON_PROPERTY_INPUT_SCHEMA |
static String |
JSON_PROPERTY_OUTPUT_SCHEMA |
static String |
JSON_PROPERTY_STEPS |
static String |
JSON_PROPERTY_TRIGGERS |
boolean |
unparsed |
| Constructor and Description |
|---|
Spec() |
| Modifier and Type | Method and Description |
|---|---|
Spec |
addAnnotationsItem(Annotation annotationsItem) |
Spec |
addConnectionEnvsItem(ConnectionEnv connectionEnvsItem) |
Spec |
addStepsItem(Step stepsItem) |
Spec |
addTriggersItem(Trigger triggersItem) |
Spec |
annotations(List<Annotation> annotations) |
Spec |
connectionEnvs(List<ConnectionEnv> connectionEnvs) |
boolean |
equals(Object o)
Return true if this Spec 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.
|
List<Annotation> |
getAnnotations()
A list of annotations used in the workflow.
|
List<ConnectionEnv> |
getConnectionEnvs()
A list of connections or connection groups used in the workflow.
|
String |
getHandle()
Unique identifier used to trigger workflows automatically in Datadog.
|
InputSchema |
getInputSchema()
A list of input parameters for the workflow.
|
OutputSchema |
getOutputSchema()
A list of output parameters for the workflow.
|
List<Step> |
getSteps()
A
Step is a sub-component of a workflow. |
List<Trigger> |
getTriggers()
The list of triggers that activate this workflow.
|
Spec |
handle(String handle) |
int |
hashCode() |
Spec |
inputSchema(InputSchema inputSchema) |
Spec |
outputSchema(OutputSchema outputSchema) |
Spec |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAnnotations(List<Annotation> annotations) |
void |
setConnectionEnvs(List<ConnectionEnv> connectionEnvs) |
void |
setHandle(String handle) |
void |
setInputSchema(InputSchema inputSchema) |
void |
setOutputSchema(OutputSchema outputSchema) |
void |
setSteps(List<Step> steps) |
void |
setTriggers(List<Trigger> triggers) |
Spec |
steps(List<Step> steps) |
String |
toString() |
Spec |
triggers(List<Trigger> triggers) |
public boolean unparsed
public static final String JSON_PROPERTY_ANNOTATIONS
public static final String JSON_PROPERTY_CONNECTION_ENVS
public static final String JSON_PROPERTY_HANDLE
public static final String JSON_PROPERTY_INPUT_SCHEMA
public static final String JSON_PROPERTY_OUTPUT_SCHEMA
public static final String JSON_PROPERTY_STEPS
public static final String JSON_PROPERTY_TRIGGERS
public Spec annotations(List<Annotation> annotations)
public Spec addAnnotationsItem(Annotation annotationsItem)
@Nullable public List<Annotation> getAnnotations()
public void setAnnotations(List<Annotation> annotations)
public Spec connectionEnvs(List<ConnectionEnv> connectionEnvs)
public Spec addConnectionEnvsItem(ConnectionEnv connectionEnvsItem)
@Nullable public List<ConnectionEnv> getConnectionEnvs()
public void setConnectionEnvs(List<ConnectionEnv> connectionEnvs)
@Nullable public String getHandle()
public void setHandle(String handle)
public Spec inputSchema(InputSchema inputSchema)
@Nullable public InputSchema getInputSchema()
public void setInputSchema(InputSchema inputSchema)
public Spec outputSchema(OutputSchema outputSchema)
@Nullable public OutputSchema getOutputSchema()
public void setOutputSchema(OutputSchema outputSchema)
@Nullable public List<Step> getSteps()
Step is a sub-component of a workflow. Each Step performs an
action.@Nullable public List<Trigger> getTriggers()
public Spec 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 © 2025. All rights reserved.