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.
|
String |
destinationPortRange()
Get the destinationPortRange 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.
|
SecurityRuleProtocol |
protocol()
Get the protocol value.
|
String |
sourceAddressPrefix()
Get the sourceAddressPrefix value.
|
String |
sourcePortRange()
Get the sourcePortRange value.
|
EffectiveNetworkSecurityRule |
withAccess(SecurityRuleAccess access)
Set the access value.
|
EffectiveNetworkSecurityRule |
withDestinationAddressPrefix(String destinationAddressPrefix)
Set the destinationAddressPrefix value.
|
EffectiveNetworkSecurityRule |
withDestinationPortRange(String destinationPortRange)
Set the destinationPortRange 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(SecurityRuleProtocol protocol)
Set the protocol value.
|
EffectiveNetworkSecurityRule |
withSourceAddressPrefix(String sourceAddressPrefix)
Set the sourceAddressPrefix value.
|
EffectiveNetworkSecurityRule |
withSourcePortRange(String sourcePortRange)
Set the sourcePortRange value.
|
public String name()
public EffectiveNetworkSecurityRule withName(String name)
name - the name value to setpublic SecurityRuleProtocol protocol()
public EffectiveNetworkSecurityRule withProtocol(SecurityRuleProtocol 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 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> 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 set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/