Class ResourceAccessRule
- java.lang.Object
-
- com.azure.resourcemanager.storage.models.ResourceAccessRule
-
public final class ResourceAccessRule extends Object
Resource Access Rule.
-
-
Constructor Summary
Constructors Constructor Description ResourceAccessRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringresourceId()Get the resourceId property: Resource Id.StringtenantId()Get the tenantId property: Tenant Id.voidvalidate()Validates the instance.ResourceAccessRulewithResourceId(String resourceId)Set the resourceId property: Resource Id.ResourceAccessRulewithTenantId(String tenantId)Set the tenantId property: Tenant Id.
-
-
-
Method Detail
-
tenantId
public String tenantId()
Get the tenantId property: Tenant Id.- Returns:
- the tenantId value.
-
withTenantId
public ResourceAccessRule withTenantId(String tenantId)
Set the tenantId property: Tenant Id.- Parameters:
tenantId- the tenantId value to set.- Returns:
- the ResourceAccessRule object itself.
-
resourceId
public String resourceId()
Get the resourceId property: Resource Id.- Returns:
- the resourceId value.
-
withResourceId
public ResourceAccessRule withResourceId(String resourceId)
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.
-
-