Class ResourceProvider
- java.lang.Object
-
- com.azure.resourcemanager.securityinsights.models.ResourceProvider
-
- Direct Known Subclasses:
PermissionsResourceProviderItem
public class ResourceProvider extends Object
Resource provider permissions required for the connector.
-
-
Constructor Summary
Constructors Constructor Description ResourceProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
permissionsDisplayText()
Get the permissionsDisplayText property: Permission description text.ProviderName
provider()
Get the provider property: Provider name.String
providerDisplayName()
Get the providerDisplayName property: Permission provider display name.RequiredPermissions
requiredPermissions()
Get the requiredPermissions property: Required permissions for the connector.PermissionProviderScope
scope()
Get the scope property: Permission provider scope.void
validate()
Validates the instance.ResourceProvider
withPermissionsDisplayText(String permissionsDisplayText)
Set the permissionsDisplayText property: Permission description text.ResourceProvider
withProvider(ProviderName provider)
Set the provider property: Provider name.ResourceProvider
withProviderDisplayName(String providerDisplayName)
Set the providerDisplayName property: Permission provider display name.ResourceProvider
withRequiredPermissions(RequiredPermissions requiredPermissions)
Set the requiredPermissions property: Required permissions for the connector.ResourceProvider
withScope(PermissionProviderScope scope)
Set the scope property: Permission provider scope.
-
-
-
Method Detail
-
provider
public ProviderName provider()
Get the provider property: Provider name.- Returns:
- the provider value.
-
withProvider
public ResourceProvider withProvider(ProviderName provider)
Set the provider property: Provider name.- Parameters:
provider
- the provider value to set.- Returns:
- the ResourceProvider object itself.
-
permissionsDisplayText
public String permissionsDisplayText()
Get the permissionsDisplayText property: Permission description text.- Returns:
- the permissionsDisplayText value.
-
withPermissionsDisplayText
public ResourceProvider withPermissionsDisplayText(String permissionsDisplayText)
Set the permissionsDisplayText property: Permission description text.- Parameters:
permissionsDisplayText
- the permissionsDisplayText value to set.- Returns:
- the ResourceProvider object itself.
-
providerDisplayName
public String providerDisplayName()
Get the providerDisplayName property: Permission provider display name.- Returns:
- the providerDisplayName value.
-
withProviderDisplayName
public ResourceProvider withProviderDisplayName(String providerDisplayName)
Set the providerDisplayName property: Permission provider display name.- Parameters:
providerDisplayName
- the providerDisplayName value to set.- Returns:
- the ResourceProvider object itself.
-
scope
public PermissionProviderScope scope()
Get the scope property: Permission provider scope.- Returns:
- the scope value.
-
withScope
public ResourceProvider withScope(PermissionProviderScope scope)
Set the scope property: Permission provider scope.- Parameters:
scope
- the scope value to set.- Returns:
- the ResourceProvider object itself.
-
requiredPermissions
public RequiredPermissions requiredPermissions()
Get the requiredPermissions property: Required permissions for the connector.- Returns:
- the requiredPermissions value.
-
withRequiredPermissions
public ResourceProvider withRequiredPermissions(RequiredPermissions requiredPermissions)
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.
-
-