ProviderPermission Class
- java.
lang. Object - com.
azure. resourcemanager. resources. models. ProviderPermission
- com.
Implements
public final class ProviderPermission
implements JsonSerializable<ProviderPermission>
The provider permission.
Constructor Summary
Constructor | Description |
---|---|
ProviderPermission() |
Creates an instance of Provider |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
applicationId()
Get the application |
static
Provider |
fromJson(JsonReader jsonReader)
Reads an instance of Provider |
Role |
managedByRoleDefinition()
Get the managed |
Provider |
providerAuthorizationConsentState()
Get the provider |
Role |
roleDefinition()
Get the role |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Provider |
withApplicationId(String applicationId)
Set the application |
Provider |
withManagedByRoleDefinition(RoleDefinition managedByRoleDefinition)
Set the managed |
Provider |
withProviderAuthorizationConsentState(ProviderAuthorizationConsentState providerAuthorizationConsentState)
Set the provider |
Provider |
withRoleDefinition(RoleDefinition roleDefinition)
Set the role |
Methods inherited from java.lang.Object
Constructor Details
ProviderPermission
public ProviderPermission()
Creates an instance of ProviderPermission class.
Method Details
applicationId
public String applicationId()
Get the applicationId property: The application id.
Returns:
fromJson
public static ProviderPermission fromJson(JsonReader jsonReader)
Reads an instance of ProviderPermission from the JsonReader.
Parameters:
Returns:
Throws:
managedByRoleDefinition
public RoleDefinition managedByRoleDefinition()
Get the managedByRoleDefinition property: Role definition properties.
Returns:
providerAuthorizationConsentState
public ProviderAuthorizationConsentState providerAuthorizationConsentState()
Get the providerAuthorizationConsentState property: The provider authorization consent state.
Returns:
roleDefinition
public RoleDefinition roleDefinition()
Get the roleDefinition property: Role definition properties.
Returns:
toJson
validate
public void validate()
Validates the instance.
withApplicationId
public ProviderPermission withApplicationId(String applicationId)
Set the applicationId property: The application id.
Parameters:
Returns:
withManagedByRoleDefinition
public ProviderPermission withManagedByRoleDefinition(RoleDefinition managedByRoleDefinition)
Set the managedByRoleDefinition property: Role definition properties.
Parameters:
Returns:
withProviderAuthorizationConsentState
public ProviderPermission withProviderAuthorizationConsentState(ProviderAuthorizationConsentState providerAuthorizationConsentState)
Set the providerAuthorizationConsentState property: The provider authorization consent state.
Parameters:
Returns:
withRoleDefinition
public ProviderPermission withRoleDefinition(RoleDefinition roleDefinition)
Set the roleDefinition property: Role definition properties.
Parameters:
Returns:
Applies to
Azure SDK for Java