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; import java.util.List; import com.fasterxml.jackson.annotation.JsonProperty;
Network configuration diagnostic result corresponded provided traffic query.
/** * Network configuration diagnostic result corresponded provided traffic query. */
public class NetworkSecurityGroupResult {
The network traffic is allowed or denied. Possible values include: 'Allow', 'Deny'.
/** * The network traffic is allowed or denied. Possible values include: * 'Allow', 'Deny'. */
@JsonProperty(value = "securityRuleAccessResult") private SecurityRuleAccess securityRuleAccessResult;
List of results network security groups diagnostic.
/** * List of results network security groups diagnostic. */
@JsonProperty(value = "evaluatedNetworkSecurityGroups", access = JsonProperty.Access.WRITE_ONLY) private List<EvaluatedNetworkSecurityGroup> evaluatedNetworkSecurityGroups;
Get the network traffic is allowed or denied. Possible values include: 'Allow', 'Deny'.
Returns:the securityRuleAccessResult value
/** * Get the network traffic is allowed or denied. Possible values include: 'Allow', 'Deny'. * * @return the securityRuleAccessResult value */
public SecurityRuleAccess securityRuleAccessResult() { return this.securityRuleAccessResult; }
Set the network traffic is allowed or denied. Possible values include: 'Allow', 'Deny'.
Params:
  • securityRuleAccessResult – the securityRuleAccessResult value to set
Returns:the NetworkSecurityGroupResult object itself.
/** * Set the network traffic is allowed or denied. Possible values include: 'Allow', 'Deny'. * * @param securityRuleAccessResult the securityRuleAccessResult value to set * @return the NetworkSecurityGroupResult object itself. */
public NetworkSecurityGroupResult withSecurityRuleAccessResult(SecurityRuleAccess securityRuleAccessResult) { this.securityRuleAccessResult = securityRuleAccessResult; return this; }
Get list of results network security groups diagnostic.
Returns:the evaluatedNetworkSecurityGroups value
/** * Get list of results network security groups diagnostic. * * @return the evaluatedNetworkSecurityGroups value */
public List<EvaluatedNetworkSecurityGroup> evaluatedNetworkSecurityGroups() { return this.evaluatedNetworkSecurityGroups; } }