Class ApplicationGatewayWafDynamicManifestResultInner
java.lang.Object
com.azure.resourcemanager.network.fluent.models.ApplicationGatewayWafDynamicManifestResultInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ApplicationGatewayWafDynamicManifestResultInner>
public final class ApplicationGatewayWafDynamicManifestResultInner
extends Object
implements com.azure.json.JsonSerializable<ApplicationGatewayWafDynamicManifestResultInner>
Response for ApplicationGatewayWafDynamicManifest API service call.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ApplicationGatewayWafDynamicManifestResultInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the availableRuleSets property: The available rulesets.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ApplicationGatewayWafDynamicManifestResultInner from the JsonReader.id()Get the id property: Resource ID.name()Get the name property: Resource name.Get the ruleSetType property: The type of the web application firewall rule set.Get the ruleSetVersion property: The version of the web application firewall rule set type.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: Resource type.voidvalidate()Validates the instance.withAvailableRuleSets(List<ApplicationGatewayFirewallManifestRuleSet> availableRuleSets) Set the availableRuleSets property: The available rulesets.Set the id property: Resource ID.withRuleSetType(String ruleSetType) Set the ruleSetType property: The type of the web application firewall rule set.withRuleSetVersion(String ruleSetVersion) Set the ruleSetVersion property: The version of the web application firewall rule set type.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
-
ApplicationGatewayWafDynamicManifestResultInner
public ApplicationGatewayWafDynamicManifestResultInner()Creates an instance of ApplicationGatewayWafDynamicManifestResultInner class.
-
-
Method Details
-
id
Get the id property: Resource ID.- Returns:
- the id value.
-
withId
Set the id property: Resource ID.- Parameters:
id- the id value to set.- Returns:
- the ApplicationGatewayWafDynamicManifestResultInner object itself.
-
name
Get the name property: Resource name.- Returns:
- the name value.
-
type
Get the type property: Resource type.- Returns:
- the type value.
-
availableRuleSets
Get the availableRuleSets property: The available rulesets.- Returns:
- the availableRuleSets value.
-
withAvailableRuleSets
public ApplicationGatewayWafDynamicManifestResultInner withAvailableRuleSets(List<ApplicationGatewayFirewallManifestRuleSet> availableRuleSets) Set the availableRuleSets property: The available rulesets.- Parameters:
availableRuleSets- the availableRuleSets value to set.- Returns:
- the ApplicationGatewayWafDynamicManifestResultInner object itself.
-
ruleSetType
Get the ruleSetType property: The type of the web application firewall rule set.- Returns:
- the ruleSetType value.
-
withRuleSetType
Set the ruleSetType property: The type of the web application firewall rule set.- Parameters:
ruleSetType- the ruleSetType value to set.- Returns:
- the ApplicationGatewayWafDynamicManifestResultInner object itself.
-
ruleSetVersion
Get the ruleSetVersion property: The version of the web application firewall rule set type.- Returns:
- the ruleSetVersion value.
-
withRuleSetVersion
Set the ruleSetVersion property: The version of the web application firewall rule set type.- Parameters:
ruleSetVersion- the ruleSetVersion value to set.- Returns:
- the ApplicationGatewayWafDynamicManifestResultInner 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<ApplicationGatewayWafDynamicManifestResultInner>- Throws:
IOException
-
fromJson
public static ApplicationGatewayWafDynamicManifestResultInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ApplicationGatewayWafDynamicManifestResultInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ApplicationGatewayWafDynamicManifestResultInner 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 ApplicationGatewayWafDynamicManifestResultInner.
-