Class NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation
java.lang.Object
com.azure.resourcemanager.storage.models.NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation
public final class NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation
extends Object
Information about resource association.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation class. -
Method Summary
Modifier and TypeMethodDescriptionGet the accessMode property: Access Mode of the resource association.name()Get the name property: Name of the resource association.voidvalidate()Validates the instance.withAccessMode(ResourceAssociationAccessMode accessMode) Set the accessMode property: Access Mode of the resource association.Set the name property: Name of the resource association.
-
Constructor Details
-
NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation
public NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation()Creates an instance of NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation class.
-
-
Method Details
-
name
Get the name property: Name of the resource association.- Returns:
- the name value.
-
withName
Set the name property: Name of the resource association.- Parameters:
name- the name value to set.- Returns:
- the NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation object itself.
-
accessMode
Get the accessMode property: Access Mode of the resource association.- Returns:
- the accessMode value.
-
withAccessMode
public NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation withAccessMode(ResourceAssociationAccessMode accessMode) Set the accessMode property: Access Mode of the resource association.- Parameters:
accessMode- the accessMode value to set.- Returns:
- the NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-