Class BodyDiagnosticSettings


  • public final class BodyDiagnosticSettings
    extends Object
    Body logging settings.
    • Constructor Detail

      • BodyDiagnosticSettings

        public BodyDiagnosticSettings()
    • 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.