All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.eas20210701.models.CreateAppServiceRequest Maven / Gradle / Ivy

There is a newer version: 6.4.2
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.eas20210701.models;

import com.aliyun.tea.*;

public class CreateAppServiceRequest extends TeaModel {
    /**
     * 

The quota ID.

* * example: *

abcdef

*/ @NameInMap("QuotaId") public String quotaId; /** *

The workspace ID.

* * example: *

123456

*/ @NameInMap("WorkspaceId") public String workspaceId; /** *

The application service type.

*

Valid values:

*
    *
  • LLM

    * * * * *
  • *
*

This parameter is required.

* * example: *

LLM

*/ @NameInMap("AppType") public String appType; /** *

The application version.

* * example: *

v1

*/ @NameInMap("AppVersion") public String appVersion; /** *

The additional configurations that are required for service deployment.

*/ @NameInMap("Config") public java.util.Map config; /** *

The number of instances.

*

This parameter is required.

* * example: *

1

*/ @NameInMap("Replicas") public Integer replicas; /** *

The service name.

*

This parameter is required.

* * example: *

foo

*/ @NameInMap("ServiceName") public String serviceName; /** *

The service specifications. Valid values:

*
    *
  • llama_7b_fp16
  • *
  • llama_7b_int8
  • *
  • llama_13b_fp16
  • *
  • llama_7b_int8
  • *
  • chatglm_6b_fp16
  • *
  • chatglm_6b_int8
  • *
  • chatglm2_6b_fp16
  • *
  • baichuan_7b_int8
  • *
  • baichuan_13b_fp16
  • *
  • baichuan_7b_fp16
  • *
*

This parameter is required.

* * example: *

llama_7b_fp16

*/ @NameInMap("ServiceSpec") public String serviceSpec; public static CreateAppServiceRequest build(java.util.Map map) throws Exception { CreateAppServiceRequest self = new CreateAppServiceRequest(); return TeaModel.build(map, self); } public CreateAppServiceRequest setQuotaId(String quotaId) { this.quotaId = quotaId; return this; } public String getQuotaId() { return this.quotaId; } public CreateAppServiceRequest setWorkspaceId(String workspaceId) { this.workspaceId = workspaceId; return this; } public String getWorkspaceId() { return this.workspaceId; } public CreateAppServiceRequest setAppType(String appType) { this.appType = appType; return this; } public String getAppType() { return this.appType; } public CreateAppServiceRequest setAppVersion(String appVersion) { this.appVersion = appVersion; return this; } public String getAppVersion() { return this.appVersion; } public CreateAppServiceRequest setConfig(java.util.Map config) { this.config = config; return this; } public java.util.Map getConfig() { return this.config; } public CreateAppServiceRequest setReplicas(Integer replicas) { this.replicas = replicas; return this; } public Integer getReplicas() { return this.replicas; } public CreateAppServiceRequest setServiceName(String serviceName) { this.serviceName = serviceName; return this; } public String getServiceName() { return this.serviceName; } public CreateAppServiceRequest setServiceSpec(String serviceSpec) { this.serviceSpec = serviceSpec; return this; } public String getServiceSpec() { return this.serviceSpec; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy