public final class ResourceAccessRule extends Object
| Constructor and Description |
|---|
ResourceAccessRule() |
| Modifier and Type | Method and Description |
|---|---|
String |
resourceId()
Get the resourceId property: Resource Id.
|
String |
tenantId()
Get the tenantId property: Tenant Id.
|
void |
validate()
Validates the instance.
|
ResourceAccessRule |
withResourceId(String resourceId)
Set the resourceId property: Resource Id.
|
ResourceAccessRule |
withTenantId(String tenantId)
Set the tenantId property: Tenant Id.
|
public String tenantId()
public ResourceAccessRule withTenantId(String tenantId)
tenantId - the tenantId value to set.public String resourceId()
public ResourceAccessRule withResourceId(String resourceId)
resourceId - the resourceId value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.