Class ServiceConfig.VercelArtifacts

java.lang.Object
org.apache.opendal.ServiceConfig.VercelArtifacts
All Implemented Interfaces:
ServiceConfig
Enclosing interface:
ServiceConfig

public static class ServiceConfig.VercelArtifacts extends Object implements ServiceConfig
Configuration for service vercel-artifacts.
  • Field Details

    • accessToken

      public final String accessToken

      The access token for Vercel.

    • endpoint

      public final String endpoint

      The endpoint for the Vercel artifacts API.

      Defaults to https://api.vercel.com.

    • teamId

      public final String teamId

      The Vercel team ID. When set, the teamId query parameter is appended to all API requests.

    • teamSlug

      public final String teamSlug

      The Vercel team slug. When set, the slug query parameter is appended to all API requests.

  • Constructor Details

    • VercelArtifacts

      public VercelArtifacts()
  • Method Details

    • scheme

      public String scheme()
      Description copied from interface: ServiceConfig
      The scheme of the service.
      Specified by:
      scheme in interface ServiceConfig
      Returns:
      the scheme
    • configMap

      public Map<String,String> configMap()
      Description copied from interface: ServiceConfig
      Convert the structured config to a type erased config map.

      A map-valued field becomes one entry, under the field's option name, whose value is a JSON object string, such as assume_role_session_tags = {"Team":"data"}. The map's entries are not flattened into top-level entries. Its keys are sorted, an empty map becomes {}, and an unset field has no entry.

      Specified by:
      configMap in interface ServiceConfig
      Returns:
      the config map