public final class RetryHistory extends Object
Constructor and Description |
---|
RetryHistory() |
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.
|
com.azure.core.management.exception.ManagementError |
error()
Get the error property: Gets the error response.
|
String |
serviceRequestId()
Get the serviceRequestId property: Gets the service request Id.
|
OffsetDateTime |
startTime()
Get the startTime property: Gets the start time.
|
void |
validate()
Validates the instance.
|
RetryHistory |
withClientRequestId(String clientRequestId)
Set the clientRequestId property: Gets the client request Id.
|
RetryHistory |
withCode(String code)
Set the code property: Gets the status code.
|
RetryHistory |
withEndTime(OffsetDateTime endTime)
Set the endTime property: Gets the end time.
|
RetryHistory |
withError(com.azure.core.management.exception.ManagementError error)
Set the error property: Gets the error response.
|
RetryHistory |
withServiceRequestId(String serviceRequestId)
Set the serviceRequestId property: Gets the service request Id.
|
RetryHistory |
withStartTime(OffsetDateTime startTime)
Set the startTime property: Gets the start time.
|
public OffsetDateTime startTime()
public RetryHistory withStartTime(OffsetDateTime startTime)
startTime
- the startTime value to set.public OffsetDateTime endTime()
public RetryHistory withEndTime(OffsetDateTime endTime)
endTime
- the endTime value to set.public String code()
public RetryHistory withCode(String code)
code
- the code value to set.public String clientRequestId()
public RetryHistory withClientRequestId(String clientRequestId)
clientRequestId
- the clientRequestId value to set.public String serviceRequestId()
public RetryHistory withServiceRequestId(String serviceRequestId)
serviceRequestId
- the serviceRequestId value to set.public com.azure.core.management.exception.ManagementError error()
public RetryHistory withError(com.azure.core.management.exception.ManagementError error)
error
- the error value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.