public class EffectiveNetworkSecurityRule extends Object
Constructor and Description |
---|
EffectiveNetworkSecurityRule() |
Modifier and Type | Method and Description |
---|---|
SecurityRuleAccess |
access()
Get the access value.
|
String |
destinationAddressPrefix()
Get the destinationAddressPrefix value.
|
List<String> |
destinationAddressPrefixes()
Get the destinationAddressPrefixes value.
|
String |
destinationPortRange()
Get the destinationPortRange value.
|
List<String> |
destinationPortRanges()
Get the destinationPortRanges value.
|
SecurityRuleDirection |
direction()
Get the direction value.
|
List<String> |
expandedDestinationAddressPrefix()
Get the expandedDestinationAddressPrefix value.
|
List<String> |
expandedSourceAddressPrefix()
Get the expandedSourceAddressPrefix value.
|
String |
name()
Get the name value.
|
Integer |
priority()
Get the priority value.
|
EffectiveSecurityRuleProtocol |
protocol()
Get the protocol value.
|
String |
sourceAddressPrefix()
Get the sourceAddressPrefix value.
|
List<String> |
sourceAddressPrefixes()
Get the sourceAddressPrefixes value.
|
String |
sourcePortRange()
Get the sourcePortRange value.
|
List<String> |
sourcePortRanges()
Get the sourcePortRanges value.
|
EffectiveNetworkSecurityRule |
withAccess(SecurityRuleAccess access)
Set the access value.
|
EffectiveNetworkSecurityRule |
withDestinationAddressPrefix(String destinationAddressPrefix)
Set the destinationAddressPrefix value.
|
EffectiveNetworkSecurityRule |
withDestinationAddressPrefixes(List<String> destinationAddressPrefixes)
Set the destinationAddressPrefixes value.
|
EffectiveNetworkSecurityRule |
withDestinationPortRange(String destinationPortRange)
Set the destinationPortRange value.
|
EffectiveNetworkSecurityRule |
withDestinationPortRanges(List<String> destinationPortRanges)
Set the destinationPortRanges value.
|
EffectiveNetworkSecurityRule |
withDirection(SecurityRuleDirection direction)
Set the direction value.
|
EffectiveNetworkSecurityRule |
withExpandedDestinationAddressPrefix(List<String> expandedDestinationAddressPrefix)
Set the expandedDestinationAddressPrefix value.
|
EffectiveNetworkSecurityRule |
withExpandedSourceAddressPrefix(List<String> expandedSourceAddressPrefix)
Set the expandedSourceAddressPrefix value.
|
EffectiveNetworkSecurityRule |
withName(String name)
Set the name value.
|
EffectiveNetworkSecurityRule |
withPriority(Integer priority)
Set the priority value.
|
EffectiveNetworkSecurityRule |
withProtocol(EffectiveSecurityRuleProtocol protocol)
Set the protocol value.
|
EffectiveNetworkSecurityRule |
withSourceAddressPrefix(String sourceAddressPrefix)
Set the sourceAddressPrefix value.
|
EffectiveNetworkSecurityRule |
withSourceAddressPrefixes(List<String> sourceAddressPrefixes)
Set the sourceAddressPrefixes value.
|
EffectiveNetworkSecurityRule |
withSourcePortRange(String sourcePortRange)
Set the sourcePortRange value.
|
EffectiveNetworkSecurityRule |
withSourcePortRanges(List<String> sourcePortRanges)
Set the sourcePortRanges value.
|
public String name()
public EffectiveNetworkSecurityRule withName(String name)
name
- the name value to setpublic EffectiveSecurityRuleProtocol protocol()
public EffectiveNetworkSecurityRule withProtocol(EffectiveSecurityRuleProtocol protocol)
protocol
- the protocol value to setpublic String sourcePortRange()
public EffectiveNetworkSecurityRule withSourcePortRange(String sourcePortRange)
sourcePortRange
- the sourcePortRange value to setpublic String destinationPortRange()
public EffectiveNetworkSecurityRule withDestinationPortRange(String destinationPortRange)
destinationPortRange
- the destinationPortRange value to setpublic List<String> sourcePortRanges()
public EffectiveNetworkSecurityRule withSourcePortRanges(List<String> sourcePortRanges)
sourcePortRanges
- the sourcePortRanges value to setpublic List<String> destinationPortRanges()
public EffectiveNetworkSecurityRule withDestinationPortRanges(List<String> destinationPortRanges)
destinationPortRanges
- the destinationPortRanges value to setpublic String sourceAddressPrefix()
public EffectiveNetworkSecurityRule withSourceAddressPrefix(String sourceAddressPrefix)
sourceAddressPrefix
- the sourceAddressPrefix value to setpublic String destinationAddressPrefix()
public EffectiveNetworkSecurityRule withDestinationAddressPrefix(String destinationAddressPrefix)
destinationAddressPrefix
- the destinationAddressPrefix value to setpublic List<String> sourceAddressPrefixes()
public EffectiveNetworkSecurityRule withSourceAddressPrefixes(List<String> sourceAddressPrefixes)
sourceAddressPrefixes
- the sourceAddressPrefixes value to setpublic List<String> destinationAddressPrefixes()
public EffectiveNetworkSecurityRule withDestinationAddressPrefixes(List<String> destinationAddressPrefixes)
destinationAddressPrefixes
- the destinationAddressPrefixes value to setpublic List<String> expandedSourceAddressPrefix()
public EffectiveNetworkSecurityRule withExpandedSourceAddressPrefix(List<String> expandedSourceAddressPrefix)
expandedSourceAddressPrefix
- the expandedSourceAddressPrefix value to setpublic List<String> expandedDestinationAddressPrefix()
public EffectiveNetworkSecurityRule withExpandedDestinationAddressPrefix(List<String> expandedDestinationAddressPrefix)
expandedDestinationAddressPrefix
- the expandedDestinationAddressPrefix value to setpublic SecurityRuleAccess access()
public EffectiveNetworkSecurityRule withAccess(SecurityRuleAccess access)
access
- the access value to setpublic Integer priority()
public EffectiveNetworkSecurityRule withPriority(Integer priority)
priority
- the priority value to setpublic SecurityRuleDirection direction()
public EffectiveNetworkSecurityRule withDirection(SecurityRuleDirection direction)
direction
- the direction value to setCopyright © 2019. All rights reserved.