Class ProfileLogScrubbing

java.lang.Object
com.azure.resourcemanager.cdn.models.ProfileLogScrubbing

public final class ProfileLogScrubbing extends Object
Defines rules that scrub sensitive fields in the Azure Front Door profile logs.
  • Constructor Details

    • ProfileLogScrubbing

      public ProfileLogScrubbing()
      Creates an instance of ProfileLogScrubbing class.
  • Method Details

    • state

      public ProfileScrubbingState state()
      Get the state property: State of the log scrubbing config. Default value is Enabled.
      Returns:
      the state value.
    • withState

      public ProfileLogScrubbing withState(ProfileScrubbingState state)
      Set the state property: State of the log scrubbing config. Default value is Enabled.
      Parameters:
      state - the state value to set.
      Returns:
      the ProfileLogScrubbing object itself.
    • scrubbingRules

      public List<ProfileScrubbingRules> scrubbingRules()
      Get the scrubbingRules property: List of log scrubbing rules applied to the Azure Front Door profile logs.
      Returns:
      the scrubbingRules value.
    • withScrubbingRules

      public ProfileLogScrubbing withScrubbingRules(List<ProfileScrubbingRules> scrubbingRules)
      Set the scrubbingRules property: List of log scrubbing rules applied to the Azure Front Door profile logs.
      Parameters:
      scrubbingRules - the scrubbingRules value to set.
      Returns:
      the ProfileLogScrubbing object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.