Class ResourceAccessRule
java.lang.Object
com.azure.resourcemanager.storage.models.ResourceAccessRule
Resource Access Rule.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the resourceId property: Resource Id.tenantId()Get the tenantId property: Tenant Id.voidvalidate()Validates the instance.withResourceId(String resourceId) Set the resourceId property: Resource Id.withTenantId(String tenantId) Set the tenantId property: Tenant Id.
-
Constructor Details
-
ResourceAccessRule
public ResourceAccessRule()Creates an instance of ResourceAccessRule class.
-
-
Method Details
-
tenantId
Get the tenantId property: Tenant Id.- Returns:
- the tenantId value.
-
withTenantId
Set the tenantId property: Tenant Id.- Parameters:
tenantId- the tenantId value to set.- Returns:
- the ResourceAccessRule object itself.
-
resourceId
Get the resourceId property: Resource Id.- Returns:
- the resourceId value.
-
withResourceId
Set the resourceId property: Resource Id.- Parameters:
resourceId- the resourceId value to set.- Returns:
- the ResourceAccessRule object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-