共用方式為


ProfileLogScrubbing Class

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

Implements

public final class ProfileLogScrubbing
implements JsonSerializable<ProfileLogScrubbing>

Defines rules that scrub sensitive fields in the Azure Front Door profile logs.

Constructor Summary

Constructor Description
ProfileLogScrubbing()

Creates an instance of ProfileLogScrubbing class.

Method Summary

Modifier and Type Method and Description
static ProfileLogScrubbing fromJson(JsonReader jsonReader)

Reads an instance of ProfileLogScrubbing from the JsonReader.

List<ProfileScrubbingRules> scrubbingRules()

Get the scrubbingRules property: List of log scrubbing rules applied to the Azure Front Door profile logs.

ProfileScrubbingState state()

Get the state property: State of the log scrubbing config.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ProfileLogScrubbing withScrubbingRules(List<ProfileScrubbingRules> scrubbingRules)

Set the scrubbingRules property: List of log scrubbing rules applied to the Azure Front Door profile logs.

ProfileLogScrubbing withState(ProfileScrubbingState state)

Set the state property: State of the log scrubbing config.

Methods inherited from java.lang.Object

Constructor Details

ProfileLogScrubbing

public ProfileLogScrubbing()

Creates an instance of ProfileLogScrubbing class.

Method Details

fromJson

public static ProfileLogScrubbing fromJson(JsonReader jsonReader)

Reads an instance of ProfileLogScrubbing from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ProfileLogScrubbing if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the ProfileLogScrubbing.

scrubbingRules

public List scrubbingRules()

Get the scrubbingRules property: List of log scrubbing rules applied to the Azure Front Door profile logs.

Returns:

the scrubbingRules value.

state

public ProfileScrubbingState state()

Get the state property: State of the log scrubbing config. Default value is Enabled.

Returns:

the state value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withScrubbingRules

public ProfileLogScrubbing withScrubbingRules(List 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.

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.

Applies to