public class OperationResult extends OperationResultProperties
Constructor and Description |
---|
OperationResult() |
Modifier and Type | Method and Description |
---|---|
Object |
inputs()
Get the inputs property: Gets the inputs.
|
ContentLink |
inputsLink()
Get the inputsLink property: Gets the link to inputs.
|
Integer |
iterationCount()
Get the iterationCount property: The iterationCount property.
|
Object |
outputs()
Get the outputs property: Gets the outputs.
|
ContentLink |
outputsLink()
Get the outputsLink property: Gets the link to outputs.
|
List<RetryHistory> |
retryHistory()
Get the retryHistory property: Gets the retry histories.
|
Object |
trackedProperties()
Get the trackedProperties property: Gets the tracked properties.
|
String |
trackingId()
Get the trackingId property: Gets the tracking id.
|
void |
validate()
Validates the instance.
|
OperationResult |
withCode(String code)
Set the code property: The workflow scope repetition code.
|
OperationResult |
withCorrelation(RunActionCorrelation correlation)
Set the correlation property: The correlation properties.
|
OperationResult |
withEndTime(OffsetDateTime endTime)
Set the endTime property: The end time of the workflow scope repetition.
|
OperationResult |
withError(Object error)
Set the error property: Any object.
|
OperationResult |
withIterationCount(Integer iterationCount)
Set the iterationCount property: The iterationCount property.
|
OperationResult |
withRetryHistory(List<RetryHistory> retryHistory)
Set the retryHistory property: Gets the retry histories.
|
OperationResult |
withStartTime(OffsetDateTime startTime)
Set the startTime property: The start time of the workflow scope repetition.
|
OperationResult |
withStatus(WorkflowStatus status)
Set the status property: The status of the workflow scope repetition.
|
code, correlation, endTime, error, startTime, status
public String trackingId()
public Object inputs()
public ContentLink inputsLink()
public Object outputs()
public ContentLink outputsLink()
public Object trackedProperties()
public List<RetryHistory> retryHistory()
public OperationResult withRetryHistory(List<RetryHistory> retryHistory)
retryHistory
- the retryHistory value to set.public Integer iterationCount()
public OperationResult withIterationCount(Integer iterationCount)
iterationCount
- the iterationCount value to set.public OperationResult withStartTime(OffsetDateTime startTime)
withStartTime
in class OperationResultProperties
startTime
- the startTime value to set.public OperationResult withEndTime(OffsetDateTime endTime)
withEndTime
in class OperationResultProperties
endTime
- the endTime value to set.public OperationResult withCorrelation(RunActionCorrelation correlation)
withCorrelation
in class OperationResultProperties
correlation
- the correlation value to set.public OperationResult withStatus(WorkflowStatus status)
withStatus
in class OperationResultProperties
status
- the status value to set.public OperationResult withCode(String code)
withCode
in class OperationResultProperties
code
- the code value to set.public OperationResult withError(Object error)
withError
in class OperationResultProperties
error
- the error value to set.public void validate()
validate
in class OperationResultProperties
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.