Condividi tramite


RetryHistory Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.RetryHistory

Implements

public final class RetryHistory
implements JsonSerializable<RetryHistory>

The retry history.

Method Summary

Modifier and Type Method and Description
String clientRequestId()

Get the clientRequestId property: Gets the client request Id.

String code()

Get the code property: Gets the status code.

OffsetDateTime endTime()

Get the endTime property: Gets the end time.

ManagementError error()

Get the error property: Gets the error response.

static RetryHistory fromJson(JsonReader jsonReader)

Reads an instance of RetryHistory from the JsonReader.

String serviceRequestId()

Get the serviceRequestId property: Gets the service request Id.

OffsetDateTime startTime()

Get the startTime property: Gets the start time.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

clientRequestId

public String clientRequestId()

Get the clientRequestId property: Gets the client request Id.

Returns:

the clientRequestId value.

code

public String code()

Get the code property: Gets the status code.

Returns:

the code value.

endTime

public OffsetDateTime endTime()

Get the endTime property: Gets the end time.

Returns:

the endTime value.

error

public ManagementError error()

Get the error property: Gets the error response.

Returns:

the error value.

fromJson

public static RetryHistory fromJson(JsonReader jsonReader)

Reads an instance of RetryHistory from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of RetryHistory 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 RetryHistory.

serviceRequestId

public String serviceRequestId()

Get the serviceRequestId property: Gets the service request Id.

Returns:

the serviceRequestId value.

startTime

public OffsetDateTime startTime()

Get the startTime property: Gets the start time.

Returns:

the startTime value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to