public final class RequestHistoryProperties extends Object
Constructor and Description |
---|
RequestHistoryProperties() |
Modifier and Type | Method and Description |
---|---|
OffsetDateTime |
endTime()
Get the endTime property: The time the request ended.
|
Request |
request()
Get the request property: The request.
|
Response |
response()
Get the response property: The response.
|
OffsetDateTime |
startTime()
Get the startTime property: The time the request started.
|
void |
validate()
Validates the instance.
|
RequestHistoryProperties |
withEndTime(OffsetDateTime endTime)
Set the endTime property: The time the request ended.
|
RequestHistoryProperties |
withRequest(Request request)
Set the request property: The request.
|
RequestHistoryProperties |
withResponse(Response response)
Set the response property: The response.
|
RequestHistoryProperties |
withStartTime(OffsetDateTime startTime)
Set the startTime property: The time the request started.
|
public OffsetDateTime startTime()
public RequestHistoryProperties withStartTime(OffsetDateTime startTime)
startTime
- the startTime value to set.public OffsetDateTime endTime()
public RequestHistoryProperties withEndTime(OffsetDateTime endTime)
endTime
- the endTime value to set.public Request request()
public RequestHistoryProperties withRequest(Request request)
request
- the request value to set.public Response response()
public RequestHistoryProperties withResponse(Response response)
response
- the response value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.