Class UpsertManagedServerOperationStepWithEstimatesAndDuration

java.lang.Object
com.azure.resourcemanager.sql.models.UpsertManagedServerOperationStepWithEstimatesAndDuration

public final class UpsertManagedServerOperationStepWithEstimatesAndDuration extends Object
The UpsertManagedServerOperationStepWithEstimatesAndDuration model.
  • Constructor Details

    • UpsertManagedServerOperationStepWithEstimatesAndDuration

      public UpsertManagedServerOperationStepWithEstimatesAndDuration()
      Creates an instance of UpsertManagedServerOperationStepWithEstimatesAndDuration class.
  • Method Details

    • stepStartTime

      public OffsetDateTime stepStartTime()
      Get the stepStartTime property: The stepStartTime property.
      Returns:
      the stepStartTime value.
    • withStepStartTime

      Set the stepStartTime property: The stepStartTime property.
      Parameters:
      stepStartTime - the stepStartTime value to set.
      Returns:
      the UpsertManagedServerOperationStepWithEstimatesAndDuration object itself.
    • stepEndTime

      public OffsetDateTime stepEndTime()
      Get the stepEndTime property: The stepEndTime property.
      Returns:
      the stepEndTime value.
    • withStepEndTime

      Set the stepEndTime property: The stepEndTime property.
      Parameters:
      stepEndTime - the stepEndTime value to set.
      Returns:
      the UpsertManagedServerOperationStepWithEstimatesAndDuration object itself.
    • timeElapsed

      public String timeElapsed()
      Get the timeElapsed property: The timeElapsed property.
      Returns:
      the timeElapsed value.
    • withTimeElapsed

      Set the timeElapsed property: The timeElapsed property.
      Parameters:
      timeElapsed - the timeElapsed value to set.
      Returns:
      the UpsertManagedServerOperationStepWithEstimatesAndDuration object itself.
    • order

      public Integer order()
      Get the order property: The order property.
      Returns:
      the order value.
    • withOrder

      Set the order property: The order property.
      Parameters:
      order - the order value to set.
      Returns:
      the UpsertManagedServerOperationStepWithEstimatesAndDuration object itself.
    • name

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

      Set the name property: The name property.
      Parameters:
      name - the name value to set.
      Returns:
      the UpsertManagedServerOperationStepWithEstimatesAndDuration object itself.
    • status

      public Status status()
      Get the status property: The status property.
      Returns:
      the status value.
    • withStatus

      Set the status property: The status property.
      Parameters:
      status - the status value to set.
      Returns:
      the UpsertManagedServerOperationStepWithEstimatesAndDuration object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.