UpsertManagedServerOperationStepWithEstimatesAndDuration Class
- java.
lang. Object - com.
azure. resourcemanager. sql. models. UpsertManagedServerOperationStepWithEstimatesAndDuration
- com.
Implements
public final class UpsertManagedServerOperationStepWithEstimatesAndDuration
implements JsonSerializable<UpsertManagedServerOperationStepWithEstimatesAndDuration>
The UpsertManagedServerOperationStepWithEstimatesAndDuration model.
Constructor Summary
Constructor | Description |
---|---|
UpsertManagedServerOperationStepWithEstimatesAndDuration() |
Creates an instance of Upsert |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Upsert |
fromJson(JsonReader jsonReader)
Reads an instance of Upsert |
String |
name()
Get the name property: The name property. |
Integer |
order()
Get the order property: The order property. |
Status |
status()
Get the status property: The status property. |
Offset |
stepEndTime()
Get the step |
Offset |
stepStartTime()
Get the step |
String |
timeElapsed()
Get the time |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Upsert |
withName(String name)
Set the name property: The name property. |
Upsert |
withOrder(Integer order)
Set the order property: The order property. |
Upsert |
withStatus(Status status)
Set the status property: The status property. |
Upsert |
withStepEndTime(OffsetDateTime stepEndTime)
Set the step |
Upsert |
withStepStartTime(OffsetDateTime stepStartTime)
Set the step |
Upsert |
withTimeElapsed(String timeElapsed)
Set the time |
Methods inherited from java.lang.Object
Constructor Details
UpsertManagedServerOperationStepWithEstimatesAndDuration
public UpsertManagedServerOperationStepWithEstimatesAndDuration()
Creates an instance of UpsertManagedServerOperationStepWithEstimatesAndDuration class.
Method Details
fromJson
public static UpsertManagedServerOperationStepWithEstimatesAndDuration fromJson(JsonReader jsonReader)
Reads an instance of UpsertManagedServerOperationStepWithEstimatesAndDuration from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: The name property.
Returns:
order
public Integer order()
Get the order property: The order property.
Returns:
status
public Status status()
Get the status property: The status property.
Returns:
stepEndTime
public OffsetDateTime stepEndTime()
Get the stepEndTime property: The stepEndTime property.
Returns:
stepStartTime
public OffsetDateTime stepStartTime()
Get the stepStartTime property: The stepStartTime property.
Returns:
timeElapsed
public String timeElapsed()
Get the timeElapsed property: The timeElapsed property.
Returns:
toJson
validate
public void validate()
Validates the instance.
withName
public UpsertManagedServerOperationStepWithEstimatesAndDuration withName(String name)
Set the name property: The name property.
Parameters:
Returns:
withOrder
public UpsertManagedServerOperationStepWithEstimatesAndDuration withOrder(Integer order)
Set the order property: The order property.
Parameters:
Returns:
withStatus
public UpsertManagedServerOperationStepWithEstimatesAndDuration withStatus(Status status)
Set the status property: The status property.
Parameters:
Returns:
withStepEndTime
public UpsertManagedServerOperationStepWithEstimatesAndDuration withStepEndTime(OffsetDateTime stepEndTime)
Set the stepEndTime property: The stepEndTime property.
Parameters:
Returns:
withStepStartTime
public UpsertManagedServerOperationStepWithEstimatesAndDuration withStepStartTime(OffsetDateTime stepStartTime)
Set the stepStartTime property: The stepStartTime property.
Parameters:
Returns:
withTimeElapsed
public UpsertManagedServerOperationStepWithEstimatesAndDuration withTimeElapsed(String timeElapsed)
Set the timeElapsed property: The timeElapsed property.
Parameters:
Returns:
Applies to
Azure SDK for Java