|
| 1 | +// This file is auto-generated, don't edit it. Thanks. |
| 2 | +package com.aliyun.r_kvstore20150101.models; |
| 3 | + |
| 4 | +import com.aliyun.tea.*; |
| 5 | + |
| 6 | +public class CreateTairSkvDdbTableRequest extends TeaModel { |
| 7 | + /** |
| 8 | + * <strong>example:</strong> |
| 9 | + * <p>cb-hyxdof5x9kqb**</p> |
| 10 | + */ |
| 11 | + @NameInMap("BackupId") |
| 12 | + public String backupId; |
| 13 | + |
| 14 | + /** |
| 15 | + * <strong>example:</strong> |
| 16 | + * <p>ETnLKlblzczshOTUbOCz**</p> |
| 17 | + */ |
| 18 | + @NameInMap("ClientToken") |
| 19 | + public String clientToken; |
| 20 | + |
| 21 | + /** |
| 22 | + * <p>This parameter is required.</p> |
| 23 | + * |
| 24 | + * <strong>example:</strong> |
| 25 | + * <p>tair_skv_ddb_table</p> |
| 26 | + */ |
| 27 | + @NameInMap("InstanceType") |
| 28 | + public String instanceType; |
| 29 | + |
| 30 | + @NameInMap("OwnerAccount") |
| 31 | + public String ownerAccount; |
| 32 | + |
| 33 | + @NameInMap("OwnerId") |
| 34 | + public Long ownerId; |
| 35 | + |
| 36 | + /** |
| 37 | + * <p>This parameter is required.</p> |
| 38 | + * |
| 39 | + * <strong>example:</strong> |
| 40 | + * <p>cn-hangzhou</p> |
| 41 | + */ |
| 42 | + @NameInMap("RegionId") |
| 43 | + public String regionId; |
| 44 | + |
| 45 | + @NameInMap("ResourceOwnerAccount") |
| 46 | + public String resourceOwnerAccount; |
| 47 | + |
| 48 | + @NameInMap("ResourceOwnerId") |
| 49 | + public Long resourceOwnerId; |
| 50 | + |
| 51 | + /** |
| 52 | + * <strong>example:</strong> |
| 53 | + * <p>{"AttributeDefinitions":[{"AttributeType":"S","AttributeName":"pk"},{"AttributeType":"S","AttributeName":"sk"}],"KeySchema":[{"KeyType":"HASH","AttributeName":"pk"},{"KeyType":"RANGE","AttributeName":"sk"}]}</p> |
| 54 | + */ |
| 55 | + @NameInMap("Schema") |
| 56 | + public String schema; |
| 57 | + |
| 58 | + @NameInMap("SecurityToken") |
| 59 | + public String securityToken; |
| 60 | + |
| 61 | + /** |
| 62 | + * <strong>example:</strong> |
| 63 | + * <p>r-bp1zxszhcgatnx**</p> |
| 64 | + */ |
| 65 | + @NameInMap("SrcDBInstanceId") |
| 66 | + public String srcDBInstanceId; |
| 67 | + |
| 68 | + /** |
| 69 | + * <p>This parameter is required.</p> |
| 70 | + * |
| 71 | + * <strong>example:</strong> |
| 72 | + * <p>apitest</p> |
| 73 | + */ |
| 74 | + @NameInMap("TableName") |
| 75 | + public String tableName; |
| 76 | + |
| 77 | + /** |
| 78 | + * <strong>example:</strong> |
| 79 | + * <p>{"attributeName":"Expiretime","enabled":true}</p> |
| 80 | + */ |
| 81 | + @NameInMap("TtlSpec") |
| 82 | + public String ttlSpec; |
| 83 | + |
| 84 | + /** |
| 85 | + * <p>This parameter is required.</p> |
| 86 | + * |
| 87 | + * <strong>example:</strong> |
| 88 | + * <p>tt-bp1zxszhcgatnx**</p> |
| 89 | + */ |
| 90 | + @NameInMap("WorkspaceId") |
| 91 | + public String workspaceId; |
| 92 | + |
| 93 | + public static CreateTairSkvDdbTableRequest build(java.util.Map<String, ?> map) throws Exception { |
| 94 | + CreateTairSkvDdbTableRequest self = new CreateTairSkvDdbTableRequest(); |
| 95 | + return TeaModel.build(map, self); |
| 96 | + } |
| 97 | + |
| 98 | + public CreateTairSkvDdbTableRequest setBackupId(String backupId) { |
| 99 | + this.backupId = backupId; |
| 100 | + return this; |
| 101 | + } |
| 102 | + public String getBackupId() { |
| 103 | + return this.backupId; |
| 104 | + } |
| 105 | + |
| 106 | + public CreateTairSkvDdbTableRequest setClientToken(String clientToken) { |
| 107 | + this.clientToken = clientToken; |
| 108 | + return this; |
| 109 | + } |
| 110 | + public String getClientToken() { |
| 111 | + return this.clientToken; |
| 112 | + } |
| 113 | + |
| 114 | + public CreateTairSkvDdbTableRequest setInstanceType(String instanceType) { |
| 115 | + this.instanceType = instanceType; |
| 116 | + return this; |
| 117 | + } |
| 118 | + public String getInstanceType() { |
| 119 | + return this.instanceType; |
| 120 | + } |
| 121 | + |
| 122 | + public CreateTairSkvDdbTableRequest setOwnerAccount(String ownerAccount) { |
| 123 | + this.ownerAccount = ownerAccount; |
| 124 | + return this; |
| 125 | + } |
| 126 | + public String getOwnerAccount() { |
| 127 | + return this.ownerAccount; |
| 128 | + } |
| 129 | + |
| 130 | + public CreateTairSkvDdbTableRequest setOwnerId(Long ownerId) { |
| 131 | + this.ownerId = ownerId; |
| 132 | + return this; |
| 133 | + } |
| 134 | + public Long getOwnerId() { |
| 135 | + return this.ownerId; |
| 136 | + } |
| 137 | + |
| 138 | + public CreateTairSkvDdbTableRequest setRegionId(String regionId) { |
| 139 | + this.regionId = regionId; |
| 140 | + return this; |
| 141 | + } |
| 142 | + public String getRegionId() { |
| 143 | + return this.regionId; |
| 144 | + } |
| 145 | + |
| 146 | + public CreateTairSkvDdbTableRequest setResourceOwnerAccount(String resourceOwnerAccount) { |
| 147 | + this.resourceOwnerAccount = resourceOwnerAccount; |
| 148 | + return this; |
| 149 | + } |
| 150 | + public String getResourceOwnerAccount() { |
| 151 | + return this.resourceOwnerAccount; |
| 152 | + } |
| 153 | + |
| 154 | + public CreateTairSkvDdbTableRequest setResourceOwnerId(Long resourceOwnerId) { |
| 155 | + this.resourceOwnerId = resourceOwnerId; |
| 156 | + return this; |
| 157 | + } |
| 158 | + public Long getResourceOwnerId() { |
| 159 | + return this.resourceOwnerId; |
| 160 | + } |
| 161 | + |
| 162 | + public CreateTairSkvDdbTableRequest setSchema(String schema) { |
| 163 | + this.schema = schema; |
| 164 | + return this; |
| 165 | + } |
| 166 | + public String getSchema() { |
| 167 | + return this.schema; |
| 168 | + } |
| 169 | + |
| 170 | + public CreateTairSkvDdbTableRequest setSecurityToken(String securityToken) { |
| 171 | + this.securityToken = securityToken; |
| 172 | + return this; |
| 173 | + } |
| 174 | + public String getSecurityToken() { |
| 175 | + return this.securityToken; |
| 176 | + } |
| 177 | + |
| 178 | + public CreateTairSkvDdbTableRequest setSrcDBInstanceId(String srcDBInstanceId) { |
| 179 | + this.srcDBInstanceId = srcDBInstanceId; |
| 180 | + return this; |
| 181 | + } |
| 182 | + public String getSrcDBInstanceId() { |
| 183 | + return this.srcDBInstanceId; |
| 184 | + } |
| 185 | + |
| 186 | + public CreateTairSkvDdbTableRequest setTableName(String tableName) { |
| 187 | + this.tableName = tableName; |
| 188 | + return this; |
| 189 | + } |
| 190 | + public String getTableName() { |
| 191 | + return this.tableName; |
| 192 | + } |
| 193 | + |
| 194 | + public CreateTairSkvDdbTableRequest setTtlSpec(String ttlSpec) { |
| 195 | + this.ttlSpec = ttlSpec; |
| 196 | + return this; |
| 197 | + } |
| 198 | + public String getTtlSpec() { |
| 199 | + return this.ttlSpec; |
| 200 | + } |
| 201 | + |
| 202 | + public CreateTairSkvDdbTableRequest setWorkspaceId(String workspaceId) { |
| 203 | + this.workspaceId = workspaceId; |
| 204 | + return this; |
| 205 | + } |
| 206 | + public String getWorkspaceId() { |
| 207 | + return this.workspaceId; |
| 208 | + } |
| 209 | + |
| 210 | +} |
0 commit comments