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 Summary
ConstructorsConstructorDescriptionCreates an instance of VerificationIpFlowResultInner class. -
Method Summary
Modifier and TypeMethodDescriptionaccess()Get the access property: Indicates whether the traffic is allowed or denied.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of VerificationIpFlowResultInner from the JsonReader.ruleName()Get the ruleName property: Name of the rule.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withAccess(Access access) Set the access property: Indicates whether the traffic is allowed or denied.withRuleName(String ruleName) Set the ruleName property: Name of the rule.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
-
VerificationIpFlowResultInner
public VerificationIpFlowResultInner()Creates an instance of VerificationIpFlowResultInner class.
-
-
Method Details
-
access
Get the access property: Indicates whether the traffic is allowed or denied.- Returns:
- the access value.
-
withAccess
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
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
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
- Specified by:
toJsonin interfacecom.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.
-