Class OrderStatus
java.lang.Object
com.azure.resourcemanager.databoxedge.models.OrderStatus
Represents a single status change.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the additionalOrderDetails property: Dictionary to hold generic information which is not stored by the already existing properties.comments()
Get the comments property: Comments related to this status change.status()
Get the status property: Status of the order as per the allowed status types.Get the updateDateTime property: Time of status update.void
validate()
Validates the instance.withComments
(String comments) Set the comments property: Comments related to this status change.withStatus
(OrderState status) Set the status property: Status of the order as per the allowed status types.
-
Constructor Details
-
OrderStatus
public OrderStatus()Creates an instance of OrderStatus class.
-
-
Method Details
-
status
Get the status property: Status of the order as per the allowed status types.- Returns:
- the status value.
-
withStatus
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
Get the updateDateTime property: Time of status update.- Returns:
- the updateDateTime value.
-
comments
Get the comments property: Comments related to this status change.- Returns:
- the comments value.
-
withComments
Set the comments property: Comments related to this status change.- Parameters:
comments
- the comments value to set.- Returns:
- the OrderStatus object itself.
-
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.
-