java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.OperationInner

public final class OperationInner extends Object
An operation on a resource.
  • Constructor Details

    • OperationInner

      public OperationInner()
  • Method Details

    • id

      public String id()
      Get the id property: Operation ID.
      Returns:
      the id value.
    • withId

      public OperationInner withId(String id)
      Set the id property: Operation ID.
      Parameters:
      id - the id value to set.
      Returns:
      the OperationInner object itself.
    • name

      public String name()
      Get the name property: Operation name.
      Returns:
      the name value.
    • withName

      public OperationInner withName(String name)
      Set the name property: Operation name.
      Parameters:
      name - the name value to set.
      Returns:
      the OperationInner object itself.
    • status

      public OperationStatus status()
      Get the status property: The current status of the operation.
      Returns:
      the status value.
    • withStatus

      public OperationInner withStatus(OperationStatus status)
      Set the status property: The current status of the operation.
      Parameters:
      status - the status value to set.
      Returns:
      the OperationInner object itself.
    • errors

      public List<ErrorEntity> errors()
      Get the errors property: Any errors associate with the operation.
      Returns:
      the errors value.
    • withErrors

      public OperationInner withErrors(List<ErrorEntity> errors)
      Set the errors property: Any errors associate with the operation.
      Parameters:
      errors - the errors value to set.
      Returns:
      the OperationInner object itself.
    • createdTime

      public OffsetDateTime createdTime()
      Get the createdTime property: Time when operation has started.
      Returns:
      the createdTime value.
    • withCreatedTime

      public OperationInner withCreatedTime(OffsetDateTime createdTime)
      Set the createdTime property: Time when operation has started.
      Parameters:
      createdTime - the createdTime value to set.
      Returns:
      the OperationInner object itself.
    • modifiedTime

      public OffsetDateTime modifiedTime()
      Get the modifiedTime property: Time when operation has been updated.
      Returns:
      the modifiedTime value.
    • withModifiedTime

      public OperationInner withModifiedTime(OffsetDateTime modifiedTime)
      Set the modifiedTime property: Time when operation has been updated.
      Parameters:
      modifiedTime - the modifiedTime value to set.
      Returns:
      the OperationInner object itself.
    • expirationTime

      public OffsetDateTime expirationTime()
      Get the expirationTime property: Time when operation will expire.
      Returns:
      the expirationTime value.
    • withExpirationTime

      public OperationInner withExpirationTime(OffsetDateTime expirationTime)
      Set the expirationTime property: Time when operation will expire.
      Parameters:
      expirationTime - the expirationTime value to set.
      Returns:
      the OperationInner object itself.
    • geoMasterOperationId

      public UUID geoMasterOperationId()
      Get the geoMasterOperationId property: Applicable only for stamp operation ids.
      Returns:
      the geoMasterOperationId value.
    • withGeoMasterOperationId

      public OperationInner withGeoMasterOperationId(UUID geoMasterOperationId)
      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.