public static final class CreateAppInfoRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
CreateAppInfoRequest.Builder |
appName(String appName)
Creates an application.
|
CreateAppInfoRequest |
build() |
CreateAppInfoRequest.Builder |
description(String description)
## Common errors
The following table describes the common errors that this operation can return
|
public CreateAppInfoRequest.Builder appName(String appName)
public CreateAppInfoRequest.Builder description(String description)
The following table describes the common errors that this operation can return. | Error code | Error message | HTTP status code | Description | | ---------- | ------------- | ---------------- | ----------- | | OperationDenied.NotOpenAppService | The app service is not open. | 403 | The error message returned because the multi-application service has not been activated. | | Forbidden.OperateApp | User not authorized to operate app. | 403 | The error message returned because you are not authorized to manage the application. | | AlreadyExist.AppName | The specified AppName has already exist. | 409 | The error message returned because the name of the application already exists. | | LimitExceeded.AppCount | App Count has exceeded 10. | 400 | The error message returned because the number of applications that can be created exceeds the upper limit. |
public CreateAppInfoRequest build()
Copyright © 2023. All rights reserved.