Class BodyDiagnosticSettings
- java.lang.Object
-
- com.azure.resourcemanager.apimanagement.models.BodyDiagnosticSettings
-
public final class BodyDiagnosticSettings extends Object
Body logging settings.
-
-
Constructor Summary
Constructors Constructor Description BodyDiagnosticSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
bytes()
Get the bytes property: Number of request body bytes to log.void
validate()
Validates the instance.BodyDiagnosticSettings
withBytes(Integer bytes)
Set the bytes property: Number of request body bytes to log.
-
-
-
Method Detail
-
bytes
public Integer bytes()
Get the bytes property: Number of request body bytes to log.- Returns:
- the bytes value.
-
withBytes
public BodyDiagnosticSettings withBytes(Integer bytes)
Set the bytes property: Number of request body bytes to log.- Parameters:
bytes
- the bytes value to set.- Returns:
- the BodyDiagnosticSettings object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-