FirewallPolicyIntrusionDetectionSignatureSpecification Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. FirewallPolicyIntrusionDetectionSignatureSpecification
- com.
Implements
public final class FirewallPolicyIntrusionDetectionSignatureSpecification
implements JsonSerializable<FirewallPolicyIntrusionDetectionSignatureSpecification>
Intrusion detection signatures specification states.
Constructor Summary
Constructor | Description |
---|---|
FirewallPolicyIntrusionDetectionSignatureSpecification() |
Creates an instance of Firewall |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Firewall |
fromJson(JsonReader jsonReader)
Reads an instance of Firewall |
String |
id()
Get the id property: Signature id. |
Firewall |
mode()
Get the mode property: The signature state. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Firewall |
withId(String id)
Set the id property: Signature id. |
Firewall |
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:
Returns:
Throws:
id
public String id()
Get the id property: Signature id.
Returns:
mode
public FirewallPolicyIntrusionDetectionStateType mode()
Get the mode property: The signature state.
Returns:
toJson
validate
public void validate()
Validates the instance.
withId
public FirewallPolicyIntrusionDetectionSignatureSpecification withId(String id)
Set the id property: Signature id.
Parameters:
Returns:
withMode
public FirewallPolicyIntrusionDetectionSignatureSpecification withMode(FirewallPolicyIntrusionDetectionStateType mode)
Set the mode property: The signature state.
Parameters:
Returns:
Applies to
Azure SDK for Java