Class PipelineDiagnosticSettings
- java.lang.Object
-
- com.azure.resourcemanager.apimanagement.models.PipelineDiagnosticSettings
-
public final class PipelineDiagnosticSettings extends Object
Diagnostic settings for incoming/outgoing HTTP messages to the Gateway.
-
-
Constructor Summary
Constructors Constructor Description PipelineDiagnosticSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpMessageDiagnostic
request()
Get the request property: Diagnostic settings for request.HttpMessageDiagnostic
response()
Get the response property: Diagnostic settings for response.void
validate()
Validates the instance.PipelineDiagnosticSettings
withRequest(HttpMessageDiagnostic request)
Set the request property: Diagnostic settings for request.PipelineDiagnosticSettings
withResponse(HttpMessageDiagnostic response)
Set the response property: Diagnostic settings for response.
-
-
-
Method Detail
-
request
public HttpMessageDiagnostic request()
Get the request property: Diagnostic settings for request.- Returns:
- the request value.
-
withRequest
public PipelineDiagnosticSettings withRequest(HttpMessageDiagnostic request)
Set the request property: Diagnostic settings for request.- Parameters:
request
- the request value to set.- Returns:
- the PipelineDiagnosticSettings object itself.
-
response
public HttpMessageDiagnostic response()
Get the response property: Diagnostic settings for response.- Returns:
- the response value.
-
withResponse
public PipelineDiagnosticSettings withResponse(HttpMessageDiagnostic response)
Set the response property: Diagnostic settings for response.- Parameters:
response
- the response value to set.- Returns:
- the PipelineDiagnosticSettings object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-