Class PermissionsResourceProviderItem
java.lang.Object
com.azure.resourcemanager.securityinsights.models.ResourceProvider
com.azure.resourcemanager.securityinsights.models.PermissionsResourceProviderItem
The PermissionsResourceProviderItem model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validate()
Validates the instance.withPermissionsDisplayText
(String permissionsDisplayText) Set the permissionsDisplayText property: Permission description text.withProvider
(ProviderName provider) Set the provider property: Provider name.withProviderDisplayName
(String providerDisplayName) Set the providerDisplayName property: Permission provider display name.withRequiredPermissions
(RequiredPermissions requiredPermissions) Set the requiredPermissions property: Required permissions for the connector.withScope
(PermissionProviderScope scope) Set the scope property: Permission provider scope.Methods inherited from class com.azure.resourcemanager.securityinsights.models.ResourceProvider
permissionsDisplayText, provider, providerDisplayName, requiredPermissions, scope
-
Constructor Details
-
PermissionsResourceProviderItem
public PermissionsResourceProviderItem()
-
-
Method Details
-
withProvider
Set the provider property: Provider name.- Overrides:
withProvider
in classResourceProvider
- Parameters:
provider
- the provider value to set.- Returns:
- the ResourceProvider object itself.
-
withPermissionsDisplayText
Set the permissionsDisplayText property: Permission description text.- Overrides:
withPermissionsDisplayText
in classResourceProvider
- Parameters:
permissionsDisplayText
- the permissionsDisplayText value to set.- Returns:
- the ResourceProvider object itself.
-
withProviderDisplayName
Set the providerDisplayName property: Permission provider display name.- Overrides:
withProviderDisplayName
in classResourceProvider
- Parameters:
providerDisplayName
- the providerDisplayName value to set.- Returns:
- the ResourceProvider object itself.
-
withScope
Set the scope property: Permission provider scope.- Overrides:
withScope
in classResourceProvider
- Parameters:
scope
- the scope value to set.- Returns:
- the ResourceProvider object itself.
-
withRequiredPermissions
public PermissionsResourceProviderItem withRequiredPermissions(RequiredPermissions requiredPermissions) Set the requiredPermissions property: Required permissions for the connector.- Overrides:
withRequiredPermissions
in classResourceProvider
- Parameters:
requiredPermissions
- the requiredPermissions value to set.- Returns:
- the ResourceProvider object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classResourceProvider
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-