RequestHistoryProperties Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. RequestHistoryProperties
- com.
Implements
public final class RequestHistoryProperties
implements JsonSerializable<RequestHistoryProperties>
The request history.
Constructor Summary
Constructor | Description |
---|---|
RequestHistoryProperties() |
Creates an instance of Request |
Method Summary
Modifier and Type | Method and Description |
---|---|
Offset |
endTime()
Get the end |
static
Request |
fromJson(JsonReader jsonReader)
Reads an instance of Request |
Request |
request()
Get the request property: The request. |
Response |
response()
Get the response property: The response. |
Offset |
startTime()
Get the start |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Request |
withEndTime(OffsetDateTime endTime)
Set the end |
Request |
withRequest(Request request)
Set the request property: The request. |
Request |
withResponse(Response response)
Set the response property: The response. |
Request |
withStartTime(OffsetDateTime startTime)
Set the start |
Methods inherited from java.lang.Object
Constructor Details
RequestHistoryProperties
public RequestHistoryProperties()
Creates an instance of RequestHistoryProperties class.
Method Details
endTime
public OffsetDateTime endTime()
Get the endTime property: The time the request ended.
Returns:
fromJson
public static RequestHistoryProperties fromJson(JsonReader jsonReader)
Reads an instance of RequestHistoryProperties from the JsonReader.
Parameters:
Returns:
Throws:
request
public Request request()
Get the request property: The request.
Returns:
response
public Response response()
Get the response property: The response.
Returns:
startTime
public OffsetDateTime startTime()
Get the startTime property: The time the request started.
Returns:
toJson
validate
public void validate()
Validates the instance.
withEndTime
public RequestHistoryProperties withEndTime(OffsetDateTime endTime)
Set the endTime property: The time the request ended.
Parameters:
Returns:
withRequest
public RequestHistoryProperties withRequest(Request request)
Set the request property: The request.
Parameters:
Returns:
withResponse
public RequestHistoryProperties withResponse(Response response)
Set the response property: The response.
Parameters:
Returns:
withStartTime
public RequestHistoryProperties withStartTime(OffsetDateTime startTime)
Set the startTime property: The time the request started.
Parameters:
Returns:
Applies to
Azure SDK for Java