Class SignaturesOverridesInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.network.fluent.models.SignaturesOverridesInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
public final class SignaturesOverridesInner
extends com.azure.core.management.ProxyResource
Contains all specific policy signatures overrides for the IDPS.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of SignaturesOverridesInner class. -
Method Summary
Modifier and TypeMethodDescriptionstatic SignaturesOverridesInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of SignaturesOverridesInner from the JsonReader.id()Get the id property: Will contain the resource id of the signature override resource.name()Get the name property: Contains the name of the resource (default).Get the properties property: Will contain the properties of the resource (the actual signature overrides).com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: Will contain the type of the resource: Microsoft.Network/firewallPolicies/intrusionDetectionSignaturesOverrides.voidvalidate()Validates the instance.Set the id property: Will contain the resource id of the signature override resource.Set the name property: Contains the name of the resource (default).withProperties(SignaturesOverridesProperties properties) Set the properties property: Will contain the properties of the resource (the actual signature overrides).Set the type property: Will contain the type of the resource: Microsoft.Network/firewallPolicies/intrusionDetectionSignaturesOverrides.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
SignaturesOverridesInner
public SignaturesOverridesInner()Creates an instance of SignaturesOverridesInner class.
-
-
Method Details
-
name
Get the name property: Contains the name of the resource (default).- Overrides:
namein classcom.azure.core.management.ProxyResource- Returns:
- the name value.
-
withName
Set the name property: Contains the name of the resource (default).- Parameters:
name- the name value to set.- Returns:
- the SignaturesOverridesInner object itself.
-
id
Get the id property: Will contain the resource id of the signature override resource.- Overrides:
idin classcom.azure.core.management.ProxyResource- Returns:
- the id value.
-
withId
Set the id property: Will contain the resource id of the signature override resource.- Parameters:
id- the id value to set.- Returns:
- the SignaturesOverridesInner object itself.
-
type
Get the type property: Will contain the type of the resource: Microsoft.Network/firewallPolicies/intrusionDetectionSignaturesOverrides.- Overrides:
typein classcom.azure.core.management.ProxyResource- Returns:
- the type value.
-
withType
Set the type property: Will contain the type of the resource: Microsoft.Network/firewallPolicies/intrusionDetectionSignaturesOverrides.- Parameters:
type- the type value to set.- Returns:
- the SignaturesOverridesInner object itself.
-
properties
Get the properties property: Will contain the properties of the resource (the actual signature overrides).- Returns:
- the properties value.
-
withProperties
Set the properties property: Will contain the properties of the resource (the actual signature overrides).- Parameters:
properties- the properties value to set.- Returns:
- the SignaturesOverridesInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>- Overrides:
toJsonin classcom.azure.core.management.ProxyResource- Throws:
IOException
-
fromJson
public static SignaturesOverridesInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of SignaturesOverridesInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of SignaturesOverridesInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the SignaturesOverridesInner.
-