Class VertexBackend.Builder

  • All Implemented Interfaces:

    
    public final class VertexBackend.Builder
    
                        

    A builder for a VertexBackend used to connect an Anthropic client to an Anthropic model on the Google Cloud Vertex AI backend service.

    The credentials can be extracted from the environment and set on the builder by calling fromEnv before calling build to create the VertexBackend. Alternatively, set the Google credentials, region and project explicitly via googleCredentials, region and project before calling build.