public class OperationResultProperties extends Object
Constructor and Description |
---|
OperationResultProperties() |
Modifier and Type | Method and Description |
---|---|
String |
code()
Get the code property: The workflow scope repetition code.
|
RunActionCorrelation |
correlation()
Get the correlation property: The correlation properties.
|
OffsetDateTime |
endTime()
Get the endTime property: The end time of the workflow scope repetition.
|
Object |
error()
Get the error property: Any object.
|
OffsetDateTime |
startTime()
Get the startTime property: The start time of the workflow scope repetition.
|
WorkflowStatus |
status()
Get the status property: The status of the workflow scope repetition.
|
void |
validate()
Validates the instance.
|
OperationResultProperties |
withCode(String code)
Set the code property: The workflow scope repetition code.
|
OperationResultProperties |
withCorrelation(RunActionCorrelation correlation)
Set the correlation property: The correlation properties.
|
OperationResultProperties |
withEndTime(OffsetDateTime endTime)
Set the endTime property: The end time of the workflow scope repetition.
|
OperationResultProperties |
withError(Object error)
Set the error property: Any object.
|
OperationResultProperties |
withStartTime(OffsetDateTime startTime)
Set the startTime property: The start time of the workflow scope repetition.
|
OperationResultProperties |
withStatus(WorkflowStatus status)
Set the status property: The status of the workflow scope repetition.
|
public OffsetDateTime startTime()
public OperationResultProperties withStartTime(OffsetDateTime startTime)
startTime
- the startTime value to set.public OffsetDateTime endTime()
public OperationResultProperties withEndTime(OffsetDateTime endTime)
endTime
- the endTime value to set.public RunActionCorrelation correlation()
public OperationResultProperties withCorrelation(RunActionCorrelation correlation)
correlation
- the correlation value to set.public WorkflowStatus status()
public OperationResultProperties withStatus(WorkflowStatus status)
status
- the status value to set.public String code()
public OperationResultProperties withCode(String code)
code
- the code value to set.public Object error()
public OperationResultProperties withError(Object error)
error
- the error value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.