Class GenAiDetail.Builder

  • Enclosing class:
    GenAiDetail

    public static class GenAiDetail.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • instanceId

        public GenAiDetail.Builder instanceId​(String instanceId)
        Id for the GGCS instance to be provisioned.
        Parameters:
        instanceId - the value to set
        Returns:
        this builder
      • clusterType

        public GenAiDetail.Builder clusterType​(ClusterType clusterType)
        The dedicated AI cluster type.
        Parameters:
        clusterType - the value to set
        Returns:
        this builder
      • baseModel

        public GenAiDetail.Builder baseModel​(String baseModel)
        Name of the base model.
        Parameters:
        baseModel - the value to set
        Returns:
        this builder
      • ociRegion

        public GenAiDetail.Builder ociRegion​(String ociRegion)
        Region on which the cluster end endpoint will be provisioned.
        Parameters:
        ociRegion - the value to set
        Returns:
        this builder
      • unitCount

        public GenAiDetail.Builder unitCount​(Integer unitCount)
        No of replicas of base model to be used for hosting.
        Parameters:
        unitCount - the value to set
        Returns:
        this builder
      • endpoints

        public GenAiDetail.Builder endpoints​(List<EndpointDetails> endpoints)
        List of endpoints to provision for the GENAI cluster.
        Parameters:
        endpoints - the value to set
        Returns:
        this builder