Class NspAccessRuleProperties
java.lang.Object
com.azure.resourcemanager.storage.models.NspAccessRuleProperties
Properties of Access Rule.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of NspAccessRuleProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the addressPrefixes property: Address prefixes in the CIDR format for inbound rules.Get the direction property: Direction of Access Rule.Get the fullyQualifiedDomainNames property: FQDN for outbound rules.Get the networkSecurityPerimeters property: NetworkSecurityPerimeters for inbound rules.Get the subscriptions property: Subscriptions for inbound rules.voidvalidate()Validates the instance.withAddressPrefixes(List<String> addressPrefixes) Set the addressPrefixes property: Address prefixes in the CIDR format for inbound rules.withDirection(NspAccessRuleDirection direction) Set the direction property: Direction of Access Rule.withSubscriptions(List<NspAccessRulePropertiesSubscriptionsItem> subscriptions) Set the subscriptions property: Subscriptions for inbound rules.
-
Constructor Details
-
NspAccessRuleProperties
public NspAccessRuleProperties()Creates an instance of NspAccessRuleProperties class.
-
-
Method Details
-
direction
Get the direction property: Direction of Access Rule.- Returns:
- the direction value.
-
withDirection
Set the direction property: Direction of Access Rule.- Parameters:
direction- the direction value to set.- Returns:
- the NspAccessRuleProperties object itself.
-
addressPrefixes
Get the addressPrefixes property: Address prefixes in the CIDR format for inbound rules.- Returns:
- the addressPrefixes value.
-
withAddressPrefixes
Set the addressPrefixes property: Address prefixes in the CIDR format for inbound rules.- Parameters:
addressPrefixes- the addressPrefixes value to set.- Returns:
- the NspAccessRuleProperties object itself.
-
subscriptions
Get the subscriptions property: Subscriptions for inbound rules.- Returns:
- the subscriptions value.
-
withSubscriptions
public NspAccessRuleProperties withSubscriptions(List<NspAccessRulePropertiesSubscriptionsItem> subscriptions) Set the subscriptions property: Subscriptions for inbound rules.- Parameters:
subscriptions- the subscriptions value to set.- Returns:
- the NspAccessRuleProperties object itself.
-
networkSecurityPerimeters
Get the networkSecurityPerimeters property: NetworkSecurityPerimeters for inbound rules.- Returns:
- the networkSecurityPerimeters value.
-
fullyQualifiedDomainNames
Get the fullyQualifiedDomainNames property: FQDN for outbound rules.- Returns:
- the fullyQualifiedDomainNames value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-