Class NetworkSecurityGroupRule
- java.lang.Object
-
- com.microsoft.azure.management.batch.NetworkSecurityGroupRule
-
public class NetworkSecurityGroupRule extends Object
A network security group rule to apply to an inbound endpoint.
-
-
Constructor Summary
Constructors Constructor Description NetworkSecurityGroupRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NetworkSecurityGroupRuleAccessaccess()Get the access value.intpriority()Get the priority value.StringsourceAddressPrefix()Get the sourceAddressPrefix value.NetworkSecurityGroupRulewithAccess(NetworkSecurityGroupRuleAccess access)Set the access value.NetworkSecurityGroupRulewithPriority(int priority)Set the priority value.NetworkSecurityGroupRulewithSourceAddressPrefix(String sourceAddressPrefix)Set the sourceAddressPrefix value.
-
-
-
Method Detail
-
priority
public int priority()
Get the priority value.- Returns:
- the priority value
-
withPriority
public NetworkSecurityGroupRule withPriority(int priority)
Set the priority value.- Parameters:
priority- the priority value to set- Returns:
- the NetworkSecurityGroupRule object itself.
-
access
public NetworkSecurityGroupRuleAccess access()
Get the access value.- Returns:
- the access value
-
withAccess
public NetworkSecurityGroupRule withAccess(NetworkSecurityGroupRuleAccess access)
Set the access value.- Parameters:
access- the access value to set- Returns:
- the NetworkSecurityGroupRule object itself.
-
sourceAddressPrefix
public String sourceAddressPrefix()
Get the sourceAddressPrefix value.- Returns:
- the sourceAddressPrefix value
-
withSourceAddressPrefix
public NetworkSecurityGroupRule withSourceAddressPrefix(String sourceAddressPrefix)
Set the sourceAddressPrefix value.- Parameters:
sourceAddressPrefix- the sourceAddressPrefix value to set- Returns:
- the NetworkSecurityGroupRule object itself.
-
-