Class UpsertManagedServerOperationStepWithEstimatesAndDuration
java.lang.Object
com.azure.resourcemanager.sql.models.UpsertManagedServerOperationStepWithEstimatesAndDuration
The UpsertManagedServerOperationStepWithEstimatesAndDuration model.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of UpsertManagedServerOperationStepWithEstimatesAndDuration class. -
Method Summary
Modifier and TypeMethodDescriptionname()Get the name property: The name property.order()Get the order property: The order property.status()Get the status property: The status property.Get the stepEndTime property: The stepEndTime property.Get the stepStartTime property: The stepStartTime property.Get the timeElapsed property: The timeElapsed property.voidvalidate()Validates the instance.Set the name property: The name property.Set the order property: The order property.withStatus(Status status) Set the status property: The status property.withStepEndTime(OffsetDateTime stepEndTime) Set the stepEndTime property: The stepEndTime property.withStepStartTime(OffsetDateTime stepStartTime) Set the stepStartTime property: The stepStartTime property.withTimeElapsed(String timeElapsed) Set the timeElapsed property: The timeElapsed property.
-
Constructor Details
-
UpsertManagedServerOperationStepWithEstimatesAndDuration
public UpsertManagedServerOperationStepWithEstimatesAndDuration()Creates an instance of UpsertManagedServerOperationStepWithEstimatesAndDuration class.
-
-
Method Details
-
stepStartTime
Get the stepStartTime property: The stepStartTime property.- Returns:
- the stepStartTime value.
-
withStepStartTime
public UpsertManagedServerOperationStepWithEstimatesAndDuration withStepStartTime(OffsetDateTime stepStartTime) Set the stepStartTime property: The stepStartTime property.- Parameters:
stepStartTime- the stepStartTime value to set.- Returns:
- the UpsertManagedServerOperationStepWithEstimatesAndDuration object itself.
-
stepEndTime
Get the stepEndTime property: The stepEndTime property.- Returns:
- the stepEndTime value.
-
withStepEndTime
public UpsertManagedServerOperationStepWithEstimatesAndDuration withStepEndTime(OffsetDateTime stepEndTime) Set the stepEndTime property: The stepEndTime property.- Parameters:
stepEndTime- the stepEndTime value to set.- Returns:
- the UpsertManagedServerOperationStepWithEstimatesAndDuration object itself.
-
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
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
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
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.
-