java.lang.Object
com.azure.resourcemanager.databoxedge.models.OrderStatus

public final class OrderStatus extends Object
Represents a single status change.
  • Constructor Details

    • OrderStatus

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

    • status

      public OrderState status()
      Get the status property: Status of the order as per the allowed status types.
      Returns:
      the status value.
    • withStatus

      public OrderStatus withStatus(OrderState status)
      Set the status property: Status of the order as per the allowed status types.
      Parameters:
      status - the status value to set.
      Returns:
      the OrderStatus object itself.
    • updateDateTime

      public OffsetDateTime updateDateTime()
      Get the updateDateTime property: Time of status update.
      Returns:
      the updateDateTime value.
    • comments

      public String comments()
      Get the comments property: Comments related to this status change.
      Returns:
      the comments value.
    • withComments

      public OrderStatus withComments(String comments)
      Set the comments property: Comments related to this status change.
      Parameters:
      comments - the comments value to set.
      Returns:
      the OrderStatus object itself.
    • additionalOrderDetails

      public Map<String,String> additionalOrderDetails()
      Get the additionalOrderDetails property: Dictionary to hold generic information which is not stored by the already existing properties.
      Returns:
      the additionalOrderDetails value.
    • validate

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