public final class OperationInner extends Object
| Constructor and Description |
|---|
OperationInner() |
| Modifier and Type | Method and Description |
|---|---|
OffsetDateTime |
createdTime()
Get the createdTime property: Time when operation has started.
|
List<ErrorEntity> |
errors()
Get the errors property: Any errors associate with the operation.
|
OffsetDateTime |
expirationTime()
Get the expirationTime property: Time when operation will expire.
|
UUID |
geoMasterOperationId()
Get the geoMasterOperationId property: Applicable only for stamp operation ids.
|
String |
id()
Get the id property: Operation ID.
|
OffsetDateTime |
modifiedTime()
Get the modifiedTime property: Time when operation has been updated.
|
String |
name()
Get the name property: Operation name.
|
OperationStatus |
status()
Get the status property: The current status of the operation.
|
void |
validate()
Validates the instance.
|
OperationInner |
withCreatedTime(OffsetDateTime createdTime)
Set the createdTime property: Time when operation has started.
|
OperationInner |
withErrors(List<ErrorEntity> errors)
Set the errors property: Any errors associate with the operation.
|
OperationInner |
withExpirationTime(OffsetDateTime expirationTime)
Set the expirationTime property: Time when operation will expire.
|
OperationInner |
withGeoMasterOperationId(UUID geoMasterOperationId)
Set the geoMasterOperationId property: Applicable only for stamp operation ids.
|
OperationInner |
withId(String id)
Set the id property: Operation ID.
|
OperationInner |
withModifiedTime(OffsetDateTime modifiedTime)
Set the modifiedTime property: Time when operation has been updated.
|
OperationInner |
withName(String name)
Set the name property: Operation name.
|
OperationInner |
withStatus(OperationStatus status)
Set the status property: The current status of the operation.
|
public String id()
public OperationInner withId(String id)
id - the id value to set.public String name()
public OperationInner withName(String name)
name - the name value to set.public OperationStatus status()
public OperationInner withStatus(OperationStatus status)
status - the status value to set.public List<ErrorEntity> errors()
public OperationInner withErrors(List<ErrorEntity> errors)
errors - the errors value to set.public OffsetDateTime createdTime()
public OperationInner withCreatedTime(OffsetDateTime createdTime)
createdTime - the createdTime value to set.public OffsetDateTime modifiedTime()
public OperationInner withModifiedTime(OffsetDateTime modifiedTime)
modifiedTime - the modifiedTime value to set.public OffsetDateTime expirationTime()
public OperationInner withExpirationTime(OffsetDateTime expirationTime)
expirationTime - the expirationTime value to set.public UUID geoMasterOperationId()
public OperationInner withGeoMasterOperationId(UUID geoMasterOperationId)
geoMasterOperationId - the geoMasterOperationId value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.