public final class Operation extends Object
Constructor and Description |
---|
Operation() |
Modifier and Type | Method and Description |
---|---|
OffsetDateTime |
getCreatedDateTime()
Get the createdDateTime property: Date and time in UTC when the operation was created.
|
Error |
getError()
Get the error property: Operation error encountered, if any.
|
String |
getEtag()
Get the etag property: Operation ETag.
|
OffsetDateTime |
getLastActionDateTime()
Get the lastActionDateTime property: Date and time in UTC when the operation status was last updated.
|
String |
getOperationId()
Get the operationId property: Operation Id.
|
String |
getResourceLocation()
Get the resourceLocation property: Location of the imported update when operation is successful.
|
OperationStatus |
getStatus()
Get the status property: Operation status.
|
String |
getTraceId()
Get the traceId property: Operation correlation identity that can used by Microsoft Support for troubleshooting.
|
UpdateId |
getUpdateId()
Get the updateId property: The identity of update being imported or deleted.
|
Operation |
setCreatedDateTime(OffsetDateTime createdDateTime)
Set the createdDateTime property: Date and time in UTC when the operation was created.
|
Operation |
setError(Error error)
Set the error property: Operation error encountered, if any.
|
Operation |
setEtag(String etag)
Set the etag property: Operation ETag.
|
Operation |
setLastActionDateTime(OffsetDateTime lastActionDateTime)
Set the lastActionDateTime property: Date and time in UTC when the operation status was last updated.
|
Operation |
setOperationId(String operationId)
Set the operationId property: Operation Id.
|
Operation |
setResourceLocation(String resourceLocation)
Set the resourceLocation property: Location of the imported update when operation is successful.
|
Operation |
setStatus(OperationStatus status)
Set the status property: Operation status.
|
Operation |
setTraceId(String traceId)
Set the traceId property: Operation correlation identity that can used by Microsoft Support for troubleshooting.
|
Operation |
setUpdateId(UpdateId updateId)
Set the updateId property: The identity of update being imported or deleted.
|
public String getOperationId()
public Operation setOperationId(String operationId)
operationId
- the operationId value to set.public OperationStatus getStatus()
public Operation setStatus(OperationStatus status)
status
- the status value to set.public UpdateId getUpdateId()
public Operation setUpdateId(UpdateId updateId)
updateId
- the updateId value to set.public String getResourceLocation()
public Operation setResourceLocation(String resourceLocation)
resourceLocation
- the resourceLocation value to set.public Error getError()
public Operation setError(Error error)
error
- the error value to set.public String getTraceId()
public Operation setTraceId(String traceId)
traceId
- the traceId value to set.public OffsetDateTime getLastActionDateTime()
public Operation setLastActionDateTime(OffsetDateTime lastActionDateTime)
lastActionDateTime
- the lastActionDateTime value to set.public OffsetDateTime getCreatedDateTime()
public Operation setCreatedDateTime(OffsetDateTime createdDateTime)
createdDateTime
- the createdDateTime value to set.public String getEtag()
Copyright © 2021 Microsoft Corporation. All rights reserved.