public static final class GetApplicationResponseBody.Application.Builder extends Object
public GetApplicationResponseBody.Application.Builder appDescription(String appDescription)
The description of the application.
public GetApplicationResponseBody.Application.Builder appId(String appId)
The application ID.
example:443d638a-ef76-47c4-b707-61197d******
public GetApplicationResponseBody.Application.Builder appName(String appName)
The application name.
example:test
public GetApplicationResponseBody.Application.Builder baseAppId(String baseAppId)
The ID of the basic application.
example:ee99cce6-1c8e-4bfa-96c3-3e2fa9******
public GetApplicationResponseBody.Application.Builder cpu(Integer cpu)
The CPU specifications that are required for each instance. Unit: millicores. This parameter cannot be set to 0. Valid values:
2000
public GetApplicationResponseBody.Application.Builder instances(Integer instances)
The number of application instances.
example:i-8ps2o182102o1jv05bys
public GetApplicationResponseBody.Application.Builder isStateful(Boolean isStateful)
public GetApplicationResponseBody.Application.Builder mem(Integer mem)
The memory size that is required by each instance. Unit: MB. This parameter cannot be set to 0. The values of this parameter correspond to the values of the Cpu parameter:
4096
public GetApplicationResponseBody.Application.Builder mseEnabled(Boolean mseEnabled)
Specifies whether to enable WebAssembly Filter. Valid values:
true
public GetApplicationResponseBody.Application.Builder mseNamespaceId(String mseNamespaceId)
The ID of the namespace to which the MSE instance belongs.
example:test
public GetApplicationResponseBody.Application.Builder namespaceId(String namespaceId)
The namespace ID.
example:cn-shenzhen
public GetApplicationResponseBody.Application.Builder programmingLanguage(String programmingLanguage)
The programming language that is used to create the application. Valid values:
java
public GetApplicationResponseBody.Application.Builder runningInstances(Integer runningInstances)
The number of application instances that are running.
example:1
public GetApplicationResponseBody.Application.Builder scaleRuleEnabled(String scaleRuleEnabled)
Indicates whether the auto scaling policy is enabled. Valid values:
true
public GetApplicationResponseBody.Application.Builder scaleRuleType(String scaleRuleType)
The type of the auto scaling policy. Valid values:
timing
public GetApplicationResponseBody.Application build()
Copyright © 2026. All rights reserved.