RetryHistory Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. RetryHistory
- com.
Implements
public final class RetryHistory
implements JsonSerializable<RetryHistory>
The retry history.
Constructor Summary
Constructor | Description |
---|---|
RetryHistory() |
Creates an instance of Retry |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
clientRequestId()
Get the client |
String |
code()
Get the code property: Gets the status code. |
Offset |
endTime()
Get the end |
Management |
error()
Get the error property: Gets the error response. |
static
Retry |
fromJson(JsonReader jsonReader)
Reads an instance of Retry |
String |
serviceRequestId()
Get the service |
Offset |
startTime()
Get the start |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Retry |
withClientRequestId(String clientRequestId)
Set the client |
Retry |
withCode(String code)
Set the code property: Gets the status code. |
Retry |
withEndTime(OffsetDateTime endTime)
Set the end |
Retry |
withError(ManagementError error)
Set the error property: Gets the error response. |
Retry |
withServiceRequestId(String serviceRequestId)
Set the service |
Retry |
withStartTime(OffsetDateTime startTime)
Set the start |
Methods inherited from java.lang.Object
Constructor Details
RetryHistory
public RetryHistory()
Creates an instance of RetryHistory class.
Method Details
clientRequestId
public String clientRequestId()
Get the clientRequestId property: Gets the client request Id.
Returns:
code
public String code()
Get the code property: Gets the status code.
Returns:
endTime
public OffsetDateTime endTime()
Get the endTime property: Gets the end time.
Returns:
error
public ManagementError error()
Get the error property: Gets the error response.
Returns:
fromJson
public static RetryHistory fromJson(JsonReader jsonReader)
Reads an instance of RetryHistory from the JsonReader.
Parameters:
Returns:
Throws:
serviceRequestId
public String serviceRequestId()
Get the serviceRequestId property: Gets the service request Id.
Returns:
startTime
public OffsetDateTime startTime()
Get the startTime property: Gets the start time.
Returns:
toJson
validate
public void validate()
Validates the instance.
withClientRequestId
public RetryHistory withClientRequestId(String clientRequestId)
Set the clientRequestId property: Gets the client request Id.
Parameters:
Returns:
withCode
public RetryHistory withCode(String code)
Set the code property: Gets the status code.
Parameters:
Returns:
withEndTime
public RetryHistory withEndTime(OffsetDateTime endTime)
Set the endTime property: Gets the end time.
Parameters:
Returns:
withError
public RetryHistory withError(ManagementError error)
Set the error property: Gets the error response.
Parameters:
Returns:
withServiceRequestId
public RetryHistory withServiceRequestId(String serviceRequestId)
Set the serviceRequestId property: Gets the service request Id.
Parameters:
Returns:
withStartTime
public RetryHistory withStartTime(OffsetDateTime startTime)
Set the startTime property: Gets the start time.
Parameters:
Returns:
Applies to
Azure SDK for Java