public static final class ModifyBundleRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
ModifyBundleRequest |
build() |
ModifyBundleRequest.Builder |
bundleId(String bundleId)
The ID of the cloud computer template that you want to modify.
|
ModifyBundleRequest.Builder |
bundleName(String bundleName)
The name of the new cloud computer template.
|
ModifyBundleRequest.Builder |
description(String description)
The description of the new cloud computer template.
|
ModifyBundleRequest.Builder |
imageId(String imageId)
The new image ID.
|
ModifyBundleRequest.Builder |
language(String language)
The OS language.
|
ModifyBundleRequest.Builder |
regionId(String regionId)
The region ID.
|
public ModifyBundleRequest.Builder bundleId(String bundleId)
public ModifyBundleRequest.Builder bundleName(String bundleName)
public ModifyBundleRequest.Builder description(String description)
public ModifyBundleRequest.Builder imageId(String imageId)
* The new image must be in the Available state. * The operating system of the new image must be the same as that of the original image. * The required disk size for the new image cannot be greater than that for the original image. * The GPU type of the new image must be the same as that of the original image.
public ModifyBundleRequest.Builder language(String language)
Valid values: * en-US: American English * zh-HK: Traditional Chinese (Hong Kong) * zh-CN: Simplified Chinese. * ja-JP: Japanese
public ModifyBundleRequest.Builder regionId(String regionId)
public ModifyBundleRequest build()
Copyright © 2024. All rights reserved.