Partager via


ActivityRun Class

  • java.lang.Object
    • com.azure.resourcemanager.datafactory.models.ActivityRun

Implements

public final class ActivityRun
implements JsonSerializable<ActivityRun>

Information about an activity run in a pipeline.

Constructor Summary

Constructor Description
ActivityRun()

Creates an instance of ActivityRun class.

Method Summary

Modifier and Type Method and Description
String activityName()

Get the activityName property: The name of the activity.

OffsetDateTime activityRunEnd()

Get the activityRunEnd property: The end time of the activity run in 'ISO 8601' format.

String activityRunId()

Get the activityRunId property: The id of the activity run.

OffsetDateTime activityRunStart()

Get the activityRunStart property: The start time of the activity run in 'ISO 8601' format.

String activityType()

Get the activityType property: The type of the activity.

Map<String,Object> additionalProperties()

Get the additionalProperties property: Information about an activity run in a pipeline.

Integer durationInMs()

Get the durationInMs property: The duration of the activity run.

Object error()

Get the error property: The error if any from the activity run.

static ActivityRun fromJson(JsonReader jsonReader)

Reads an instance of ActivityRun from the JsonReader.

Object input()

Get the input property: The input for the activity.

String linkedServiceName()

Get the linkedServiceName property: The name of the compute linked service.

Object output()

Get the output property: The output for the activity.

String pipelineName()

Get the pipelineName property: The name of the pipeline.

String pipelineRunId()

Get the pipelineRunId property: The id of the pipeline run.

String status()

Get the status property: The status of the activity run.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ActivityRun withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: Information about an activity run in a pipeline.

Methods inherited from java.lang.Object

Constructor Details

ActivityRun

public ActivityRun()

Creates an instance of ActivityRun class.

Method Details

activityName

public String activityName()

Get the activityName property: The name of the activity.

Returns:

the activityName value.

activityRunEnd

public OffsetDateTime activityRunEnd()

Get the activityRunEnd property: The end time of the activity run in 'ISO 8601' format.

Returns:

the activityRunEnd value.

activityRunId

public String activityRunId()

Get the activityRunId property: The id of the activity run.

Returns:

the activityRunId value.

activityRunStart

public OffsetDateTime activityRunStart()

Get the activityRunStart property: The start time of the activity run in 'ISO 8601' format.

Returns:

the activityRunStart value.

activityType

public String activityType()

Get the activityType property: The type of the activity.

Returns:

the activityType value.

additionalProperties

public Map<String,Object> additionalProperties()

Get the additionalProperties property: Information about an activity run in a pipeline.

Returns:

the additionalProperties value.

durationInMs

public Integer durationInMs()

Get the durationInMs property: The duration of the activity run.

Returns:

the durationInMs value.

error

public Object error()

Get the error property: The error if any from the activity run.

Returns:

the error value.

fromJson

public static ActivityRun fromJson(JsonReader jsonReader)

Reads an instance of ActivityRun from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ActivityRun if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the ActivityRun.

input

public Object input()

Get the input property: The input for the activity.

Returns:

the input value.

linkedServiceName

public String linkedServiceName()

Get the linkedServiceName property: The name of the compute linked service.

Returns:

the linkedServiceName value.

output

public Object output()

Get the output property: The output for the activity.

Returns:

the output value.

pipelineName

public String pipelineName()

Get the pipelineName property: The name of the pipeline.

Returns:

the pipelineName value.

pipelineRunId

public String pipelineRunId()

Get the pipelineRunId property: The id of the pipeline run.

Returns:

the pipelineRunId value.

status

public String status()

Get the status property: The status of the activity run.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public ActivityRun withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: Information about an activity run in a pipeline.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the ActivityRun object itself.

Applies to