VerificationIpFlowResultInner Class

  • java.lang.Object
    • com.azure.resourcemanager.network.fluent.models.VerificationIpFlowResultInner

Implements

public final class VerificationIpFlowResultInner
implements JsonSerializable<VerificationIpFlowResultInner>

Results of IP flow verification on the target resource.

Constructor Summary

Constructor Description
VerificationIpFlowResultInner()

Creates an instance of VerificationIpFlowResultInner class.

Method Summary

Modifier and Type Method and Description
Access access()

Get the access property: Indicates whether the traffic is allowed or denied.

static VerificationIpFlowResultInner fromJson(JsonReader jsonReader)

Reads an instance of VerificationIpFlowResultInner from the JsonReader.

String ruleName()

Get the ruleName property: Name of the rule.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

VerificationIpFlowResultInner withAccess(Access access)

Set the access property: Indicates whether the traffic is allowed or denied.

VerificationIpFlowResultInner withRuleName(String ruleName)

Set the ruleName property: Name of the rule.

Methods inherited from java.lang.Object

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.

fromJson

public static VerificationIpFlowResultInner fromJson(JsonReader jsonReader)

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.

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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

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.

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.

Applies to