public class NetworkSecurityGroupRule extends Object
| Constructor and Description |
|---|
NetworkSecurityGroupRule() |
| Modifier and Type | Method and Description |
|---|---|
NetworkSecurityGroupRuleAccess |
access()
Get the access value.
|
int |
priority()
Get the priority value.
|
String |
sourceAddressPrefix()
Get the sourceAddressPrefix value.
|
NetworkSecurityGroupRule |
withAccess(NetworkSecurityGroupRuleAccess access)
Set the access value.
|
NetworkSecurityGroupRule |
withPriority(int priority)
Set the priority value.
|
NetworkSecurityGroupRule |
withSourceAddressPrefix(String sourceAddressPrefix)
Set the sourceAddressPrefix value.
|
public int priority()
public NetworkSecurityGroupRule withPriority(int priority)
priority - the priority value to setpublic NetworkSecurityGroupRuleAccess access()
public NetworkSecurityGroupRule withAccess(NetworkSecurityGroupRuleAccess access)
access - the access value to setpublic String sourceAddressPrefix()
public NetworkSecurityGroupRule withSourceAddressPrefix(String sourceAddressPrefix)
sourceAddressPrefix - the sourceAddressPrefix value to setCopyright © 2019. All rights reserved.