Class OperationInner
java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.OperationInner
An operation on a resource.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the createdTime property: Time when operation has started.errors()
Get the errors property: Any errors associate with the operation.Get the expirationTime property: Time when operation will expire.Get the geoMasterOperationId property: Applicable only for stamp operation ids.id()
Get the id property: Operation ID.Get the modifiedTime property: Time when operation has been updated.name()
Get the name property: Operation name.status()
Get the status property: The current status of the operation.void
validate()
Validates the instance.withCreatedTime
(OffsetDateTime createdTime) Set the createdTime property: Time when operation has started.withErrors
(List<ErrorEntity> errors) Set the errors property: Any errors associate with the operation.withExpirationTime
(OffsetDateTime expirationTime) Set the expirationTime property: Time when operation will expire.withGeoMasterOperationId
(UUID geoMasterOperationId) Set the geoMasterOperationId property: Applicable only for stamp operation ids.Set the id property: Operation ID.withModifiedTime
(OffsetDateTime modifiedTime) Set the modifiedTime property: Time when operation has been updated.Set the name property: Operation name.withStatus
(OperationStatus status) Set the status property: The current status of the operation.
-
Constructor Details
-
OperationInner
public OperationInner()
-
-
Method Details
-
id
Get the id property: Operation ID.- Returns:
- the id value.
-
withId
Set the id property: Operation ID.- Parameters:
id
- the id value to set.- Returns:
- the OperationInner object itself.
-
name
Get the name property: Operation name.- Returns:
- the name value.
-
withName
Set the name property: Operation name.- Parameters:
name
- the name value to set.- Returns:
- the OperationInner object itself.
-
status
Get the status property: The current status of the operation.- Returns:
- the status value.
-
withStatus
Set the status property: The current status of the operation.- Parameters:
status
- the status value to set.- Returns:
- the OperationInner object itself.
-
errors
Get the errors property: Any errors associate with the operation.- Returns:
- the errors value.
-
withErrors
Set the errors property: Any errors associate with the operation.- Parameters:
errors
- the errors value to set.- Returns:
- the OperationInner object itself.
-
createdTime
Get the createdTime property: Time when operation has started.- Returns:
- the createdTime value.
-
withCreatedTime
Set the createdTime property: Time when operation has started.- Parameters:
createdTime
- the createdTime value to set.- Returns:
- the OperationInner object itself.
-
modifiedTime
Get the modifiedTime property: Time when operation has been updated.- Returns:
- the modifiedTime value.
-
withModifiedTime
Set the modifiedTime property: Time when operation has been updated.- Parameters:
modifiedTime
- the modifiedTime value to set.- Returns:
- the OperationInner object itself.
-
expirationTime
Get the expirationTime property: Time when operation will expire.- Returns:
- the expirationTime value.
-
withExpirationTime
Set the expirationTime property: Time when operation will expire.- Parameters:
expirationTime
- the expirationTime value to set.- Returns:
- the OperationInner object itself.
-
geoMasterOperationId
Get the geoMasterOperationId property: Applicable only for stamp operation ids.- Returns:
- the geoMasterOperationId value.
-
withGeoMasterOperationId
Set the geoMasterOperationId property: Applicable only for stamp operation ids.- Parameters:
geoMasterOperationId
- the geoMasterOperationId value to set.- Returns:
- the OperationInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-