FirewallPolicyIntrusionDetectionSignatureSpecification Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.FirewallPolicyIntrusionDetectionSignatureSpecification

Implements

public final class FirewallPolicyIntrusionDetectionSignatureSpecification
implements JsonSerializable<FirewallPolicyIntrusionDetectionSignatureSpecification>

Intrusion detection signatures specification states.

Constructor Summary

Constructor Description
FirewallPolicyIntrusionDetectionSignatureSpecification()

Creates an instance of FirewallPolicyIntrusionDetectionSignatureSpecification class.

Method Summary

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

Reads an instance of FirewallPolicyIntrusionDetectionSignatureSpecification from the JsonReader.

String id()

Get the id property: Signature id.

FirewallPolicyIntrusionDetectionStateType mode()

Get the mode property: The signature state.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

FirewallPolicyIntrusionDetectionSignatureSpecification withId(String id)

Set the id property: Signature id.

FirewallPolicyIntrusionDetectionSignatureSpecification withMode(FirewallPolicyIntrusionDetectionStateType mode)

Set the mode property: The signature state.

Methods inherited from java.lang.Object

Constructor Details

FirewallPolicyIntrusionDetectionSignatureSpecification

public FirewallPolicyIntrusionDetectionSignatureSpecification()

Creates an instance of FirewallPolicyIntrusionDetectionSignatureSpecification class.

Method Details

fromJson

public static FirewallPolicyIntrusionDetectionSignatureSpecification fromJson(JsonReader jsonReader)

Reads an instance of FirewallPolicyIntrusionDetectionSignatureSpecification from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of FirewallPolicyIntrusionDetectionSignatureSpecification 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 FirewallPolicyIntrusionDetectionSignatureSpecification.

id

public String id()

Get the id property: Signature id.

Returns:

the id value.

mode

public FirewallPolicyIntrusionDetectionStateType mode()

Get the mode property: The signature state.

Returns:

the mode value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withId

public FirewallPolicyIntrusionDetectionSignatureSpecification withId(String id)

Set the id property: Signature id.

Parameters:

id - the id value to set.

Returns:

the FirewallPolicyIntrusionDetectionSignatureSpecification object itself.

withMode

public FirewallPolicyIntrusionDetectionSignatureSpecification withMode(FirewallPolicyIntrusionDetectionStateType mode)

Set the mode property: The signature state.

Parameters:

mode - the mode value to set.

Returns:

the FirewallPolicyIntrusionDetectionSignatureSpecification object itself.

Applies to