Class ResourceProvider

    • Constructor Detail

      • ResourceProvider

        public ResourceProvider()
    • 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.