NetworkSecurityRulesEvaluationResult Class

  • java.lang.Object
    • com.microsoft.azure.management.network.NetworkSecurityRulesEvaluationResult

public class NetworkSecurityRulesEvaluationResult

Network security rules evaluation result.

Constructor Summary

Constructor Description
NetworkSecurityRulesEvaluationResult()

Method Summary

Modifier and Type Method and Description
java.lang.Boolean destinationMatched()

Get value indicating whether destination is matched.

java.lang.Boolean destinationPortMatched()

Get value indicating whether destination port is matched.

java.lang.String name()

Get name of the network security rule.

java.lang.Boolean protocolMatched()

Get value indicating whether protocol is matched.

java.lang.Boolean sourceMatched()

Get value indicating whether source is matched.

java.lang.Boolean sourcePortMatched()

Get value indicating whether source port is matched.

NetworkSecurityRulesEvaluationResult withDestinationMatched(Boolean destinationMatched)

Set value indicating whether destination is matched.

NetworkSecurityRulesEvaluationResult withDestinationPortMatched(Boolean destinationPortMatched)

Set value indicating whether destination port is matched.

NetworkSecurityRulesEvaluationResult withName(String name)

Set name of the network security rule.

NetworkSecurityRulesEvaluationResult withProtocolMatched(Boolean protocolMatched)

Set value indicating whether protocol is matched.

NetworkSecurityRulesEvaluationResult withSourceMatched(Boolean sourceMatched)

Set value indicating whether source is matched.

NetworkSecurityRulesEvaluationResult withSourcePortMatched(Boolean sourcePortMatched)

Set value indicating whether source port is matched.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

NetworkSecurityRulesEvaluationResult

public NetworkSecurityRulesEvaluationResult()

Method Details

destinationMatched

public Boolean destinationMatched()

Get value indicating whether destination is matched.

Returns:

the destinationMatched value

destinationPortMatched

public Boolean destinationPortMatched()

Get value indicating whether destination port is matched.

Returns:

the destinationPortMatched value

name

public String name()

Get name of the network security rule.

Returns:

the name value

protocolMatched

public Boolean protocolMatched()

Get value indicating whether protocol is matched.

Returns:

the protocolMatched value

sourceMatched

public Boolean sourceMatched()

Get value indicating whether source is matched.

Returns:

the sourceMatched value

sourcePortMatched

public Boolean sourcePortMatched()

Get value indicating whether source port is matched.

Returns:

the sourcePortMatched value

withDestinationMatched

public NetworkSecurityRulesEvaluationResult withDestinationMatched(Boolean destinationMatched)

Set value indicating whether destination is matched.

Parameters:

destinationMatched - the destinationMatched value to set

Returns:

the NetworkSecurityRulesEvaluationResult object itself.

withDestinationPortMatched

public NetworkSecurityRulesEvaluationResult withDestinationPortMatched(Boolean destinationPortMatched)

Set value indicating whether destination port is matched.

Parameters:

destinationPortMatched - the destinationPortMatched value to set

Returns:

the NetworkSecurityRulesEvaluationResult object itself.

withName

public NetworkSecurityRulesEvaluationResult withName(String name)

Set name of the network security rule.

Parameters:

name - the name value to set

Returns:

the NetworkSecurityRulesEvaluationResult object itself.

withProtocolMatched

public NetworkSecurityRulesEvaluationResult withProtocolMatched(Boolean protocolMatched)

Set value indicating whether protocol is matched.

Parameters:

protocolMatched - the protocolMatched value to set

Returns:

the NetworkSecurityRulesEvaluationResult object itself.

withSourceMatched

public NetworkSecurityRulesEvaluationResult withSourceMatched(Boolean sourceMatched)

Set value indicating whether source is matched.

Parameters:

sourceMatched - the sourceMatched value to set

Returns:

the NetworkSecurityRulesEvaluationResult object itself.

withSourcePortMatched

public NetworkSecurityRulesEvaluationResult withSourcePortMatched(Boolean sourcePortMatched)

Set value indicating whether source port is matched.

Parameters:

sourcePortMatched - the sourcePortMatched value to set

Returns:

the NetworkSecurityRulesEvaluationResult object itself.

Applies to