Class RequestHistoryProperties
java.lang.Object
com.azure.resourcemanager.appservice.models.RequestHistoryProperties
The request history.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionendTime()
Get the endTime property: The time the request ended.request()
Get the request property: The request.response()
Get the response property: The response.Get the startTime property: The time the request started.void
validate()
Validates the instance.withEndTime
(OffsetDateTime endTime) Set the endTime property: The time the request ended.withRequest
(Request request) Set the request property: The request.withResponse
(Response response) Set the response property: The response.withStartTime
(OffsetDateTime startTime) Set the startTime property: The time the request started.
-
Constructor Details
-
RequestHistoryProperties
public RequestHistoryProperties()
-
-
Method Details
-
startTime
Get the startTime property: The time the request started.- Returns:
- the startTime value.
-
withStartTime
Set the startTime property: The time the request started.- Parameters:
startTime
- the startTime value to set.- Returns:
- the RequestHistoryProperties object itself.
-
endTime
Get the endTime property: The time the request ended.- Returns:
- the endTime value.
-
withEndTime
Set the endTime property: The time the request ended.- Parameters:
endTime
- the endTime value to set.- Returns:
- the RequestHistoryProperties object itself.
-
request
Get the request property: The request.- Returns:
- the request value.
-
withRequest
Set the request property: The request.- Parameters:
request
- the request value to set.- Returns:
- the RequestHistoryProperties object itself.
-
response
Get the response property: The response.- Returns:
- the response value.
-
withResponse
Set the response property: The response.- Parameters:
response
- the response value to set.- Returns:
- the RequestHistoryProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-