Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.network.implementation; import com.microsoft.azure.management.network.Access; import com.fasterxml.jackson.annotation.JsonProperty;
Results of IP flow verification on the target resource.
/** * Results of IP flow verification on the target resource. */
public class VerificationIPFlowResultInner {
Indicates whether the traffic is allowed or denied. Possible values include: 'Allow', 'Deny'.
/** * Indicates whether the traffic is allowed or denied. Possible values * include: 'Allow', 'Deny'. */
@JsonProperty(value = "access") private Access access;
Name of the rule. If input is not matched against any security rule, it is not displayed.
/** * Name of the rule. If input is not matched against any security rule, it * is not displayed. */
@JsonProperty(value = "ruleName") private String ruleName;
Get indicates whether the traffic is allowed or denied. Possible values include: 'Allow', 'Deny'.
Returns:the access value
/** * Get indicates whether the traffic is allowed or denied. Possible values include: 'Allow', 'Deny'. * * @return the access value */
public Access access() { return this.access; }
Set indicates whether the traffic is allowed or denied. Possible values include: 'Allow', 'Deny'.
Params:
  • access – the access value to set
Returns:the VerificationIPFlowResultInner object itself.
/** * Set indicates whether the traffic is allowed or denied. Possible values include: 'Allow', 'Deny'. * * @param access the access value to set * @return the VerificationIPFlowResultInner object itself. */
public VerificationIPFlowResultInner withAccess(Access access) { this.access = access; return this; }
Get name of the rule. If input is not matched against any security rule, it is not displayed.
Returns:the ruleName value
/** * Get name of the rule. If input is not matched against any security rule, it is not displayed. * * @return the ruleName value */
public String ruleName() { return this.ruleName; }
Set name of the rule. If input is not matched against any security rule, it is not displayed.
Params:
  • ruleName – the ruleName value to set
Returns:the VerificationIPFlowResultInner object itself.
/** * Set name of the rule. If input is not matched against any security rule, it is not displayed. * * @param ruleName the ruleName value to set * @return the VerificationIPFlowResultInner object itself. */
public VerificationIPFlowResultInner withRuleName(String ruleName) { this.ruleName = ruleName; return this; } }