Class VerificationIpFlowResultInner

java.lang.Object
com.azure.resourcemanager.network.fluent.models.VerificationIpFlowResultInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<VerificationIpFlowResultInner>

public final class VerificationIpFlowResultInner extends Object implements com.azure.json.JsonSerializable<VerificationIpFlowResultInner>
Results of IP flow verification on the target resource.
  • Constructor Details

    • VerificationIpFlowResultInner

      public VerificationIpFlowResultInner()
      Creates an instance of VerificationIpFlowResultInner class.
  • Method Details

    • access

      public Access access()
      Get the access property: Indicates whether the traffic is allowed or denied.
      Returns:
      the access value.
    • withAccess

      public VerificationIpFlowResultInner withAccess(Access access)
      Set the access property: Indicates whether the traffic is allowed or denied.
      Parameters:
      access - the access value to set.
      Returns:
      the VerificationIpFlowResultInner object itself.
    • ruleName

      public String ruleName()
      Get the ruleName property: Name of the rule. If input is not matched against any security rule, it is not displayed.
      Returns:
      the ruleName value.
    • withRuleName

      public VerificationIpFlowResultInner withRuleName(String ruleName)
      Set the ruleName property: Name of the rule. If input is not matched against any security rule, it is not displayed.
      Parameters:
      ruleName - the ruleName value to set.
      Returns:
      the VerificationIpFlowResultInner object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<VerificationIpFlowResultInner>
      Throws:
      IOException
    • fromJson

      public static VerificationIpFlowResultInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of VerificationIpFlowResultInner from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of VerificationIpFlowResultInner 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 VerificationIpFlowResultInner.