Partilhar via


UpsertManagedServerOperationStepWithEstimatesAndDuration Class

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

Implements

public final class UpsertManagedServerOperationStepWithEstimatesAndDuration
implements JsonSerializable<UpsertManagedServerOperationStepWithEstimatesAndDuration>

The UpsertManagedServerOperationStepWithEstimatesAndDuration model.

Constructor Summary

Constructor Description
UpsertManagedServerOperationStepWithEstimatesAndDuration()

Creates an instance of UpsertManagedServerOperationStepWithEstimatesAndDuration class.

Method Summary

Modifier and Type Method and Description
static UpsertManagedServerOperationStepWithEstimatesAndDuration fromJson(JsonReader jsonReader)

Reads an instance of UpsertManagedServerOperationStepWithEstimatesAndDuration from the JsonReader.

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.

OffsetDateTime stepEndTime()

Get the stepEndTime property: The stepEndTime property.

OffsetDateTime stepStartTime()

Get the stepStartTime property: The stepStartTime property.

String timeElapsed()

Get the timeElapsed property: The timeElapsed property.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

UpsertManagedServerOperationStepWithEstimatesAndDuration withName(String name)

Set the name property: The name property.

UpsertManagedServerOperationStepWithEstimatesAndDuration withOrder(Integer order)

Set the order property: The order property.

UpsertManagedServerOperationStepWithEstimatesAndDuration withStatus(Status status)

Set the status property: The status property.

UpsertManagedServerOperationStepWithEstimatesAndDuration withStepEndTime(OffsetDateTime stepEndTime)

Set the stepEndTime property: The stepEndTime property.

UpsertManagedServerOperationStepWithEstimatesAndDuration withStepStartTime(OffsetDateTime stepStartTime)

Set the stepStartTime property: The stepStartTime property.

UpsertManagedServerOperationStepWithEstimatesAndDuration withTimeElapsed(String timeElapsed)

Set the timeElapsed property: The timeElapsed property.

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:

jsonReader - The JsonReader being read.

Returns:

An instance of UpsertManagedServerOperationStepWithEstimatesAndDuration if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the UpsertManagedServerOperationStepWithEstimatesAndDuration.

name

public String name()

Get the name property: The name property.

Returns:

the name value.

order

public Integer order()

Get the order property: The order property.

Returns:

the order value.

status

public Status status()

Get the status property: The status property.

Returns:

the status value.

stepEndTime

public OffsetDateTime stepEndTime()

Get the stepEndTime property: The stepEndTime property.

Returns:

the stepEndTime value.

stepStartTime

public OffsetDateTime stepStartTime()

Get the stepStartTime property: The stepStartTime property.

Returns:

the stepStartTime value.

timeElapsed

public String timeElapsed()

Get the timeElapsed property: The timeElapsed property.

Returns:

the timeElapsed value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withName

public UpsertManagedServerOperationStepWithEstimatesAndDuration withName(String name)

Set the name property: The name property.

Parameters:

name - the name value to set.

Returns:

the UpsertManagedServerOperationStepWithEstimatesAndDuration object itself.

withOrder

public UpsertManagedServerOperationStepWithEstimatesAndDuration withOrder(Integer order)

Set the order property: The order property.

Parameters:

order - the order value to set.

Returns:

the UpsertManagedServerOperationStepWithEstimatesAndDuration object itself.

withStatus

public UpsertManagedServerOperationStepWithEstimatesAndDuration withStatus(Status status)

Set the status property: The status property.

Parameters:

status - the status value to set.

Returns:

the UpsertManagedServerOperationStepWithEstimatesAndDuration object itself.

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.

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.

withTimeElapsed

public UpsertManagedServerOperationStepWithEstimatesAndDuration withTimeElapsed(String timeElapsed)

Set the timeElapsed property: The timeElapsed property.

Parameters:

timeElapsed - the timeElapsed value to set.

Returns:

the UpsertManagedServerOperationStepWithEstimatesAndDuration object itself.

Applies to