RequestLogging Class
- java.
lang. Object - com.
azure. resourcemanager. machinelearning. models. RequestLogging
- com.
Implements
public final class RequestLogging
implements JsonSerializable<RequestLogging>
The RequestLogging model.
Constructor Summary
| Constructor | Description |
|---|---|
| RequestLogging() |
Creates an instance of Request |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| List<String> |
captureHeaders()
Get the capture |
|
static
Request |
fromJson(JsonReader jsonReader)
Reads an instance of Request |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Request |
withCaptureHeaders(List<String> captureHeaders)
Set the capture |
Methods inherited from java.lang.Object
Constructor Details
RequestLogging
public RequestLogging()
Creates an instance of RequestLogging class.
Method Details
captureHeaders
public List<String> captureHeaders()
Get the captureHeaders property: For payload logging, we only collect payload by default. If customers also want to collect the specified headers, they can set them in captureHeaders so that backend will collect those headers along with payload.
Returns:
fromJson
public static RequestLogging fromJson(JsonReader jsonReader)
Reads an instance of RequestLogging from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withCaptureHeaders
public RequestLogging withCaptureHeaders(List<String> captureHeaders)
Set the captureHeaders property: For payload logging, we only collect payload by default. If customers also want to collect the specified headers, they can set them in captureHeaders so that backend will collect those headers along with payload.
Parameters:
Returns: