Class RetryHistory
java.lang.Object
com.azure.resourcemanager.appservice.models.RetryHistory
The retry history.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the clientRequestId property: Gets the client request Id.code()
Get the code property: Gets the status code.endTime()
Get the endTime property: Gets the end time.com.azure.core.management.exception.ManagementError
error()
Get the error property: Gets the error response.Get the serviceRequestId property: Gets the service request Id.Get the startTime property: Gets the start time.void
validate()
Validates the instance.withClientRequestId
(String clientRequestId) Set the clientRequestId property: Gets the client request Id.Set the code property: Gets the status code.withEndTime
(OffsetDateTime endTime) Set the endTime property: Gets the end time.withError
(com.azure.core.management.exception.ManagementError error) Set the error property: Gets the error response.withServiceRequestId
(String serviceRequestId) Set the serviceRequestId property: Gets the service request Id.withStartTime
(OffsetDateTime startTime) Set the startTime property: Gets the start time.
-
Constructor Details
-
RetryHistory
public RetryHistory()
-
-
Method Details
-
startTime
Get the startTime property: Gets the start time.- Returns:
- the startTime value.
-
withStartTime
Set the startTime property: Gets the start time.- Parameters:
startTime
- the startTime value to set.- Returns:
- the RetryHistory object itself.
-
endTime
Get the endTime property: Gets the end time.- Returns:
- the endTime value.
-
withEndTime
Set the endTime property: Gets the end time.- Parameters:
endTime
- the endTime value to set.- Returns:
- the RetryHistory object itself.
-
code
Get the code property: Gets the status code.- Returns:
- the code value.
-
withCode
Set the code property: Gets the status code.- Parameters:
code
- the code value to set.- Returns:
- the RetryHistory object itself.
-
clientRequestId
Get the clientRequestId property: Gets the client request Id.- Returns:
- the clientRequestId value.
-
withClientRequestId
Set the clientRequestId property: Gets the client request Id.- Parameters:
clientRequestId
- the clientRequestId value to set.- Returns:
- the RetryHistory object itself.
-
serviceRequestId
Get the serviceRequestId property: Gets the service request Id.- Returns:
- the serviceRequestId value.
-
withServiceRequestId
Set the serviceRequestId property: Gets the service request Id.- Parameters:
serviceRequestId
- the serviceRequestId value to set.- Returns:
- the RetryHistory object itself.
-
error
public com.azure.core.management.exception.ManagementError error()Get the error property: Gets the error response.- Returns:
- the error value.
-
withError
Set the error property: Gets the error response.- Parameters:
error
- the error value to set.- Returns:
- the RetryHistory object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-