public static final class CreateApplicationRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
CreateApplicationRequest.Builder |
acceptLanguage(String acceptLanguage)
The language of the response.
|
CreateApplicationRequest.Builder |
appName(String appName)
The name of the application.
|
CreateApplicationRequest |
build() |
CreateApplicationRequest.Builder |
language(String language)
The programming language of the application.
|
CreateApplicationRequest.Builder |
namespace(String namespace)
MSE命名空间名字。
|
CreateApplicationRequest.Builder |
region(String region)
The region to which the application belongs.
|
CreateApplicationRequest.Builder |
sentinelEnable(String sentinelEnable)
Specifies whether to start the switch.
|
CreateApplicationRequest.Builder |
source(String source)
The service where the application is deployed.
|
CreateApplicationRequest.Builder |
switchEnable(String switchEnable)
The name of the Microservices Engine (MSE) namespace.
|
CreateApplicationRequest.Builder |
tags(List<CreateApplicationRequest.Tags> tags)
Tags.
|
public CreateApplicationRequest.Builder acceptLanguage(String acceptLanguage)
The language of the response. Valid values:
zh
public CreateApplicationRequest.Builder appName(String appName)
The name of the application.
This parameter is required.
example:spring-cloud-a
public CreateApplicationRequest.Builder language(String language)
The programming language of the application.
example:JAVA
public CreateApplicationRequest.Builder namespace(String namespace)
MSE命名空间名字。
example:prod
public CreateApplicationRequest.Builder region(String region)
The region to which the application belongs.
This parameter is required.
example:cn-hangzhou
public CreateApplicationRequest.Builder sentinelEnable(String sentinelEnable)
Specifies whether to start the switch.
example:true
public CreateApplicationRequest.Builder source(String source)
The service where the application is deployed. A value of ACK indicates Container Service for Kubernetes.
example:ACK
public CreateApplicationRequest.Builder switchEnable(String switchEnable)
The name of the Microservices Engine (MSE) namespace.
example:true
public CreateApplicationRequest.Builder tags(List<CreateApplicationRequest.Tags> tags)
public CreateApplicationRequest build()
Copyright © 2026. All rights reserved.