public class CreateStorageSetRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
String |
description
The description of the storage set.
|
Integer |
maxPartitionNumber
The maximum number of partitions supported by the storage set.
|
String |
ownerAccount |
Long |
ownerId |
String |
regionId
The region ID of the storage set.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
String |
storageSetName
The name of the storage set.
|
String |
zoneId
The zone ID of the storage set.
|
构造器和说明 |
---|
CreateStorageSetRequest() |
限定符和类型 | 方法和说明 |
---|---|
static CreateStorageSetRequest |
build(Map<String,?> map) |
String |
getClientToken() |
String |
getDescription() |
Integer |
getMaxPartitionNumber() |
String |
getOwnerAccount() |
Long |
getOwnerId() |
String |
getRegionId() |
String |
getResourceOwnerAccount() |
Long |
getResourceOwnerId() |
String |
getStorageSetName() |
String |
getZoneId() |
CreateStorageSetRequest |
setClientToken(String clientToken) |
CreateStorageSetRequest |
setDescription(String description) |
CreateStorageSetRequest |
setMaxPartitionNumber(Integer maxPartitionNumber) |
CreateStorageSetRequest |
setOwnerAccount(String ownerAccount) |
CreateStorageSetRequest |
setOwnerId(Long ownerId) |
CreateStorageSetRequest |
setRegionId(String regionId) |
CreateStorageSetRequest |
setResourceOwnerAccount(String resourceOwnerAccount) |
CreateStorageSetRequest |
setResourceOwnerId(Long resourceOwnerId) |
CreateStorageSetRequest |
setStorageSetName(String storageSetName) |
CreateStorageSetRequest |
setZoneId(String zoneId) |
@NameInMap(value="ClientToken") public String clientToken
The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see How to ensure idempotence.
example:123e4567-e89b-12d3-a456-426655440000
@NameInMap(value="Description") public String description
The description of the storage set. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
example:testDescription
@NameInMap(value="MaxPartitionNumber") public Integer maxPartitionNumber
The maximum number of partitions supported by the storage set. The value must be greater than or equal to 2 but cannot exceed the quota that you obtained by calling the DescribeAccountAttributes operation.
Default value: 2.
example:10
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="RegionId") public String regionId
The region ID of the storage set. You can call the DescribeRegions operation to query the most recent region list.
This parameter is required.
example:cn-hangzhou
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="StorageSetName") public String storageSetName
The name of the storage set. The name must be 2 to 128 characters in length and can contain letters, digits, colons (:), underscores (_), and hyphens (-). The name must start with a letter and cannot start with http:// or https:// .
example:testStorageSetName
@NameInMap(value="ZoneId") public String zoneId
The zone ID of the storage set. You can call the DescribeZones operation to query the most recent zone list.
This parameter is required.
example:cn-hangzhou-g
public static CreateStorageSetRequest build(Map<String,?> map) throws Exception
Exception
public CreateStorageSetRequest setClientToken(String clientToken)
public String getClientToken()
public CreateStorageSetRequest setDescription(String description)
public String getDescription()
public CreateStorageSetRequest setMaxPartitionNumber(Integer maxPartitionNumber)
public Integer getMaxPartitionNumber()
public CreateStorageSetRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public CreateStorageSetRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public CreateStorageSetRequest setRegionId(String regionId)
public String getRegionId()
public CreateStorageSetRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public CreateStorageSetRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public CreateStorageSetRequest setStorageSetName(String storageSetName)
public String getStorageSetName()
public CreateStorageSetRequest setZoneId(String zoneId)
public String getZoneId()
Copyright © 2024. All rights reserved.