Class ProfileLogScrubbing
java.lang.Object
com.azure.resourcemanager.cdn.models.ProfileLogScrubbing
Defines rules that scrub sensitive fields in the Azure Front Door profile logs.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the scrubbingRules property: List of log scrubbing rules applied to the Azure Front Door profile logs.state()Get the state property: State of the log scrubbing config.voidvalidate()Validates the instance.withScrubbingRules(List<ProfileScrubbingRules> scrubbingRules) Set the scrubbingRules property: List of log scrubbing rules applied to the Azure Front Door profile logs.withState(ProfileScrubbingState state) Set the state property: State of the log scrubbing config.
-
Constructor Details
-
ProfileLogScrubbing
public ProfileLogScrubbing()Creates an instance of ProfileLogScrubbing class.
-
-
Method Details
-
state
Get the state property: State of the log scrubbing config. Default value is Enabled.- Returns:
- the state value.
-
withState
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
Get the scrubbingRules property: List of log scrubbing rules applied to the Azure Front Door profile logs.- Returns:
- the scrubbingRules value.
-
withScrubbingRules
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.
-