public static final class CreateSDGRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
CreateSDGRequest |
build() |
CreateSDGRequest.Builder |
description(String description)
The description of the SDG.
|
CreateSDGRequest.Builder |
fromSDGId(String fromSDGId)
The ID of the SDG from which you want to create an SDG.
|
CreateSDGRequest.Builder |
instanceId(String instanceId)
The ID of the device.
|
CreateSDGRequest.Builder |
size(String size)
The maximum capacity of the SDG.
|
public CreateSDGRequest.Builder description(String description)
> We recommend that you specify this parameter in details for subsequent queries.
public CreateSDGRequest.Builder fromSDGId(String fromSDGId)
> * The first time you create an SDG, the **FromSDGId** parameter is empty. * If the value of the **FromSDGId** parameter is invalid or does not correspond to an original disk, an error is reported. * If the value of the **FromSDGId** parameter is not empty, you have created an SDG, and the operation is performed on the existing SDG.
public CreateSDGRequest.Builder instanceId(String instanceId)
public CreateSDGRequest.Builder size(String size)
> * To save costs, we recommend that you specify this parameter based on your business requirements. * The first time that you create an SDG, the **Size** parameter is required. * When the amount of data increases, you can pass a new **Size** parameter for resizing. * If the value of the **Size** parameter is not empty and is greater than the value of the **Size** parameter of the original SDG, the original disk corresponding to the SDG is scaled out to the size that is specified by the current **Size** parameter. * If the value of the **Size** parameter is not empty, or the value of the **Size** parameter is smaller than the value of the **Size** parameter of the original SDG, no operation is performed.
public CreateSDGRequest build()
Copyright © 2024. All rights reserved.