Class ResourceProvider
java.lang.Object
com.azure.resourcemanager.securityinsights.models.ResourceProvider
- Direct Known Subclasses:
PermissionsResourceProviderItem
Resource provider permissions required for the connector.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the permissionsDisplayText property: Permission description text.provider()
Get the provider property: Provider name.Get the providerDisplayName property: Permission provider display name.Get the requiredPermissions property: Required permissions for the connector.scope()
Get the scope property: Permission provider scope.void
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.
-
Constructor Details
-
ResourceProvider
public ResourceProvider()
-
-
Method Details
-
provider
Get the provider property: Provider name.- Returns:
- the provider value.
-
withProvider
Set the provider property: Provider name.- Parameters:
provider
- the provider value to set.- Returns:
- the ResourceProvider object itself.
-
permissionsDisplayText
Get the permissionsDisplayText property: Permission description text.- Returns:
- the permissionsDisplayText value.
-
withPermissionsDisplayText
Set the permissionsDisplayText property: Permission description text.- Parameters:
permissionsDisplayText
- the permissionsDisplayText value to set.- Returns:
- the ResourceProvider object itself.
-
providerDisplayName
Get the providerDisplayName property: Permission provider display name.- Returns:
- the providerDisplayName value.
-
withProviderDisplayName
Set the providerDisplayName property: Permission provider display name.- Parameters:
providerDisplayName
- the providerDisplayName value to set.- Returns:
- the ResourceProvider object itself.
-
scope
Get the scope property: Permission provider scope.- Returns:
- the scope value.
-
withScope
Set the scope property: Permission provider scope.- Parameters:
scope
- the scope value to set.- Returns:
- the ResourceProvider object itself.
-
requiredPermissions
Get the requiredPermissions property: Required permissions for the connector.- Returns:
- the requiredPermissions value.
-
withRequiredPermissions
Set the requiredPermissions property: Required permissions for the connector.- Parameters:
requiredPermissions
- the requiredPermissions value to set.- Returns:
- the ResourceProvider object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-