index
int64
repo_id
string
file_path
string
content
string
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeMigrateTasksResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeMigrateTasksResponseBody} extends {@link TeaModel} * * <p>DescribeMigrateTasksResponseBody</p> */ public class DescribeMigrateTasksResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("DBInstanceId") private String DBInstanceId; @com.aliyun.core.annotation.NameInMap("Items") private Items items; @com.aliyun.core.annotation.NameInMap("PageNumber") private Integer pageNumber; @com.aliyun.core.annotation.NameInMap("PageRecordCount") private Integer pageRecordCount; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TotalRecordCount") private Integer totalRecordCount; private DescribeMigrateTasksResponseBody(Builder builder) { this.DBInstanceId = builder.DBInstanceId; this.items = builder.items; this.pageNumber = builder.pageNumber; this.pageRecordCount = builder.pageRecordCount; this.requestId = builder.requestId; this.totalRecordCount = builder.totalRecordCount; } public static Builder builder() { return new Builder(); } public static DescribeMigrateTasksResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return DBInstanceId */ public String getDBInstanceId() { return this.DBInstanceId; } /** * @return items */ public Items getItems() { return this.items; } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageRecordCount */ public Integer getPageRecordCount() { return this.pageRecordCount; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return totalRecordCount */ public Integer getTotalRecordCount() { return this.totalRecordCount; } public static final class Builder { private String DBInstanceId; private Items items; private Integer pageNumber; private Integer pageRecordCount; private String requestId; private Integer totalRecordCount; private Builder() { } private Builder(DescribeMigrateTasksResponseBody model) { this.DBInstanceId = model.DBInstanceId; this.items = model.items; this.pageNumber = model.pageNumber; this.pageRecordCount = model.pageRecordCount; this.requestId = model.requestId; this.totalRecordCount = model.totalRecordCount; } /** * <p>The instance ID.</p> * * <strong>example:</strong> * <p>rm-uf6wjk5xxxxxxx</p> */ public Builder DBInstanceId(String DBInstanceId) { this.DBInstanceId = DBInstanceId; return this; } /** * <p>The details of the migration task.</p> */ public Builder items(Items items) { this.items = items; return this; } /** * <p>The page number of the returned page.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageNumber(Integer pageNumber) { this.pageNumber = pageNumber; return this; } /** * <p>The number of entries returned per page.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder pageRecordCount(Integer pageRecordCount) { this.pageRecordCount = pageRecordCount; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>4E356DDF-6B83-45DB-99D5-4B1E8A0D286B</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>30</p> */ public Builder totalRecordCount(Integer totalRecordCount) { this.totalRecordCount = totalRecordCount; return this; } public DescribeMigrateTasksResponseBody build() { return new DescribeMigrateTasksResponseBody(this); } } /** * * {@link DescribeMigrateTasksResponseBody} extends {@link TeaModel} * * <p>DescribeMigrateTasksResponseBody</p> */ public static class MigrateTask extends TeaModel { @com.aliyun.core.annotation.NameInMap("BackupMode") private String backupMode; @com.aliyun.core.annotation.NameInMap("CreateTime") private String createTime; @com.aliyun.core.annotation.NameInMap("DBName") private String DBName; @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @com.aliyun.core.annotation.NameInMap("IsDBReplaced") private String isDBReplaced; @com.aliyun.core.annotation.NameInMap("MigrateTaskId") private String migrateTaskId; @com.aliyun.core.annotation.NameInMap("Status") private String status; private MigrateTask(Builder builder) { this.backupMode = builder.backupMode; this.createTime = builder.createTime; this.DBName = builder.DBName; this.description = builder.description; this.endTime = builder.endTime; this.isDBReplaced = builder.isDBReplaced; this.migrateTaskId = builder.migrateTaskId; this.status = builder.status; } public static Builder builder() { return new Builder(); } public static MigrateTask create() { return builder().build(); } /** * @return backupMode */ public String getBackupMode() { return this.backupMode; } /** * @return createTime */ public String getCreateTime() { return this.createTime; } /** * @return DBName */ public String getDBName() { return this.DBName; } /** * @return description */ public String getDescription() { return this.description; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return isDBReplaced */ public String getIsDBReplaced() { return this.isDBReplaced; } /** * @return migrateTaskId */ public String getMigrateTaskId() { return this.migrateTaskId; } /** * @return status */ public String getStatus() { return this.status; } public static final class Builder { private String backupMode; private String createTime; private String DBName; private String description; private String endTime; private String isDBReplaced; private String migrateTaskId; private String status; private Builder() { } private Builder(MigrateTask model) { this.backupMode = model.backupMode; this.createTime = model.createTime; this.DBName = model.DBName; this.description = model.description; this.endTime = model.endTime; this.isDBReplaced = model.isDBReplaced; this.migrateTaskId = model.migrateTaskId; this.status = model.status; } /** * <p>The migration task type. Valid values:</p> * <ul> * <li><strong>FULL</strong>: The migration task migrates full backup files that can be used to restore the full data of the instance.</li> * <li><strong>UPDF</strong>: The migration task migrates incremental or log backup files that can be used to restore the incremental data of the instance.</li> * </ul> * * <strong>example:</strong> * <p>FULL</p> */ public Builder backupMode(String backupMode) { this.backupMode = backupMode; return this; } /** * <p>The time when the migration task was created. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time is displayed in UTC.</p> * * <strong>example:</strong> * <p>2017-05-30T12:11:04Z</p> */ public Builder createTime(String createTime) { this.createTime = createTime; return this; } /** * <p>The database name.</p> * * <strong>example:</strong> * <p>testDB</p> */ public Builder DBName(String DBName) { this.DBName = DBName; return this; } /** * <p>The description of the migration task.</p> * * <strong>example:</strong> * <p>Api description</p> */ public Builder description(String description) { this.description = description; return this; } /** * <p>The time when the migration task was completed. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time is displayed in UTC.</p> * * <strong>example:</strong> * <p>2017-05-30T13:11:04Z</p> */ public Builder endTime(String endTime) { this.endTime = endTime; return this; } /** * <p>Indicates whether the imported data overwrites the existing data.</p> * * <strong>example:</strong> * <p>True</p> */ public Builder isDBReplaced(String isDBReplaced) { this.isDBReplaced = isDBReplaced; return this; } /** * <p>The migration task ID.</p> * * <strong>example:</strong> * <p>564522545</p> */ public Builder migrateTaskId(String migrateTaskId) { this.migrateTaskId = migrateTaskId; return this; } /** * <p>The status of the migration task. Valid values:</p> * <ul> * <li><strong>NoStart</strong>: The task is not started.</li> * <li><strong>Running</strong>:The task is in progress.</li> * <li><strong>Success</strong>: The task is successful.</li> * <li><strong>Failed</strong>: The task failed.</li> * <li><strong>Waiting</strong>: The task is waiting for an incremental backup file to be imported.</li> * </ul> * * <strong>example:</strong> * <p>Success</p> */ public Builder status(String status) { this.status = status; return this; } public MigrateTask build() { return new MigrateTask(this); } } } /** * * {@link DescribeMigrateTasksResponseBody} extends {@link TeaModel} * * <p>DescribeMigrateTasksResponseBody</p> */ public static class Items extends TeaModel { @com.aliyun.core.annotation.NameInMap("MigrateTask") private java.util.List<MigrateTask> migrateTask; private Items(Builder builder) { this.migrateTask = builder.migrateTask; } public static Builder builder() { return new Builder(); } public static Items create() { return builder().build(); } /** * @return migrateTask */ public java.util.List<MigrateTask> getMigrateTask() { return this.migrateTask; } public static final class Builder { private java.util.List<MigrateTask> migrateTask; private Builder() { } private Builder(Items model) { this.migrateTask = model.migrateTask; } /** * MigrateTask. */ public Builder migrateTask(java.util.List<MigrateTask> migrateTask) { this.migrateTask = migrateTask; return this; } public Items build() { return new Items(this); } } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeModifyPGHbaConfigLogRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeModifyPGHbaConfigLogRequest} extends {@link RequestModel} * * <p>DescribeModifyPGHbaConfigLogRequest</p> */ public class DescribeModifyPGHbaConfigLogRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ClientToken") private String clientToken; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DBInstanceId") @com.aliyun.core.annotation.Validation(required = true) private String DBInstanceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerAccount") private String ownerAccount; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceGroupId") private String resourceGroupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount") private String resourceOwnerAccount; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerId") private Long resourceOwnerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StartTime") private String startTime; private DescribeModifyPGHbaConfigLogRequest(Builder builder) { super(builder); this.clientToken = builder.clientToken; this.DBInstanceId = builder.DBInstanceId; this.endTime = builder.endTime; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.resourceGroupId = builder.resourceGroupId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.startTime = builder.startTime; } public static Builder builder() { return new Builder(); } public static DescribeModifyPGHbaConfigLogRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return clientToken */ public String getClientToken() { return this.clientToken; } /** * @return DBInstanceId */ public String getDBInstanceId() { return this.DBInstanceId; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return ownerAccount */ public String getOwnerAccount() { return this.ownerAccount; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return resourceGroupId */ public String getResourceGroupId() { return this.resourceGroupId; } /** * @return resourceOwnerAccount */ public String getResourceOwnerAccount() { return this.resourceOwnerAccount; } /** * @return resourceOwnerId */ public Long getResourceOwnerId() { return this.resourceOwnerId; } /** * @return startTime */ public String getStartTime() { return this.startTime; } public static final class Builder extends Request.Builder<DescribeModifyPGHbaConfigLogRequest, Builder> { private String clientToken; private String DBInstanceId; private String endTime; private String ownerAccount; private Long ownerId; private String resourceGroupId; private String resourceOwnerAccount; private Long resourceOwnerId; private String startTime; private Builder() { super(); } private Builder(DescribeModifyPGHbaConfigLogRequest request) { super(request); this.clientToken = request.clientToken; this.DBInstanceId = request.DBInstanceId; this.endTime = request.endTime; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.resourceGroupId = request.resourceGroupId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.startTime = request.startTime; } /** * <p>A reserved parameter. You do not need to specify this parameter.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder clientToken(String clientToken) { this.putQueryParameter("ClientToken", clientToken); this.clientToken = clientToken; return this; } /** * <p>The instance ID. You can call the DescribeDBInstances operation to query the instance ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>pgm-bp1lymyn1v3i****</p> */ public Builder DBInstanceId(String DBInstanceId) { this.putQueryParameter("DBInstanceId", DBInstanceId); this.DBInstanceId = DBInstanceId; return this; } /** * <p>The end of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mmZ format. The time must be in UTC.</p> * * <strong>example:</strong> * <p>2021-11-25T06:00:40Z</p> */ public Builder endTime(String endTime) { this.putQueryParameter("EndTime", endTime); this.endTime = endTime; return this; } /** * OwnerAccount. */ public Builder ownerAccount(String ownerAccount) { this.putQueryParameter("OwnerAccount", ownerAccount); this.ownerAccount = ownerAccount; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * <p>The ID of the resource group.</p> * * <strong>example:</strong> * <p>rg-acfmy*****</p> */ public Builder resourceGroupId(String resourceGroupId) { this.putQueryParameter("ResourceGroupId", resourceGroupId); this.resourceGroupId = resourceGroupId; return this; } /** * ResourceOwnerAccount. */ public Builder resourceOwnerAccount(String resourceOwnerAccount) { this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount); this.resourceOwnerAccount = resourceOwnerAccount; return this; } /** * ResourceOwnerId. */ public Builder resourceOwnerId(Long resourceOwnerId) { this.putQueryParameter("ResourceOwnerId", resourceOwnerId); this.resourceOwnerId = resourceOwnerId; return this; } /** * <p>The beginning of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mmZ format. The time must be in Coordinated Universal Time (UTC).</p> * * <strong>example:</strong> * <p>2021-11-25T05:00:40Z</p> */ public Builder startTime(String startTime) { this.putQueryParameter("StartTime", startTime); this.startTime = startTime; return this; } @Override public DescribeModifyPGHbaConfigLogRequest build() { return new DescribeModifyPGHbaConfigLogRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeModifyPGHbaConfigLogResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeModifyPGHbaConfigLogResponse} extends {@link TeaModel} * * <p>DescribeModifyPGHbaConfigLogResponse</p> */ public class DescribeModifyPGHbaConfigLogResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeModifyPGHbaConfigLogResponseBody body; private DescribeModifyPGHbaConfigLogResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeModifyPGHbaConfigLogResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeModifyPGHbaConfigLogResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeModifyPGHbaConfigLogResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeModifyPGHbaConfigLogResponseBody body); @Override DescribeModifyPGHbaConfigLogResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeModifyPGHbaConfigLogResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeModifyPGHbaConfigLogResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeModifyPGHbaConfigLogResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeModifyPGHbaConfigLogResponseBody body) { this.body = body; return this; } @Override public DescribeModifyPGHbaConfigLogResponse build() { return new DescribeModifyPGHbaConfigLogResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeModifyPGHbaConfigLogResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeModifyPGHbaConfigLogResponseBody} extends {@link TeaModel} * * <p>DescribeModifyPGHbaConfigLogResponseBody</p> */ public class DescribeModifyPGHbaConfigLogResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("DBInstanceId") private String DBInstanceId; @com.aliyun.core.annotation.NameInMap("HbaLogItems") private HbaLogItems hbaLogItems; @com.aliyun.core.annotation.NameInMap("LogItemCount") private Integer logItemCount; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeModifyPGHbaConfigLogResponseBody(Builder builder) { this.DBInstanceId = builder.DBInstanceId; this.hbaLogItems = builder.hbaLogItems; this.logItemCount = builder.logItemCount; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeModifyPGHbaConfigLogResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return DBInstanceId */ public String getDBInstanceId() { return this.DBInstanceId; } /** * @return hbaLogItems */ public HbaLogItems getHbaLogItems() { return this.hbaLogItems; } /** * @return logItemCount */ public Integer getLogItemCount() { return this.logItemCount; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String DBInstanceId; private HbaLogItems hbaLogItems; private Integer logItemCount; private String requestId; private Builder() { } private Builder(DescribeModifyPGHbaConfigLogResponseBody model) { this.DBInstanceId = model.DBInstanceId; this.hbaLogItems = model.hbaLogItems; this.logItemCount = model.logItemCount; this.requestId = model.requestId; } /** * <p>The instance ID.</p> * * <strong>example:</strong> * <p>pgm-bp1lymyn1v3i****</p> */ public Builder DBInstanceId(String DBInstanceId) { this.DBInstanceId = DBInstanceId; return this; } /** * <p>An array that consists of the modifications to the pg_hba.conf file.</p> */ public Builder hbaLogItems(HbaLogItems hbaLogItems) { this.hbaLogItems = hbaLogItems; return this; } /** * <p>The number of modification records.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder logItemCount(Integer logItemCount) { this.logItemCount = logItemCount; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>6D797E6B-E157-510C-A27F-6F9E6DA40633</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeModifyPGHbaConfigLogResponseBody build() { return new DescribeModifyPGHbaConfigLogResponseBody(this); } } /** * * {@link DescribeModifyPGHbaConfigLogResponseBody} extends {@link TeaModel} * * <p>DescribeModifyPGHbaConfigLogResponseBody</p> */ public static class HbaItem extends TeaModel { @com.aliyun.core.annotation.NameInMap("Address") private String address; @com.aliyun.core.annotation.NameInMap("Database") private String database; @com.aliyun.core.annotation.NameInMap("Mask") private String mask; @com.aliyun.core.annotation.NameInMap("Method") private String method; @com.aliyun.core.annotation.NameInMap("Option") private String option; @com.aliyun.core.annotation.NameInMap("PriorityId") private Integer priorityId; @com.aliyun.core.annotation.NameInMap("Type") private String type; @com.aliyun.core.annotation.NameInMap("User") private String user; private HbaItem(Builder builder) { this.address = builder.address; this.database = builder.database; this.mask = builder.mask; this.method = builder.method; this.option = builder.option; this.priorityId = builder.priorityId; this.type = builder.type; this.user = builder.user; } public static Builder builder() { return new Builder(); } public static HbaItem create() { return builder().build(); } /** * @return address */ public String getAddress() { return this.address; } /** * @return database */ public String getDatabase() { return this.database; } /** * @return mask */ public String getMask() { return this.mask; } /** * @return method */ public String getMethod() { return this.method; } /** * @return option */ public String getOption() { return this.option; } /** * @return priorityId */ public Integer getPriorityId() { return this.priorityId; } /** * @return type */ public String getType() { return this.type; } /** * @return user */ public String getUser() { return this.user; } public static final class Builder { private String address; private String database; private String mask; private String method; private String option; private Integer priorityId; private String type; private String user; private Builder() { } private Builder(HbaItem model) { this.address = model.address; this.database = model.database; this.mask = model.mask; this.method = model.method; this.option = model.option; this.priorityId = model.priorityId; this.type = model.type; this.user = model.user; } /** * <p>The IP address.</p> * * <strong>example:</strong> * <p>0.0.0.0/0</p> */ public Builder address(String address) { this.address = address; return this; } /** * <p>The name of the database.</p> * * <strong>example:</strong> * <p>all</p> */ public Builder database(String database) { this.database = database; return this; } /** * <p>The mask of the IP address.</p> * * <strong>example:</strong> * <p>null</p> */ public Builder mask(String mask) { this.mask = mask; return this; } /** * <p>The authentication method.</p> * * <strong>example:</strong> * <p>ldap</p> */ public Builder method(String method) { this.method = method; return this; } /** * <p>The value of this parameter was set based on the value of the Method parameter.</p> * * <strong>example:</strong> * <p>null</p> */ public Builder option(String option) { this.option = option; return this; } /** * <p>The priority.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder priorityId(Integer priorityId) { this.priorityId = priorityId; return this; } /** * <p>The connection type.</p> * * <strong>example:</strong> * <p>host</p> */ public Builder type(String type) { this.type = type; return this; } /** * <p>The username of the account.</p> * * <strong>example:</strong> * <p>ldapuser</p> */ public Builder user(String user) { this.user = user; return this; } public HbaItem build() { return new HbaItem(this); } } } /** * * {@link DescribeModifyPGHbaConfigLogResponseBody} extends {@link TeaModel} * * <p>DescribeModifyPGHbaConfigLogResponseBody</p> */ public static class AfterHbaItems extends TeaModel { @com.aliyun.core.annotation.NameInMap("HbaItem") private java.util.List<HbaItem> hbaItem; private AfterHbaItems(Builder builder) { this.hbaItem = builder.hbaItem; } public static Builder builder() { return new Builder(); } public static AfterHbaItems create() { return builder().build(); } /** * @return hbaItem */ public java.util.List<HbaItem> getHbaItem() { return this.hbaItem; } public static final class Builder { private java.util.List<HbaItem> hbaItem; private Builder() { } private Builder(AfterHbaItems model) { this.hbaItem = model.hbaItem; } /** * HbaItem. */ public Builder hbaItem(java.util.List<HbaItem> hbaItem) { this.hbaItem = hbaItem; return this; } public AfterHbaItems build() { return new AfterHbaItems(this); } } } /** * * {@link DescribeModifyPGHbaConfigLogResponseBody} extends {@link TeaModel} * * <p>DescribeModifyPGHbaConfigLogResponseBody</p> */ public static class BeforeHbaItemsHbaItem extends TeaModel { @com.aliyun.core.annotation.NameInMap("Address") private String address; @com.aliyun.core.annotation.NameInMap("Database") private String database; @com.aliyun.core.annotation.NameInMap("Mask") private String mask; @com.aliyun.core.annotation.NameInMap("Method") private String method; @com.aliyun.core.annotation.NameInMap("Option") private String option; @com.aliyun.core.annotation.NameInMap("PriorityId") private Integer priorityId; @com.aliyun.core.annotation.NameInMap("Type") private String type; @com.aliyun.core.annotation.NameInMap("User") private String user; private BeforeHbaItemsHbaItem(Builder builder) { this.address = builder.address; this.database = builder.database; this.mask = builder.mask; this.method = builder.method; this.option = builder.option; this.priorityId = builder.priorityId; this.type = builder.type; this.user = builder.user; } public static Builder builder() { return new Builder(); } public static BeforeHbaItemsHbaItem create() { return builder().build(); } /** * @return address */ public String getAddress() { return this.address; } /** * @return database */ public String getDatabase() { return this.database; } /** * @return mask */ public String getMask() { return this.mask; } /** * @return method */ public String getMethod() { return this.method; } /** * @return option */ public String getOption() { return this.option; } /** * @return priorityId */ public Integer getPriorityId() { return this.priorityId; } /** * @return type */ public String getType() { return this.type; } /** * @return user */ public String getUser() { return this.user; } public static final class Builder { private String address; private String database; private String mask; private String method; private String option; private Integer priorityId; private String type; private String user; private Builder() { } private Builder(BeforeHbaItemsHbaItem model) { this.address = model.address; this.database = model.database; this.mask = model.mask; this.method = model.method; this.option = model.option; this.priorityId = model.priorityId; this.type = model.type; this.user = model.user; } /** * <p>The IP address.</p> * * <strong>example:</strong> * <p>0.0.0.0/0</p> */ public Builder address(String address) { this.address = address; return this; } /** * <p>The name of the database.</p> * * <strong>example:</strong> * <p>all</p> */ public Builder database(String database) { this.database = database; return this; } /** * <p>The mask of the IP address.</p> * * <strong>example:</strong> * <p>null</p> */ public Builder mask(String mask) { this.mask = mask; return this; } /** * <p>The authentication method.</p> * * <strong>example:</strong> * <p>md5</p> */ public Builder method(String method) { this.method = method; return this; } /** * <p>The value of this parameter varies based on the value of the Method parameter.</p> * * <strong>example:</strong> * <p>null</p> */ public Builder option(String option) { this.option = option; return this; } /** * <p>The priority.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder priorityId(Integer priorityId) { this.priorityId = priorityId; return this; } /** * <p>The connection type.</p> * * <strong>example:</strong> * <p>host</p> */ public Builder type(String type) { this.type = type; return this; } /** * <p>The username of the account.</p> * * <strong>example:</strong> * <p>all</p> */ public Builder user(String user) { this.user = user; return this; } public BeforeHbaItemsHbaItem build() { return new BeforeHbaItemsHbaItem(this); } } } /** * * {@link DescribeModifyPGHbaConfigLogResponseBody} extends {@link TeaModel} * * <p>DescribeModifyPGHbaConfigLogResponseBody</p> */ public static class BeforeHbaItems extends TeaModel { @com.aliyun.core.annotation.NameInMap("HbaItem") private java.util.List<BeforeHbaItemsHbaItem> hbaItem; private BeforeHbaItems(Builder builder) { this.hbaItem = builder.hbaItem; } public static Builder builder() { return new Builder(); } public static BeforeHbaItems create() { return builder().build(); } /** * @return hbaItem */ public java.util.List<BeforeHbaItemsHbaItem> getHbaItem() { return this.hbaItem; } public static final class Builder { private java.util.List<BeforeHbaItemsHbaItem> hbaItem; private Builder() { } private Builder(BeforeHbaItems model) { this.hbaItem = model.hbaItem; } /** * HbaItem. */ public Builder hbaItem(java.util.List<BeforeHbaItemsHbaItem> hbaItem) { this.hbaItem = hbaItem; return this; } public BeforeHbaItems build() { return new BeforeHbaItems(this); } } } /** * * {@link DescribeModifyPGHbaConfigLogResponseBody} extends {@link TeaModel} * * <p>DescribeModifyPGHbaConfigLogResponseBody</p> */ public static class HbaLogItem extends TeaModel { @com.aliyun.core.annotation.NameInMap("AfterHbaItems") private AfterHbaItems afterHbaItems; @com.aliyun.core.annotation.NameInMap("BeforeHbaItems") private BeforeHbaItems beforeHbaItems; @com.aliyun.core.annotation.NameInMap("ModifyStatus") private String modifyStatus; @com.aliyun.core.annotation.NameInMap("ModifyTime") private String modifyTime; @com.aliyun.core.annotation.NameInMap("StatusReason") private String statusReason; private HbaLogItem(Builder builder) { this.afterHbaItems = builder.afterHbaItems; this.beforeHbaItems = builder.beforeHbaItems; this.modifyStatus = builder.modifyStatus; this.modifyTime = builder.modifyTime; this.statusReason = builder.statusReason; } public static Builder builder() { return new Builder(); } public static HbaLogItem create() { return builder().build(); } /** * @return afterHbaItems */ public AfterHbaItems getAfterHbaItems() { return this.afterHbaItems; } /** * @return beforeHbaItems */ public BeforeHbaItems getBeforeHbaItems() { return this.beforeHbaItems; } /** * @return modifyStatus */ public String getModifyStatus() { return this.modifyStatus; } /** * @return modifyTime */ public String getModifyTime() { return this.modifyTime; } /** * @return statusReason */ public String getStatusReason() { return this.statusReason; } public static final class Builder { private AfterHbaItems afterHbaItems; private BeforeHbaItems beforeHbaItems; private String modifyStatus; private String modifyTime; private String statusReason; private Builder() { } private Builder(HbaLogItem model) { this.afterHbaItems = model.afterHbaItems; this.beforeHbaItems = model.beforeHbaItems; this.modifyStatus = model.modifyStatus; this.modifyTime = model.modifyTime; this.statusReason = model.statusReason; } /** * <p>The configurations of the pg_hba.conf file after modification.</p> */ public Builder afterHbaItems(AfterHbaItems afterHbaItems) { this.afterHbaItems = afterHbaItems; return this; } /** * <p>The configurations of the pg_hba.conf file before modification.</p> */ public Builder beforeHbaItems(BeforeHbaItems beforeHbaItems) { this.beforeHbaItems = beforeHbaItems; return this; } /** * <p>The status of the modification.</p> * <ul> * <li><strong>success</strong>: The modification is successful.</li> * <li><strong>failed</strong>: The modification failed.</li> * <li><strong>setting</strong>: The modification is being applied.</li> * </ul> * * <strong>example:</strong> * <p>success</p> */ public Builder modifyStatus(String modifyStatus) { this.modifyStatus = modifyStatus; return this; } /** * <p>The time when the pg_hba.conf file was modified. The time is displayed in UTC.</p> * * <strong>example:</strong> * <p>2021-11-25T06:00:40Z</p> */ public Builder modifyTime(String modifyTime) { this.modifyTime = modifyTime; return this; } /** * <p>The reason why the modification failed.</p> * * <strong>example:</strong> * <p>null</p> */ public Builder statusReason(String statusReason) { this.statusReason = statusReason; return this; } public HbaLogItem build() { return new HbaLogItem(this); } } } /** * * {@link DescribeModifyPGHbaConfigLogResponseBody} extends {@link TeaModel} * * <p>DescribeModifyPGHbaConfigLogResponseBody</p> */ public static class HbaLogItems extends TeaModel { @com.aliyun.core.annotation.NameInMap("HbaLogItem") private java.util.List<HbaLogItem> hbaLogItem; private HbaLogItems(Builder builder) { this.hbaLogItem = builder.hbaLogItem; } public static Builder builder() { return new Builder(); } public static HbaLogItems create() { return builder().build(); } /** * @return hbaLogItem */ public java.util.List<HbaLogItem> getHbaLogItem() { return this.hbaLogItem; } public static final class Builder { private java.util.List<HbaLogItem> hbaLogItem; private Builder() { } private Builder(HbaLogItems model) { this.hbaLogItem = model.hbaLogItem; } /** * HbaLogItem. */ public Builder hbaLogItem(java.util.List<HbaLogItem> hbaLogItem) { this.hbaLogItem = hbaLogItem; return this; } public HbaLogItems build() { return new HbaLogItems(this); } } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeModifyParameterLogRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeModifyParameterLogRequest} extends {@link RequestModel} * * <p>DescribeModifyParameterLogRequest</p> */ public class DescribeModifyParameterLogRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DBInstanceId") @com.aliyun.core.annotation.Validation(required = true) private String DBInstanceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EndTime") @com.aliyun.core.annotation.Validation(required = true) private String endTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerAccount") private String ownerAccount; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageNumber") @com.aliyun.core.annotation.Validation(maximum = 2147483647, minimum = 1) private Integer pageNumber; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") @com.aliyun.core.annotation.Validation(maximum = 100, minimum = 30) private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount") private String resourceOwnerAccount; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerId") private Long resourceOwnerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StartTime") @com.aliyun.core.annotation.Validation(required = true) private String startTime; private DescribeModifyParameterLogRequest(Builder builder) { super(builder); this.DBInstanceId = builder.DBInstanceId; this.endTime = builder.endTime; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.startTime = builder.startTime; } public static Builder builder() { return new Builder(); } public static DescribeModifyParameterLogRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return DBInstanceId */ public String getDBInstanceId() { return this.DBInstanceId; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return ownerAccount */ public String getOwnerAccount() { return this.ownerAccount; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return resourceOwnerAccount */ public String getResourceOwnerAccount() { return this.resourceOwnerAccount; } /** * @return resourceOwnerId */ public Long getResourceOwnerId() { return this.resourceOwnerId; } /** * @return startTime */ public String getStartTime() { return this.startTime; } public static final class Builder extends Request.Builder<DescribeModifyParameterLogRequest, Builder> { private String DBInstanceId; private String endTime; private String ownerAccount; private Long ownerId; private Integer pageNumber; private Integer pageSize; private String resourceOwnerAccount; private Long resourceOwnerId; private String startTime; private Builder() { super(); } private Builder(DescribeModifyParameterLogRequest request) { super(request); this.DBInstanceId = request.DBInstanceId; this.endTime = request.endTime; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.startTime = request.startTime; } /** * <p>The instance ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>rm-uf6wjk5xxxxx</p> */ public Builder DBInstanceId(String DBInstanceId) { this.putQueryParameter("DBInstanceId", DBInstanceId); this.DBInstanceId = DBInstanceId; return this; } /** * <p>The end of the time range to query. Specify the time in the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm</em>Z format. The time must be in UTC.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>2020-03-01T10:00Z</p> */ public Builder endTime(String endTime) { this.putQueryParameter("EndTime", endTime); this.endTime = endTime; return this; } /** * OwnerAccount. */ public Builder ownerAccount(String ownerAccount) { this.putQueryParameter("OwnerAccount", ownerAccount); this.ownerAccount = ownerAccount; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * <p>The page number. Pages start from 1.</p> * <p>Default value: <strong>1</strong>.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageNumber(Integer pageNumber) { this.putQueryParameter("PageNumber", pageNumber); this.pageNumber = pageNumber; return this; } /** * <p>The number of entries per page. Valid values:</p> * <ul> * <li><strong>30</strong></li> * <li><strong>50</strong></li> * <li><strong>100</strong></li> * </ul> * <p>Default value: <strong>30</strong>.</p> * * <strong>example:</strong> * <p>30</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * ResourceOwnerAccount. */ public Builder resourceOwnerAccount(String resourceOwnerAccount) { this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount); this.resourceOwnerAccount = resourceOwnerAccount; return this; } /** * ResourceOwnerId. */ public Builder resourceOwnerId(Long resourceOwnerId) { this.putQueryParameter("ResourceOwnerId", resourceOwnerId); this.resourceOwnerId = resourceOwnerId; return this; } /** * <p>The beginning of the time range to query. Specify the time in the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm</em>Z format. The time must be in UTC.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>2020-03-01T00:00Z</p> */ public Builder startTime(String startTime) { this.putQueryParameter("StartTime", startTime); this.startTime = startTime; return this; } @Override public DescribeModifyParameterLogRequest build() { return new DescribeModifyParameterLogRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeModifyParameterLogResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeModifyParameterLogResponse} extends {@link TeaModel} * * <p>DescribeModifyParameterLogResponse</p> */ public class DescribeModifyParameterLogResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeModifyParameterLogResponseBody body; private DescribeModifyParameterLogResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeModifyParameterLogResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeModifyParameterLogResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeModifyParameterLogResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeModifyParameterLogResponseBody body); @Override DescribeModifyParameterLogResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeModifyParameterLogResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeModifyParameterLogResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeModifyParameterLogResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeModifyParameterLogResponseBody body) { this.body = body; return this; } @Override public DescribeModifyParameterLogResponse build() { return new DescribeModifyParameterLogResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeModifyParameterLogResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeModifyParameterLogResponseBody} extends {@link TeaModel} * * <p>DescribeModifyParameterLogResponseBody</p> */ public class DescribeModifyParameterLogResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("DBInstanceId") private String DBInstanceId; @com.aliyun.core.annotation.NameInMap("Engine") private String engine; @com.aliyun.core.annotation.NameInMap("EngineVersion") private String engineVersion; @com.aliyun.core.annotation.NameInMap("Items") private Items items; @com.aliyun.core.annotation.NameInMap("PageNumber") private Integer pageNumber; @com.aliyun.core.annotation.NameInMap("PageRecordCount") private Integer pageRecordCount; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TotalRecordCount") private Integer totalRecordCount; private DescribeModifyParameterLogResponseBody(Builder builder) { this.DBInstanceId = builder.DBInstanceId; this.engine = builder.engine; this.engineVersion = builder.engineVersion; this.items = builder.items; this.pageNumber = builder.pageNumber; this.pageRecordCount = builder.pageRecordCount; this.requestId = builder.requestId; this.totalRecordCount = builder.totalRecordCount; } public static Builder builder() { return new Builder(); } public static DescribeModifyParameterLogResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return DBInstanceId */ public String getDBInstanceId() { return this.DBInstanceId; } /** * @return engine */ public String getEngine() { return this.engine; } /** * @return engineVersion */ public String getEngineVersion() { return this.engineVersion; } /** * @return items */ public Items getItems() { return this.items; } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageRecordCount */ public Integer getPageRecordCount() { return this.pageRecordCount; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return totalRecordCount */ public Integer getTotalRecordCount() { return this.totalRecordCount; } public static final class Builder { private String DBInstanceId; private String engine; private String engineVersion; private Items items; private Integer pageNumber; private Integer pageRecordCount; private String requestId; private Integer totalRecordCount; private Builder() { } private Builder(DescribeModifyParameterLogResponseBody model) { this.DBInstanceId = model.DBInstanceId; this.engine = model.engine; this.engineVersion = model.engineVersion; this.items = model.items; this.pageNumber = model.pageNumber; this.pageRecordCount = model.pageRecordCount; this.requestId = model.requestId; this.totalRecordCount = model.totalRecordCount; } /** * <p>The instance ID.</p> * * <strong>example:</strong> * <p>rm-uf6wjk5xxxxx</p> */ public Builder DBInstanceId(String DBInstanceId) { this.DBInstanceId = DBInstanceId; return this; } /** * <p>The database engine of the instance.</p> * * <strong>example:</strong> * <p>mysql</p> */ public Builder engine(String engine) { this.engine = engine; return this; } /** * <p>The database engine version of the instance.</p> * * <strong>example:</strong> * <p>5.6</p> */ public Builder engineVersion(String engineVersion) { this.engineVersion = engineVersion; return this; } /** * <p>The log entries.</p> */ public Builder items(Items items) { this.items = items; return this; } /** * <p>The page number.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageNumber(Integer pageNumber) { this.pageNumber = pageNumber; return this; } /** * <p>The number of entries per page.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageRecordCount(Integer pageRecordCount) { this.pageRecordCount = pageRecordCount; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>C8E88DED-533F-4B3C-9207-731FBF394CCA</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder totalRecordCount(Integer totalRecordCount) { this.totalRecordCount = totalRecordCount; return this; } public DescribeModifyParameterLogResponseBody build() { return new DescribeModifyParameterLogResponseBody(this); } } /** * * {@link DescribeModifyParameterLogResponseBody} extends {@link TeaModel} * * <p>DescribeModifyParameterLogResponseBody</p> */ public static class ParameterChangeLog extends TeaModel { @com.aliyun.core.annotation.NameInMap("ModifyTime") private String modifyTime; @com.aliyun.core.annotation.NameInMap("NewParameterValue") private String newParameterValue; @com.aliyun.core.annotation.NameInMap("OldParameterValue") private String oldParameterValue; @com.aliyun.core.annotation.NameInMap("ParameterName") private String parameterName; @com.aliyun.core.annotation.NameInMap("Status") private String status; private ParameterChangeLog(Builder builder) { this.modifyTime = builder.modifyTime; this.newParameterValue = builder.newParameterValue; this.oldParameterValue = builder.oldParameterValue; this.parameterName = builder.parameterName; this.status = builder.status; } public static Builder builder() { return new Builder(); } public static ParameterChangeLog create() { return builder().build(); } /** * @return modifyTime */ public String getModifyTime() { return this.modifyTime; } /** * @return newParameterValue */ public String getNewParameterValue() { return this.newParameterValue; } /** * @return oldParameterValue */ public String getOldParameterValue() { return this.oldParameterValue; } /** * @return parameterName */ public String getParameterName() { return this.parameterName; } /** * @return status */ public String getStatus() { return this.status; } public static final class Builder { private String modifyTime; private String newParameterValue; private String oldParameterValue; private String parameterName; private String status; private Builder() { } private Builder(ParameterChangeLog model) { this.modifyTime = model.modifyTime; this.newParameterValue = model.newParameterValue; this.oldParameterValue = model.oldParameterValue; this.parameterName = model.parameterName; this.status = model.status; } /** * <p>The time when the parameter was modified. This value is a UNIX timestamp. Unit: milliseconds.</p> * * <strong>example:</strong> * <p>1584076066000</p> */ public Builder modifyTime(String modifyTime) { this.modifyTime = modifyTime; return this; } /** * <p>The new value of the parameter.</p> * * <strong>example:</strong> * <p>3</p> */ public Builder newParameterValue(String newParameterValue) { this.newParameterValue = newParameterValue; return this; } /** * <p>The original value of the parameter.</p> * * <strong>example:</strong> * <p>8</p> */ public Builder oldParameterValue(String oldParameterValue) { this.oldParameterValue = oldParameterValue; return this; } /** * <p>The name of the parameter.</p> * * <strong>example:</strong> * <p>innodb_stats_sample_pages</p> */ public Builder parameterName(String parameterName) { this.parameterName = parameterName; return this; } /** * <p>The status. Valid values:</p> * <ul> * <li><strong>Applied:</strong> The new value has taken effect.</li> * <li><strong>Syncing:</strong> The new value is being applied and has not taken effect.</li> * </ul> * * <strong>example:</strong> * <p>Syncing</p> */ public Builder status(String status) { this.status = status; return this; } public ParameterChangeLog build() { return new ParameterChangeLog(this); } } } /** * * {@link DescribeModifyParameterLogResponseBody} extends {@link TeaModel} * * <p>DescribeModifyParameterLogResponseBody</p> */ public static class Items extends TeaModel { @com.aliyun.core.annotation.NameInMap("ParameterChangeLog") private java.util.List<ParameterChangeLog> parameterChangeLog; private Items(Builder builder) { this.parameterChangeLog = builder.parameterChangeLog; } public static Builder builder() { return new Builder(); } public static Items create() { return builder().build(); } /** * @return parameterChangeLog */ public java.util.List<ParameterChangeLog> getParameterChangeLog() { return this.parameterChangeLog; } public static final class Builder { private java.util.List<ParameterChangeLog> parameterChangeLog; private Builder() { } private Builder(Items model) { this.parameterChangeLog = model.parameterChangeLog; } /** * ParameterChangeLog. */ public Builder parameterChangeLog(java.util.List<ParameterChangeLog> parameterChangeLog) { this.parameterChangeLog = parameterChangeLog; return this; } public Items build() { return new Items(this); } } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeOssDownloadsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeOssDownloadsRequest} extends {@link RequestModel} * * <p>DescribeOssDownloadsRequest</p> */ public class DescribeOssDownloadsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DBInstanceId") @com.aliyun.core.annotation.Validation(required = true) private String DBInstanceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("MigrateTaskId") @com.aliyun.core.annotation.Validation(required = true) private String migrateTaskId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceGroupId") private String resourceGroupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount") private String resourceOwnerAccount; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerId") private Long resourceOwnerId; private DescribeOssDownloadsRequest(Builder builder) { super(builder); this.DBInstanceId = builder.DBInstanceId; this.migrateTaskId = builder.migrateTaskId; this.ownerId = builder.ownerId; this.resourceGroupId = builder.resourceGroupId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; } public static Builder builder() { return new Builder(); } public static DescribeOssDownloadsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return DBInstanceId */ public String getDBInstanceId() { return this.DBInstanceId; } /** * @return migrateTaskId */ public String getMigrateTaskId() { return this.migrateTaskId; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return resourceGroupId */ public String getResourceGroupId() { return this.resourceGroupId; } /** * @return resourceOwnerAccount */ public String getResourceOwnerAccount() { return this.resourceOwnerAccount; } /** * @return resourceOwnerId */ public Long getResourceOwnerId() { return this.resourceOwnerId; } public static final class Builder extends Request.Builder<DescribeOssDownloadsRequest, Builder> { private String DBInstanceId; private String migrateTaskId; private Long ownerId; private String resourceGroupId; private String resourceOwnerAccount; private Long resourceOwnerId; private Builder() { super(); } private Builder(DescribeOssDownloadsRequest request) { super(request); this.DBInstanceId = request.DBInstanceId; this.migrateTaskId = request.migrateTaskId; this.ownerId = request.ownerId; this.resourceGroupId = request.resourceGroupId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; } /** * <p>The instance ID. You can call the DescribeDBInstances operation to query the instance ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>rm-uf6wjk5xxxxxxx</p> */ public Builder DBInstanceId(String DBInstanceId) { this.putQueryParameter("DBInstanceId", DBInstanceId); this.DBInstanceId = DBInstanceId; return this; } /** * <p>The migration task ID. You can call the DescribeMigrateTasks operation to query the migration task ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>5625458541</p> */ public Builder migrateTaskId(String migrateTaskId) { this.putQueryParameter("MigrateTaskId", migrateTaskId); this.migrateTaskId = migrateTaskId; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * <p>The ID of the resource group.</p> * * <strong>example:</strong> * <p>rg-acfmy*****</p> */ public Builder resourceGroupId(String resourceGroupId) { this.putQueryParameter("ResourceGroupId", resourceGroupId); this.resourceGroupId = resourceGroupId; return this; } /** * ResourceOwnerAccount. */ public Builder resourceOwnerAccount(String resourceOwnerAccount) { this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount); this.resourceOwnerAccount = resourceOwnerAccount; return this; } /** * ResourceOwnerId. */ public Builder resourceOwnerId(Long resourceOwnerId) { this.putQueryParameter("ResourceOwnerId", resourceOwnerId); this.resourceOwnerId = resourceOwnerId; return this; } @Override public DescribeOssDownloadsRequest build() { return new DescribeOssDownloadsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeOssDownloadsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeOssDownloadsResponse} extends {@link TeaModel} * * <p>DescribeOssDownloadsResponse</p> */ public class DescribeOssDownloadsResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeOssDownloadsResponseBody body; private DescribeOssDownloadsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeOssDownloadsResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeOssDownloadsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeOssDownloadsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeOssDownloadsResponseBody body); @Override DescribeOssDownloadsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeOssDownloadsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeOssDownloadsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeOssDownloadsResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeOssDownloadsResponseBody body) { this.body = body; return this; } @Override public DescribeOssDownloadsResponse build() { return new DescribeOssDownloadsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeOssDownloadsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeOssDownloadsResponseBody} extends {@link TeaModel} * * <p>DescribeOssDownloadsResponseBody</p> */ public class DescribeOssDownloadsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("DBInstanceId") private String DBInstanceId; @com.aliyun.core.annotation.NameInMap("Items") private Items items; @com.aliyun.core.annotation.NameInMap("MigrateTaskId") private String migrateTaskId; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeOssDownloadsResponseBody(Builder builder) { this.DBInstanceId = builder.DBInstanceId; this.items = builder.items; this.migrateTaskId = builder.migrateTaskId; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeOssDownloadsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return DBInstanceId */ public String getDBInstanceId() { return this.DBInstanceId; } /** * @return items */ public Items getItems() { return this.items; } /** * @return migrateTaskId */ public String getMigrateTaskId() { return this.migrateTaskId; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String DBInstanceId; private Items items; private String migrateTaskId; private String requestId; private Builder() { } private Builder(DescribeOssDownloadsResponseBody model) { this.DBInstanceId = model.DBInstanceId; this.items = model.items; this.migrateTaskId = model.migrateTaskId; this.requestId = model.requestId; } /** * <p>The instance ID.</p> * * <strong>example:</strong> * <p>rm-uf6wjk5xxxxxxx</p> */ public Builder DBInstanceId(String DBInstanceId) { this.DBInstanceId = DBInstanceId; return this; } /** * <p>Details of the backup file.</p> */ public Builder items(Items items) { this.items = items; return this; } /** * <p>The ID of the migration task.</p> * * <strong>example:</strong> * <p>562154852</p> */ public Builder migrateTaskId(String migrateTaskId) { this.migrateTaskId = migrateTaskId; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>A5409D02-D661-4BF3-8F3D-0A814D0574E7</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeOssDownloadsResponseBody build() { return new DescribeOssDownloadsResponseBody(this); } } /** * * {@link DescribeOssDownloadsResponseBody} extends {@link TeaModel} * * <p>DescribeOssDownloadsResponseBody</p> */ public static class OssDownload extends TeaModel { @com.aliyun.core.annotation.NameInMap("BackupMode") private String backupMode; @com.aliyun.core.annotation.NameInMap("CreateTime") private String createTime; @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @com.aliyun.core.annotation.NameInMap("FileName") private String fileName; @com.aliyun.core.annotation.NameInMap("FileSize") private String fileSize; @com.aliyun.core.annotation.NameInMap("IsAvailable") private String isAvailable; @com.aliyun.core.annotation.NameInMap("Status") private String status; private OssDownload(Builder builder) { this.backupMode = builder.backupMode; this.createTime = builder.createTime; this.description = builder.description; this.endTime = builder.endTime; this.fileName = builder.fileName; this.fileSize = builder.fileSize; this.isAvailable = builder.isAvailable; this.status = builder.status; } public static Builder builder() { return new Builder(); } public static OssDownload create() { return builder().build(); } /** * @return backupMode */ public String getBackupMode() { return this.backupMode; } /** * @return createTime */ public String getCreateTime() { return this.createTime; } /** * @return description */ public String getDescription() { return this.description; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return fileName */ public String getFileName() { return this.fileName; } /** * @return fileSize */ public String getFileSize() { return this.fileSize; } /** * @return isAvailable */ public String getIsAvailable() { return this.isAvailable; } /** * @return status */ public String getStatus() { return this.status; } public static final class Builder { private String backupMode; private String createTime; private String description; private String endTime; private String fileName; private String fileSize; private String isAvailable; private String status; private Builder() { } private Builder(OssDownload model) { this.backupMode = model.backupMode; this.createTime = model.createTime; this.description = model.description; this.endTime = model.endTime; this.fileName = model.fileName; this.fileSize = model.fileSize; this.isAvailable = model.isAvailable; this.status = model.status; } /** * <p>The backup type. Valid values:</p> * <ul> * <li><strong>Database</strong>: full backup file</li> * <li><strong>Differential_Database</strong>: incremental backup file</li> * <li><strong>Transaction_Log</strong>: log backup file</li> * </ul> * * <strong>example:</strong> * <p>Database</p> */ public Builder backupMode(String backupMode) { this.backupMode = backupMode; return this; } /** * <p>The time when the backup file was created in the download list. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time is displayed in UTC.</p> * * <strong>example:</strong> * <p>2017-08-17T12:45:15Z</p> */ public Builder createTime(String createTime) { this.createTime = createTime; return this; } /** * <p>The description of the backup file.</p> * * <strong>example:</strong> * <p>App description</p> */ public Builder description(String description) { this.description = description; return this; } /** * <p>The end of the time range during which data was queried. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time is displayed in UTC.</p> * * <strong>example:</strong> * <p>2017-08-27T12:45:15Z</p> */ public Builder endTime(String endTime) { this.endTime = endTime; return this; } /** * <p>The name of the backup file stored in the Object Storage Service (OSS) bucket.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder fileName(String fileName) { this.fileName = fileName; return this; } /** * <p>The size of the backup file. Unit: MB</p> * * <strong>example:</strong> * <p>2</p> */ public Builder fileSize(String fileSize) { this.fileSize = fileSize; return this; } /** * <p>Indicates whether the backup file is available. Valid values: <strong>True and False</strong>.</p> * * <strong>example:</strong> * <p>True</p> */ public Builder isAvailable(String isAvailable) { this.isAvailable = isAvailable; return this; } /** * <p>The state of the backup file. Valid values:</p> * <ul> * <li><strong>NoStart</strong></li> * <li><strong>Downloading</strong></li> * <li><strong>Finished</strong></li> * <li><strong>DownloadFailed</strong></li> * <li><strong>VerifyFailed</strong></li> * <li><strong>Deleted</strong></li> * <li><strong>DeleteFailed</strong></li> * <li><strong>CheckSuccess</strong></li> * <li><strong>CheckFailed</strong></li> * <li><strong>Restoring</strong></li> * <li><strong>Restored</strong></li> * <li><strong>RestoreFailed</strong></li> * </ul> * * <strong>example:</strong> * <p>Finished</p> */ public Builder status(String status) { this.status = status; return this; } public OssDownload build() { return new OssDownload(this); } } } /** * * {@link DescribeOssDownloadsResponseBody} extends {@link TeaModel} * * <p>DescribeOssDownloadsResponseBody</p> */ public static class Items extends TeaModel { @com.aliyun.core.annotation.NameInMap("OssDownload") private java.util.List<OssDownload> ossDownload; private Items(Builder builder) { this.ossDownload = builder.ossDownload; } public static Builder builder() { return new Builder(); } public static Items create() { return builder().build(); } /** * @return ossDownload */ public java.util.List<OssDownload> getOssDownload() { return this.ossDownload; } public static final class Builder { private java.util.List<OssDownload> ossDownload; private Builder() { } private Builder(Items model) { this.ossDownload = model.ossDownload; } /** * OssDownload. */ public Builder ossDownload(java.util.List<OssDownload> ossDownload) { this.ossDownload = ossDownload; return this; } public Items build() { return new Items(this); } } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribePGHbaConfigRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePGHbaConfigRequest} extends {@link RequestModel} * * <p>DescribePGHbaConfigRequest</p> */ public class DescribePGHbaConfigRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ClientToken") private String clientToken; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DBInstanceId") @com.aliyun.core.annotation.Validation(required = true) private String DBInstanceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerAccount") private String ownerAccount; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceGroupId") private String resourceGroupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount") private String resourceOwnerAccount; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerId") private Long resourceOwnerId; private DescribePGHbaConfigRequest(Builder builder) { super(builder); this.clientToken = builder.clientToken; this.DBInstanceId = builder.DBInstanceId; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.resourceGroupId = builder.resourceGroupId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; } public static Builder builder() { return new Builder(); } public static DescribePGHbaConfigRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return clientToken */ public String getClientToken() { return this.clientToken; } /** * @return DBInstanceId */ public String getDBInstanceId() { return this.DBInstanceId; } /** * @return ownerAccount */ public String getOwnerAccount() { return this.ownerAccount; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return resourceGroupId */ public String getResourceGroupId() { return this.resourceGroupId; } /** * @return resourceOwnerAccount */ public String getResourceOwnerAccount() { return this.resourceOwnerAccount; } /** * @return resourceOwnerId */ public Long getResourceOwnerId() { return this.resourceOwnerId; } public static final class Builder extends Request.Builder<DescribePGHbaConfigRequest, Builder> { private String clientToken; private String DBInstanceId; private String ownerAccount; private Long ownerId; private String resourceGroupId; private String resourceOwnerAccount; private Long resourceOwnerId; private Builder() { super(); } private Builder(DescribePGHbaConfigRequest request) { super(request); this.clientToken = request.clientToken; this.DBInstanceId = request.DBInstanceId; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.resourceGroupId = request.resourceGroupId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; } /** * <p>A reserved parameter. You do not need to specify this parameter.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder clientToken(String clientToken) { this.putQueryParameter("ClientToken", clientToken); this.clientToken = clientToken; return this; } /** * <p>The instance ID. You can call the DescribeDBInstances operation to query the instance ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>pgm-bp1lymyn1v3i****</p> */ public Builder DBInstanceId(String DBInstanceId) { this.putQueryParameter("DBInstanceId", DBInstanceId); this.DBInstanceId = DBInstanceId; return this; } /** * OwnerAccount. */ public Builder ownerAccount(String ownerAccount) { this.putQueryParameter("OwnerAccount", ownerAccount); this.ownerAccount = ownerAccount; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * <p>The ID of the resource group.</p> * * <strong>example:</strong> * <p>rg-acfmy*****</p> */ public Builder resourceGroupId(String resourceGroupId) { this.putQueryParameter("ResourceGroupId", resourceGroupId); this.resourceGroupId = resourceGroupId; return this; } /** * ResourceOwnerAccount. */ public Builder resourceOwnerAccount(String resourceOwnerAccount) { this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount); this.resourceOwnerAccount = resourceOwnerAccount; return this; } /** * ResourceOwnerId. */ public Builder resourceOwnerId(Long resourceOwnerId) { this.putQueryParameter("ResourceOwnerId", resourceOwnerId); this.resourceOwnerId = resourceOwnerId; return this; } @Override public DescribePGHbaConfigRequest build() { return new DescribePGHbaConfigRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribePGHbaConfigResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePGHbaConfigResponse} extends {@link TeaModel} * * <p>DescribePGHbaConfigResponse</p> */ public class DescribePGHbaConfigResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribePGHbaConfigResponseBody body; private DescribePGHbaConfigResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribePGHbaConfigResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribePGHbaConfigResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribePGHbaConfigResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribePGHbaConfigResponseBody body); @Override DescribePGHbaConfigResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribePGHbaConfigResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribePGHbaConfigResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribePGHbaConfigResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribePGHbaConfigResponseBody body) { this.body = body; return this; } @Override public DescribePGHbaConfigResponse build() { return new DescribePGHbaConfigResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribePGHbaConfigResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePGHbaConfigResponseBody} extends {@link TeaModel} * * <p>DescribePGHbaConfigResponseBody</p> */ public class DescribePGHbaConfigResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("DBInstanceId") private String DBInstanceId; @com.aliyun.core.annotation.NameInMap("DefaultHbaItems") private DefaultHbaItems defaultHbaItems; @com.aliyun.core.annotation.NameInMap("HbaModifyTime") private String hbaModifyTime; @com.aliyun.core.annotation.NameInMap("LastModifyStatus") private String lastModifyStatus; @com.aliyun.core.annotation.NameInMap("ModifyStatusReason") private String modifyStatusReason; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("RunningHbaItems") private RunningHbaItems runningHbaItems; private DescribePGHbaConfigResponseBody(Builder builder) { this.DBInstanceId = builder.DBInstanceId; this.defaultHbaItems = builder.defaultHbaItems; this.hbaModifyTime = builder.hbaModifyTime; this.lastModifyStatus = builder.lastModifyStatus; this.modifyStatusReason = builder.modifyStatusReason; this.requestId = builder.requestId; this.runningHbaItems = builder.runningHbaItems; } public static Builder builder() { return new Builder(); } public static DescribePGHbaConfigResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return DBInstanceId */ public String getDBInstanceId() { return this.DBInstanceId; } /** * @return defaultHbaItems */ public DefaultHbaItems getDefaultHbaItems() { return this.defaultHbaItems; } /** * @return hbaModifyTime */ public String getHbaModifyTime() { return this.hbaModifyTime; } /** * @return lastModifyStatus */ public String getLastModifyStatus() { return this.lastModifyStatus; } /** * @return modifyStatusReason */ public String getModifyStatusReason() { return this.modifyStatusReason; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return runningHbaItems */ public RunningHbaItems getRunningHbaItems() { return this.runningHbaItems; } public static final class Builder { private String DBInstanceId; private DefaultHbaItems defaultHbaItems; private String hbaModifyTime; private String lastModifyStatus; private String modifyStatusReason; private String requestId; private RunningHbaItems runningHbaItems; private Builder() { } private Builder(DescribePGHbaConfigResponseBody model) { this.DBInstanceId = model.DBInstanceId; this.defaultHbaItems = model.defaultHbaItems; this.hbaModifyTime = model.hbaModifyTime; this.lastModifyStatus = model.lastModifyStatus; this.modifyStatusReason = model.modifyStatusReason; this.requestId = model.requestId; this.runningHbaItems = model.runningHbaItems; } /** * <p>The instance ID.</p> * * <strong>example:</strong> * <p>rm-bp1*****</p> */ public Builder DBInstanceId(String DBInstanceId) { this.DBInstanceId = DBInstanceId; return this; } /** * <p>The default configuration items of the pg_hba.conf file.</p> */ public Builder defaultHbaItems(DefaultHbaItems defaultHbaItems) { this.defaultHbaItems = defaultHbaItems; return this; } /** * <p>The time when the previous modification was made to the pg_hba.conf file.</p> * * <strong>example:</strong> * <p>2021-11-25T06:00:40Z</p> */ public Builder hbaModifyTime(String hbaModifyTime) { this.hbaModifyTime = hbaModifyTime; return this; } /** * <p>The status of the previous modification to the pg_hba.conf file. Valid values:</p> * <ul> * <li><strong>success</strong></li> * <li><strong>setting</strong></li> * <li><strong>failed</strong></li> * </ul> * * <strong>example:</strong> * <p>success</p> */ public Builder lastModifyStatus(String lastModifyStatus) { this.lastModifyStatus = lastModifyStatus; return this; } /** * <p>The reason why the previous modification was made to the pg_hba.conf file.</p> * * <strong>example:</strong> * <p>The specified users (testuser) is not exist.</p> */ public Builder modifyStatusReason(String modifyStatusReason) { this.modifyStatusReason = modifyStatusReason; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>A147A124-A147-5CCF-9609-B73C028848DF</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The current configuration items of the pg_hba.conf file.</p> */ public Builder runningHbaItems(RunningHbaItems runningHbaItems) { this.runningHbaItems = runningHbaItems; return this; } public DescribePGHbaConfigResponseBody build() { return new DescribePGHbaConfigResponseBody(this); } } /** * * {@link DescribePGHbaConfigResponseBody} extends {@link TeaModel} * * <p>DescribePGHbaConfigResponseBody</p> */ public static class HbaItem extends TeaModel { @com.aliyun.core.annotation.NameInMap("Address") private String address; @com.aliyun.core.annotation.NameInMap("Database") private String database; @com.aliyun.core.annotation.NameInMap("Mask") private String mask; @com.aliyun.core.annotation.NameInMap("Method") private String method; @com.aliyun.core.annotation.NameInMap("Option") private String option; @com.aliyun.core.annotation.NameInMap("PriorityId") private Integer priorityId; @com.aliyun.core.annotation.NameInMap("Type") private String type; @com.aliyun.core.annotation.NameInMap("User") private String user; private HbaItem(Builder builder) { this.address = builder.address; this.database = builder.database; this.mask = builder.mask; this.method = builder.method; this.option = builder.option; this.priorityId = builder.priorityId; this.type = builder.type; this.user = builder.user; } public static Builder builder() { return new Builder(); } public static HbaItem create() { return builder().build(); } /** * @return address */ public String getAddress() { return this.address; } /** * @return database */ public String getDatabase() { return this.database; } /** * @return mask */ public String getMask() { return this.mask; } /** * @return method */ public String getMethod() { return this.method; } /** * @return option */ public String getOption() { return this.option; } /** * @return priorityId */ public Integer getPriorityId() { return this.priorityId; } /** * @return type */ public String getType() { return this.type; } /** * @return user */ public String getUser() { return this.user; } public static final class Builder { private String address; private String database; private String mask; private String method; private String option; private Integer priorityId; private String type; private String user; private Builder() { } private Builder(HbaItem model) { this.address = model.address; this.database = model.database; this.mask = model.mask; this.method = model.method; this.option = model.option; this.priorityId = model.priorityId; this.type = model.type; this.user = model.user; } /** * <p>The IP addresses from which the specified users can access the specified databases. The value is fixed as 0.0.0.0/0.</p> * * <strong>example:</strong> * <p>0.0.0.0/0</p> */ public Builder address(String address) { this.address = address; return this; } /** * <p>The names of the databases that the specified users are allowed to access. The value is fixed as all or replication.</p> * * <strong>example:</strong> * <p>all</p> */ public Builder database(String database) { this.database = database; return this; } /** * <p>The mask of the instance. The value is fixed as null.</p> * * <strong>example:</strong> * <p>null</p> */ public Builder mask(String mask) { this.mask = mask; return this; } /** * <p>The authentication method. The value is fixed as md5.</p> * * <strong>example:</strong> * <p>md5</p> */ public Builder method(String method) { this.method = method; return this; } /** * <p>The value of this parameter is based on the value of the Method parameter. The value is fixed as null.</p> * * <strong>example:</strong> * <p>null</p> */ public Builder option(String option) { this.option = option; return this; } /** * <p>The priority of the configuration items in the pg_hba.conf file. This value is automatically generated.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder priorityId(Integer priorityId) { this.priorityId = priorityId; return this; } /** * <p>The type of connection to the instance. The value is fixed as host.</p> * * <strong>example:</strong> * <p>host</p> */ public Builder type(String type) { this.type = type; return this; } /** * <p>The user that is allowed to access the instance. The value is fixed as all.</p> * * <strong>example:</strong> * <p>all</p> */ public Builder user(String user) { this.user = user; return this; } public HbaItem build() { return new HbaItem(this); } } } /** * * {@link DescribePGHbaConfigResponseBody} extends {@link TeaModel} * * <p>DescribePGHbaConfigResponseBody</p> */ public static class DefaultHbaItems extends TeaModel { @com.aliyun.core.annotation.NameInMap("HbaItem") private java.util.List<HbaItem> hbaItem; private DefaultHbaItems(Builder builder) { this.hbaItem = builder.hbaItem; } public static Builder builder() { return new Builder(); } public static DefaultHbaItems create() { return builder().build(); } /** * @return hbaItem */ public java.util.List<HbaItem> getHbaItem() { return this.hbaItem; } public static final class Builder { private java.util.List<HbaItem> hbaItem; private Builder() { } private Builder(DefaultHbaItems model) { this.hbaItem = model.hbaItem; } /** * HbaItem. */ public Builder hbaItem(java.util.List<HbaItem> hbaItem) { this.hbaItem = hbaItem; return this; } public DefaultHbaItems build() { return new DefaultHbaItems(this); } } } /** * * {@link DescribePGHbaConfigResponseBody} extends {@link TeaModel} * * <p>DescribePGHbaConfigResponseBody</p> */ public static class RunningHbaItemsHbaItem extends TeaModel { @com.aliyun.core.annotation.NameInMap("Address") private String address; @com.aliyun.core.annotation.NameInMap("Database") private String database; @com.aliyun.core.annotation.NameInMap("Mask") private String mask; @com.aliyun.core.annotation.NameInMap("Method") private String method; @com.aliyun.core.annotation.NameInMap("Option") private String option; @com.aliyun.core.annotation.NameInMap("PriorityId") private Integer priorityId; @com.aliyun.core.annotation.NameInMap("Type") private String type; @com.aliyun.core.annotation.NameInMap("User") private String user; private RunningHbaItemsHbaItem(Builder builder) { this.address = builder.address; this.database = builder.database; this.mask = builder.mask; this.method = builder.method; this.option = builder.option; this.priorityId = builder.priorityId; this.type = builder.type; this.user = builder.user; } public static Builder builder() { return new Builder(); } public static RunningHbaItemsHbaItem create() { return builder().build(); } /** * @return address */ public String getAddress() { return this.address; } /** * @return database */ public String getDatabase() { return this.database; } /** * @return mask */ public String getMask() { return this.mask; } /** * @return method */ public String getMethod() { return this.method; } /** * @return option */ public String getOption() { return this.option; } /** * @return priorityId */ public Integer getPriorityId() { return this.priorityId; } /** * @return type */ public String getType() { return this.type; } /** * @return user */ public String getUser() { return this.user; } public static final class Builder { private String address; private String database; private String mask; private String method; private String option; private Integer priorityId; private String type; private String user; private Builder() { } private Builder(RunningHbaItemsHbaItem model) { this.address = model.address; this.database = model.database; this.mask = model.mask; this.method = model.method; this.option = model.option; this.priorityId = model.priorityId; this.type = model.type; this.user = model.user; } /** * <p>The IP address of the client.</p> * * <strong>example:</strong> * <p>0.0.0.0/0</p> */ public Builder address(String address) { this.address = address; return this; } /** * <p>The name of the database.</p> * * <strong>example:</strong> * <p>all</p> */ public Builder database(String database) { this.database = database; return this; } /** * <p>The mask of the IP address.</p> * * <strong>example:</strong> * <p>null</p> */ public Builder mask(String mask) { this.mask = mask; return this; } /** * <p>The authentication method.</p> * * <strong>example:</strong> * <p>md5</p> */ public Builder method(String method) { this.method = method; return this; } /** * <p>The value of this parameter varies based on the value of the Method parameter. The value is fixed as null.</p> * * <strong>example:</strong> * <p>null</p> */ public Builder option(String option) { this.option = option; return this; } /** * <p>The priority.</p> * * <strong>example:</strong> * <p>3</p> */ public Builder priorityId(Integer priorityId) { this.priorityId = priorityId; return this; } /** * <p>The connection type. Valor:</p> * <ul> * <li><strong>host</strong>: The record matches TCP/IP connections, including SSL connections and non-SSL connections.</li> * <li><strong>hostssl</strong>: The record matches only TCP/IP connections that are established over SSL.</li> * <li><strong>hostnossl</strong>: The record matches only TCP/IP connections that are not established over SSL connections.</li> * </ul> * * <strong>example:</strong> * <p>host</p> */ public Builder type(String type) { this.type = type; return this; } /** * <p>The username of the account.</p> * * <strong>example:</strong> * <p>all</p> */ public Builder user(String user) { this.user = user; return this; } public RunningHbaItemsHbaItem build() { return new RunningHbaItemsHbaItem(this); } } } /** * * {@link DescribePGHbaConfigResponseBody} extends {@link TeaModel} * * <p>DescribePGHbaConfigResponseBody</p> */ public static class RunningHbaItems extends TeaModel { @com.aliyun.core.annotation.NameInMap("HbaItem") private java.util.List<RunningHbaItemsHbaItem> hbaItem; private RunningHbaItems(Builder builder) { this.hbaItem = builder.hbaItem; } public static Builder builder() { return new Builder(); } public static RunningHbaItems create() { return builder().build(); } /** * @return hbaItem */ public java.util.List<RunningHbaItemsHbaItem> getHbaItem() { return this.hbaItem; } public static final class Builder { private java.util.List<RunningHbaItemsHbaItem> hbaItem; private Builder() { } private Builder(RunningHbaItems model) { this.hbaItem = model.hbaItem; } /** * HbaItem. */ public Builder hbaItem(java.util.List<RunningHbaItemsHbaItem> hbaItem) { this.hbaItem = hbaItem; return this; } public RunningHbaItems build() { return new RunningHbaItems(this); } } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeParameterGroupRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeParameterGroupRequest} extends {@link RequestModel} * * <p>DescribeParameterGroupRequest</p> */ public class DescribeParameterGroupRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ParameterGroupId") @com.aliyun.core.annotation.Validation(required = true) private String parameterGroupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") @com.aliyun.core.annotation.Validation(required = true) private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount") private String resourceOwnerAccount; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerId") private Long resourceOwnerId; private DescribeParameterGroupRequest(Builder builder) { super(builder); this.ownerId = builder.ownerId; this.parameterGroupId = builder.parameterGroupId; this.regionId = builder.regionId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; } public static Builder builder() { return new Builder(); } public static DescribeParameterGroupRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return parameterGroupId */ public String getParameterGroupId() { return this.parameterGroupId; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return resourceOwnerAccount */ public String getResourceOwnerAccount() { return this.resourceOwnerAccount; } /** * @return resourceOwnerId */ public Long getResourceOwnerId() { return this.resourceOwnerId; } public static final class Builder extends Request.Builder<DescribeParameterGroupRequest, Builder> { private Long ownerId; private String parameterGroupId; private String regionId; private String resourceOwnerAccount; private Long resourceOwnerId; private Builder() { super(); } private Builder(DescribeParameterGroupRequest request) { super(request); this.ownerId = request.ownerId; this.parameterGroupId = request.parameterGroupId; this.regionId = request.regionId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * <p>The parameter template ID. You can call the DescribeParameterGroups operation to query the parameter template ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>rpg-dp****</p> */ public Builder parameterGroupId(String parameterGroupId) { this.putQueryParameter("ParameterGroupId", parameterGroupId); this.parameterGroupId = parameterGroupId; return this; } /** * <p>The region ID. You can call the DescribeRegions operation to query the most recent region list.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * ResourceOwnerAccount. */ public Builder resourceOwnerAccount(String resourceOwnerAccount) { this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount); this.resourceOwnerAccount = resourceOwnerAccount; return this; } /** * ResourceOwnerId. */ public Builder resourceOwnerId(Long resourceOwnerId) { this.putQueryParameter("ResourceOwnerId", resourceOwnerId); this.resourceOwnerId = resourceOwnerId; return this; } @Override public DescribeParameterGroupRequest build() { return new DescribeParameterGroupRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeParameterGroupResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeParameterGroupResponse} extends {@link TeaModel} * * <p>DescribeParameterGroupResponse</p> */ public class DescribeParameterGroupResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeParameterGroupResponseBody body; private DescribeParameterGroupResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeParameterGroupResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeParameterGroupResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeParameterGroupResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeParameterGroupResponseBody body); @Override DescribeParameterGroupResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeParameterGroupResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeParameterGroupResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeParameterGroupResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeParameterGroupResponseBody body) { this.body = body; return this; } @Override public DescribeParameterGroupResponse build() { return new DescribeParameterGroupResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeParameterGroupResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeParameterGroupResponseBody} extends {@link TeaModel} * * <p>DescribeParameterGroupResponseBody</p> */ public class DescribeParameterGroupResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("ParamGroup") private ParamGroup paramGroup; @com.aliyun.core.annotation.NameInMap("RelatedCustinsInfo") private RelatedCustinsInfo relatedCustinsInfo; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeParameterGroupResponseBody(Builder builder) { this.paramGroup = builder.paramGroup; this.relatedCustinsInfo = builder.relatedCustinsInfo; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeParameterGroupResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return paramGroup */ public ParamGroup getParamGroup() { return this.paramGroup; } /** * @return relatedCustinsInfo */ public RelatedCustinsInfo getRelatedCustinsInfo() { return this.relatedCustinsInfo; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private ParamGroup paramGroup; private RelatedCustinsInfo relatedCustinsInfo; private String requestId; private Builder() { } private Builder(DescribeParameterGroupResponseBody model) { this.paramGroup = model.paramGroup; this.relatedCustinsInfo = model.relatedCustinsInfo; this.requestId = model.requestId; } /** * <p>The information about the parameter template.</p> */ public Builder paramGroup(ParamGroup paramGroup) { this.paramGroup = paramGroup; return this; } /** * <p>The information about the instance to which the parameter template is applied.</p> * <blockquote> * <p> This parameter is available only for ApsaraDB RDS for PostgreSQL instances.</p> * </blockquote> */ public Builder relatedCustinsInfo(RelatedCustinsInfo relatedCustinsInfo) { this.relatedCustinsInfo = relatedCustinsInfo; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>498AE8CA-8C81-4A01-AF37-2B902014ED30</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeParameterGroupResponseBody build() { return new DescribeParameterGroupResponseBody(this); } } /** * * {@link DescribeParameterGroupResponseBody} extends {@link TeaModel} * * <p>DescribeParameterGroupResponseBody</p> */ public static class ParameterDetail extends TeaModel { @com.aliyun.core.annotation.NameInMap("ParamName") private String paramName; @com.aliyun.core.annotation.NameInMap("ParamValue") private String paramValue; private ParameterDetail(Builder builder) { this.paramName = builder.paramName; this.paramValue = builder.paramValue; } public static Builder builder() { return new Builder(); } public static ParameterDetail create() { return builder().build(); } /** * @return paramName */ public String getParamName() { return this.paramName; } /** * @return paramValue */ public String getParamValue() { return this.paramValue; } public static final class Builder { private String paramName; private String paramValue; private Builder() { } private Builder(ParameterDetail model) { this.paramName = model.paramName; this.paramValue = model.paramValue; } /** * <p>The name of the parameter.</p> * * <strong>example:</strong> * <p>back_log</p> */ public Builder paramName(String paramName) { this.paramName = paramName; return this; } /** * <p>The value of the parameter.</p> * * <strong>example:</strong> * <p>2000</p> */ public Builder paramValue(String paramValue) { this.paramValue = paramValue; return this; } public ParameterDetail build() { return new ParameterDetail(this); } } } /** * * {@link DescribeParameterGroupResponseBody} extends {@link TeaModel} * * <p>DescribeParameterGroupResponseBody</p> */ public static class ParamDetail extends TeaModel { @com.aliyun.core.annotation.NameInMap("ParameterDetail") private java.util.List<ParameterDetail> parameterDetail; private ParamDetail(Builder builder) { this.parameterDetail = builder.parameterDetail; } public static Builder builder() { return new Builder(); } public static ParamDetail create() { return builder().build(); } /** * @return parameterDetail */ public java.util.List<ParameterDetail> getParameterDetail() { return this.parameterDetail; } public static final class Builder { private java.util.List<ParameterDetail> parameterDetail; private Builder() { } private Builder(ParamDetail model) { this.parameterDetail = model.parameterDetail; } /** * ParameterDetail. */ public Builder parameterDetail(java.util.List<ParameterDetail> parameterDetail) { this.parameterDetail = parameterDetail; return this; } public ParamDetail build() { return new ParamDetail(this); } } } /** * * {@link DescribeParameterGroupResponseBody} extends {@link TeaModel} * * <p>DescribeParameterGroupResponseBody</p> */ public static class ParameterGroup extends TeaModel { @com.aliyun.core.annotation.NameInMap("CreateTime") private String createTime; @com.aliyun.core.annotation.NameInMap("Engine") private String engine; @com.aliyun.core.annotation.NameInMap("EngineVersion") private String engineVersion; @com.aliyun.core.annotation.NameInMap("ForceRestart") private Integer forceRestart; @com.aliyun.core.annotation.NameInMap("ParamCounts") private Integer paramCounts; @com.aliyun.core.annotation.NameInMap("ParamDetail") private ParamDetail paramDetail; @com.aliyun.core.annotation.NameInMap("ParameterGroupDesc") private String parameterGroupDesc; @com.aliyun.core.annotation.NameInMap("ParameterGroupId") private String parameterGroupId; @com.aliyun.core.annotation.NameInMap("ParameterGroupName") private String parameterGroupName; @com.aliyun.core.annotation.NameInMap("ParameterGroupType") private Integer parameterGroupType; @com.aliyun.core.annotation.NameInMap("UpdateTime") private String updateTime; private ParameterGroup(Builder builder) { this.createTime = builder.createTime; this.engine = builder.engine; this.engineVersion = builder.engineVersion; this.forceRestart = builder.forceRestart; this.paramCounts = builder.paramCounts; this.paramDetail = builder.paramDetail; this.parameterGroupDesc = builder.parameterGroupDesc; this.parameterGroupId = builder.parameterGroupId; this.parameterGroupName = builder.parameterGroupName; this.parameterGroupType = builder.parameterGroupType; this.updateTime = builder.updateTime; } public static Builder builder() { return new Builder(); } public static ParameterGroup create() { return builder().build(); } /** * @return createTime */ public String getCreateTime() { return this.createTime; } /** * @return engine */ public String getEngine() { return this.engine; } /** * @return engineVersion */ public String getEngineVersion() { return this.engineVersion; } /** * @return forceRestart */ public Integer getForceRestart() { return this.forceRestart; } /** * @return paramCounts */ public Integer getParamCounts() { return this.paramCounts; } /** * @return paramDetail */ public ParamDetail getParamDetail() { return this.paramDetail; } /** * @return parameterGroupDesc */ public String getParameterGroupDesc() { return this.parameterGroupDesc; } /** * @return parameterGroupId */ public String getParameterGroupId() { return this.parameterGroupId; } /** * @return parameterGroupName */ public String getParameterGroupName() { return this.parameterGroupName; } /** * @return parameterGroupType */ public Integer getParameterGroupType() { return this.parameterGroupType; } /** * @return updateTime */ public String getUpdateTime() { return this.updateTime; } public static final class Builder { private String createTime; private String engine; private String engineVersion; private Integer forceRestart; private Integer paramCounts; private ParamDetail paramDetail; private String parameterGroupDesc; private String parameterGroupId; private String parameterGroupName; private Integer parameterGroupType; private String updateTime; private Builder() { } private Builder(ParameterGroup model) { this.createTime = model.createTime; this.engine = model.engine; this.engineVersion = model.engineVersion; this.forceRestart = model.forceRestart; this.paramCounts = model.paramCounts; this.paramDetail = model.paramDetail; this.parameterGroupDesc = model.parameterGroupDesc; this.parameterGroupId = model.parameterGroupId; this.parameterGroupName = model.parameterGroupName; this.parameterGroupType = model.parameterGroupType; this.updateTime = model.updateTime; } /** * <p>The time when the parameter template was created.</p> * * <strong>example:</strong> * <p>2019-10-22T06:02:53Z</p> */ public Builder createTime(String createTime) { this.createTime = createTime; return this; } /** * <p>The database engine of the instance.</p> * * <strong>example:</strong> * <p>mysql</p> */ public Builder engine(String engine) { this.engine = engine; return this; } /** * <p>The database engine version of the instance.</p> * * <strong>example:</strong> * <p>5.6</p> */ public Builder engineVersion(String engineVersion) { this.engineVersion = engineVersion; return this; } /** * <p>Indicates whether the restart of an instance is required for the parameter template to take effect. Valid values:</p> * <ul> * <li><strong>0</strong>: A restart is not required.</li> * <li><strong>1</strong>: A restart is required.</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder forceRestart(Integer forceRestart) { this.forceRestart = forceRestart; return this; } /** * <p>The number of parameters in the parameter template.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder paramCounts(Integer paramCounts) { this.paramCounts = paramCounts; return this; } /** * <p>The details of the parameters.</p> */ public Builder paramDetail(ParamDetail paramDetail) { this.paramDetail = paramDetail; return this; } /** * <p>The description of the parameter template.</p> * * <strong>example:</strong> * <p>testGroup1</p> */ public Builder parameterGroupDesc(String parameterGroupDesc) { this.parameterGroupDesc = parameterGroupDesc; return this; } /** * <p>The ID of the parameter template.</p> * * <strong>example:</strong> * <p>rpg-dp****</p> */ public Builder parameterGroupId(String parameterGroupId) { this.parameterGroupId = parameterGroupId; return this; } /** * <p>The name of the parameter template.</p> * * <strong>example:</strong> * <p>test123456</p> */ public Builder parameterGroupName(String parameterGroupName) { this.parameterGroupName = parameterGroupName; return this; } /** * <p>The type of the parameter template. Valid values:</p> * <ul> * <li><strong>0</strong>: the default parameter template.</li> * <li><strong>1</strong>: a custom parameter template.</li> * <li><strong>2</strong>: an automatic backup parameter template. After you apply this type of template, the system automatically backs up the original parameter settings and saves the backup as a template.</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder parameterGroupType(Integer parameterGroupType) { this.parameterGroupType = parameterGroupType; return this; } /** * <p>The time when the parameter template was last updated. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time is displayed in UTC.</p> * * <strong>example:</strong> * <p>2019-10-22T06:07:54Z</p> */ public Builder updateTime(String updateTime) { this.updateTime = updateTime; return this; } public ParameterGroup build() { return new ParameterGroup(this); } } } /** * * {@link DescribeParameterGroupResponseBody} extends {@link TeaModel} * * <p>DescribeParameterGroupResponseBody</p> */ public static class ParamGroup extends TeaModel { @com.aliyun.core.annotation.NameInMap("ParameterGroup") private java.util.List<ParameterGroup> parameterGroup; private ParamGroup(Builder builder) { this.parameterGroup = builder.parameterGroup; } public static Builder builder() { return new Builder(); } public static ParamGroup create() { return builder().build(); } /** * @return parameterGroup */ public java.util.List<ParameterGroup> getParameterGroup() { return this.parameterGroup; } public static final class Builder { private java.util.List<ParameterGroup> parameterGroup; private Builder() { } private Builder(ParamGroup model) { this.parameterGroup = model.parameterGroup; } /** * ParameterGroup. */ public Builder parameterGroup(java.util.List<ParameterGroup> parameterGroup) { this.parameterGroup = parameterGroup; return this; } public ParamGroup build() { return new ParamGroup(this); } } } /** * * {@link DescribeParameterGroupResponseBody} extends {@link TeaModel} * * <p>DescribeParameterGroupResponseBody</p> */ public static class RelatedCustinsInfoRelatedCustinsInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("AppliedTime") private String appliedTime; @com.aliyun.core.annotation.NameInMap("DBInstanceName") private String DBInstanceName; private RelatedCustinsInfoRelatedCustinsInfo(Builder builder) { this.appliedTime = builder.appliedTime; this.DBInstanceName = builder.DBInstanceName; } public static Builder builder() { return new Builder(); } public static RelatedCustinsInfoRelatedCustinsInfo create() { return builder().build(); } /** * @return appliedTime */ public String getAppliedTime() { return this.appliedTime; } /** * @return DBInstanceName */ public String getDBInstanceName() { return this.DBInstanceName; } public static final class Builder { private String appliedTime; private String DBInstanceName; private Builder() { } private Builder(RelatedCustinsInfoRelatedCustinsInfo model) { this.appliedTime = model.appliedTime; this.DBInstanceName = model.DBInstanceName; } /** * <p>The time when the parameter template was applied.</p> * * <strong>example:</strong> * <p>2022-10-17T03:19:02Z</p> */ public Builder appliedTime(String appliedTime) { this.appliedTime = appliedTime; return this; } /** * <p>The instance ID.</p> * * <strong>example:</strong> * <p>rm-bp170****</p> */ public Builder DBInstanceName(String DBInstanceName) { this.DBInstanceName = DBInstanceName; return this; } public RelatedCustinsInfoRelatedCustinsInfo build() { return new RelatedCustinsInfoRelatedCustinsInfo(this); } } } /** * * {@link DescribeParameterGroupResponseBody} extends {@link TeaModel} * * <p>DescribeParameterGroupResponseBody</p> */ public static class RelatedCustinsInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("RelatedCustinsInfo") private java.util.List<RelatedCustinsInfoRelatedCustinsInfo> relatedCustinsInfo; private RelatedCustinsInfo(Builder builder) { this.relatedCustinsInfo = builder.relatedCustinsInfo; } public static Builder builder() { return new Builder(); } public static RelatedCustinsInfo create() { return builder().build(); } /** * @return relatedCustinsInfo */ public java.util.List<RelatedCustinsInfoRelatedCustinsInfo> getRelatedCustinsInfo() { return this.relatedCustinsInfo; } public static final class Builder { private java.util.List<RelatedCustinsInfoRelatedCustinsInfo> relatedCustinsInfo; private Builder() { } private Builder(RelatedCustinsInfo model) { this.relatedCustinsInfo = model.relatedCustinsInfo; } /** * <p>The information about the instance to which the parameter template is applied.</p> * <blockquote> * <p> This parameter is available only for ApsaraDB RDS for PostgreSQL instances.</p> * </blockquote> */ public Builder relatedCustinsInfo(java.util.List<RelatedCustinsInfoRelatedCustinsInfo> relatedCustinsInfo) { this.relatedCustinsInfo = relatedCustinsInfo; return this; } public RelatedCustinsInfo build() { return new RelatedCustinsInfo(this); } } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeParameterGroupsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeParameterGroupsRequest} extends {@link RequestModel} * * <p>DescribeParameterGroupsRequest</p> */ public class DescribeParameterGroupsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EnableDetail") private Boolean enableDetail; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") @com.aliyun.core.annotation.Validation(required = true) private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceGroupId") private String resourceGroupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount") private String resourceOwnerAccount; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerId") private Long resourceOwnerId; private DescribeParameterGroupsRequest(Builder builder) { super(builder); this.enableDetail = builder.enableDetail; this.ownerId = builder.ownerId; this.regionId = builder.regionId; this.resourceGroupId = builder.resourceGroupId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; } public static Builder builder() { return new Builder(); } public static DescribeParameterGroupsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return enableDetail */ public Boolean getEnableDetail() { return this.enableDetail; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return resourceGroupId */ public String getResourceGroupId() { return this.resourceGroupId; } /** * @return resourceOwnerAccount */ public String getResourceOwnerAccount() { return this.resourceOwnerAccount; } /** * @return resourceOwnerId */ public Long getResourceOwnerId() { return this.resourceOwnerId; } public static final class Builder extends Request.Builder<DescribeParameterGroupsRequest, Builder> { private Boolean enableDetail; private Long ownerId; private String regionId; private String resourceGroupId; private String resourceOwnerAccount; private Long resourceOwnerId; private Builder() { super(); } private Builder(DescribeParameterGroupsRequest request) { super(request); this.enableDetail = request.enableDetail; this.ownerId = request.ownerId; this.regionId = request.regionId; this.resourceGroupId = request.resourceGroupId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; } /** * <p>Specifies whether to return the parameter overview.</p> * <ul> * <li><strong>false</strong> (default): The parameter overview is returned.</li> * <li><strong>true</strong>: The parameter overview is not returned.</li> * </ul> * * <strong>example:</strong> * <p>false</p> */ public Builder enableDetail(Boolean enableDetail) { this.putQueryParameter("EnableDetail", enableDetail); this.enableDetail = enableDetail; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * <p>The region ID. You can call the DescribeRegions operation to query the most recent region list.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * <p>The ID of the resource group.</p> * * <strong>example:</strong> * <p>rg-acfmy****</p> */ public Builder resourceGroupId(String resourceGroupId) { this.putQueryParameter("ResourceGroupId", resourceGroupId); this.resourceGroupId = resourceGroupId; return this; } /** * ResourceOwnerAccount. */ public Builder resourceOwnerAccount(String resourceOwnerAccount) { this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount); this.resourceOwnerAccount = resourceOwnerAccount; return this; } /** * ResourceOwnerId. */ public Builder resourceOwnerId(Long resourceOwnerId) { this.putQueryParameter("ResourceOwnerId", resourceOwnerId); this.resourceOwnerId = resourceOwnerId; return this; } @Override public DescribeParameterGroupsRequest build() { return new DescribeParameterGroupsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeParameterGroupsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeParameterGroupsResponse} extends {@link TeaModel} * * <p>DescribeParameterGroupsResponse</p> */ public class DescribeParameterGroupsResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeParameterGroupsResponseBody body; private DescribeParameterGroupsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeParameterGroupsResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeParameterGroupsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeParameterGroupsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeParameterGroupsResponseBody body); @Override DescribeParameterGroupsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeParameterGroupsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeParameterGroupsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeParameterGroupsResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeParameterGroupsResponseBody body) { this.body = body; return this; } @Override public DescribeParameterGroupsResponse build() { return new DescribeParameterGroupsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeParameterGroupsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeParameterGroupsResponseBody} extends {@link TeaModel} * * <p>DescribeParameterGroupsResponseBody</p> */ public class DescribeParameterGroupsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("ParameterGroups") private ParameterGroups parameterGroups; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("SignalForOptimizeParams") private Boolean signalForOptimizeParams; private DescribeParameterGroupsResponseBody(Builder builder) { this.parameterGroups = builder.parameterGroups; this.requestId = builder.requestId; this.signalForOptimizeParams = builder.signalForOptimizeParams; } public static Builder builder() { return new Builder(); } public static DescribeParameterGroupsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return parameterGroups */ public ParameterGroups getParameterGroups() { return this.parameterGroups; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return signalForOptimizeParams */ public Boolean getSignalForOptimizeParams() { return this.signalForOptimizeParams; } public static final class Builder { private ParameterGroups parameterGroups; private String requestId; private Boolean signalForOptimizeParams; private Builder() { } private Builder(DescribeParameterGroupsResponseBody model) { this.parameterGroups = model.parameterGroups; this.requestId = model.requestId; this.signalForOptimizeParams = model.signalForOptimizeParams; } /** * <p>The details of the parameter templates.</p> */ public Builder parameterGroups(ParameterGroups parameterGroups) { this.parameterGroups = parameterGroups; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>D4A23265-C5B6-42E1-98A0-EFA1EB42E723</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Indicates whether parameter templates exist in the specified region. Valid values:</p> * <ul> * <li>true</li> * <li>false<blockquote> * <p>Notice: This parameter is deprecated.</p> * </blockquote> * </li> * </ul> * * <strong>example:</strong> * <p>false</p> */ public Builder signalForOptimizeParams(Boolean signalForOptimizeParams) { this.signalForOptimizeParams = signalForOptimizeParams; return this; } public DescribeParameterGroupsResponseBody build() { return new DescribeParameterGroupsResponseBody(this); } } /** * * {@link DescribeParameterGroupsResponseBody} extends {@link TeaModel} * * <p>DescribeParameterGroupsResponseBody</p> */ public static class ParameterGroup extends TeaModel { @com.aliyun.core.annotation.NameInMap("CreateTime") private String createTime; @com.aliyun.core.annotation.NameInMap("Engine") private String engine; @com.aliyun.core.annotation.NameInMap("EngineVersion") private String engineVersion; @com.aliyun.core.annotation.NameInMap("ForceRestart") private Integer forceRestart; @com.aliyun.core.annotation.NameInMap("ParamCounts") private Integer paramCounts; @com.aliyun.core.annotation.NameInMap("ParameterGroupDesc") private String parameterGroupDesc; @com.aliyun.core.annotation.NameInMap("ParameterGroupId") private String parameterGroupId; @com.aliyun.core.annotation.NameInMap("ParameterGroupName") private String parameterGroupName; @com.aliyun.core.annotation.NameInMap("ParameterGroupType") private Integer parameterGroupType; @com.aliyun.core.annotation.NameInMap("UpdateTime") private String updateTime; private ParameterGroup(Builder builder) { this.createTime = builder.createTime; this.engine = builder.engine; this.engineVersion = builder.engineVersion; this.forceRestart = builder.forceRestart; this.paramCounts = builder.paramCounts; this.parameterGroupDesc = builder.parameterGroupDesc; this.parameterGroupId = builder.parameterGroupId; this.parameterGroupName = builder.parameterGroupName; this.parameterGroupType = builder.parameterGroupType; this.updateTime = builder.updateTime; } public static Builder builder() { return new Builder(); } public static ParameterGroup create() { return builder().build(); } /** * @return createTime */ public String getCreateTime() { return this.createTime; } /** * @return engine */ public String getEngine() { return this.engine; } /** * @return engineVersion */ public String getEngineVersion() { return this.engineVersion; } /** * @return forceRestart */ public Integer getForceRestart() { return this.forceRestart; } /** * @return paramCounts */ public Integer getParamCounts() { return this.paramCounts; } /** * @return parameterGroupDesc */ public String getParameterGroupDesc() { return this.parameterGroupDesc; } /** * @return parameterGroupId */ public String getParameterGroupId() { return this.parameterGroupId; } /** * @return parameterGroupName */ public String getParameterGroupName() { return this.parameterGroupName; } /** * @return parameterGroupType */ public Integer getParameterGroupType() { return this.parameterGroupType; } /** * @return updateTime */ public String getUpdateTime() { return this.updateTime; } public static final class Builder { private String createTime; private String engine; private String engineVersion; private Integer forceRestart; private Integer paramCounts; private String parameterGroupDesc; private String parameterGroupId; private String parameterGroupName; private Integer parameterGroupType; private String updateTime; private Builder() { } private Builder(ParameterGroup model) { this.createTime = model.createTime; this.engine = model.engine; this.engineVersion = model.engineVersion; this.forceRestart = model.forceRestart; this.paramCounts = model.paramCounts; this.parameterGroupDesc = model.parameterGroupDesc; this.parameterGroupId = model.parameterGroupId; this.parameterGroupName = model.parameterGroupName; this.parameterGroupType = model.parameterGroupType; this.updateTime = model.updateTime; } /** * <p>The time when the parameter template was created. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.</p> * * <strong>example:</strong> * <p>2019-11-21T01:48:39Z</p> */ public Builder createTime(String createTime) { this.createTime = createTime; return this; } /** * <p>The database engine of the instance.</p> * * <strong>example:</strong> * <p>mysql</p> */ public Builder engine(String engine) { this.engine = engine; return this; } /** * <p>The database engine version.</p> * * <strong>example:</strong> * <p>5.7</p> */ public Builder engineVersion(String engineVersion) { this.engineVersion = engineVersion; return this; } /** * <p>Indicates whether the restart of an instance is required for the parameter template to take effect. Valid values:</p> * <ul> * <li>0: A restart is not required.</li> * <li>1: A restart is required.</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder forceRestart(Integer forceRestart) { this.forceRestart = forceRestart; return this; } /** * <p>The number of parameters in the parameter template.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder paramCounts(Integer paramCounts) { this.paramCounts = paramCounts; return this; } /** * <p>The type of the parameter template. Valid values:</p> * <ul> * <li>0: the default parameter template.</li> * <li>1: a custom parameter template.</li> * <li>2: an automatic backup parameter template. After you apply this type of template, the system automatically backs up the original parameter settings and saves the backup as a template.</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder parameterGroupDesc(String parameterGroupDesc) { this.parameterGroupDesc = parameterGroupDesc; return this; } /** * <p>The ID of the parameter template.</p> * * <strong>example:</strong> * <p>rpg-****</p> */ public Builder parameterGroupId(String parameterGroupId) { this.parameterGroupId = parameterGroupId; return this; } /** * <p>The name of the parameter template.</p> * * <strong>example:</strong> * <p>test1234</p> */ public Builder parameterGroupName(String parameterGroupName) { this.parameterGroupName = parameterGroupName; return this; } /** * <p>The type of the parameter template. Valid values:</p> * <ul> * <li>0: the default parameter template.</li> * <li>1: a custom parameter template.</li> * <li>2: an automatic backup parameter template. After you apply this type of template, the system automatically backs up the original parameter settings and saves the backup as a template.</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder parameterGroupType(Integer parameterGroupType) { this.parameterGroupType = parameterGroupType; return this; } /** * <p>The time when the parameter template was last updated. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.</p> * * <strong>example:</strong> * <p>2019-11-21T02:21:35Z</p> */ public Builder updateTime(String updateTime) { this.updateTime = updateTime; return this; } public ParameterGroup build() { return new ParameterGroup(this); } } } /** * * {@link DescribeParameterGroupsResponseBody} extends {@link TeaModel} * * <p>DescribeParameterGroupsResponseBody</p> */ public static class ParameterGroups extends TeaModel { @com.aliyun.core.annotation.NameInMap("ParameterGroup") private java.util.List<ParameterGroup> parameterGroup; private ParameterGroups(Builder builder) { this.parameterGroup = builder.parameterGroup; } public static Builder builder() { return new Builder(); } public static ParameterGroups create() { return builder().build(); } /** * @return parameterGroup */ public java.util.List<ParameterGroup> getParameterGroup() { return this.parameterGroup; } public static final class Builder { private java.util.List<ParameterGroup> parameterGroup; private Builder() { } private Builder(ParameterGroups model) { this.parameterGroup = model.parameterGroup; } /** * ParameterGroup. */ public Builder parameterGroup(java.util.List<ParameterGroup> parameterGroup) { this.parameterGroup = parameterGroup; return this; } public ParameterGroups build() { return new ParameterGroups(this); } } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeParameterTemplatesRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeParameterTemplatesRequest} extends {@link RequestModel} * * <p>DescribeParameterTemplatesRequest</p> */ public class DescribeParameterTemplatesRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Category") private String category; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ClientToken") private String clientToken; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DBInstanceId") private String DBInstanceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Engine") @com.aliyun.core.annotation.Validation(required = true) private String engine; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EngineVersion") @com.aliyun.core.annotation.Validation(required = true) private String engineVersion; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerAccount") private String ownerAccount; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount") private String resourceOwnerAccount; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerId") private Long resourceOwnerId; private DescribeParameterTemplatesRequest(Builder builder) { super(builder); this.category = builder.category; this.clientToken = builder.clientToken; this.DBInstanceId = builder.DBInstanceId; this.engine = builder.engine; this.engineVersion = builder.engineVersion; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.regionId = builder.regionId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; } public static Builder builder() { return new Builder(); } public static DescribeParameterTemplatesRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return category */ public String getCategory() { return this.category; } /** * @return clientToken */ public String getClientToken() { return this.clientToken; } /** * @return DBInstanceId */ public String getDBInstanceId() { return this.DBInstanceId; } /** * @return engine */ public String getEngine() { return this.engine; } /** * @return engineVersion */ public String getEngineVersion() { return this.engineVersion; } /** * @return ownerAccount */ public String getOwnerAccount() { return this.ownerAccount; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return resourceOwnerAccount */ public String getResourceOwnerAccount() { return this.resourceOwnerAccount; } /** * @return resourceOwnerId */ public Long getResourceOwnerId() { return this.resourceOwnerId; } public static final class Builder extends Request.Builder<DescribeParameterTemplatesRequest, Builder> { private String category; private String clientToken; private String DBInstanceId; private String engine; private String engineVersion; private String ownerAccount; private Long ownerId; private String regionId; private String resourceOwnerAccount; private Long resourceOwnerId; private Builder() { super(); } private Builder(DescribeParameterTemplatesRequest request) { super(request); this.category = request.category; this.clientToken = request.clientToken; this.DBInstanceId = request.DBInstanceId; this.engine = request.engine; this.engineVersion = request.engineVersion; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.regionId = request.regionId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; } /** * <p>The RDS edition of the instance. Valid values:</p> * <ul> * <li><strong>Basic</strong>: RDS Basic Edition</li> * <li><strong>HighAvailability</strong>: RDS High-availability Edition</li> * <li><strong>Finance</strong>: RDS Enterprise Edition</li> * </ul> * * <strong>example:</strong> * <p>Basic</p> */ public Builder category(String category) { this.putQueryParameter("Category", category); this.category = category; return this; } /** * <p>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.</p> * * <strong>example:</strong> * <p>ETnLKlblzczshOTUbOCzxxxxxxx</p> */ public Builder clientToken(String clientToken) { this.putQueryParameter("ClientToken", clientToken); this.clientToken = clientToken; return this; } /** * <p>The instance ID.</p> * * <strong>example:</strong> * <p>rm-bp1imnm**********</p> */ public Builder DBInstanceId(String DBInstanceId) { this.putQueryParameter("DBInstanceId", DBInstanceId); this.DBInstanceId = DBInstanceId; return this; } /** * <p>The database engine of the instance. Valid values:</p> * <ul> * <li><strong>mysql</strong>: MySQL</li> * <li><strong>mssql</strong>: SQL Server</li> * <li><strong>PostgreSQL</strong>: PostgreSQL</li> * <li><strong>MariaDB</strong>: MariaDB</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>mysql</p> */ public Builder engine(String engine) { this.putQueryParameter("Engine", engine); this.engine = engine; return this; } /** * <p>The version of the database engine. Valid values:</p> * <ul> * <li>Valid values when you set the Engine parameter to mysql: <strong>5.5, 5.6, 5.7, and 8.0</strong>.</li> * <li>Valid values when you set the Engine parameter to mssql: <strong>2008r2</strong>.</li> * <li>Valid values when you set the Engine parameter to PostgreSQL: <strong>10.0, 11.0, 12.0, 13.0, 14.0, and 15.0</strong>.</li> * <li>Valid values when you set the Engine parameter to MariaDB: <strong>10.3</strong>.</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>8.0</p> */ public Builder engineVersion(String engineVersion) { this.putQueryParameter("EngineVersion", engineVersion); this.engineVersion = engineVersion; return this; } /** * OwnerAccount. */ public Builder ownerAccount(String ownerAccount) { this.putQueryParameter("OwnerAccount", ownerAccount); this.ownerAccount = ownerAccount; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * <p>The region ID. You can call the DescribeRegions operation to query the most recent region list.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * ResourceOwnerAccount. */ public Builder resourceOwnerAccount(String resourceOwnerAccount) { this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount); this.resourceOwnerAccount = resourceOwnerAccount; return this; } /** * ResourceOwnerId. */ public Builder resourceOwnerId(Long resourceOwnerId) { this.putQueryParameter("ResourceOwnerId", resourceOwnerId); this.resourceOwnerId = resourceOwnerId; return this; } @Override public DescribeParameterTemplatesRequest build() { return new DescribeParameterTemplatesRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeParameterTemplatesResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeParameterTemplatesResponse} extends {@link TeaModel} * * <p>DescribeParameterTemplatesResponse</p> */ public class DescribeParameterTemplatesResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeParameterTemplatesResponseBody body; private DescribeParameterTemplatesResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeParameterTemplatesResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeParameterTemplatesResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeParameterTemplatesResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeParameterTemplatesResponseBody body); @Override DescribeParameterTemplatesResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeParameterTemplatesResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeParameterTemplatesResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeParameterTemplatesResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeParameterTemplatesResponseBody body) { this.body = body; return this; } @Override public DescribeParameterTemplatesResponse build() { return new DescribeParameterTemplatesResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeParameterTemplatesResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeParameterTemplatesResponseBody} extends {@link TeaModel} * * <p>DescribeParameterTemplatesResponseBody</p> */ public class DescribeParameterTemplatesResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Engine") private String engine; @com.aliyun.core.annotation.NameInMap("EngineVersion") private String engineVersion; @com.aliyun.core.annotation.NameInMap("ParameterCount") private String parameterCount; @com.aliyun.core.annotation.NameInMap("Parameters") private Parameters parameters; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeParameterTemplatesResponseBody(Builder builder) { this.engine = builder.engine; this.engineVersion = builder.engineVersion; this.parameterCount = builder.parameterCount; this.parameters = builder.parameters; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeParameterTemplatesResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return engine */ public String getEngine() { return this.engine; } /** * @return engineVersion */ public String getEngineVersion() { return this.engineVersion; } /** * @return parameterCount */ public String getParameterCount() { return this.parameterCount; } /** * @return parameters */ public Parameters getParameters() { return this.parameters; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String engine; private String engineVersion; private String parameterCount; private Parameters parameters; private String requestId; private Builder() { } private Builder(DescribeParameterTemplatesResponseBody model) { this.engine = model.engine; this.engineVersion = model.engineVersion; this.parameterCount = model.parameterCount; this.parameters = model.parameters; this.requestId = model.requestId; } /** * <p>The database engine of the instance.</p> * * <strong>example:</strong> * <p>mysql</p> */ public Builder engine(String engine) { this.engine = engine; return this; } /** * <p>The version of the database engine.</p> * * <strong>example:</strong> * <p>8.0</p> */ public Builder engineVersion(String engineVersion) { this.engineVersion = engineVersion; return this; } /** * <p>The number of parameters.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder parameterCount(String parameterCount) { this.parameterCount = parameterCount; return this; } /** * <p>The details of the parameters.</p> */ public Builder parameters(Parameters parameters) { this.parameters = parameters; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>0F9B7410-EC73-510C-B385-8339455C12C6</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeParameterTemplatesResponseBody build() { return new DescribeParameterTemplatesResponseBody(this); } } /** * * {@link DescribeParameterTemplatesResponseBody} extends {@link TeaModel} * * <p>DescribeParameterTemplatesResponseBody</p> */ public static class TemplateRecord extends TeaModel { @com.aliyun.core.annotation.NameInMap("CheckingCode") private String checkingCode; @com.aliyun.core.annotation.NameInMap("ForceModify") private String forceModify; @com.aliyun.core.annotation.NameInMap("ForceRestart") private String forceRestart; @com.aliyun.core.annotation.NameInMap("ParameterDescription") private String parameterDescription; @com.aliyun.core.annotation.NameInMap("ParameterName") private String parameterName; @com.aliyun.core.annotation.NameInMap("ParameterValue") private String parameterValue; private TemplateRecord(Builder builder) { this.checkingCode = builder.checkingCode; this.forceModify = builder.forceModify; this.forceRestart = builder.forceRestart; this.parameterDescription = builder.parameterDescription; this.parameterName = builder.parameterName; this.parameterValue = builder.parameterValue; } public static Builder builder() { return new Builder(); } public static TemplateRecord create() { return builder().build(); } /** * @return checkingCode */ public String getCheckingCode() { return this.checkingCode; } /** * @return forceModify */ public String getForceModify() { return this.forceModify; } /** * @return forceRestart */ public String getForceRestart() { return this.forceRestart; } /** * @return parameterDescription */ public String getParameterDescription() { return this.parameterDescription; } /** * @return parameterName */ public String getParameterName() { return this.parameterName; } /** * @return parameterValue */ public String getParameterValue() { return this.parameterValue; } public static final class Builder { private String checkingCode; private String forceModify; private String forceRestart; private String parameterDescription; private String parameterName; private String parameterValue; private Builder() { } private Builder(TemplateRecord model) { this.checkingCode = model.checkingCode; this.forceModify = model.forceModify; this.forceRestart = model.forceRestart; this.parameterDescription = model.parameterDescription; this.parameterName = model.parameterName; this.parameterValue = model.parameterValue; } /** * <p>The valid values of the parameter.</p> * * <strong>example:</strong> * <p>[0-1024]</p> */ public Builder checkingCode(String checkingCode) { this.checkingCode = checkingCode; return this; } /** * <p>Indicates whether the parameter can be modified. Valid values:</p> * <ul> * <li><strong>true</strong></li> * <li><strong>false</strong></li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder forceModify(String forceModify) { this.forceModify = forceModify; return this; } /** * <p>Indicates whether you must restart the instance for the modifications to take effect. Valid values:</p> * <ul> * <li><strong>true</strong></li> * <li><strong>false</strong></li> * </ul> * * <strong>example:</strong> * <p>false</p> */ public Builder forceRestart(String forceRestart) { this.forceRestart = forceRestart; return this; } /** * <p>The description of the parameter.</p> * * <strong>example:</strong> * <p>Page numbers of multi blocks reading once in some ddl query.</p> */ public Builder parameterDescription(String parameterDescription) { this.parameterDescription = parameterDescription; return this; } /** * <p>The name of the parameter.</p> * * <strong>example:</strong> * <p>loose_multi_blocks_ddl_count</p> */ public Builder parameterName(String parameterName) { this.parameterName = parameterName; return this; } /** * <p>The default value of the parameter.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder parameterValue(String parameterValue) { this.parameterValue = parameterValue; return this; } public TemplateRecord build() { return new TemplateRecord(this); } } } /** * * {@link DescribeParameterTemplatesResponseBody} extends {@link TeaModel} * * <p>DescribeParameterTemplatesResponseBody</p> */ public static class Parameters extends TeaModel { @com.aliyun.core.annotation.NameInMap("TemplateRecord") private java.util.List<TemplateRecord> templateRecord; private Parameters(Builder builder) { this.templateRecord = builder.templateRecord; } public static Builder builder() { return new Builder(); } public static Parameters create() { return builder().build(); } /** * @return templateRecord */ public java.util.List<TemplateRecord> getTemplateRecord() { return this.templateRecord; } public static final class Builder { private java.util.List<TemplateRecord> templateRecord; private Builder() { } private Builder(Parameters model) { this.templateRecord = model.templateRecord; } /** * TemplateRecord. */ public Builder templateRecord(java.util.List<TemplateRecord> templateRecord) { this.templateRecord = templateRecord; return this; } public Parameters build() { return new Parameters(this); } } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeParametersRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeParametersRequest} extends {@link RequestModel} * * <p>DescribeParametersRequest</p> */ public class DescribeParametersRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ClientToken") private String clientToken; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DBInstanceId") @com.aliyun.core.annotation.Validation(required = true) private String DBInstanceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerAccount") private String ownerAccount; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount") private String resourceOwnerAccount; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerId") private Long resourceOwnerId; private DescribeParametersRequest(Builder builder) { super(builder); this.clientToken = builder.clientToken; this.DBInstanceId = builder.DBInstanceId; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; } public static Builder builder() { return new Builder(); } public static DescribeParametersRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return clientToken */ public String getClientToken() { return this.clientToken; } /** * @return DBInstanceId */ public String getDBInstanceId() { return this.DBInstanceId; } /** * @return ownerAccount */ public String getOwnerAccount() { return this.ownerAccount; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return resourceOwnerAccount */ public String getResourceOwnerAccount() { return this.resourceOwnerAccount; } /** * @return resourceOwnerId */ public Long getResourceOwnerId() { return this.resourceOwnerId; } public static final class Builder extends Request.Builder<DescribeParametersRequest, Builder> { private String clientToken; private String DBInstanceId; private String ownerAccount; private Long ownerId; private String resourceOwnerAccount; private Long resourceOwnerId; private Builder() { super(); } private Builder(DescribeParametersRequest request) { super(request); this.clientToken = request.clientToken; this.DBInstanceId = request.DBInstanceId; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; } /** * <p>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.</p> * * <strong>example:</strong> * <p>ETnLKlblzczshOTUbOCzxxxxx</p> */ public Builder clientToken(String clientToken) { this.putQueryParameter("ClientToken", clientToken); this.clientToken = clientToken; return this; } /** * <p>The instance ID. You can call the DescribeDBInstances operation to query the instance ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>rm-uf6wjk5xxxxxxx</p> */ public Builder DBInstanceId(String DBInstanceId) { this.putQueryParameter("DBInstanceId", DBInstanceId); this.DBInstanceId = DBInstanceId; return this; } /** * OwnerAccount. */ public Builder ownerAccount(String ownerAccount) { this.putQueryParameter("OwnerAccount", ownerAccount); this.ownerAccount = ownerAccount; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * ResourceOwnerAccount. */ public Builder resourceOwnerAccount(String resourceOwnerAccount) { this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount); this.resourceOwnerAccount = resourceOwnerAccount; return this; } /** * ResourceOwnerId. */ public Builder resourceOwnerId(Long resourceOwnerId) { this.putQueryParameter("ResourceOwnerId", resourceOwnerId); this.resourceOwnerId = resourceOwnerId; return this; } @Override public DescribeParametersRequest build() { return new DescribeParametersRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeParametersResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeParametersResponse} extends {@link TeaModel} * * <p>DescribeParametersResponse</p> */ public class DescribeParametersResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeParametersResponseBody body; private DescribeParametersResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeParametersResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeParametersResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeParametersResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeParametersResponseBody body); @Override DescribeParametersResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeParametersResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeParametersResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeParametersResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeParametersResponseBody body) { this.body = body; return this; } @Override public DescribeParametersResponse build() { return new DescribeParametersResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeParametersResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeParametersResponseBody} extends {@link TeaModel} * * <p>DescribeParametersResponseBody</p> */ public class DescribeParametersResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("ConfigParameters") private ConfigParameters configParameters; @com.aliyun.core.annotation.NameInMap("Engine") private String engine; @com.aliyun.core.annotation.NameInMap("EngineVersion") private String engineVersion; @com.aliyun.core.annotation.NameInMap("ParamGroupInfo") private ParamGroupInfo paramGroupInfo; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("RunningParameters") private RunningParameters runningParameters; private DescribeParametersResponseBody(Builder builder) { this.configParameters = builder.configParameters; this.engine = builder.engine; this.engineVersion = builder.engineVersion; this.paramGroupInfo = builder.paramGroupInfo; this.requestId = builder.requestId; this.runningParameters = builder.runningParameters; } public static Builder builder() { return new Builder(); } public static DescribeParametersResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return configParameters */ public ConfigParameters getConfigParameters() { return this.configParameters; } /** * @return engine */ public String getEngine() { return this.engine; } /** * @return engineVersion */ public String getEngineVersion() { return this.engineVersion; } /** * @return paramGroupInfo */ public ParamGroupInfo getParamGroupInfo() { return this.paramGroupInfo; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return runningParameters */ public RunningParameters getRunningParameters() { return this.runningParameters; } public static final class Builder { private ConfigParameters configParameters; private String engine; private String engineVersion; private ParamGroupInfo paramGroupInfo; private String requestId; private RunningParameters runningParameters; private Builder() { } private Builder(DescribeParametersResponseBody model) { this.configParameters = model.configParameters; this.engine = model.engine; this.engineVersion = model.engineVersion; this.paramGroupInfo = model.paramGroupInfo; this.requestId = model.requestId; this.runningParameters = model.runningParameters; } /** * <p>The list of parameters that are being synchronized.</p> * <blockquote> * <p>After you modify and submit the parameters, you must wait for the parameters to be synchronized to the instance. After the synchronization, you can delete the parameters from the list.</p> * </blockquote> */ public Builder configParameters(ConfigParameters configParameters) { this.configParameters = configParameters; return this; } /** * <p>The type of the database engine.</p> * * <strong>example:</strong> * <p>MySQL</p> */ public Builder engine(String engine) { this.engine = engine; return this; } /** * <p>The version of the database engine.</p> * * <strong>example:</strong> * <p>5.5</p> */ public Builder engineVersion(String engineVersion) { this.engineVersion = engineVersion; return this; } /** * <p>The information about the parameter template.</p> */ public Builder paramGroupInfo(ParamGroupInfo paramGroupInfo) { this.paramGroupInfo = paramGroupInfo; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>1AD222E9-E606-4A42-BF6D-8A4442913CEF</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The parameters that are in use.</p> */ public Builder runningParameters(RunningParameters runningParameters) { this.runningParameters = runningParameters; return this; } public DescribeParametersResponseBody build() { return new DescribeParametersResponseBody(this); } } /** * * {@link DescribeParametersResponseBody} extends {@link TeaModel} * * <p>DescribeParametersResponseBody</p> */ public static class DBInstanceParameter extends TeaModel { @com.aliyun.core.annotation.NameInMap("ParameterDescription") private String parameterDescription; @com.aliyun.core.annotation.NameInMap("ParameterName") private String parameterName; @com.aliyun.core.annotation.NameInMap("ParameterValue") private String parameterValue; private DBInstanceParameter(Builder builder) { this.parameterDescription = builder.parameterDescription; this.parameterName = builder.parameterName; this.parameterValue = builder.parameterValue; } public static Builder builder() { return new Builder(); } public static DBInstanceParameter create() { return builder().build(); } /** * @return parameterDescription */ public String getParameterDescription() { return this.parameterDescription; } /** * @return parameterName */ public String getParameterName() { return this.parameterName; } /** * @return parameterValue */ public String getParameterValue() { return this.parameterValue; } public static final class Builder { private String parameterDescription; private String parameterName; private String parameterValue; private Builder() { } private Builder(DBInstanceParameter model) { this.parameterDescription = model.parameterDescription; this.parameterName = model.parameterName; this.parameterValue = model.parameterValue; } /** * <p>The description of the parameter.</p> * * <strong>example:</strong> * <p>This parameter sets the default fill factor value at the server scope. A fill factor is provided to optimize index data storage and performance.</p> */ public Builder parameterDescription(String parameterDescription) { this.parameterDescription = parameterDescription; return this; } /** * <p>The name of the parameter.</p> * * <strong>example:</strong> * <p>fill factor</p> */ public Builder parameterName(String parameterName) { this.parameterName = parameterName; return this; } /** * <p>The value of the parameter.</p> * * <strong>example:</strong> * <p>50</p> */ public Builder parameterValue(String parameterValue) { this.parameterValue = parameterValue; return this; } public DBInstanceParameter build() { return new DBInstanceParameter(this); } } } /** * * {@link DescribeParametersResponseBody} extends {@link TeaModel} * * <p>DescribeParametersResponseBody</p> */ public static class ConfigParameters extends TeaModel { @com.aliyun.core.annotation.NameInMap("DBInstanceParameter") private java.util.List<DBInstanceParameter> DBInstanceParameter; private ConfigParameters(Builder builder) { this.DBInstanceParameter = builder.DBInstanceParameter; } public static Builder builder() { return new Builder(); } public static ConfigParameters create() { return builder().build(); } /** * @return DBInstanceParameter */ public java.util.List<DBInstanceParameter> getDBInstanceParameter() { return this.DBInstanceParameter; } public static final class Builder { private java.util.List<DBInstanceParameter> DBInstanceParameter; private Builder() { } private Builder(ConfigParameters model) { this.DBInstanceParameter = model.DBInstanceParameter; } /** * DBInstanceParameter. */ public Builder DBInstanceParameter(java.util.List<DBInstanceParameter> DBInstanceParameter) { this.DBInstanceParameter = DBInstanceParameter; return this; } public ConfigParameters build() { return new ConfigParameters(this); } } } /** * * {@link DescribeParametersResponseBody} extends {@link TeaModel} * * <p>DescribeParametersResponseBody</p> */ public static class ParamGroupInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("ParamGroupId") private String paramGroupId; @com.aliyun.core.annotation.NameInMap("ParameterGroupDesc") private String parameterGroupDesc; @com.aliyun.core.annotation.NameInMap("ParameterGroupName") private String parameterGroupName; @com.aliyun.core.annotation.NameInMap("ParameterGroupType") private String parameterGroupType; private ParamGroupInfo(Builder builder) { this.paramGroupId = builder.paramGroupId; this.parameterGroupDesc = builder.parameterGroupDesc; this.parameterGroupName = builder.parameterGroupName; this.parameterGroupType = builder.parameterGroupType; } public static Builder builder() { return new Builder(); } public static ParamGroupInfo create() { return builder().build(); } /** * @return paramGroupId */ public String getParamGroupId() { return this.paramGroupId; } /** * @return parameterGroupDesc */ public String getParameterGroupDesc() { return this.parameterGroupDesc; } /** * @return parameterGroupName */ public String getParameterGroupName() { return this.parameterGroupName; } /** * @return parameterGroupType */ public String getParameterGroupType() { return this.parameterGroupType; } public static final class Builder { private String paramGroupId; private String parameterGroupDesc; private String parameterGroupName; private String parameterGroupType; private Builder() { } private Builder(ParamGroupInfo model) { this.paramGroupId = model.paramGroupId; this.parameterGroupDesc = model.parameterGroupDesc; this.parameterGroupName = model.parameterGroupName; this.parameterGroupType = model.parameterGroupType; } /** * <p>The ID of the parameter template.</p> * * <strong>example:</strong> * <p>rpg-sys-01040401010200</p> */ public Builder paramGroupId(String paramGroupId) { this.paramGroupId = paramGroupId; return this; } /** * <p>The description of the parameter template.</p> * * <strong>example:</strong> * <p>sync_binlog=1000, innodb_flush_log_at_trx_commit=2, async</p> */ public Builder parameterGroupDesc(String parameterGroupDesc) { this.parameterGroupDesc = parameterGroupDesc; return this; } /** * <p>The name of the parameter template.</p> * * <strong>example:</strong> * <p>mysql_innodb_8.0_basic_normal_high</p> */ public Builder parameterGroupName(String parameterGroupName) { this.parameterGroupName = parameterGroupName; return this; } /** * <p>The type of the parameter template.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder parameterGroupType(String parameterGroupType) { this.parameterGroupType = parameterGroupType; return this; } public ParamGroupInfo build() { return new ParamGroupInfo(this); } } } /** * * {@link DescribeParametersResponseBody} extends {@link TeaModel} * * <p>DescribeParametersResponseBody</p> */ public static class RunningParametersDBInstanceParameter extends TeaModel { @com.aliyun.core.annotation.NameInMap("ParameterDefaultValue") private String parameterDefaultValue; @com.aliyun.core.annotation.NameInMap("ParameterDescription") private String parameterDescription; @com.aliyun.core.annotation.NameInMap("ParameterName") private String parameterName; @com.aliyun.core.annotation.NameInMap("ParameterValue") private String parameterValue; @com.aliyun.core.annotation.NameInMap("ParameterValueRange") private String parameterValueRange; private RunningParametersDBInstanceParameter(Builder builder) { this.parameterDefaultValue = builder.parameterDefaultValue; this.parameterDescription = builder.parameterDescription; this.parameterName = builder.parameterName; this.parameterValue = builder.parameterValue; this.parameterValueRange = builder.parameterValueRange; } public static Builder builder() { return new Builder(); } public static RunningParametersDBInstanceParameter create() { return builder().build(); } /** * @return parameterDefaultValue */ public String getParameterDefaultValue() { return this.parameterDefaultValue; } /** * @return parameterDescription */ public String getParameterDescription() { return this.parameterDescription; } /** * @return parameterName */ public String getParameterName() { return this.parameterName; } /** * @return parameterValue */ public String getParameterValue() { return this.parameterValue; } /** * @return parameterValueRange */ public String getParameterValueRange() { return this.parameterValueRange; } public static final class Builder { private String parameterDefaultValue; private String parameterDescription; private String parameterName; private String parameterValue; private String parameterValueRange; private Builder() { } private Builder(RunningParametersDBInstanceParameter model) { this.parameterDefaultValue = model.parameterDefaultValue; this.parameterDescription = model.parameterDescription; this.parameterName = model.parameterName; this.parameterValue = model.parameterValue; this.parameterValueRange = model.parameterValueRange; } /** * <p>The default value of the parameter.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder parameterDefaultValue(String parameterDefaultValue) { this.parameterDefaultValue = parameterDefaultValue; return this; } /** * <p>The description of the parameter.</p> * * <strong>example:</strong> * <p>This parameter sets the default fill factor value at the server scope. A fill factor is provided to optimize index data storage and performance.</p> */ public Builder parameterDescription(String parameterDescription) { this.parameterDescription = parameterDescription; return this; } /** * <p>The name of the parameter.</p> * * <strong>example:</strong> * <p>fill factor</p> */ public Builder parameterName(String parameterName) { this.parameterName = parameterName; return this; } /** * <p>The value of the parameter.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder parameterValue(String parameterValue) { this.parameterValue = parameterValue; return this; } /** * <p>The valid values of the parameter.</p> * * <strong>example:</strong> * <p>1~100</p> */ public Builder parameterValueRange(String parameterValueRange) { this.parameterValueRange = parameterValueRange; return this; } public RunningParametersDBInstanceParameter build() { return new RunningParametersDBInstanceParameter(this); } } } /** * * {@link DescribeParametersResponseBody} extends {@link TeaModel} * * <p>DescribeParametersResponseBody</p> */ public static class RunningParameters extends TeaModel { @com.aliyun.core.annotation.NameInMap("DBInstanceParameter") private java.util.List<RunningParametersDBInstanceParameter> DBInstanceParameter; private RunningParameters(Builder builder) { this.DBInstanceParameter = builder.DBInstanceParameter; } public static Builder builder() { return new Builder(); } public static RunningParameters create() { return builder().build(); } /** * @return DBInstanceParameter */ public java.util.List<RunningParametersDBInstanceParameter> getDBInstanceParameter() { return this.DBInstanceParameter; } public static final class Builder { private java.util.List<RunningParametersDBInstanceParameter> DBInstanceParameter; private Builder() { } private Builder(RunningParameters model) { this.DBInstanceParameter = model.DBInstanceParameter; } /** * DBInstanceParameter. */ public Builder DBInstanceParameter(java.util.List<RunningParametersDBInstanceParameter> DBInstanceParameter) { this.DBInstanceParameter = DBInstanceParameter; return this; } public RunningParameters build() { return new RunningParameters(this); } } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribePostgresExtensionsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePostgresExtensionsRequest} extends {@link RequestModel} * * <p>DescribePostgresExtensionsRequest</p> */ public class DescribePostgresExtensionsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ClientToken") private String clientToken; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DBInstanceId") @com.aliyun.core.annotation.Validation(required = true) private String DBInstanceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DBName") @com.aliyun.core.annotation.Validation(required = true) private String DBName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerAccount") private String ownerAccount; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceGroupId") private String resourceGroupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount") private String resourceOwnerAccount; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerId") private Long resourceOwnerId; private DescribePostgresExtensionsRequest(Builder builder) { super(builder); this.clientToken = builder.clientToken; this.DBInstanceId = builder.DBInstanceId; this.DBName = builder.DBName; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.resourceGroupId = builder.resourceGroupId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; } public static Builder builder() { return new Builder(); } public static DescribePostgresExtensionsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return clientToken */ public String getClientToken() { return this.clientToken; } /** * @return DBInstanceId */ public String getDBInstanceId() { return this.DBInstanceId; } /** * @return DBName */ public String getDBName() { return this.DBName; } /** * @return ownerAccount */ public String getOwnerAccount() { return this.ownerAccount; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return resourceGroupId */ public String getResourceGroupId() { return this.resourceGroupId; } /** * @return resourceOwnerAccount */ public String getResourceOwnerAccount() { return this.resourceOwnerAccount; } /** * @return resourceOwnerId */ public Long getResourceOwnerId() { return this.resourceOwnerId; } public static final class Builder extends Request.Builder<DescribePostgresExtensionsRequest, Builder> { private String clientToken; private String DBInstanceId; private String DBName; private String ownerAccount; private Long ownerId; private String resourceGroupId; private String resourceOwnerAccount; private Long resourceOwnerId; private Builder() { super(); } private Builder(DescribePostgresExtensionsRequest request) { super(request); this.clientToken = request.clientToken; this.DBInstanceId = request.DBInstanceId; this.DBName = request.DBName; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.resourceGroupId = request.resourceGroupId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; } /** * <p>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.</p> * * <strong>example:</strong> * <p>ETnLKlblzczshOTUbOCz****</p> */ public Builder clientToken(String clientToken) { this.putQueryParameter("ClientToken", clientToken); this.clientToken = clientToken; return this; } /** * <p>The instance ID. You can call the DescribeDBInstances operation to query the instance ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>pgm-bp156o9ti493****</p> */ public Builder DBInstanceId(String DBInstanceId) { this.putQueryParameter("DBInstanceId", DBInstanceId); this.DBInstanceId = DBInstanceId; return this; } /** * <p>The database name. You can call the DescribeDatabases operation to query the database name.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>test_db</p> */ public Builder DBName(String DBName) { this.putQueryParameter("DBName", DBName); this.DBName = DBName; return this; } /** * OwnerAccount. */ public Builder ownerAccount(String ownerAccount) { this.putQueryParameter("OwnerAccount", ownerAccount); this.ownerAccount = ownerAccount; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * <p>The ID of the resource group.</p> * * <strong>example:</strong> * <p>rg-acfmy****</p> */ public Builder resourceGroupId(String resourceGroupId) { this.putQueryParameter("ResourceGroupId", resourceGroupId); this.resourceGroupId = resourceGroupId; return this; } /** * ResourceOwnerAccount. */ public Builder resourceOwnerAccount(String resourceOwnerAccount) { this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount); this.resourceOwnerAccount = resourceOwnerAccount; return this; } /** * ResourceOwnerId. */ public Builder resourceOwnerId(Long resourceOwnerId) { this.putQueryParameter("ResourceOwnerId", resourceOwnerId); this.resourceOwnerId = resourceOwnerId; return this; } @Override public DescribePostgresExtensionsRequest build() { return new DescribePostgresExtensionsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribePostgresExtensionsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePostgresExtensionsResponse} extends {@link TeaModel} * * <p>DescribePostgresExtensionsResponse</p> */ public class DescribePostgresExtensionsResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribePostgresExtensionsResponseBody body; private DescribePostgresExtensionsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribePostgresExtensionsResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribePostgresExtensionsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribePostgresExtensionsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribePostgresExtensionsResponseBody body); @Override DescribePostgresExtensionsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribePostgresExtensionsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribePostgresExtensionsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribePostgresExtensionsResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribePostgresExtensionsResponseBody body) { this.body = body; return this; } @Override public DescribePostgresExtensionsResponse build() { return new DescribePostgresExtensionsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribePostgresExtensionsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePostgresExtensionsResponseBody} extends {@link TeaModel} * * <p>DescribePostgresExtensionsResponseBody</p> */ public class DescribePostgresExtensionsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("InstalledExtensions") private java.util.List<InstalledExtensions> installedExtensions; @com.aliyun.core.annotation.NameInMap("Overview") private java.util.Map<String, ?> overview; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("UninstalledExtensions") private java.util.List<UninstalledExtensions> uninstalledExtensions; private DescribePostgresExtensionsResponseBody(Builder builder) { this.installedExtensions = builder.installedExtensions; this.overview = builder.overview; this.requestId = builder.requestId; this.uninstalledExtensions = builder.uninstalledExtensions; } public static Builder builder() { return new Builder(); } public static DescribePostgresExtensionsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return installedExtensions */ public java.util.List<InstalledExtensions> getInstalledExtensions() { return this.installedExtensions; } /** * @return overview */ public java.util.Map<String, ?> getOverview() { return this.overview; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return uninstalledExtensions */ public java.util.List<UninstalledExtensions> getUninstalledExtensions() { return this.uninstalledExtensions; } public static final class Builder { private java.util.List<InstalledExtensions> installedExtensions; private java.util.Map<String, ?> overview; private String requestId; private java.util.List<UninstalledExtensions> uninstalledExtensions; private Builder() { } private Builder(DescribePostgresExtensionsResponseBody model) { this.installedExtensions = model.installedExtensions; this.overview = model.overview; this.requestId = model.requestId; this.uninstalledExtensions = model.uninstalledExtensions; } /** * <p>The list of extensions that are installed on the specified database.</p> */ public Builder installedExtensions(java.util.List<InstalledExtensions> installedExtensions) { this.installedExtensions = installedExtensions; return this; } /** * <p>The overview of the extension.</p> * * <strong>example:</strong> * <p>None</p> */ public Builder overview(java.util.Map<String, ?> overview) { this.overview = overview; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>7E4448A6-9FE6-4474-A0C1-AA7CFC772CAC</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The list of extensions that are not installed on the specified database.</p> */ public Builder uninstalledExtensions(java.util.List<UninstalledExtensions> uninstalledExtensions) { this.uninstalledExtensions = uninstalledExtensions; return this; } public DescribePostgresExtensionsResponseBody build() { return new DescribePostgresExtensionsResponseBody(this); } } /** * * {@link DescribePostgresExtensionsResponseBody} extends {@link TeaModel} * * <p>DescribePostgresExtensionsResponseBody</p> */ public static class InstalledExtensions extends TeaModel { @com.aliyun.core.annotation.NameInMap("Category") private String category; @com.aliyun.core.annotation.NameInMap("Comment") private String comment; @com.aliyun.core.annotation.NameInMap("DefaultVersion") private String defaultVersion; @com.aliyun.core.annotation.NameInMap("InstalledVersion") private String installedVersion; @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("Owner") private String owner; @com.aliyun.core.annotation.NameInMap("Priority") private String priority; @com.aliyun.core.annotation.NameInMap("Requires") private String requires; @com.aliyun.core.annotation.NameInMap("Uid") private String uid; private InstalledExtensions(Builder builder) { this.category = builder.category; this.comment = builder.comment; this.defaultVersion = builder.defaultVersion; this.installedVersion = builder.installedVersion; this.name = builder.name; this.owner = builder.owner; this.priority = builder.priority; this.requires = builder.requires; this.uid = builder.uid; } public static Builder builder() { return new Builder(); } public static InstalledExtensions create() { return builder().build(); } /** * @return category */ public String getCategory() { return this.category; } /** * @return comment */ public String getComment() { return this.comment; } /** * @return defaultVersion */ public String getDefaultVersion() { return this.defaultVersion; } /** * @return installedVersion */ public String getInstalledVersion() { return this.installedVersion; } /** * @return name */ public String getName() { return this.name; } /** * @return owner */ public String getOwner() { return this.owner; } /** * @return priority */ public String getPriority() { return this.priority; } /** * @return requires */ public String getRequires() { return this.requires; } /** * @return uid */ public String getUid() { return this.uid; } public static final class Builder { private String category; private String comment; private String defaultVersion; private String installedVersion; private String name; private String owner; private String priority; private String requires; private String uid; private Builder() { } private Builder(InstalledExtensions model) { this.category = model.category; this.comment = model.comment; this.defaultVersion = model.defaultVersion; this.installedVersion = model.installedVersion; this.name = model.name; this.owner = model.owner; this.priority = model.priority; this.requires = model.requires; this.uid = model.uid; } /** * <p>The category of the extension.</p> * <ul> * <li><strong>external_access</strong></li> * <li><strong>index_support</strong></li> * <li><strong>information_stat</strong></li> * <li><strong>geography_space</strong></li> * <li><strong>vector_engine</strong></li> * <li><strong>timing_engine</strong></li> * <li><strong>data_type</strong></li> * <li><strong>encrypt_secure</strong></li> * <li><strong>text_process</strong></li> * <li><strong>operation_maintenance</strong></li> * <li><strong>self_develop</strong></li> * </ul> * * <strong>example:</strong> * <p>information_stat</p> */ public Builder category(String category) { this.category = category; return this; } /** * <p>The purpose of the extension.</p> * * <strong>example:</strong> * <p>PostgreSQL load profile repository and report builder</p> */ public Builder comment(String comment) { this.comment = comment; return this; } /** * <p>The default version of the extension.</p> * * <strong>example:</strong> * <p>4.1</p> */ public Builder defaultVersion(String defaultVersion) { this.defaultVersion = defaultVersion; return this; } /** * <p>The current version of the extension.</p> * * <strong>example:</strong> * <p>4.1</p> */ public Builder installedVersion(String installedVersion) { this.installedVersion = installedVersion; return this; } /** * <p>The name of the extension.</p> * * <strong>example:</strong> * <p>pg_profile</p> */ public Builder name(String name) { this.name = name; return this; } /** * <p>The user of the extension.</p> * * <strong>example:</strong> * <p>test_user</p> */ public Builder owner(String owner) { this.owner = owner; return this; } /** * <p>The priority of the extension.</p> * <ul> * <li><strong>0</strong>: The extension is displayed by default.</li> * <li><strong>1</strong>: The extension is preferentially displayed.</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder priority(String priority) { this.priority = priority; return this; } /** * <p>The extensions on which the current extension depends when it is installed.</p> * * <strong>example:</strong> * <p>{dblink,plpgsql}</p> */ public Builder requires(String requires) { this.requires = requires; return this; } /** * <p>The ID of the Alibaba Cloud account.</p> * <blockquote> * <p> This parameter is returned only for self-developed exclusive extensions. You can view exclusive extensions only within your Alibaba Cloud account.</p> * </blockquote> * * <strong>example:</strong> * <p>181578148294****</p> */ public Builder uid(String uid) { this.uid = uid; return this; } public InstalledExtensions build() { return new InstalledExtensions(this); } } } /** * * {@link DescribePostgresExtensionsResponseBody} extends {@link TeaModel} * * <p>DescribePostgresExtensionsResponseBody</p> */ public static class UninstalledExtensions extends TeaModel { @com.aliyun.core.annotation.NameInMap("Category") private String category; @com.aliyun.core.annotation.NameInMap("Comment") private String comment; @com.aliyun.core.annotation.NameInMap("DefaultVersion") private String defaultVersion; @com.aliyun.core.annotation.NameInMap("InstalledVersion") private String installedVersion; @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("Owner") private String owner; @com.aliyun.core.annotation.NameInMap("Priority") private String priority; @com.aliyun.core.annotation.NameInMap("Requires") private String requires; @com.aliyun.core.annotation.NameInMap("Uid") private String uid; private UninstalledExtensions(Builder builder) { this.category = builder.category; this.comment = builder.comment; this.defaultVersion = builder.defaultVersion; this.installedVersion = builder.installedVersion; this.name = builder.name; this.owner = builder.owner; this.priority = builder.priority; this.requires = builder.requires; this.uid = builder.uid; } public static Builder builder() { return new Builder(); } public static UninstalledExtensions create() { return builder().build(); } /** * @return category */ public String getCategory() { return this.category; } /** * @return comment */ public String getComment() { return this.comment; } /** * @return defaultVersion */ public String getDefaultVersion() { return this.defaultVersion; } /** * @return installedVersion */ public String getInstalledVersion() { return this.installedVersion; } /** * @return name */ public String getName() { return this.name; } /** * @return owner */ public String getOwner() { return this.owner; } /** * @return priority */ public String getPriority() { return this.priority; } /** * @return requires */ public String getRequires() { return this.requires; } /** * @return uid */ public String getUid() { return this.uid; } public static final class Builder { private String category; private String comment; private String defaultVersion; private String installedVersion; private String name; private String owner; private String priority; private String requires; private String uid; private Builder() { } private Builder(UninstalledExtensions model) { this.category = model.category; this.comment = model.comment; this.defaultVersion = model.defaultVersion; this.installedVersion = model.installedVersion; this.name = model.name; this.owner = model.owner; this.priority = model.priority; this.requires = model.requires; this.uid = model.uid; } /** * <p>The category of the extension.</p> * * <strong>example:</strong> * <p>information_stat</p> */ public Builder category(String category) { this.category = category; return this; } /** * <p>The purpose of the extension.</p> * * <strong>example:</strong> * <p>PostgreSQL load profile repository and report builder</p> */ public Builder comment(String comment) { this.comment = comment; return this; } /** * <p>The default version of the extension.</p> * * <strong>example:</strong> * <p>4.1</p> */ public Builder defaultVersion(String defaultVersion) { this.defaultVersion = defaultVersion; return this; } /** * <p>The current version of the extension.</p> * * <strong>example:</strong> * <p>4.1</p> */ public Builder installedVersion(String installedVersion) { this.installedVersion = installedVersion; return this; } /** * <p>The name of the extension.</p> * * <strong>example:</strong> * <p>pg_cron</p> */ public Builder name(String name) { this.name = name; return this; } /** * <p>The user of the extension.</p> * * <strong>example:</strong> * <p>test_user</p> */ public Builder owner(String owner) { this.owner = owner; return this; } /** * <p>The priority of the extension.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder priority(String priority) { this.priority = priority; return this; } /** * <p>The extensions on which the current extension depends when it is installed.</p> * * <strong>example:</strong> * <p>{dblink,plpgsql}</p> */ public Builder requires(String requires) { this.requires = requires; return this; } /** * <p>The ID of the Alibaba Cloud account.</p> * <blockquote> * <p> This parameter is returned only for self-developed exclusive extensions. You can view exclusive extensions only within your Alibaba Cloud account.</p> * </blockquote> * * <strong>example:</strong> * <p>181578148294****</p> */ public Builder uid(String uid) { this.uid = uid; return this; } public UninstalledExtensions build() { return new UninstalledExtensions(this); } } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribePriceRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePriceRequest} extends {@link RequestModel} * * <p>DescribePriceRequest</p> */ public class DescribePriceRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ClientToken") private String clientToken; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CommodityCode") private String commodityCode; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DBInstanceClass") @com.aliyun.core.annotation.Validation(required = true) private String DBInstanceClass; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DBInstanceId") private String DBInstanceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DBInstanceStorage") @com.aliyun.core.annotation.Validation(required = true) private Integer DBInstanceStorage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DBInstanceStorageType") private String DBInstanceStorageType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DBNode") private java.util.List<DBNode> DBNode; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Engine") @com.aliyun.core.annotation.Validation(required = true) private String engine; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EngineVersion") @com.aliyun.core.annotation.Validation(required = true) private String engineVersion; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceUsedType") private Integer instanceUsedType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OrderType") private String orderType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerAccount") private String ownerAccount; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PayType") private String payType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Quantity") @com.aliyun.core.annotation.Validation(required = true) private Integer quantity; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount") private String resourceOwnerAccount; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerId") private Long resourceOwnerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ServerlessConfig") private ServerlessConfig serverlessConfig; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TimeType") private String timeType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("UsedTime") @com.aliyun.core.annotation.Validation(maximum = 999, minimum = 1) private Integer usedTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ZoneId") private String zoneId; private DescribePriceRequest(Builder builder) { super(builder); this.clientToken = builder.clientToken; this.commodityCode = builder.commodityCode; this.DBInstanceClass = builder.DBInstanceClass; this.DBInstanceId = builder.DBInstanceId; this.DBInstanceStorage = builder.DBInstanceStorage; this.DBInstanceStorageType = builder.DBInstanceStorageType; this.DBNode = builder.DBNode; this.engine = builder.engine; this.engineVersion = builder.engineVersion; this.instanceUsedType = builder.instanceUsedType; this.orderType = builder.orderType; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.payType = builder.payType; this.quantity = builder.quantity; this.regionId = builder.regionId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.serverlessConfig = builder.serverlessConfig; this.timeType = builder.timeType; this.usedTime = builder.usedTime; this.zoneId = builder.zoneId; } public static Builder builder() { return new Builder(); } public static DescribePriceRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return clientToken */ public String getClientToken() { return this.clientToken; } /** * @return commodityCode */ public String getCommodityCode() { return this.commodityCode; } /** * @return DBInstanceClass */ public String getDBInstanceClass() { return this.DBInstanceClass; } /** * @return DBInstanceId */ public String getDBInstanceId() { return this.DBInstanceId; } /** * @return DBInstanceStorage */ public Integer getDBInstanceStorage() { return this.DBInstanceStorage; } /** * @return DBInstanceStorageType */ public String getDBInstanceStorageType() { return this.DBInstanceStorageType; } /** * @return DBNode */ public java.util.List<DBNode> getDBNode() { return this.DBNode; } /** * @return engine */ public String getEngine() { return this.engine; } /** * @return engineVersion */ public String getEngineVersion() { return this.engineVersion; } /** * @return instanceUsedType */ public Integer getInstanceUsedType() { return this.instanceUsedType; } /** * @return orderType */ public String getOrderType() { return this.orderType; } /** * @return ownerAccount */ public String getOwnerAccount() { return this.ownerAccount; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return payType */ public String getPayType() { return this.payType; } /** * @return quantity */ public Integer getQuantity() { return this.quantity; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return resourceOwnerAccount */ public String getResourceOwnerAccount() { return this.resourceOwnerAccount; } /** * @return resourceOwnerId */ public Long getResourceOwnerId() { return this.resourceOwnerId; } /** * @return serverlessConfig */ public ServerlessConfig getServerlessConfig() { return this.serverlessConfig; } /** * @return timeType */ public String getTimeType() { return this.timeType; } /** * @return usedTime */ public Integer getUsedTime() { return this.usedTime; } /** * @return zoneId */ public String getZoneId() { return this.zoneId; } public static final class Builder extends Request.Builder<DescribePriceRequest, Builder> { private String clientToken; private String commodityCode; private String DBInstanceClass; private String DBInstanceId; private Integer DBInstanceStorage; private String DBInstanceStorageType; private java.util.List<DBNode> DBNode; private String engine; private String engineVersion; private Integer instanceUsedType; private String orderType; private String ownerAccount; private Long ownerId; private String payType; private Integer quantity; private String regionId; private String resourceOwnerAccount; private Long resourceOwnerId; private ServerlessConfig serverlessConfig; private String timeType; private Integer usedTime; private String zoneId; private Builder() { super(); } private Builder(DescribePriceRequest request) { super(request); this.clientToken = request.clientToken; this.commodityCode = request.commodityCode; this.DBInstanceClass = request.DBInstanceClass; this.DBInstanceId = request.DBInstanceId; this.DBInstanceStorage = request.DBInstanceStorage; this.DBInstanceStorageType = request.DBInstanceStorageType; this.DBNode = request.DBNode; this.engine = request.engine; this.engineVersion = request.engineVersion; this.instanceUsedType = request.instanceUsedType; this.orderType = request.orderType; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.payType = request.payType; this.quantity = request.quantity; this.regionId = request.regionId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.serverlessConfig = request.serverlessConfig; this.timeType = request.timeType; this.usedTime = request.usedTime; this.zoneId = request.zoneId; } /** * <p>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.</p> * * <strong>example:</strong> * <p>ETnLKlblzczshOTUbOCz*****</p> */ public Builder clientToken(String clientToken) { this.putQueryParameter("ClientToken", clientToken); this.clientToken = clientToken; return this; } /** * <p>The commodity code of the instance. Valid values:</p> * <ul> * <li><strong>bards</strong>: The instance is a pay-as-you-go primary instance. This value is available at the China site (aliyun.com).</li> * <li><strong>rds</strong> (default): The instance is a subscription primary instance. This value is available at the China site (aliyun.com).</li> * <li><strong>rords</strong>: The instance is a pay-as-you-go read-only instance. This value is available at the China site (aliyun.com).</li> * <li><strong>rds_rordspre_public_cn</strong>: The instance is a subscription read-only instance. This value is available at the China site (aliyun.com).</li> * <li><strong>bards_intl</strong>: The instance is a pay-as-you-go primary instance. This value is available at the international site (alibabacloud.com).</li> * <li><strong>rds_intl</strong>: The instance is a subscription primary instance. This value is available at the international site (alibabacloud.com).</li> * <li><strong>rords_intl</strong>: The instance is a pay-as-you-go read-only instance. This value is available at the international site (alibabacloud.com).</li> * <li><strong>rds_rordspre_public_intl</strong>: The instance is a subscription read-only instance. This value is available at the international site (alibabacloud.com).</li> * </ul> * <blockquote> * <p> If you want to query the price of a read-only instance, you must specify this parameter.</p> * </blockquote> * * <strong>example:</strong> * <p>rds</p> */ public Builder commodityCode(String commodityCode) { this.putQueryParameter("CommodityCode", commodityCode); this.commodityCode = commodityCode; return this; } /** * <p>The instance type of the instance. For more information, see <a href="https://help.aliyun.com/document_detail/26312.html">Primary ApsaraDB RDS instance types</a>.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>rds.mysql.s1.small</p> */ public Builder DBInstanceClass(String DBInstanceClass) { this.putQueryParameter("DBInstanceClass", DBInstanceClass); this.DBInstanceClass = DBInstanceClass; return this; } /** * <p>The ID of the instance for which you want to change the specifications or the instance that you want to renew.</p> * <blockquote> * <ul> * <li>If you want to query the price of a specification change order or a renewal order, you must specify this parameter.</li> * <li>If the instance is a read-only instance, you must set this parameter to the ID of its primary instance.</li> * </ul> * </blockquote> * * <strong>example:</strong> * <p>rm-*****</p> */ public Builder DBInstanceId(String DBInstanceId) { this.putQueryParameter("DBInstanceId", DBInstanceId); this.DBInstanceId = DBInstanceId; return this; } /** * <p>The storage capacity of the instance. Unit: GB. You can increase the storage capacity at a step size of 5 GB. For more information, see <a href="https://help.aliyun.com/document_detail/26312.html">Primary ApsaraDB RDS instance types</a>.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder DBInstanceStorage(Integer DBInstanceStorage) { this.putQueryParameter("DBInstanceStorage", DBInstanceStorage); this.DBInstanceStorage = DBInstanceStorage; return this; } /** * <p>The storage type of the new instance. Valid values:</p> * <ul> * <li><strong>general_essd</strong>: premium Enterprise SSD (ESSD)</li> * <li><strong>local_ssd</strong>: premium local SSD</li> * <li><strong>cloud_ssd</strong>: standard SSD</li> * <li><strong>cloud_essd</strong>: performance level 1 (PL1) ESSD</li> * <li><strong>cloud_essd2</strong>: PL2 ESSD</li> * <li><strong>cloud_essd3</strong>: PL3 ESSD</li> * </ul> * * <strong>example:</strong> * <p>local_ssd</p> */ public Builder DBInstanceStorageType(String DBInstanceStorageType) { this.putQueryParameter("DBInstanceStorageType", DBInstanceStorageType); this.DBInstanceStorageType = DBInstanceStorageType; return this; } /** * <p>The information about the node.</p> * <blockquote> * <p> This parameter is supported for ApsaraDB RDS for MySQL instances that run RDS Cluster Edition.</p> * </blockquote> */ public Builder DBNode(java.util.List<DBNode> DBNode) { String DBNodeShrink = shrink(DBNode, "DBNode", "json"); this.putQueryParameter("DBNode", DBNodeShrink); this.DBNode = DBNode; return this; } /** * <p>The database engine of the instance. Valid values:</p> * <ul> * <li><strong>MySQL</strong></li> * <li><strong>SQLServer</strong></li> * <li><strong>PostgreSQL</strong></li> * <li><strong>MariaDB</strong></li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>MySQL</p> */ public Builder engine(String engine) { this.putQueryParameter("Engine", engine); this.engine = engine; return this; } /** * <p>The database engine version of the instance. Valid values:</p> * <ul> * <li>Valid values if you set Engine to <strong>MySQL</strong>: <strong>5.5</strong>, <strong>5.6</strong>, <strong>5.7</strong>, and <strong>8.0</strong></li> * <li>Valid values if you set Engine to <strong>SQL Server</strong>: <strong>08r2_ent_ha</strong>(cloud disks, discontinued), <strong>2008r2</strong>(high-performance local disks, discontinued), <strong>2012</strong> (SQL Server EE Basic)<strong>2012_ent_ha</strong>, <strong>2012_std_ha</strong>, <strong>2012_web</strong>, <strong>2016_ent_ha</strong>, <strong>2016_std_ha</strong>, <strong>2016_web</strong>, <strong>2017_ent</strong>, <strong>2017_std_ha</strong>, <strong>2017_web</strong>, <strong>2019_ent</strong>, <strong>2019_std_ha</strong>, <strong>2019_web</strong>, <strong>2022_ent</strong>, <strong>2022_std_ha</strong>, and <strong>2022_web</strong></li> * <li>Valid values if you set Engine to <strong>PostgreSQL</strong>: <strong>10.0</strong>, <strong>11.0</strong>, <strong>12.0</strong>, <strong>13.0</strong>, <strong>14.0</strong>, and <strong>15.0</strong></li> * <li>Valid value if you set Engine to <strong>MariaDB</strong>: <strong>10.3</strong></li> * </ul> * <blockquote> * <p> The following information describes the valid values when you set Engine to SQLServer: <code>_ent</code> specifies SQL Server EE on RDS Cluster Edition, <code>_ent_ha</code> specifies SQL Server EE, <code>_std_ha</code> specifies SQL Server SE, and <code>_web</code> specifies SQL Server Web.</p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>5.5</p> */ public Builder engineVersion(String engineVersion) { this.putQueryParameter("EngineVersion", engineVersion); this.engineVersion = engineVersion; return this; } /** * <p>The role of the instance. Valid values:</p> * <ul> * <li><strong>0</strong>: primary instance</li> * <li><strong>3</strong>: read-only instance</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder instanceUsedType(Integer instanceUsedType) { this.putQueryParameter("InstanceUsedType", instanceUsedType); this.instanceUsedType = instanceUsedType; return this; } /** * <p>The order type. Valid values:</p> * <ul> * <li><strong>BUY</strong></li> * <li><strong>RENEW</strong></li> * <li><strong>UPGRADE</strong></li> * <li><strong>DOWNGRADE</strong></li> * </ul> * * <strong>example:</strong> * <p>BUY</p> */ public Builder orderType(String orderType) { this.putQueryParameter("OrderType", orderType); this.orderType = orderType; return this; } /** * OwnerAccount. */ public Builder ownerAccount(String ownerAccount) { this.putQueryParameter("OwnerAccount", ownerAccount); this.ownerAccount = ownerAccount; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * <p>The billing method of the instance. Valid values:</p> * <ul> * <li><strong>Prepaid</strong>: subscription</li> * <li><strong>Postpaid</strong>: pay-as-you-go</li> * </ul> * * <strong>example:</strong> * <p>Prepaid</p> */ public Builder payType(String payType) { this.putQueryParameter("PayType", payType); this.payType = payType; return this; } /** * <p>The number of instances that you want to purchase. Valid values: <strong>0 to 30</strong>.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder quantity(Integer quantity) { this.putQueryParameter("Quantity", quantity); this.quantity = quantity; return this; } /** * <p>The region ID. You can call the DescribeRegions operation to query the most recent region list.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * ResourceOwnerAccount. */ public Builder resourceOwnerAccount(String resourceOwnerAccount) { this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount); this.resourceOwnerAccount = resourceOwnerAccount; return this; } /** * ResourceOwnerId. */ public Builder resourceOwnerId(Long resourceOwnerId) { this.putQueryParameter("ResourceOwnerId", resourceOwnerId); this.resourceOwnerId = resourceOwnerId; return this; } /** * <p>The settings of the serverless instance.</p> * <blockquote> * <p>ApsaraDB RDS for MariaDB does not support serverless instances.</p> * </blockquote> */ public Builder serverlessConfig(ServerlessConfig serverlessConfig) { String serverlessConfigShrink = shrink(serverlessConfig, "ServerlessConfig", "json"); this.putQueryParameter("ServerlessConfig", serverlessConfigShrink); this.serverlessConfig = serverlessConfig; return this; } /** * <p>The billing cycle of the subscription instance. This parameter is required when <strong>CommodityCode</strong> is set to <strong>rds</strong>, <strong>rds_rordspre_public_cn</strong>, <strong>rds_intl</strong>, or <strong>rds_rordspre_public_intl</strong>. Valid values:</p> * <ul> * <li><strong>Year</strong></li> * <li><strong>Month</strong></li> * </ul> * * <strong>example:</strong> * <p>Year</p> */ public Builder timeType(String timeType) { this.putQueryParameter("TimeType", timeType); this.timeType = timeType; return this; } /** * <p>The subscription duration of the instance.</p> * <ul> * <li>If you set the <strong>TimeType</strong> parameter to <strong>Year</strong>, the value of the UsedTime parameter ranges from <strong>1 to 100</strong>.</li> * <li>If you set the <strong>TimeType</strong> parameter to <strong>Month</strong>, the value of the UsedTime parameter ranges from <strong>1 to 999</strong>.</li> * </ul> * <p>Default value: <strong>1</strong>.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder usedTime(Integer usedTime) { this.putQueryParameter("UsedTime", usedTime); this.usedTime = usedTime; return this; } /** * <p>The zone ID of the primary instance. You can call the DescribeRegions operation to query the most recent zone list.</p> * <blockquote> * <p> If you specify a virtual private cloud (VPC) and a vSwitch, this parameter is required to identify the zone for the vSwitch.</p> * </blockquote> * * <strong>example:</strong> * <p>cn-hangzhou-b</p> */ public Builder zoneId(String zoneId) { this.putQueryParameter("ZoneId", zoneId); this.zoneId = zoneId; return this; } @Override public DescribePriceRequest build() { return new DescribePriceRequest(this); } } /** * * {@link DescribePriceRequest} extends {@link TeaModel} * * <p>DescribePriceRequest</p> */ public static class DBNode extends TeaModel { @com.aliyun.core.annotation.NameInMap("ClassCode") private String classCode; @com.aliyun.core.annotation.NameInMap("ZoneId") private String zoneId; private DBNode(Builder builder) { this.classCode = builder.classCode; this.zoneId = builder.zoneId; } public static Builder builder() { return new Builder(); } public static DBNode create() { return builder().build(); } /** * @return classCode */ public String getClassCode() { return this.classCode; } /** * @return zoneId */ public String getZoneId() { return this.zoneId; } public static final class Builder { private String classCode; private String zoneId; private Builder() { } private Builder(DBNode model) { this.classCode = model.classCode; this.zoneId = model.zoneId; } /** * <p>The instance type of the node.</p> * * <strong>example:</strong> * <p>mysql.n2.small.xc</p> */ public Builder classCode(String classCode) { this.classCode = classCode; return this; } /** * <p>The zone ID of the node.</p> * * <strong>example:</strong> * <p>cn-hangzhou-j</p> */ public Builder zoneId(String zoneId) { this.zoneId = zoneId; return this; } public DBNode build() { return new DBNode(this); } } } /** * * {@link DescribePriceRequest} extends {@link TeaModel} * * <p>DescribePriceRequest</p> */ public static class ServerlessConfig extends TeaModel { @com.aliyun.core.annotation.NameInMap("MaxCapacity") private Double maxCapacity; @com.aliyun.core.annotation.NameInMap("MinCapacity") private Double minCapacity; private ServerlessConfig(Builder builder) { this.maxCapacity = builder.maxCapacity; this.minCapacity = builder.minCapacity; } public static Builder builder() { return new Builder(); } public static ServerlessConfig create() { return builder().build(); } /** * @return maxCapacity */ public Double getMaxCapacity() { return this.maxCapacity; } /** * @return minCapacity */ public Double getMinCapacity() { return this.minCapacity; } public static final class Builder { private Double maxCapacity; private Double minCapacity; private Builder() { } private Builder(ServerlessConfig model) { this.maxCapacity = model.maxCapacity; this.minCapacity = model.minCapacity; } /** * <p>The maximum number of RDS Capacity Units (RCUs).</p> * * <strong>example:</strong> * <p>8</p> */ public Builder maxCapacity(Double maxCapacity) { this.maxCapacity = maxCapacity; return this; } /** * <p>The minimum number of RCUs.</p> * * <strong>example:</strong> * <p>0.5</p> */ public Builder minCapacity(Double minCapacity) { this.minCapacity = minCapacity; return this; } public ServerlessConfig build() { return new ServerlessConfig(this); } } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribePriceResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePriceResponse} extends {@link TeaModel} * * <p>DescribePriceResponse</p> */ public class DescribePriceResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribePriceResponseBody body; private DescribePriceResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribePriceResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribePriceResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribePriceResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribePriceResponseBody body); @Override DescribePriceResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribePriceResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribePriceResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribePriceResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribePriceResponseBody body) { this.body = body; return this; } @Override public DescribePriceResponse build() { return new DescribePriceResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribePriceResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribePriceResponseBody} extends {@link TeaModel} * * <p>DescribePriceResponseBody</p> */ public class DescribePriceResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("OrderParams") private String orderParams; @com.aliyun.core.annotation.NameInMap("PriceInfo") private PriceInfo priceInfo; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Rules") private Rules rules; @com.aliyun.core.annotation.NameInMap("ServerlessPrice") private ServerlessPrice serverlessPrice; @com.aliyun.core.annotation.NameInMap("ShowDiscount") private Boolean showDiscount; @com.aliyun.core.annotation.NameInMap("TradeMaxRCUAmount") private Float tradeMaxRCUAmount; @com.aliyun.core.annotation.NameInMap("TradeMinRCUAmount") private Float tradeMinRCUAmount; private DescribePriceResponseBody(Builder builder) { this.orderParams = builder.orderParams; this.priceInfo = builder.priceInfo; this.requestId = builder.requestId; this.rules = builder.rules; this.serverlessPrice = builder.serverlessPrice; this.showDiscount = builder.showDiscount; this.tradeMaxRCUAmount = builder.tradeMaxRCUAmount; this.tradeMinRCUAmount = builder.tradeMinRCUAmount; } public static Builder builder() { return new Builder(); } public static DescribePriceResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return orderParams */ public String getOrderParams() { return this.orderParams; } /** * @return priceInfo */ public PriceInfo getPriceInfo() { return this.priceInfo; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return rules */ public Rules getRules() { return this.rules; } /** * @return serverlessPrice */ public ServerlessPrice getServerlessPrice() { return this.serverlessPrice; } /** * @return showDiscount */ public Boolean getShowDiscount() { return this.showDiscount; } /** * @return tradeMaxRCUAmount */ public Float getTradeMaxRCUAmount() { return this.tradeMaxRCUAmount; } /** * @return tradeMinRCUAmount */ public Float getTradeMinRCUAmount() { return this.tradeMinRCUAmount; } public static final class Builder { private String orderParams; private PriceInfo priceInfo; private String requestId; private Rules rules; private ServerlessPrice serverlessPrice; private Boolean showDiscount; private Float tradeMaxRCUAmount; private Float tradeMinRCUAmount; private Builder() { } private Builder(DescribePriceResponseBody model) { this.orderParams = model.orderParams; this.priceInfo = model.priceInfo; this.requestId = model.requestId; this.rules = model.rules; this.serverlessPrice = model.serverlessPrice; this.showDiscount = model.showDiscount; this.tradeMaxRCUAmount = model.tradeMaxRCUAmount; this.tradeMinRCUAmount = model.tradeMinRCUAmount; } /** * <p>The order parameters.</p> * <blockquote> * <p> If the <strong>OrderParamOut</strong> parameter is set to <strong>true</strong>, the value of the OrderParams parameter is returned.</p> * </blockquote> * * <strong>example:</strong> * <p>{&quot;autoPay&quot;:false}&quot;</p> */ public Builder orderParams(String orderParams) { this.orderParams = orderParams; return this; } /** * <p>The price information.</p> */ public Builder priceInfo(PriceInfo priceInfo) { this.priceInfo = priceInfo; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>CA0ADDDC-0BEB-4381-A3ED-73B4C79B8CC6</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The details of the promotion rule.</p> */ public Builder rules(Rules rules) { this.rules = rules; return this; } /** * <p>The pricing information about a serverless RDS instance.</p> */ public Builder serverlessPrice(ServerlessPrice serverlessPrice) { this.serverlessPrice = serverlessPrice; return this; } /** * <p>Indicates whether discounts can be used.</p> * * <strong>example:</strong> * <p>True</p> */ public Builder showDiscount(Boolean showDiscount) { this.showDiscount = showDiscount; return this; } /** * <p>The estimated hourly fee that is calculated based on the maximum number of RCUs.</p> * * <strong>example:</strong> * <p>2**</p> */ public Builder tradeMaxRCUAmount(Float tradeMaxRCUAmount) { this.tradeMaxRCUAmount = tradeMaxRCUAmount; return this; } /** * <p>The estimated hourly fee that is calculated based on the minimum number of RCUs.</p> * * <strong>example:</strong> * <p>1**</p> */ public Builder tradeMinRCUAmount(Float tradeMinRCUAmount) { this.tradeMinRCUAmount = tradeMinRCUAmount; return this; } public DescribePriceResponseBody build() { return new DescribePriceResponseBody(this); } } /** * * {@link DescribePriceResponseBody} extends {@link TeaModel} * * <p>DescribePriceResponseBody</p> */ public static class ActivityInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("CheckErrMsg") private String checkErrMsg; @com.aliyun.core.annotation.NameInMap("ErrorCode") private String errorCode; @com.aliyun.core.annotation.NameInMap("Success") private String success; private ActivityInfo(Builder builder) { this.checkErrMsg = builder.checkErrMsg; this.errorCode = builder.errorCode; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static ActivityInfo create() { return builder().build(); } /** * @return checkErrMsg */ public String getCheckErrMsg() { return this.checkErrMsg; } /** * @return errorCode */ public String getErrorCode() { return this.errorCode; } /** * @return success */ public String getSuccess() { return this.success; } public static final class Builder { private String checkErrMsg; private String errorCode; private String success; private Builder() { } private Builder(ActivityInfo model) { this.checkErrMsg = model.checkErrMsg; this.errorCode = model.errorCode; this.success = model.success; } /** * <p>The returned message.</p> * * <strong>example:</strong> * <p>Error description</p> */ public Builder checkErrMsg(String checkErrMsg) { this.checkErrMsg = checkErrMsg; return this; } /** * <p>The error code that is returned.</p> * * <strong>example:</strong> * <p>123456</p> */ public Builder errorCode(String errorCode) { this.errorCode = errorCode; return this; } /** * <p>Indicates whether the request was successful.</p> * * <strong>example:</strong> * <p>Success</p> */ public Builder success(String success) { this.success = success; return this; } public ActivityInfo build() { return new ActivityInfo(this); } } } /** * * {@link DescribePriceResponseBody} extends {@link TeaModel} * * <p>DescribePriceResponseBody</p> */ public static class Coupon extends TeaModel { @com.aliyun.core.annotation.NameInMap("CouponNo") private String couponNo; @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.NameInMap("IsSelected") private String isSelected; @com.aliyun.core.annotation.NameInMap("Name") private String name; private Coupon(Builder builder) { this.couponNo = builder.couponNo; this.description = builder.description; this.isSelected = builder.isSelected; this.name = builder.name; } public static Builder builder() { return new Builder(); } public static Coupon create() { return builder().build(); } /** * @return couponNo */ public String getCouponNo() { return this.couponNo; } /** * @return description */ public String getDescription() { return this.description; } /** * @return isSelected */ public String getIsSelected() { return this.isSelected; } /** * @return name */ public String getName() { return this.name; } public static final class Builder { private String couponNo; private String description; private String isSelected; private String name; private Builder() { } private Builder(Coupon model) { this.couponNo = model.couponNo; this.description = model.description; this.isSelected = model.isSelected; this.name = model.name; } /** * <p>The coupon ID.</p> * * <strong>example:</strong> * <p>123456</p> */ public Builder couponNo(String couponNo) { this.couponNo = couponNo; return this; } /** * <p>The description of the coupon.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder description(String description) { this.description = description; return this; } /** * <p>Indicates whether the coupon is selected.</p> * * <strong>example:</strong> * <p>true</p> */ public Builder isSelected(String isSelected) { this.isSelected = isSelected; return this; } /** * <p>The coupon name.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder name(String name) { this.name = name; return this; } public Coupon build() { return new Coupon(this); } } } /** * * {@link DescribePriceResponseBody} extends {@link TeaModel} * * <p>DescribePriceResponseBody</p> */ public static class Coupons extends TeaModel { @com.aliyun.core.annotation.NameInMap("Coupon") private java.util.List<Coupon> coupon; private Coupons(Builder builder) { this.coupon = builder.coupon; } public static Builder builder() { return new Builder(); } public static Coupons create() { return builder().build(); } /** * @return coupon */ public java.util.List<Coupon> getCoupon() { return this.coupon; } public static final class Builder { private java.util.List<Coupon> coupon; private Builder() { } private Builder(Coupons model) { this.coupon = model.coupon; } /** * Coupon. */ public Builder coupon(java.util.List<Coupon> coupon) { this.coupon = coupon; return this; } public Coupons build() { return new Coupons(this); } } } /** * * {@link DescribePriceResponseBody} extends {@link TeaModel} * * <p>DescribePriceResponseBody</p> */ public static class RuleIds extends TeaModel { @com.aliyun.core.annotation.NameInMap("RuleId") private java.util.List<String> ruleId; private RuleIds(Builder builder) { this.ruleId = builder.ruleId; } public static Builder builder() { return new Builder(); } public static RuleIds create() { return builder().build(); } /** * @return ruleId */ public java.util.List<String> getRuleId() { return this.ruleId; } public static final class Builder { private java.util.List<String> ruleId; private Builder() { } private Builder(RuleIds model) { this.ruleId = model.ruleId; } /** * RuleId. */ public Builder ruleId(java.util.List<String> ruleId) { this.ruleId = ruleId; return this; } public RuleIds build() { return new RuleIds(this); } } } /** * * {@link DescribePriceResponseBody} extends {@link TeaModel} * * <p>DescribePriceResponseBody</p> */ public static class PriceInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("ActivityInfo") private ActivityInfo activityInfo; @com.aliyun.core.annotation.NameInMap("Coupons") private Coupons coupons; @com.aliyun.core.annotation.NameInMap("Currency") private String currency; @com.aliyun.core.annotation.NameInMap("DiscountPrice") private Float discountPrice; @com.aliyun.core.annotation.NameInMap("OrderLines") private Object orderLines; @com.aliyun.core.annotation.NameInMap("OriginalPrice") private Float originalPrice; @com.aliyun.core.annotation.NameInMap("RuleIds") private RuleIds ruleIds; @com.aliyun.core.annotation.NameInMap("TradeMaxRCUAmount") private Float tradeMaxRCUAmount; @com.aliyun.core.annotation.NameInMap("TradeMinRCUAmount") private Float tradeMinRCUAmount; @com.aliyun.core.annotation.NameInMap("TradePrice") private Float tradePrice; private PriceInfo(Builder builder) { this.activityInfo = builder.activityInfo; this.coupons = builder.coupons; this.currency = builder.currency; this.discountPrice = builder.discountPrice; this.orderLines = builder.orderLines; this.originalPrice = builder.originalPrice; this.ruleIds = builder.ruleIds; this.tradeMaxRCUAmount = builder.tradeMaxRCUAmount; this.tradeMinRCUAmount = builder.tradeMinRCUAmount; this.tradePrice = builder.tradePrice; } public static Builder builder() { return new Builder(); } public static PriceInfo create() { return builder().build(); } /** * @return activityInfo */ public ActivityInfo getActivityInfo() { return this.activityInfo; } /** * @return coupons */ public Coupons getCoupons() { return this.coupons; } /** * @return currency */ public String getCurrency() { return this.currency; } /** * @return discountPrice */ public Float getDiscountPrice() { return this.discountPrice; } /** * @return orderLines */ public Object getOrderLines() { return this.orderLines; } /** * @return originalPrice */ public Float getOriginalPrice() { return this.originalPrice; } /** * @return ruleIds */ public RuleIds getRuleIds() { return this.ruleIds; } /** * @return tradeMaxRCUAmount */ public Float getTradeMaxRCUAmount() { return this.tradeMaxRCUAmount; } /** * @return tradeMinRCUAmount */ public Float getTradeMinRCUAmount() { return this.tradeMinRCUAmount; } /** * @return tradePrice */ public Float getTradePrice() { return this.tradePrice; } public static final class Builder { private ActivityInfo activityInfo; private Coupons coupons; private String currency; private Float discountPrice; private Object orderLines; private Float originalPrice; private RuleIds ruleIds; private Float tradeMaxRCUAmount; private Float tradeMinRCUAmount; private Float tradePrice; private Builder() { } private Builder(PriceInfo model) { this.activityInfo = model.activityInfo; this.coupons = model.coupons; this.currency = model.currency; this.discountPrice = model.discountPrice; this.orderLines = model.orderLines; this.originalPrice = model.originalPrice; this.ruleIds = model.ruleIds; this.tradeMaxRCUAmount = model.tradeMaxRCUAmount; this.tradeMinRCUAmount = model.tradeMinRCUAmount; this.tradePrice = model.tradePrice; } /** * <p>The information about the promotion.</p> */ public Builder activityInfo(ActivityInfo activityInfo) { this.activityInfo = activityInfo; return this; } /** * <p>The information about the coupon.</p> */ public Builder coupons(Coupons coupons) { this.coupons = coupons; return this; } /** * <p>The currency unit.</p> * * <strong>example:</strong> * <p>CNY</p> */ public Builder currency(String currency) { this.currency = currency; return this; } /** * <p>The discount.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder discountPrice(Float discountPrice) { this.discountPrice = discountPrice; return this; } /** * <p>The order information.</p> * * <strong>example:</strong> * <p>Order Information</p> */ public Builder orderLines(Object orderLines) { this.orderLines = orderLines; return this; } /** * <p>The original price.</p> * * <strong>example:</strong> * <p>2504</p> */ public Builder originalPrice(Float originalPrice) { this.originalPrice = originalPrice; return this; } /** * <p>An array that consists of the ID of the promotion rule.</p> */ public Builder ruleIds(RuleIds ruleIds) { this.ruleIds = ruleIds; return this; } /** * <p>The estimated hourly cost that is calculated based on the maximum number of RCUs you specify.</p> * * <strong>example:</strong> * <p>1**</p> */ public Builder tradeMaxRCUAmount(Float tradeMaxRCUAmount) { this.tradeMaxRCUAmount = tradeMaxRCUAmount; return this; } /** * <p>The estimated hourly cost that is calculated based on the minimum number of RCUs you specify.</p> * * <strong>example:</strong> * <p>2**</p> */ public Builder tradeMinRCUAmount(Float tradeMinRCUAmount) { this.tradeMinRCUAmount = tradeMinRCUAmount; return this; } /** * <p>The transaction price, which is equal to the original price minus the discount.</p> * * <strong>example:</strong> * <p>2504</p> */ public Builder tradePrice(Float tradePrice) { this.tradePrice = tradePrice; return this; } public PriceInfo build() { return new PriceInfo(this); } } } /** * * {@link DescribePriceResponseBody} extends {@link TeaModel} * * <p>DescribePriceResponseBody</p> */ public static class Rule extends TeaModel { @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("RuleId") private Long ruleId; private Rule(Builder builder) { this.description = builder.description; this.name = builder.name; this.ruleId = builder.ruleId; } public static Builder builder() { return new Builder(); } public static Rule create() { return builder().build(); } /** * @return description */ public String getDescription() { return this.description; } /** * @return name */ public String getName() { return this.name; } /** * @return ruleId */ public Long getRuleId() { return this.ruleId; } public static final class Builder { private String description; private String name; private Long ruleId; private Builder() { } private Builder(Rule model) { this.description = model.description; this.name = model.name; this.ruleId = model.ruleId; } /** * <p>The description of the promotion rule.</p> * * <strong>example:</strong> * <p>Activity Description</p> */ public Builder description(String description) { this.description = description; return this; } /** * <p>The name of the promotion rule.</p> * * <strong>example:</strong> * <p>Rule1</p> */ public Builder name(String name) { this.name = name; return this; } /** * <p>The ID of the promotion rule.</p> * * <strong>example:</strong> * <p>1020021003939076</p> */ public Builder ruleId(Long ruleId) { this.ruleId = ruleId; return this; } public Rule build() { return new Rule(this); } } } /** * * {@link DescribePriceResponseBody} extends {@link TeaModel} * * <p>DescribePriceResponseBody</p> */ public static class Rules extends TeaModel { @com.aliyun.core.annotation.NameInMap("Rule") private java.util.List<Rule> rule; private Rules(Builder builder) { this.rule = builder.rule; } public static Builder builder() { return new Builder(); } public static Rules create() { return builder().build(); } /** * @return rule */ public java.util.List<Rule> getRule() { return this.rule; } public static final class Builder { private java.util.List<Rule> rule; private Builder() { } private Builder(Rules model) { this.rule = model.rule; } /** * Rule. */ public Builder rule(java.util.List<Rule> rule) { this.rule = rule; return this; } public Rules build() { return new Rules(this); } } } /** * * {@link DescribePriceResponseBody} extends {@link TeaModel} * * <p>DescribePriceResponseBody</p> */ public static class ServerlessPrice extends TeaModel { @com.aliyun.core.annotation.NameInMap("RCUDiscountMaxAmount") private Float RCUDiscountMaxAmount; @com.aliyun.core.annotation.NameInMap("RCUDiscountMinAmount") private Float RCUDiscountMinAmount; @com.aliyun.core.annotation.NameInMap("RCUOriginalMaxAmount") private Float RCUOriginalMaxAmount; @com.aliyun.core.annotation.NameInMap("RCUOriginalMinAmount") private Float RCUOriginalMinAmount; @com.aliyun.core.annotation.NameInMap("StorageOriginalAmount") private Float storageOriginalAmount; @com.aliyun.core.annotation.NameInMap("TotalOriginalMaxAmount") private Float totalOriginalMaxAmount; @com.aliyun.core.annotation.NameInMap("TotalOriginalMinAmount") private Float totalOriginalMinAmount; @com.aliyun.core.annotation.NameInMap("TradeMaxRCUAmount") private Float tradeMaxRCUAmount; @com.aliyun.core.annotation.NameInMap("TradeMinRCUAmount") private Float tradeMinRCUAmount; @com.aliyun.core.annotation.NameInMap("storageDiscountAmount") private Float storageDiscountAmount; private ServerlessPrice(Builder builder) { this.RCUDiscountMaxAmount = builder.RCUDiscountMaxAmount; this.RCUDiscountMinAmount = builder.RCUDiscountMinAmount; this.RCUOriginalMaxAmount = builder.RCUOriginalMaxAmount; this.RCUOriginalMinAmount = builder.RCUOriginalMinAmount; this.storageOriginalAmount = builder.storageOriginalAmount; this.totalOriginalMaxAmount = builder.totalOriginalMaxAmount; this.totalOriginalMinAmount = builder.totalOriginalMinAmount; this.tradeMaxRCUAmount = builder.tradeMaxRCUAmount; this.tradeMinRCUAmount = builder.tradeMinRCUAmount; this.storageDiscountAmount = builder.storageDiscountAmount; } public static Builder builder() { return new Builder(); } public static ServerlessPrice create() { return builder().build(); } /** * @return RCUDiscountMaxAmount */ public Float getRCUDiscountMaxAmount() { return this.RCUDiscountMaxAmount; } /** * @return RCUDiscountMinAmount */ public Float getRCUDiscountMinAmount() { return this.RCUDiscountMinAmount; } /** * @return RCUOriginalMaxAmount */ public Float getRCUOriginalMaxAmount() { return this.RCUOriginalMaxAmount; } /** * @return RCUOriginalMinAmount */ public Float getRCUOriginalMinAmount() { return this.RCUOriginalMinAmount; } /** * @return storageOriginalAmount */ public Float getStorageOriginalAmount() { return this.storageOriginalAmount; } /** * @return totalOriginalMaxAmount */ public Float getTotalOriginalMaxAmount() { return this.totalOriginalMaxAmount; } /** * @return totalOriginalMinAmount */ public Float getTotalOriginalMinAmount() { return this.totalOriginalMinAmount; } /** * @return tradeMaxRCUAmount */ public Float getTradeMaxRCUAmount() { return this.tradeMaxRCUAmount; } /** * @return tradeMinRCUAmount */ public Float getTradeMinRCUAmount() { return this.tradeMinRCUAmount; } /** * @return storageDiscountAmount */ public Float getStorageDiscountAmount() { return this.storageDiscountAmount; } public static final class Builder { private Float RCUDiscountMaxAmount; private Float RCUDiscountMinAmount; private Float RCUOriginalMaxAmount; private Float RCUOriginalMinAmount; private Float storageOriginalAmount; private Float totalOriginalMaxAmount; private Float totalOriginalMinAmount; private Float tradeMaxRCUAmount; private Float tradeMinRCUAmount; private Float storageDiscountAmount; private Builder() { } private Builder(ServerlessPrice model) { this.RCUDiscountMaxAmount = model.RCUDiscountMaxAmount; this.RCUDiscountMinAmount = model.RCUDiscountMinAmount; this.RCUOriginalMaxAmount = model.RCUOriginalMaxAmount; this.RCUOriginalMinAmount = model.RCUOriginalMinAmount; this.storageOriginalAmount = model.storageOriginalAmount; this.totalOriginalMaxAmount = model.totalOriginalMaxAmount; this.totalOriginalMinAmount = model.totalOriginalMinAmount; this.tradeMaxRCUAmount = model.tradeMaxRCUAmount; this.tradeMinRCUAmount = model.tradeMinRCUAmount; this.storageDiscountAmount = model.storageDiscountAmount; } /** * <p>The discount amount of the maximum number of RCUs.</p> * * <strong>example:</strong> * <p>1**.*</p> */ public Builder RCUDiscountMaxAmount(Float RCUDiscountMaxAmount) { this.RCUDiscountMaxAmount = RCUDiscountMaxAmount; return this; } /** * <p>The discount amount of the minimum number of RCUs.</p> * * <strong>example:</strong> * <p>1*.*</p> */ public Builder RCUDiscountMinAmount(Float RCUDiscountMinAmount) { this.RCUDiscountMinAmount = RCUDiscountMinAmount; return this; } /** * <p>The price of the maximum number of RCUs.</p> * * <strong>example:</strong> * <p>2**.*</p> */ public Builder RCUOriginalMaxAmount(Float RCUOriginalMaxAmount) { this.RCUOriginalMaxAmount = RCUOriginalMaxAmount; return this; } /** * <p>The price of the minimum number of RCUs.</p> * * <strong>example:</strong> * <p>3*.*</p> */ public Builder RCUOriginalMinAmount(Float RCUOriginalMinAmount) { this.RCUOriginalMinAmount = RCUOriginalMinAmount; return this; } /** * <p>The original price of the disk capacity.</p> * * <strong>example:</strong> * <p>1*</p> */ public Builder storageOriginalAmount(Float storageOriginalAmount) { this.storageOriginalAmount = storageOriginalAmount; return this; } /** * <p>The maximum total price before the discount.</p> * * <strong>example:</strong> * <p>2**.*</p> */ public Builder totalOriginalMaxAmount(Float totalOriginalMaxAmount) { this.totalOriginalMaxAmount = totalOriginalMaxAmount; return this; } /** * <p>The minimum total price before the discount.</p> * * <strong>example:</strong> * <p>2*.*</p> */ public Builder totalOriginalMinAmount(Float totalOriginalMinAmount) { this.totalOriginalMinAmount = totalOriginalMinAmount; return this; } /** * <p>The transaction price of the maximum number of RCUs.</p> * * <strong>example:</strong> * <p>1**.*</p> */ public Builder tradeMaxRCUAmount(Float tradeMaxRCUAmount) { this.tradeMaxRCUAmount = tradeMaxRCUAmount; return this; } /** * <p>The transaction price of the minimum number of RCUs.</p> * * <strong>example:</strong> * <p>2*.*</p> */ public Builder tradeMinRCUAmount(Float tradeMinRCUAmount) { this.tradeMinRCUAmount = tradeMinRCUAmount; return this; } /** * <p>The discounted price of the disk capacity.</p> * * <strong>example:</strong> * <p>2.*</p> */ public Builder storageDiscountAmount(Float storageDiscountAmount) { this.storageDiscountAmount = storageDiscountAmount; return this; } public ServerlessPrice build() { return new ServerlessPrice(this); } } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeQuickSaleConfigRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeQuickSaleConfigRequest} extends {@link RequestModel} * * <p>DescribeQuickSaleConfigRequest</p> */ public class DescribeQuickSaleConfigRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Commodity") private String commodity; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Engine") private String engine; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; private DescribeQuickSaleConfigRequest(Builder builder) { super(builder); this.commodity = builder.commodity; this.engine = builder.engine; this.regionId = builder.regionId; } public static Builder builder() { return new Builder(); } public static DescribeQuickSaleConfigRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return commodity */ public String getCommodity() { return this.commodity; } /** * @return engine */ public String getEngine() { return this.engine; } /** * @return regionId */ public String getRegionId() { return this.regionId; } public static final class Builder extends Request.Builder<DescribeQuickSaleConfigRequest, Builder> { private String commodity; private String engine; private String regionId; private Builder() { super(); } private Builder(DescribeQuickSaleConfigRequest request) { super(request); this.commodity = request.commodity; this.engine = request.engine; this.regionId = request.regionId; } /** * <p>The product code. Valid values:</p> * <ul> * <li>rds: The instance is a subscription instance.</li> * <li>bards: The instance is a pay-as-you-go instance.</li> * </ul> * * <strong>example:</strong> * <p>rds</p> */ public Builder commodity(String commodity) { this.putQueryParameter("Commodity", commodity); this.commodity = commodity; return this; } /** * <p>The database engine of the instance. Valid values:</p> * <ul> * <li><strong>MySQL</strong></li> * <li><strong>SQLServer</strong></li> * <li><strong>PostgreSQL</strong></li> * <li><strong>MariaDB</strong></li> * </ul> * * <strong>example:</strong> * <p>MySQL</p> */ public Builder engine(String engine) { this.putQueryParameter("Engine", engine); this.engine = engine; return this; } /** * <p>The region ID. You can call the <a href="https://help.aliyun.com/document_detail/26243.html">DescribeRegions</a> operation to query the most recent region list.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } @Override public DescribeQuickSaleConfigRequest build() { return new DescribeQuickSaleConfigRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeQuickSaleConfigResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeQuickSaleConfigResponse} extends {@link TeaModel} * * <p>DescribeQuickSaleConfigResponse</p> */ public class DescribeQuickSaleConfigResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeQuickSaleConfigResponseBody body; private DescribeQuickSaleConfigResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeQuickSaleConfigResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeQuickSaleConfigResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeQuickSaleConfigResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeQuickSaleConfigResponseBody body); @Override DescribeQuickSaleConfigResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeQuickSaleConfigResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeQuickSaleConfigResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeQuickSaleConfigResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeQuickSaleConfigResponseBody body) { this.body = body; return this; } @Override public DescribeQuickSaleConfigResponse build() { return new DescribeQuickSaleConfigResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeQuickSaleConfigResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeQuickSaleConfigResponseBody} extends {@link TeaModel} * * <p>DescribeQuickSaleConfigResponseBody</p> */ public class DescribeQuickSaleConfigResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Commodity") private String commodity; @com.aliyun.core.annotation.NameInMap("Items") private java.util.Map<String, ?> items; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeQuickSaleConfigResponseBody(Builder builder) { this.commodity = builder.commodity; this.items = builder.items; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeQuickSaleConfigResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return commodity */ public String getCommodity() { return this.commodity; } /** * @return items */ public java.util.Map<String, ?> getItems() { return this.items; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String commodity; private java.util.Map<String, ?> items; private String requestId; private Builder() { } private Builder(DescribeQuickSaleConfigResponseBody model) { this.commodity = model.commodity; this.items = model.items; this.requestId = model.requestId; } /** * <p>The product code. Valid values:</p> * <ul> * <li>rds: The instance is a subscription instance.</li> * <li>bards: The instance is a pay-as-you-go instance.</li> * </ul> * * <strong>example:</strong> * <p>rds</p> */ public Builder commodity(String commodity) { this.commodity = commodity; return this; } /** * <p>The configuration details of the product.</p> */ public Builder items(java.util.Map<String, ?> items) { this.items = items; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>5DFFE9EC-3369-5937-A4E2-507C0C86A4C6</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeQuickSaleConfigResponseBody build() { return new DescribeQuickSaleConfigResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCCloudAssistantStatusRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCCloudAssistantStatusRequest} extends {@link RequestModel} * * <p>DescribeRCCloudAssistantStatusRequest</p> */ public class DescribeRCCloudAssistantStatusRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceIds") private java.util.List<String> instanceIds; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("MaxResults") @com.aliyun.core.annotation.Validation(maximum = 50, minimum = 1) private Integer maxResults; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NextToken") private String nextToken; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OSType") private String OSType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageNumber") private Integer pageNumber; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") @com.aliyun.core.annotation.Validation(maximum = 50, minimum = 1) private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") @com.aliyun.core.annotation.Validation(required = true) private String regionId; private DescribeRCCloudAssistantStatusRequest(Builder builder) { super(builder); this.instanceIds = builder.instanceIds; this.maxResults = builder.maxResults; this.nextToken = builder.nextToken; this.OSType = builder.OSType; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.regionId = builder.regionId; } public static Builder builder() { return new Builder(); } public static DescribeRCCloudAssistantStatusRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return instanceIds */ public java.util.List<String> getInstanceIds() { return this.instanceIds; } /** * @return maxResults */ public Integer getMaxResults() { return this.maxResults; } /** * @return nextToken */ public String getNextToken() { return this.nextToken; } /** * @return OSType */ public String getOSType() { return this.OSType; } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return regionId */ public String getRegionId() { return this.regionId; } public static final class Builder extends Request.Builder<DescribeRCCloudAssistantStatusRequest, Builder> { private java.util.List<String> instanceIds; private Integer maxResults; private String nextToken; private String OSType; private Integer pageNumber; private Integer pageSize; private String regionId; private Builder() { super(); } private Builder(DescribeRCCloudAssistantStatusRequest request) { super(request); this.instanceIds = request.instanceIds; this.maxResults = request.maxResults; this.nextToken = request.nextToken; this.OSType = request.OSType; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.regionId = request.regionId; } /** * InstanceIds. */ public Builder instanceIds(java.util.List<String> instanceIds) { String instanceIdsShrink = shrink(instanceIds, "InstanceIds", "json"); this.putQueryParameter("InstanceIds", instanceIdsShrink); this.instanceIds = instanceIds; return this; } /** * MaxResults. */ public Builder maxResults(Integer maxResults) { this.putQueryParameter("MaxResults", maxResults); this.maxResults = maxResults; return this; } /** * NextToken. */ public Builder nextToken(String nextToken) { this.putQueryParameter("NextToken", nextToken); this.nextToken = nextToken; return this; } /** * OSType. */ public Builder OSType(String OSType) { this.putQueryParameter("OSType", OSType); this.OSType = OSType; return this; } /** * PageNumber. */ public Builder pageNumber(Integer pageNumber) { this.putQueryParameter("PageNumber", pageNumber); this.pageNumber = pageNumber; return this; } /** * PageSize. */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } @Override public DescribeRCCloudAssistantStatusRequest build() { return new DescribeRCCloudAssistantStatusRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCCloudAssistantStatusResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCCloudAssistantStatusResponse} extends {@link TeaModel} * * <p>DescribeRCCloudAssistantStatusResponse</p> */ public class DescribeRCCloudAssistantStatusResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeRCCloudAssistantStatusResponseBody body; private DescribeRCCloudAssistantStatusResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeRCCloudAssistantStatusResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeRCCloudAssistantStatusResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeRCCloudAssistantStatusResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeRCCloudAssistantStatusResponseBody body); @Override DescribeRCCloudAssistantStatusResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeRCCloudAssistantStatusResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeRCCloudAssistantStatusResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeRCCloudAssistantStatusResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeRCCloudAssistantStatusResponseBody body) { this.body = body; return this; } @Override public DescribeRCCloudAssistantStatusResponse build() { return new DescribeRCCloudAssistantStatusResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCCloudAssistantStatusResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCCloudAssistantStatusResponseBody} extends {@link TeaModel} * * <p>DescribeRCCloudAssistantStatusResponseBody</p> */ public class DescribeRCCloudAssistantStatusResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("InstanceCloudAssistantStatusSet") private java.util.List<InstanceCloudAssistantStatusSet> instanceCloudAssistantStatusSet; @com.aliyun.core.annotation.NameInMap("NextToken") @com.aliyun.core.annotation.Validation(required = true) private String nextToken; @com.aliyun.core.annotation.NameInMap("PageNumber") private String pageNumber; @com.aliyun.core.annotation.NameInMap("PageSize") private String pageSize; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private DescribeRCCloudAssistantStatusResponseBody(Builder builder) { this.instanceCloudAssistantStatusSet = builder.instanceCloudAssistantStatusSet; this.nextToken = builder.nextToken; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.requestId = builder.requestId; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static DescribeRCCloudAssistantStatusResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return instanceCloudAssistantStatusSet */ public java.util.List<InstanceCloudAssistantStatusSet> getInstanceCloudAssistantStatusSet() { return this.instanceCloudAssistantStatusSet; } /** * @return nextToken */ public String getNextToken() { return this.nextToken; } /** * @return pageNumber */ public String getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public String getPageSize() { return this.pageSize; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private java.util.List<InstanceCloudAssistantStatusSet> instanceCloudAssistantStatusSet; private String nextToken; private String pageNumber; private String pageSize; private String requestId; private Integer totalCount; private Builder() { } private Builder(DescribeRCCloudAssistantStatusResponseBody model) { this.instanceCloudAssistantStatusSet = model.instanceCloudAssistantStatusSet; this.nextToken = model.nextToken; this.pageNumber = model.pageNumber; this.pageSize = model.pageSize; this.requestId = model.requestId; this.totalCount = model.totalCount; } /** * InstanceCloudAssistantStatusSet. */ public Builder instanceCloudAssistantStatusSet(java.util.List<InstanceCloudAssistantStatusSet> instanceCloudAssistantStatusSet) { this.instanceCloudAssistantStatusSet = instanceCloudAssistantStatusSet; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>AAAAAdDWBF2</p> */ public Builder nextToken(String nextToken) { this.nextToken = nextToken; return this; } /** * PageNumber. */ public Builder pageNumber(String pageNumber) { this.pageNumber = pageNumber; return this; } /** * PageSize. */ public Builder pageSize(String pageSize) { this.pageSize = pageSize; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * TotalCount. */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public DescribeRCCloudAssistantStatusResponseBody build() { return new DescribeRCCloudAssistantStatusResponseBody(this); } } /** * * {@link DescribeRCCloudAssistantStatusResponseBody} extends {@link TeaModel} * * <p>DescribeRCCloudAssistantStatusResponseBody</p> */ public static class InstanceCloudAssistantStatusSet extends TeaModel { @com.aliyun.core.annotation.NameInMap("ActiveTaskCount") private Integer activeTaskCount; @com.aliyun.core.annotation.NameInMap("CloudAssistantStatus") private String cloudAssistantStatus; @com.aliyun.core.annotation.NameInMap("CloudAssistantVersion") private String cloudAssistantVersion; @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("InvocationCount") private Integer invocationCount; @com.aliyun.core.annotation.NameInMap("LastHeartbeatTime") private String lastHeartbeatTime; @com.aliyun.core.annotation.NameInMap("LastInvokedTime") private String lastInvokedTime; @com.aliyun.core.annotation.NameInMap("OSType") private String OSType; @com.aliyun.core.annotation.NameInMap("SupportSessionManager") private Boolean supportSessionManager; private InstanceCloudAssistantStatusSet(Builder builder) { this.activeTaskCount = builder.activeTaskCount; this.cloudAssistantStatus = builder.cloudAssistantStatus; this.cloudAssistantVersion = builder.cloudAssistantVersion; this.instanceId = builder.instanceId; this.invocationCount = builder.invocationCount; this.lastHeartbeatTime = builder.lastHeartbeatTime; this.lastInvokedTime = builder.lastInvokedTime; this.OSType = builder.OSType; this.supportSessionManager = builder.supportSessionManager; } public static Builder builder() { return new Builder(); } public static InstanceCloudAssistantStatusSet create() { return builder().build(); } /** * @return activeTaskCount */ public Integer getActiveTaskCount() { return this.activeTaskCount; } /** * @return cloudAssistantStatus */ public String getCloudAssistantStatus() { return this.cloudAssistantStatus; } /** * @return cloudAssistantVersion */ public String getCloudAssistantVersion() { return this.cloudAssistantVersion; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return invocationCount */ public Integer getInvocationCount() { return this.invocationCount; } /** * @return lastHeartbeatTime */ public String getLastHeartbeatTime() { return this.lastHeartbeatTime; } /** * @return lastInvokedTime */ public String getLastInvokedTime() { return this.lastInvokedTime; } /** * @return OSType */ public String getOSType() { return this.OSType; } /** * @return supportSessionManager */ public Boolean getSupportSessionManager() { return this.supportSessionManager; } public static final class Builder { private Integer activeTaskCount; private String cloudAssistantStatus; private String cloudAssistantVersion; private String instanceId; private Integer invocationCount; private String lastHeartbeatTime; private String lastInvokedTime; private String OSType; private Boolean supportSessionManager; private Builder() { } private Builder(InstanceCloudAssistantStatusSet model) { this.activeTaskCount = model.activeTaskCount; this.cloudAssistantStatus = model.cloudAssistantStatus; this.cloudAssistantVersion = model.cloudAssistantVersion; this.instanceId = model.instanceId; this.invocationCount = model.invocationCount; this.lastHeartbeatTime = model.lastHeartbeatTime; this.lastInvokedTime = model.lastInvokedTime; this.OSType = model.OSType; this.supportSessionManager = model.supportSessionManager; } /** * ActiveTaskCount. */ public Builder activeTaskCount(Integer activeTaskCount) { this.activeTaskCount = activeTaskCount; return this; } /** * CloudAssistantStatus. */ public Builder cloudAssistantStatus(String cloudAssistantStatus) { this.cloudAssistantStatus = cloudAssistantStatus; return this; } /** * CloudAssistantVersion. */ public Builder cloudAssistantVersion(String cloudAssistantVersion) { this.cloudAssistantVersion = cloudAssistantVersion; return this; } /** * InstanceId. */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * InvocationCount. */ public Builder invocationCount(Integer invocationCount) { this.invocationCount = invocationCount; return this; } /** * LastHeartbeatTime. */ public Builder lastHeartbeatTime(String lastHeartbeatTime) { this.lastHeartbeatTime = lastHeartbeatTime; return this; } /** * LastInvokedTime. */ public Builder lastInvokedTime(String lastInvokedTime) { this.lastInvokedTime = lastInvokedTime; return this; } /** * OSType. */ public Builder OSType(String OSType) { this.OSType = OSType; return this; } /** * SupportSessionManager. */ public Builder supportSessionManager(Boolean supportSessionManager) { this.supportSessionManager = supportSessionManager; return this; } public InstanceCloudAssistantStatusSet build() { return new InstanceCloudAssistantStatusSet(this); } } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCClusterConfigRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCClusterConfigRequest} extends {@link RequestModel} * * <p>DescribeRCClusterConfigRequest</p> */ public class DescribeRCClusterConfigRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TemporaryDurationMinutes") private Integer temporaryDurationMinutes; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("VpcId") private String vpcId; private DescribeRCClusterConfigRequest(Builder builder) { super(builder); this.regionId = builder.regionId; this.temporaryDurationMinutes = builder.temporaryDurationMinutes; this.vpcId = builder.vpcId; } public static Builder builder() { return new Builder(); } public static DescribeRCClusterConfigRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return temporaryDurationMinutes */ public Integer getTemporaryDurationMinutes() { return this.temporaryDurationMinutes; } /** * @return vpcId */ public String getVpcId() { return this.vpcId; } public static final class Builder extends Request.Builder<DescribeRCClusterConfigRequest, Builder> { private String regionId; private Integer temporaryDurationMinutes; private String vpcId; private Builder() { super(); } private Builder(DescribeRCClusterConfigRequest request) { super(request); this.regionId = request.regionId; this.temporaryDurationMinutes = request.temporaryDurationMinutes; this.vpcId = request.vpcId; } /** * <p>The region ID.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * <p>The validity period of the temporary kubeconfig file. Unit: minutes. Valid values: 15 to 4320.</p> * <blockquote> * <p> If you do not specify this parameter, the system specifies a longer validity period. The validity period is returned in the <code>expiration</code> parameter.</p> * </blockquote> * * <strong>example:</strong> * <p>20</p> */ public Builder temporaryDurationMinutes(Integer temporaryDurationMinutes) { this.putQueryParameter("TemporaryDurationMinutes", temporaryDurationMinutes); this.temporaryDurationMinutes = temporaryDurationMinutes; return this; } /** * <p>The virtual private cloud (VPC) ID.</p> * <blockquote> * <p> This is a reserved parameter.</p> * </blockquote> * * <strong>example:</strong> * <p>None</p> */ public Builder vpcId(String vpcId) { this.putQueryParameter("VpcId", vpcId); this.vpcId = vpcId; return this; } @Override public DescribeRCClusterConfigRequest build() { return new DescribeRCClusterConfigRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCClusterConfigResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCClusterConfigResponse} extends {@link TeaModel} * * <p>DescribeRCClusterConfigResponse</p> */ public class DescribeRCClusterConfigResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeRCClusterConfigResponseBody body; private DescribeRCClusterConfigResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeRCClusterConfigResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeRCClusterConfigResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeRCClusterConfigResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeRCClusterConfigResponseBody body); @Override DescribeRCClusterConfigResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeRCClusterConfigResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeRCClusterConfigResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeRCClusterConfigResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeRCClusterConfigResponseBody body) { this.body = body; return this; } @Override public DescribeRCClusterConfigResponse build() { return new DescribeRCClusterConfigResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCClusterConfigResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCClusterConfigResponseBody} extends {@link TeaModel} * * <p>DescribeRCClusterConfigResponseBody</p> */ public class DescribeRCClusterConfigResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Config") private String config; @com.aliyun.core.annotation.NameInMap("Expiration") private String expiration; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeRCClusterConfigResponseBody(Builder builder) { this.config = builder.config; this.expiration = builder.expiration; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeRCClusterConfigResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return config */ public String getConfig() { return this.config; } /** * @return expiration */ public String getExpiration() { return this.expiration; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String config; private String expiration; private String requestId; private Builder() { } private Builder(DescribeRCClusterConfigResponseBody model) { this.config = model.config; this.expiration = model.expiration; this.requestId = model.requestId; } /** * <p>The kubeconfig file of the cluster.</p> * * <strong>example:</strong> * <p>apiVersion: v1****</p> */ public Builder config(String config) { this.config = config; return this; } /** * <p>The expiration time of the kubeconfig file. Format: the UTC time in the RFC3339 format.</p> * * <strong>example:</strong> * <p>2024-03-10T09:56:17Z</p> */ public Builder expiration(String expiration) { this.expiration = expiration; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>E9DD55F4-1A5F-48CA-BA57-DFB3CA8C4C34</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeRCClusterConfigResponseBody build() { return new DescribeRCClusterConfigResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCClusterNodesRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCClusterNodesRequest} extends {@link RequestModel} * * <p>DescribeRCClusterNodesRequest</p> */ public class DescribeRCClusterNodesRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageNumber") private Long pageNumber; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Long pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("VpcId") private String vpcId; private DescribeRCClusterNodesRequest(Builder builder) { super(builder); this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.regionId = builder.regionId; this.vpcId = builder.vpcId; } public static Builder builder() { return new Builder(); } public static DescribeRCClusterNodesRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return pageNumber */ public Long getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Long getPageSize() { return this.pageSize; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return vpcId */ public String getVpcId() { return this.vpcId; } public static final class Builder extends Request.Builder<DescribeRCClusterNodesRequest, Builder> { private Long pageNumber; private Long pageSize; private String regionId; private String vpcId; private Builder() { super(); } private Builder(DescribeRCClusterNodesRequest request) { super(request); this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.regionId = request.regionId; this.vpcId = request.vpcId; } /** * <p>The page number.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageNumber(Long pageNumber) { this.putQueryParameter("PageNumber", pageNumber); this.pageNumber = pageNumber; return this; } /** * <p>The number of entries per page. Valid values: <strong>1 to 100</strong>.</p> * <p>Default value: <strong>30</strong>.</p> * * <strong>example:</strong> * <p>30</p> */ public Builder pageSize(Long pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The region ID.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * <p>The virtual private cloud (VPC) ID.</p> * <blockquote> * <p> This is a reserved parameter.</p> * </blockquote> * * <strong>example:</strong> * <p>None</p> */ public Builder vpcId(String vpcId) { this.putQueryParameter("VpcId", vpcId); this.vpcId = vpcId; return this; } @Override public DescribeRCClusterNodesRequest build() { return new DescribeRCClusterNodesRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCClusterNodesResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCClusterNodesResponse} extends {@link TeaModel} * * <p>DescribeRCClusterNodesResponse</p> */ public class DescribeRCClusterNodesResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeRCClusterNodesResponseBody body; private DescribeRCClusterNodesResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeRCClusterNodesResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeRCClusterNodesResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeRCClusterNodesResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeRCClusterNodesResponseBody body); @Override DescribeRCClusterNodesResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeRCClusterNodesResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeRCClusterNodesResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeRCClusterNodesResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeRCClusterNodesResponseBody body) { this.body = body; return this; } @Override public DescribeRCClusterNodesResponse build() { return new DescribeRCClusterNodesResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCClusterNodesResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCClusterNodesResponseBody} extends {@link TeaModel} * * <p>DescribeRCClusterNodesResponseBody</p> */ public class DescribeRCClusterNodesResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Nodes") private java.util.List<Nodes> nodes; @com.aliyun.core.annotation.NameInMap("Page") private Page page; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeRCClusterNodesResponseBody(Builder builder) { this.nodes = builder.nodes; this.page = builder.page; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeRCClusterNodesResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return nodes */ public java.util.List<Nodes> getNodes() { return this.nodes; } /** * @return page */ public Page getPage() { return this.page; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<Nodes> nodes; private Page page; private String requestId; private Builder() { } private Builder(DescribeRCClusterNodesResponseBody model) { this.nodes = model.nodes; this.page = model.page; this.requestId = model.requestId; } /** * <p>The details of the nodes.</p> */ public Builder nodes(java.util.List<Nodes> nodes) { this.nodes = nodes; return this; } /** * <p>The pagination information.</p> */ public Builder page(Page page) { this.page = page; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>16C62438-491B-5C02-9B49-BA924A1372A2</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeRCClusterNodesResponseBody build() { return new DescribeRCClusterNodesResponseBody(this); } } /** * * {@link DescribeRCClusterNodesResponseBody} extends {@link TeaModel} * * <p>DescribeRCClusterNodesResponseBody</p> */ public static class Nodes extends TeaModel { @com.aliyun.core.annotation.NameInMap("CreationTime") private String creationTime; @com.aliyun.core.annotation.NameInMap("DockerVersion") private String dockerVersion; @com.aliyun.core.annotation.NameInMap("ImageId") private String imageId; @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("InstanceRole") private String instanceRole; @com.aliyun.core.annotation.NameInMap("IpAddresses") private java.util.List<String> ipAddresses; @com.aliyun.core.annotation.NameInMap("IsAliyunNode") private Boolean isAliyunNode; @com.aliyun.core.annotation.NameInMap("NodeName") private String nodeName; @com.aliyun.core.annotation.NameInMap("NodePoolId") private String nodePoolId; @com.aliyun.core.annotation.NameInMap("NodeStatus") private String nodeStatus; @com.aliyun.core.annotation.NameInMap("RuntimeVersion") private String runtimeVersion; @com.aliyun.core.annotation.NameInMap("State") private String state; private Nodes(Builder builder) { this.creationTime = builder.creationTime; this.dockerVersion = builder.dockerVersion; this.imageId = builder.imageId; this.instanceId = builder.instanceId; this.instanceRole = builder.instanceRole; this.ipAddresses = builder.ipAddresses; this.isAliyunNode = builder.isAliyunNode; this.nodeName = builder.nodeName; this.nodePoolId = builder.nodePoolId; this.nodeStatus = builder.nodeStatus; this.runtimeVersion = builder.runtimeVersion; this.state = builder.state; } public static Builder builder() { return new Builder(); } public static Nodes create() { return builder().build(); } /** * @return creationTime */ public String getCreationTime() { return this.creationTime; } /** * @return dockerVersion */ public String getDockerVersion() { return this.dockerVersion; } /** * @return imageId */ public String getImageId() { return this.imageId; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return instanceRole */ public String getInstanceRole() { return this.instanceRole; } /** * @return ipAddresses */ public java.util.List<String> getIpAddresses() { return this.ipAddresses; } /** * @return isAliyunNode */ public Boolean getIsAliyunNode() { return this.isAliyunNode; } /** * @return nodeName */ public String getNodeName() { return this.nodeName; } /** * @return nodePoolId */ public String getNodePoolId() { return this.nodePoolId; } /** * @return nodeStatus */ public String getNodeStatus() { return this.nodeStatus; } /** * @return runtimeVersion */ public String getRuntimeVersion() { return this.runtimeVersion; } /** * @return state */ public String getState() { return this.state; } public static final class Builder { private String creationTime; private String dockerVersion; private String imageId; private String instanceId; private String instanceRole; private java.util.List<String> ipAddresses; private Boolean isAliyunNode; private String nodeName; private String nodePoolId; private String nodeStatus; private String runtimeVersion; private String state; private Builder() { } private Builder(Nodes model) { this.creationTime = model.creationTime; this.dockerVersion = model.dockerVersion; this.imageId = model.imageId; this.instanceId = model.instanceId; this.instanceRole = model.instanceRole; this.ipAddresses = model.ipAddresses; this.isAliyunNode = model.isAliyunNode; this.nodeName = model.nodeName; this.nodePoolId = model.nodePoolId; this.nodeStatus = model.nodeStatus; this.runtimeVersion = model.runtimeVersion; this.state = model.state; } /** * <p>The time when the node was created.</p> * * <strong>example:</strong> * <p>2024-10-21T07:20:09Z</p> */ public Builder creationTime(String creationTime) { this.creationTime = creationTime; return this; } /** * <p>The container version.</p> * * <strong>example:</strong> * <p>1.0</p> */ public Builder dockerVersion(String dockerVersion) { this.dockerVersion = dockerVersion; return this; } /** * <p>The image ID of the node.</p> * * <strong>example:</strong> * <p>m-2oqiu973jwcxe****</p> */ public Builder imageId(String imageId) { this.imageId = imageId; return this; } /** * <p>The node ID.</p> * * <strong>example:</strong> * <p>rc-u79597n5f54s5bnz****</p> */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * <p>The node role. Valid values:</p> * <ul> * <li><strong>Master</strong>: master node</li> * <li><strong>Worker</strong>: worker node</li> * </ul> * * <strong>example:</strong> * <p>Master</p> */ public Builder instanceRole(String instanceRole) { this.instanceRole = instanceRole; return this; } /** * <p>The IP address.</p> */ public Builder ipAddresses(java.util.List<String> ipAddresses) { this.ipAddresses = ipAddresses; return this; } /** * <p>Indicates whether the node is provided by Alibaba Cloud. Valid values:</p> * <ul> * <li><strong>true</strong></li> * <li><strong>false</strong></li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder isAliyunNode(Boolean isAliyunNode) { this.isAliyunNode = isAliyunNode; return this; } /** * <p>The node name, which is the identifier of the RDS Custom node in the cluster.</p> * * <strong>example:</strong> * <p>cn-hangzhou.192.168.XXX.XXX</p> */ public Builder nodeName(String nodeName) { this.nodeName = nodeName; return this; } /** * <p>The node pool ID.</p> * * <strong>example:</strong> * <p>None</p> */ public Builder nodePoolId(String nodePoolId) { this.nodePoolId = nodePoolId; return this; } /** * <p>Indicates whether the node is ready. Valid values:</p> * <ul> * <li><strong>Ready</strong>: The node is ready.</li> * <li><strong>NotReady</strong>: The node is not ready.</li> * <li><strong>Unknown</strong>: The status of the node is unknown.</li> * <li><strong>Offline</strong>: The node is offline.</li> * </ul> * * <strong>example:</strong> * <p>Ready</p> */ public Builder nodeStatus(String nodeStatus) { this.nodeStatus = nodeStatus; return this; } /** * <p>The runtime of the ACK cluster.</p> * * <strong>example:</strong> * <p>2024-10-21T07:20:09Z</p> */ public Builder runtimeVersion(String runtimeVersion) { this.runtimeVersion = runtimeVersion; return this; } /** * <p>The node status. Valid values:</p> * <ul> * <li><strong>pending</strong></li> * <li><strong>running</strong></li> * <li><strong>starting</strong></li> * <li><strong>stopping</strong></li> * <li><strong>stopped</strong></li> * </ul> * * <strong>example:</strong> * <p>running</p> */ public Builder state(String state) { this.state = state; return this; } public Nodes build() { return new Nodes(this); } } } /** * * {@link DescribeRCClusterNodesResponseBody} extends {@link TeaModel} * * <p>DescribeRCClusterNodesResponseBody</p> */ public static class Page extends TeaModel { @com.aliyun.core.annotation.NameInMap("PageNumber") private Long pageNumber; @com.aliyun.core.annotation.NameInMap("PageSize") private Long pageSize; @com.aliyun.core.annotation.NameInMap("TotalCount") private Long totalCount; private Page(Builder builder) { this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static Page create() { return builder().build(); } /** * @return pageNumber */ public Long getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Long getPageSize() { return this.pageSize; } /** * @return totalCount */ public Long getTotalCount() { return this.totalCount; } public static final class Builder { private Long pageNumber; private Long pageSize; private Long totalCount; private Builder() { } private Builder(Page model) { this.pageNumber = model.pageNumber; this.pageSize = model.pageSize; this.totalCount = model.totalCount; } /** * <p>The page number.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder pageNumber(Long pageNumber) { this.pageNumber = pageNumber; return this; } /** * <p>The maximum number of entries returned per page.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder pageSize(Long pageSize) { this.pageSize = pageSize; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>4</p> */ public Builder totalCount(Long totalCount) { this.totalCount = totalCount; return this; } public Page build() { return new Page(this); } } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCClustersRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCClustersRequest} extends {@link RequestModel} * * <p>DescribeRCClustersRequest</p> */ public class DescribeRCClustersRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Profile") private String profile; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("VpcId") private String vpcId; private DescribeRCClustersRequest(Builder builder) { super(builder); this.profile = builder.profile; this.regionId = builder.regionId; this.vpcId = builder.vpcId; } public static Builder builder() { return new Builder(); } public static DescribeRCClustersRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return profile */ public String getProfile() { return this.profile; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return vpcId */ public String getVpcId() { return this.vpcId; } public static final class Builder extends Request.Builder<DescribeRCClustersRequest, Builder> { private String profile; private String regionId; private String vpcId; private Builder() { super(); } private Builder(DescribeRCClustersRequest request) { super(request); this.profile = request.profile; this.regionId = request.regionId; this.vpcId = request.vpcId; } /** * Profile. */ public Builder profile(String profile) { this.putQueryParameter("Profile", profile); this.profile = profile; return this; } /** * <p>The region ID.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * VpcId. */ public Builder vpcId(String vpcId) { this.putQueryParameter("VpcId", vpcId); this.vpcId = vpcId; return this; } @Override public DescribeRCClustersRequest build() { return new DescribeRCClustersRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCClustersResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCClustersResponse} extends {@link TeaModel} * * <p>DescribeRCClustersResponse</p> */ public class DescribeRCClustersResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeRCClustersResponseBody body; private DescribeRCClustersResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeRCClustersResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeRCClustersResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeRCClustersResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeRCClustersResponseBody body); @Override DescribeRCClustersResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeRCClustersResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeRCClustersResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeRCClustersResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeRCClustersResponseBody body) { this.body = body; return this; } @Override public DescribeRCClustersResponse build() { return new DescribeRCClustersResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCClustersResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCClustersResponseBody} extends {@link TeaModel} * * <p>DescribeRCClustersResponseBody</p> */ public class DescribeRCClustersResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Clusters") private java.util.List<Clusters> clusters; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeRCClustersResponseBody(Builder builder) { this.clusters = builder.clusters; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeRCClustersResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return clusters */ public java.util.List<Clusters> getClusters() { return this.clusters; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<Clusters> clusters; private String requestId; private Builder() { } private Builder(DescribeRCClustersResponseBody model) { this.clusters = model.clusters; this.requestId = model.requestId; } /** * <p>The information about the clusters.</p> */ public Builder clusters(java.util.List<Clusters> clusters) { this.clusters = clusters; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>2875D608-A228-53D7-B8C9-35F13EDCF36D</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeRCClustersResponseBody build() { return new DescribeRCClustersResponseBody(this); } } /** * * {@link DescribeRCClustersResponseBody} extends {@link TeaModel} * * <p>DescribeRCClustersResponseBody</p> */ public static class Clusters extends TeaModel { @com.aliyun.core.annotation.NameInMap("ClusterId") private String clusterId; @com.aliyun.core.annotation.NameInMap("ClusterName") private String clusterName; @com.aliyun.core.annotation.NameInMap("CreateTime") private String createTime; @com.aliyun.core.annotation.NameInMap("Profile") private String profile; @com.aliyun.core.annotation.NameInMap("Status") private String status; @com.aliyun.core.annotation.NameInMap("VpcId") private String vpcId; private Clusters(Builder builder) { this.clusterId = builder.clusterId; this.clusterName = builder.clusterName; this.createTime = builder.createTime; this.profile = builder.profile; this.status = builder.status; this.vpcId = builder.vpcId; } public static Builder builder() { return new Builder(); } public static Clusters create() { return builder().build(); } /** * @return clusterId */ public String getClusterId() { return this.clusterId; } /** * @return clusterName */ public String getClusterName() { return this.clusterName; } /** * @return createTime */ public String getCreateTime() { return this.createTime; } /** * @return profile */ public String getProfile() { return this.profile; } /** * @return status */ public String getStatus() { return this.status; } /** * @return vpcId */ public String getVpcId() { return this.vpcId; } public static final class Builder { private String clusterId; private String clusterName; private String createTime; private String profile; private String status; private String vpcId; private Builder() { } private Builder(Clusters model) { this.clusterId = model.clusterId; this.clusterName = model.clusterName; this.createTime = model.createTime; this.profile = model.profile; this.status = model.status; this.vpcId = model.vpcId; } /** * ClusterId. */ public Builder clusterId(String clusterId) { this.clusterId = clusterId; return this; } /** * <p>The cluster name.</p> * * <strong>example:</strong> * <p>test01</p> */ public Builder clusterName(String clusterName) { this.clusterName = clusterName; return this; } /** * <p>The time when the cluster was created.</p> * * <strong>example:</strong> * <p>2024-10-30T02:16:04Z</p> */ public Builder createTime(String createTime) { this.createTime = createTime; return this; } /** * Profile. */ public Builder profile(String profile) { this.profile = profile; return this; } /** * <p>The cluster status. Valid values:</p> * <ul> * <li><strong>Pending</strong></li> * <li><strong>Running</strong></li> * <li><strong>Starting</strong></li> * <li><strong>Stopping</strong></li> * <li><strong>Stopped</strong></li> * </ul> * * <strong>example:</strong> * <p>Running</p> */ public Builder status(String status) { this.status = status; return this; } /** * VpcId. */ public Builder vpcId(String vpcId) { this.vpcId = vpcId; return this; } public Clusters build() { return new Clusters(this); } } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCDeploymentSetsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCDeploymentSetsRequest} extends {@link RequestModel} * * <p>DescribeRCDeploymentSetsRequest</p> */ public class DescribeRCDeploymentSetsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DeploymentSetIds") private String deploymentSetIds; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DeploymentSetName") private String deploymentSetName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageNumber") private Integer pageNumber; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") @com.aliyun.core.annotation.Validation(required = true) private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Strategy") private String strategy; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Tag") private String tag; private DescribeRCDeploymentSetsRequest(Builder builder) { super(builder); this.deploymentSetIds = builder.deploymentSetIds; this.deploymentSetName = builder.deploymentSetName; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.regionId = builder.regionId; this.strategy = builder.strategy; this.tag = builder.tag; } public static Builder builder() { return new Builder(); } public static DescribeRCDeploymentSetsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return deploymentSetIds */ public String getDeploymentSetIds() { return this.deploymentSetIds; } /** * @return deploymentSetName */ public String getDeploymentSetName() { return this.deploymentSetName; } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return strategy */ public String getStrategy() { return this.strategy; } /** * @return tag */ public String getTag() { return this.tag; } public static final class Builder extends Request.Builder<DescribeRCDeploymentSetsRequest, Builder> { private String deploymentSetIds; private String deploymentSetName; private Integer pageNumber; private Integer pageSize; private String regionId; private String strategy; private String tag; private Builder() { super(); } private Builder(DescribeRCDeploymentSetsRequest request) { super(request); this.deploymentSetIds = request.deploymentSetIds; this.deploymentSetName = request.deploymentSetName; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.regionId = request.regionId; this.strategy = request.strategy; this.tag = request.tag; } /** * <p>The IDs of the deployment sets. The value can be a JSON array that consists of deployment set IDs in the format of <code>[&quot;ds-xxxxxxxxx&quot;, &quot;ds-yyyyyyyyy&quot;, ... &quot;ds-zzzzzzzzz&quot;]</code>. You can specify up to 100 deployment set IDs in each request. Separate the deployment set IDs with commas (,).</p> * * <strong>example:</strong> * <p>[&quot;ds-2zeeuw16zo2gr9e6****&quot;]</p> */ public Builder deploymentSetIds(String deploymentSetIds) { this.putQueryParameter("DeploymentSetIds", deploymentSetIds); this.deploymentSetIds = deploymentSetIds; return this; } /** * <p>The deployment set name. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with <code>http://</code> or <code>https://</code>. The name can contain digits, letters, colons (:), underscores (_), and hyphens (-).</p> * * <strong>example:</strong> * <p>deployment_test</p> */ public Builder deploymentSetName(String deploymentSetName) { this.putQueryParameter("DeploymentSetName", deploymentSetName); this.deploymentSetName = deploymentSetName; return this; } /** * <p>The page number.</p> * <p>Pages start from page 1.</p> * <p>Default value: 1.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageNumber(Integer pageNumber) { this.putQueryParameter("PageNumber", pageNumber); this.pageNumber = pageNumber; return this; } /** * <p>The number of entries per page.</p> * <p>Maximum value: 50.</p> * <p>Default value: 10.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The region ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * <p>The deployment strategy. Valid values:</p> * <ul> * <li><strong>Availability</strong>: high availability strategy</li> * <li><strong>AvailabilityGroup</strong>: high availability group strategy</li> * </ul> * <p>Default value: Availability.</p> * * <strong>example:</strong> * <p>Availability</p> */ public Builder strategy(String strategy) { this.putQueryParameter("Strategy", strategy); this.strategy = strategy; return this; } /** * Tag. */ public Builder tag(String tag) { this.putQueryParameter("Tag", tag); this.tag = tag; return this; } @Override public DescribeRCDeploymentSetsRequest build() { return new DescribeRCDeploymentSetsRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCDeploymentSetsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCDeploymentSetsResponse} extends {@link TeaModel} * * <p>DescribeRCDeploymentSetsResponse</p> */ public class DescribeRCDeploymentSetsResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeRCDeploymentSetsResponseBody body; private DescribeRCDeploymentSetsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeRCDeploymentSetsResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeRCDeploymentSetsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeRCDeploymentSetsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeRCDeploymentSetsResponseBody body); @Override DescribeRCDeploymentSetsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeRCDeploymentSetsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeRCDeploymentSetsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeRCDeploymentSetsResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeRCDeploymentSetsResponseBody body) { this.body = body; return this; } @Override public DescribeRCDeploymentSetsResponse build() { return new DescribeRCDeploymentSetsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCDeploymentSetsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCDeploymentSetsResponseBody} extends {@link TeaModel} * * <p>DescribeRCDeploymentSetsResponseBody</p> */ public class DescribeRCDeploymentSetsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("DeploymentSets") private DeploymentSets deploymentSets; @com.aliyun.core.annotation.NameInMap("PageNumber") private Integer pageNumber; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private DescribeRCDeploymentSetsResponseBody(Builder builder) { this.deploymentSets = builder.deploymentSets; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.regionId = builder.regionId; this.requestId = builder.requestId; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static DescribeRCDeploymentSetsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return deploymentSets */ public DeploymentSets getDeploymentSets() { return this.deploymentSets; } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private DeploymentSets deploymentSets; private Integer pageNumber; private Integer pageSize; private String regionId; private String requestId; private Integer totalCount; private Builder() { } private Builder(DescribeRCDeploymentSetsResponseBody model) { this.deploymentSets = model.deploymentSets; this.pageNumber = model.pageNumber; this.pageSize = model.pageSize; this.regionId = model.regionId; this.requestId = model.requestId; this.totalCount = model.totalCount; } /** * <p>The details of the deployment set.</p> */ public Builder deploymentSets(DeploymentSets deploymentSets) { this.deploymentSets = deploymentSets; return this; } /** * <p>The page number.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageNumber(Integer pageNumber) { this.pageNumber = pageNumber; return this; } /** * <p>The number of entries returned per page.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The region ID.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>39265F46-EC77-4036-8AC4-F035F32F6BE2</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public DescribeRCDeploymentSetsResponseBody build() { return new DescribeRCDeploymentSetsResponseBody(this); } } /** * * {@link DescribeRCDeploymentSetsResponseBody} extends {@link TeaModel} * * <p>DescribeRCDeploymentSetsResponseBody</p> */ public static class Capacity extends TeaModel { @com.aliyun.core.annotation.NameInMap("AvailableAmount") private Integer availableAmount; @com.aliyun.core.annotation.NameInMap("UsedAmount") private Integer usedAmount; @com.aliyun.core.annotation.NameInMap("ZoneId") private String zoneId; private Capacity(Builder builder) { this.availableAmount = builder.availableAmount; this.usedAmount = builder.usedAmount; this.zoneId = builder.zoneId; } public static Builder builder() { return new Builder(); } public static Capacity create() { return builder().build(); } /** * @return availableAmount */ public Integer getAvailableAmount() { return this.availableAmount; } /** * @return usedAmount */ public Integer getUsedAmount() { return this.usedAmount; } /** * @return zoneId */ public String getZoneId() { return this.zoneId; } public static final class Builder { private Integer availableAmount; private Integer usedAmount; private String zoneId; private Builder() { } private Builder(Capacity model) { this.availableAmount = model.availableAmount; this.usedAmount = model.usedAmount; this.zoneId = model.zoneId; } /** * <p>The number of RDS Custom instances that reside in the zone and can be added to the deployment set.</p> * * <strong>example:</strong> * <p>18</p> */ public Builder availableAmount(Integer availableAmount) { this.availableAmount = availableAmount; return this; } /** * <p>The number of RDS Custom instances that reside in the zone in the deployment set.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder usedAmount(Integer usedAmount) { this.usedAmount = usedAmount; return this; } /** * <p>The zone ID. Only the IDs of the zones to which the existing RDS Custom instances in the deployment set belong are returned.</p> * * <strong>example:</strong> * <p>cn-hangzhou-j</p> */ public Builder zoneId(String zoneId) { this.zoneId = zoneId; return this; } public Capacity build() { return new Capacity(this); } } } /** * * {@link DescribeRCDeploymentSetsResponseBody} extends {@link TeaModel} * * <p>DescribeRCDeploymentSetsResponseBody</p> */ public static class Capacities extends TeaModel { @com.aliyun.core.annotation.NameInMap("Capacity") private java.util.List<Capacity> capacity; private Capacities(Builder builder) { this.capacity = builder.capacity; } public static Builder builder() { return new Builder(); } public static Capacities create() { return builder().build(); } /** * @return capacity */ public java.util.List<Capacity> getCapacity() { return this.capacity; } public static final class Builder { private java.util.List<Capacity> capacity; private Builder() { } private Builder(Capacities model) { this.capacity = model.capacity; } /** * Capacity. */ public Builder capacity(java.util.List<Capacity> capacity) { this.capacity = capacity; return this; } public Capacities build() { return new Capacities(this); } } } /** * * {@link DescribeRCDeploymentSetsResponseBody} extends {@link TeaModel} * * <p>DescribeRCDeploymentSetsResponseBody</p> */ public static class InstanceIds extends TeaModel { @com.aliyun.core.annotation.NameInMap("InstanceId") private java.util.List<String> instanceId; private InstanceIds(Builder builder) { this.instanceId = builder.instanceId; } public static Builder builder() { return new Builder(); } public static InstanceIds create() { return builder().build(); } /** * @return instanceId */ public java.util.List<String> getInstanceId() { return this.instanceId; } public static final class Builder { private java.util.List<String> instanceId; private Builder() { } private Builder(InstanceIds model) { this.instanceId = model.instanceId; } /** * InstanceId. */ public Builder instanceId(java.util.List<String> instanceId) { this.instanceId = instanceId; return this; } public InstanceIds build() { return new InstanceIds(this); } } } /** * * {@link DescribeRCDeploymentSetsResponseBody} extends {@link TeaModel} * * <p>DescribeRCDeploymentSetsResponseBody</p> */ public static class Tag extends TeaModel { @com.aliyun.core.annotation.NameInMap("ResourceId") private String resourceId; @com.aliyun.core.annotation.NameInMap("ResourceType") private String resourceType; @com.aliyun.core.annotation.NameInMap("TagKey") private String tagKey; @com.aliyun.core.annotation.NameInMap("TagValue") private String tagValue; private Tag(Builder builder) { this.resourceId = builder.resourceId; this.resourceType = builder.resourceType; this.tagKey = builder.tagKey; this.tagValue = builder.tagValue; } public static Builder builder() { return new Builder(); } public static Tag create() { return builder().build(); } /** * @return resourceId */ public String getResourceId() { return this.resourceId; } /** * @return resourceType */ public String getResourceType() { return this.resourceType; } /** * @return tagKey */ public String getTagKey() { return this.tagKey; } /** * @return tagValue */ public String getTagValue() { return this.tagValue; } public static final class Builder { private String resourceId; private String resourceType; private String tagKey; private String tagValue; private Builder() { } private Builder(Tag model) { this.resourceId = model.resourceId; this.resourceType = model.resourceType; this.tagKey = model.tagKey; this.tagValue = model.tagValue; } /** * ResourceId. */ public Builder resourceId(String resourceId) { this.resourceId = resourceId; return this; } /** * ResourceType. */ public Builder resourceType(String resourceType) { this.resourceType = resourceType; return this; } /** * TagKey. */ public Builder tagKey(String tagKey) { this.tagKey = tagKey; return this; } /** * TagValue. */ public Builder tagValue(String tagValue) { this.tagValue = tagValue; return this; } public Tag build() { return new Tag(this); } } } /** * * {@link DescribeRCDeploymentSetsResponseBody} extends {@link TeaModel} * * <p>DescribeRCDeploymentSetsResponseBody</p> */ public static class Tags extends TeaModel { @com.aliyun.core.annotation.NameInMap("Tag") private java.util.List<Tag> tag; private Tags(Builder builder) { this.tag = builder.tag; } public static Builder builder() { return new Builder(); } public static Tags create() { return builder().build(); } /** * @return tag */ public java.util.List<Tag> getTag() { return this.tag; } public static final class Builder { private java.util.List<Tag> tag; private Builder() { } private Builder(Tags model) { this.tag = model.tag; } /** * Tag. */ public Builder tag(java.util.List<Tag> tag) { this.tag = tag; return this; } public Tags build() { return new Tags(this); } } } /** * * {@link DescribeRCDeploymentSetsResponseBody} extends {@link TeaModel} * * <p>DescribeRCDeploymentSetsResponseBody</p> */ public static class DeploymentSet extends TeaModel { @com.aliyun.core.annotation.NameInMap("Capacities") private Capacities capacities; @com.aliyun.core.annotation.NameInMap("CreateTime") private String createTime; @com.aliyun.core.annotation.NameInMap("DeploymentSetDescription") private String deploymentSetDescription; @com.aliyun.core.annotation.NameInMap("DeploymentSetId") private String deploymentSetId; @com.aliyun.core.annotation.NameInMap("DeploymentSetName") private String deploymentSetName; @com.aliyun.core.annotation.NameInMap("DeploymentStrategy") private String deploymentStrategy; @com.aliyun.core.annotation.NameInMap("Domain") private String domain; @com.aliyun.core.annotation.NameInMap("Granularity") private String granularity; @com.aliyun.core.annotation.NameInMap("GroupCount") private Integer groupCount; @com.aliyun.core.annotation.NameInMap("InstanceAmount") private Integer instanceAmount; @com.aliyun.core.annotation.NameInMap("InstanceIds") private InstanceIds instanceIds; @com.aliyun.core.annotation.NameInMap("Strategy") private String strategy; @com.aliyun.core.annotation.NameInMap("Tags") private Tags tags; private DeploymentSet(Builder builder) { this.capacities = builder.capacities; this.createTime = builder.createTime; this.deploymentSetDescription = builder.deploymentSetDescription; this.deploymentSetId = builder.deploymentSetId; this.deploymentSetName = builder.deploymentSetName; this.deploymentStrategy = builder.deploymentStrategy; this.domain = builder.domain; this.granularity = builder.granularity; this.groupCount = builder.groupCount; this.instanceAmount = builder.instanceAmount; this.instanceIds = builder.instanceIds; this.strategy = builder.strategy; this.tags = builder.tags; } public static Builder builder() { return new Builder(); } public static DeploymentSet create() { return builder().build(); } /** * @return capacities */ public Capacities getCapacities() { return this.capacities; } /** * @return createTime */ public String getCreateTime() { return this.createTime; } /** * @return deploymentSetDescription */ public String getDeploymentSetDescription() { return this.deploymentSetDescription; } /** * @return deploymentSetId */ public String getDeploymentSetId() { return this.deploymentSetId; } /** * @return deploymentSetName */ public String getDeploymentSetName() { return this.deploymentSetName; } /** * @return deploymentStrategy */ public String getDeploymentStrategy() { return this.deploymentStrategy; } /** * @return domain */ public String getDomain() { return this.domain; } /** * @return granularity */ public String getGranularity() { return this.granularity; } /** * @return groupCount */ public Integer getGroupCount() { return this.groupCount; } /** * @return instanceAmount */ public Integer getInstanceAmount() { return this.instanceAmount; } /** * @return instanceIds */ public InstanceIds getInstanceIds() { return this.instanceIds; } /** * @return strategy */ public String getStrategy() { return this.strategy; } /** * @return tags */ public Tags getTags() { return this.tags; } public static final class Builder { private Capacities capacities; private String createTime; private String deploymentSetDescription; private String deploymentSetId; private String deploymentSetName; private String deploymentStrategy; private String domain; private String granularity; private Integer groupCount; private Integer instanceAmount; private InstanceIds instanceIds; private String strategy; private Tags tags; private Builder() { } private Builder(DeploymentSet model) { this.capacities = model.capacities; this.createTime = model.createTime; this.deploymentSetDescription = model.deploymentSetDescription; this.deploymentSetId = model.deploymentSetId; this.deploymentSetName = model.deploymentSetName; this.deploymentStrategy = model.deploymentStrategy; this.domain = model.domain; this.granularity = model.granularity; this.groupCount = model.groupCount; this.instanceAmount = model.instanceAmount; this.instanceIds = model.instanceIds; this.strategy = model.strategy; this.tags = model.tags; } /** * <p>The details of the capacities of the deployment set. This parameter is valid only when the deployment set contains existing RDS Custom instances. The value contains the details of the capacities of the deployment set in different zones.</p> */ public Builder capacities(Capacities capacities) { this.capacities = capacities; return this; } /** * <p>The time when the deployment set was created. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time is displayed in UTC.</p> * * <strong>example:</strong> * <p>2024-06-19T07:15:44Z</p> */ public Builder createTime(String createTime) { this.createTime = createTime; return this; } /** * <p>The deployment set description.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder deploymentSetDescription(String deploymentSetDescription) { this.deploymentSetDescription = deploymentSetDescription; return this; } /** * <p>The deployment set ID.</p> * * <strong>example:</strong> * <p>ds-ob5n4rbgy****</p> */ public Builder deploymentSetId(String deploymentSetId) { this.deploymentSetId = deploymentSetId; return this; } /** * <p>The deployment set name.</p> * * <strong>example:</strong> * <p>deployment_test</p> */ public Builder deploymentSetName(String deploymentSetName) { this.deploymentSetName = deploymentSetName; return this; } /** * <p>The deployment strategy. The return value of this parameter is the value of the <code>Strategy</code> request parameter.</p> * * <strong>example:</strong> * <p>Availability</p> */ public Builder deploymentStrategy(String deploymentStrategy) { this.deploymentStrategy = deploymentStrategy; return this; } /** * <p>The deployment domain.</p> * * <strong>example:</strong> * <p>default</p> */ public Builder domain(String domain) { this.domain = domain; return this; } /** * <p>The deployment granularity.</p> * * <strong>example:</strong> * <p>None</p> */ public Builder granularity(String granularity) { this.granularity = granularity; return this; } /** * <p>The number of groups in the deployment set.</p> * <blockquote> * <p> This parameter is valid only when the Strategy request parameter is set to AvailabilityGroup.</p> * </blockquote> * * <strong>example:</strong> * <p>3</p> */ public Builder groupCount(Integer groupCount) { this.groupCount = groupCount; return this; } /** * <p>The number of RDS Custom instances in the deployment set.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder instanceAmount(Integer instanceAmount) { this.instanceAmount = instanceAmount; return this; } /** * <p>The ID of the RDS Custom instance in the deployment set.</p> */ public Builder instanceIds(InstanceIds instanceIds) { this.instanceIds = instanceIds; return this; } /** * <p>The deployment strategy.</p> * * <strong>example:</strong> * <p>LooseDispersion</p> */ public Builder strategy(String strategy) { this.strategy = strategy; return this; } /** * Tags. */ public Builder tags(Tags tags) { this.tags = tags; return this; } public DeploymentSet build() { return new DeploymentSet(this); } } } /** * * {@link DescribeRCDeploymentSetsResponseBody} extends {@link TeaModel} * * <p>DescribeRCDeploymentSetsResponseBody</p> */ public static class DeploymentSets extends TeaModel { @com.aliyun.core.annotation.NameInMap("DeploymentSet") private java.util.List<DeploymentSet> deploymentSet; private DeploymentSets(Builder builder) { this.deploymentSet = builder.deploymentSet; } public static Builder builder() { return new Builder(); } public static DeploymentSets create() { return builder().build(); } /** * @return deploymentSet */ public java.util.List<DeploymentSet> getDeploymentSet() { return this.deploymentSet; } public static final class Builder { private java.util.List<DeploymentSet> deploymentSet; private Builder() { } private Builder(DeploymentSets model) { this.deploymentSet = model.deploymentSet; } /** * DeploymentSet. */ public Builder deploymentSet(java.util.List<DeploymentSet> deploymentSet) { this.deploymentSet = deploymentSet; return this; } public DeploymentSets build() { return new DeploymentSets(this); } } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCDisksRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCDisksRequest} extends {@link RequestModel} * * <p>DescribeRCDisksRequest</p> */ public class DescribeRCDisksRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DiskIds") private String diskIds; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageNumber") private Long pageNumber; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") @com.aliyun.core.annotation.Validation(maximum = 100, minimum = 1) private Long pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") @com.aliyun.core.annotation.Validation(required = true) private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Tag") private java.util.List<Tag> tag; private DescribeRCDisksRequest(Builder builder) { super(builder); this.diskIds = builder.diskIds; this.instanceId = builder.instanceId; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.regionId = builder.regionId; this.tag = builder.tag; } public static Builder builder() { return new Builder(); } public static DescribeRCDisksRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return diskIds */ public String getDiskIds() { return this.diskIds; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return pageNumber */ public Long getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Long getPageSize() { return this.pageSize; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return tag */ public java.util.List<Tag> getTag() { return this.tag; } public static final class Builder extends Request.Builder<DescribeRCDisksRequest, Builder> { private String diskIds; private String instanceId; private Long pageNumber; private Long pageSize; private String regionId; private java.util.List<Tag> tag; private Builder() { super(); } private Builder(DescribeRCDisksRequest request) { super(request); this.diskIds = request.diskIds; this.instanceId = request.instanceId; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.regionId = request.regionId; this.tag = request.tag; } /** * <p>The disk ID. The value is a JSON array that consists of up to 100 disk IDs. Separate the disk IDs with commas (,). Format: <code>[&quot;Disk ID1&quot;,&quot;Disk ID2&quot;]</code>.</p> * * <strong>example:</strong> * <p>[&quot;rcd-bp67acfmxazb4p****&quot;, &quot;rcd-bp67acfmxazb4g****&quot;, … &quot;rcd-bp67acfmxazb4d****&quot;]</p> */ public Builder diskIds(String diskIds) { this.putQueryParameter("DiskIds", diskIds); this.diskIds = diskIds; return this; } /** * <p>The instance ID.</p> * * <strong>example:</strong> * <p>rc-dh2jf9n6j4s14926****</p> */ public Builder instanceId(String instanceId) { this.putQueryParameter("InstanceId", instanceId); this.instanceId = instanceId; return this; } /** * <p>The page number.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageNumber(Long pageNumber) { this.putQueryParameter("PageNumber", pageNumber); this.pageNumber = pageNumber; return this; } /** * <p>The number of entries per page. Valid values: <strong>30</strong> to <strong>100</strong>. Default value: <strong>30</strong>.</p> * * <strong>example:</strong> * <p>50</p> */ public Builder pageSize(Long pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The region ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * <p>The list of the tags.</p> */ public Builder tag(java.util.List<Tag> tag) { this.putQueryParameter("Tag", tag); this.tag = tag; return this; } @Override public DescribeRCDisksRequest build() { return new DescribeRCDisksRequest(this); } } /** * * {@link DescribeRCDisksRequest} extends {@link TeaModel} * * <p>DescribeRCDisksRequest</p> */ public static class Tag extends TeaModel { @com.aliyun.core.annotation.NameInMap("Key") private String key; @com.aliyun.core.annotation.NameInMap("Value") private String value; private Tag(Builder builder) { this.key = builder.key; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static Tag create() { return builder().build(); } /** * @return key */ public String getKey() { return this.key; } /** * @return value */ public String getValue() { return this.value; } public static final class Builder { private String key; private String value; private Builder() { } private Builder(Tag model) { this.key = model.key; this.value = model.value; } /** * <p>The key of the tag. The tag key <strong>cannot be</strong> an empty string or a duplicate value.</p> * * <strong>example:</strong> * <p>testkey1</p> */ public Builder key(String key) { this.key = key; return this; } /** * <p>The value of the tag. The tag value <strong>can be</strong> an empty string.</p> * * <strong>example:</strong> * <p>testvalue1</p> */ public Builder value(String value) { this.value = value; return this; } public Tag build() { return new Tag(this); } } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCDisksResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCDisksResponse} extends {@link TeaModel} * * <p>DescribeRCDisksResponse</p> */ public class DescribeRCDisksResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeRCDisksResponseBody body; private DescribeRCDisksResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeRCDisksResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeRCDisksResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeRCDisksResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeRCDisksResponseBody body); @Override DescribeRCDisksResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeRCDisksResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeRCDisksResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeRCDisksResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeRCDisksResponseBody body) { this.body = body; return this; } @Override public DescribeRCDisksResponse build() { return new DescribeRCDisksResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCDisksResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCDisksResponseBody} extends {@link TeaModel} * * <p>DescribeRCDisksResponseBody</p> */ public class DescribeRCDisksResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Disks") private java.util.List<Disks> disks; @com.aliyun.core.annotation.NameInMap("PageNumber") private Long pageNumber; @com.aliyun.core.annotation.NameInMap("PageSize") private Long pageSize; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TotalCount") private Long totalCount; private DescribeRCDisksResponseBody(Builder builder) { this.disks = builder.disks; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.requestId = builder.requestId; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static DescribeRCDisksResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return disks */ public java.util.List<Disks> getDisks() { return this.disks; } /** * @return pageNumber */ public Long getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Long getPageSize() { return this.pageSize; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return totalCount */ public Long getTotalCount() { return this.totalCount; } public static final class Builder { private java.util.List<Disks> disks; private Long pageNumber; private Long pageSize; private String requestId; private Long totalCount; private Builder() { } private Builder(DescribeRCDisksResponseBody model) { this.disks = model.disks; this.pageNumber = model.pageNumber; this.pageSize = model.pageSize; this.requestId = model.requestId; this.totalCount = model.totalCount; } /** * <p>The information about the disks.</p> */ public Builder disks(java.util.List<Disks> disks) { this.disks = disks; return this; } /** * <p>The page number.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageNumber(Long pageNumber) { this.pageNumber = pageNumber; return this; } /** * <p>The number of entries returned per page.</p> * * <strong>example:</strong> * <p>30</p> */ public Builder pageSize(Long pageSize) { this.pageSize = pageSize; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>8B993DA9-5272-5414-94E3-4CA8BA0146C2</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>12</p> */ public Builder totalCount(Long totalCount) { this.totalCount = totalCount; return this; } public DescribeRCDisksResponseBody build() { return new DescribeRCDisksResponseBody(this); } } /** * * {@link DescribeRCDisksResponseBody} extends {@link TeaModel} * * <p>DescribeRCDisksResponseBody</p> */ public static class Tag extends TeaModel { @com.aliyun.core.annotation.NameInMap("TagKey") private String tagKey; @com.aliyun.core.annotation.NameInMap("TagValue") private String tagValue; private Tag(Builder builder) { this.tagKey = builder.tagKey; this.tagValue = builder.tagValue; } public static Builder builder() { return new Builder(); } public static Tag create() { return builder().build(); } /** * @return tagKey */ public String getTagKey() { return this.tagKey; } /** * @return tagValue */ public String getTagValue() { return this.tagValue; } public static final class Builder { private String tagKey; private String tagValue; private Builder() { } private Builder(Tag model) { this.tagKey = model.tagKey; this.tagValue = model.tagValue; } /** * <p>The tag key.</p> * * <strong>example:</strong> * <p>testkey1</p> */ public Builder tagKey(String tagKey) { this.tagKey = tagKey; return this; } /** * <p>The tag value.</p> * * <strong>example:</strong> * <p>testvalue1</p> */ public Builder tagValue(String tagValue) { this.tagValue = tagValue; return this; } public Tag build() { return new Tag(this); } } } /** * * {@link DescribeRCDisksResponseBody} extends {@link TeaModel} * * <p>DescribeRCDisksResponseBody</p> */ public static class Disks extends TeaModel { @com.aliyun.core.annotation.NameInMap("Category") private String category; @com.aliyun.core.annotation.NameInMap("CreationTime") private String creationTime; @com.aliyun.core.annotation.NameInMap("DeleteAutoSnapshot") private Boolean deleteAutoSnapshot; @com.aliyun.core.annotation.NameInMap("DeleteWithInstance") private Boolean deleteWithInstance; @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.NameInMap("Device") private String device; @com.aliyun.core.annotation.NameInMap("DiskChargeType") private String diskChargeType; @com.aliyun.core.annotation.NameInMap("DiskId") private String diskId; @com.aliyun.core.annotation.NameInMap("DiskName") private String diskName; @com.aliyun.core.annotation.NameInMap("Encrypted") private Boolean encrypted; @com.aliyun.core.annotation.NameInMap("ExpiredTime") private String expiredTime; @com.aliyun.core.annotation.NameInMap("IOPS") private Long IOPS; @com.aliyun.core.annotation.NameInMap("ImageId") private String imageId; @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("PerformanceLevel") private String performanceLevel; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("ResourceGroupId") private String resourceGroupId; @com.aliyun.core.annotation.NameInMap("SerialNumber") private String serialNumber; @com.aliyun.core.annotation.NameInMap("Size") private Long size; @com.aliyun.core.annotation.NameInMap("SourceSnapshotId") private String sourceSnapshotId; @com.aliyun.core.annotation.NameInMap("Status") private String status; @com.aliyun.core.annotation.NameInMap("StorageClusterId") private String storageClusterId; @com.aliyun.core.annotation.NameInMap("StorageSetId") private String storageSetId; @com.aliyun.core.annotation.NameInMap("Tag") private java.util.List<Tag> tag; @com.aliyun.core.annotation.NameInMap("Type") private String type; @com.aliyun.core.annotation.NameInMap("ZoneId") private String zoneId; private Disks(Builder builder) { this.category = builder.category; this.creationTime = builder.creationTime; this.deleteAutoSnapshot = builder.deleteAutoSnapshot; this.deleteWithInstance = builder.deleteWithInstance; this.description = builder.description; this.device = builder.device; this.diskChargeType = builder.diskChargeType; this.diskId = builder.diskId; this.diskName = builder.diskName; this.encrypted = builder.encrypted; this.expiredTime = builder.expiredTime; this.IOPS = builder.IOPS; this.imageId = builder.imageId; this.instanceId = builder.instanceId; this.performanceLevel = builder.performanceLevel; this.regionId = builder.regionId; this.resourceGroupId = builder.resourceGroupId; this.serialNumber = builder.serialNumber; this.size = builder.size; this.sourceSnapshotId = builder.sourceSnapshotId; this.status = builder.status; this.storageClusterId = builder.storageClusterId; this.storageSetId = builder.storageSetId; this.tag = builder.tag; this.type = builder.type; this.zoneId = builder.zoneId; } public static Builder builder() { return new Builder(); } public static Disks create() { return builder().build(); } /** * @return category */ public String getCategory() { return this.category; } /** * @return creationTime */ public String getCreationTime() { return this.creationTime; } /** * @return deleteAutoSnapshot */ public Boolean getDeleteAutoSnapshot() { return this.deleteAutoSnapshot; } /** * @return deleteWithInstance */ public Boolean getDeleteWithInstance() { return this.deleteWithInstance; } /** * @return description */ public String getDescription() { return this.description; } /** * @return device */ public String getDevice() { return this.device; } /** * @return diskChargeType */ public String getDiskChargeType() { return this.diskChargeType; } /** * @return diskId */ public String getDiskId() { return this.diskId; } /** * @return diskName */ public String getDiskName() { return this.diskName; } /** * @return encrypted */ public Boolean getEncrypted() { return this.encrypted; } /** * @return expiredTime */ public String getExpiredTime() { return this.expiredTime; } /** * @return IOPS */ public Long getIOPS() { return this.IOPS; } /** * @return imageId */ public String getImageId() { return this.imageId; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return performanceLevel */ public String getPerformanceLevel() { return this.performanceLevel; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return resourceGroupId */ public String getResourceGroupId() { return this.resourceGroupId; } /** * @return serialNumber */ public String getSerialNumber() { return this.serialNumber; } /** * @return size */ public Long getSize() { return this.size; } /** * @return sourceSnapshotId */ public String getSourceSnapshotId() { return this.sourceSnapshotId; } /** * @return status */ public String getStatus() { return this.status; } /** * @return storageClusterId */ public String getStorageClusterId() { return this.storageClusterId; } /** * @return storageSetId */ public String getStorageSetId() { return this.storageSetId; } /** * @return tag */ public java.util.List<Tag> getTag() { return this.tag; } /** * @return type */ public String getType() { return this.type; } /** * @return zoneId */ public String getZoneId() { return this.zoneId; } public static final class Builder { private String category; private String creationTime; private Boolean deleteAutoSnapshot; private Boolean deleteWithInstance; private String description; private String device; private String diskChargeType; private String diskId; private String diskName; private Boolean encrypted; private String expiredTime; private Long IOPS; private String imageId; private String instanceId; private String performanceLevel; private String regionId; private String resourceGroupId; private String serialNumber; private Long size; private String sourceSnapshotId; private String status; private String storageClusterId; private String storageSetId; private java.util.List<Tag> tag; private String type; private String zoneId; private Builder() { } private Builder(Disks model) { this.category = model.category; this.creationTime = model.creationTime; this.deleteAutoSnapshot = model.deleteAutoSnapshot; this.deleteWithInstance = model.deleteWithInstance; this.description = model.description; this.device = model.device; this.diskChargeType = model.diskChargeType; this.diskId = model.diskId; this.diskName = model.diskName; this.encrypted = model.encrypted; this.expiredTime = model.expiredTime; this.IOPS = model.IOPS; this.imageId = model.imageId; this.instanceId = model.instanceId; this.performanceLevel = model.performanceLevel; this.regionId = model.regionId; this.resourceGroupId = model.resourceGroupId; this.serialNumber = model.serialNumber; this.size = model.size; this.sourceSnapshotId = model.sourceSnapshotId; this.status = model.status; this.storageClusterId = model.storageClusterId; this.storageSetId = model.storageSetId; this.tag = model.tag; this.type = model.type; this.zoneId = model.zoneId; } /** * <p>The category of the disk. Valid values:</p> * <ul> * <li><strong>cloud_efficiency</strong>: ultra disk.</li> * <li><strong>cloud_ssd</strong>: standard SSD.</li> * <li><strong>cloud_essd</strong>: ESSD.</li> * <li><strong>cloud_auto</strong>: Premium ESSD</li> * </ul> * * <strong>example:</strong> * <p>cloud_ssd</p> */ public Builder category(String category) { this.category = category; return this; } /** * <p>The creation time.</p> * * <strong>example:</strong> * <p>2024-10-22T02:41:37Z</p> */ public Builder creationTime(String creationTime) { this.creationTime = creationTime; return this; } /** * <p>Indicates whether the automatic snapshots of the cloud disk are deleted after the disk is released. Valid values:</p> * <ul> * <li>true</li> * <li>false</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder deleteAutoSnapshot(Boolean deleteAutoSnapshot) { this.deleteAutoSnapshot = deleteAutoSnapshot; return this; } /** * <p>Indicates whether the cloud disk is released when its associated instance is released. Valid values:</p> * <ul> * <li>true</li> * <li>false</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder deleteWithInstance(Boolean deleteWithInstance) { this.deleteWithInstance = deleteWithInstance; return this; } /** * <p>The disk description.</p> * * <strong>example:</strong> * <p>zd_test</p> */ public Builder description(String description) { this.description = description; return this; } /** * <p>The mount point of the disk.</p> * * <strong>example:</strong> * <p>/dev/xvda</p> */ public Builder device(String device) { this.device = device; return this; } /** * <p>The billing method of the disk.</p> * <p>Only <strong>PostPaid</strong> (pay-as-you-go) is supported.</p> * * <strong>example:</strong> * <p>PostPaid</p> */ public Builder diskChargeType(String diskChargeType) { this.diskChargeType = diskChargeType; return this; } /** * <p>The disk ID.</p> * * <strong>example:</strong> * <p>rcd-wz9f3peueu5npsl****</p> */ public Builder diskId(String diskId) { this.diskId = diskId; return this; } /** * <p>The disk name.</p> * * <strong>example:</strong> * <p>fvt-ecs-bcfb3627</p> */ public Builder diskName(String diskName) { this.diskName = diskName; return this; } /** * <p>Indicates whether only encrypted cloud disks are queried. Valid values:</p> * <ul> * <li>true</li> * <li>false (default)</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder encrypted(Boolean encrypted) { this.encrypted = encrypted; return this; } /** * <p>A reserved parameter. You do not need to specify this parameter.</p> * * <strong>example:</strong> * <p>none</p> */ public Builder expiredTime(String expiredTime) { this.expiredTime = expiredTime; return this; } /** * <p>The provisioned read/write IOPS of the ESSD AutoPL disk. Valid values: 0 to min{50,000, 1,000 × *Capacity - Baseline performance}. Baseline performance = min{1,800 + 50 × *Capacity, 50,000}</p> * <p>This parameter is available only when the <code>Category</code> parameter is set to <code>cloud_auto</code>.</p> * * <strong>example:</strong> * <p>4000</p> */ public Builder IOPS(Long IOPS) { this.IOPS = IOPS; return this; } /** * <p>The ID of the image that is used to create the instance. This parameter is returned only if the cloud disk is created from an image. The value of this parameter remains unchanged throughout the lifecycle of the cloud disk.</p> * * <strong>example:</strong> * <p>m-2zeb24dw6wripjn2****</p> */ public Builder imageId(String imageId) { this.imageId = imageId; return this; } /** * <p>The instance ID.</p> * * <strong>example:</strong> * <p>rc-e8w1cn7634kiam****</p> */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * <p>The performance level (PL) of the ESSD. Valid values:</p> * <ul> * <li>PL0: A single ESSD can deliver up to 10,000 random read/write IOPS.</li> * <li>PL1: A single ESSD can deliver up to 50,000 random read/write IOPS.</li> * <li>PL2: A single ESSD can deliver up to 100,000 random read/write IOPS.</li> * <li>PL3: A single ESSD can deliver up to 1,000,000 random read/write IOPS.</li> * </ul> * * <strong>example:</strong> * <p>PL0</p> */ public Builder performanceLevel(String performanceLevel) { this.performanceLevel = performanceLevel; return this; } /** * <p>The region ID.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * <p>The ID of the resource group to which the disk belongs.</p> * * <strong>example:</strong> * <p>rg-aekzescnje5khnq</p> */ public Builder resourceGroupId(String resourceGroupId) { this.resourceGroupId = resourceGroupId; return this; } /** * <p>The serial number of the disk.</p> * * <strong>example:</strong> * <p>bp18um4r4f2fve2****</p> */ public Builder serialNumber(String serialNumber) { this.serialNumber = serialNumber; return this; } /** * <p>The size of the disk. Unit: GiB.</p> * * <strong>example:</strong> * <p>60</p> */ public Builder size(Long size) { this.size = size; return this; } /** * <p>The ID of the snapshot that was used to create the cloud disk.</p> * <p>This parameter is empty unless the cloud disk was created from a snapshot. The value of this parameter remains unchanged throughout the lifecycle of the cloud disk.</p> * * <strong>example:</strong> * <p>rcds-bp67acfmxazb4p****</p> */ public Builder sourceSnapshotId(String sourceSnapshotId) { this.sourceSnapshotId = sourceSnapshotId; return this; } /** * <p>The status of the disk. Valid values:</p> * <ul> * <li>In_use: The disk is in use.</li> * <li>Available: The disk can be attached.</li> * <li>Attaching: The disk is being attached.</li> * <li>Detaching: The cloud disk is being detached.</li> * <li>Creating: The disk is being created.</li> * <li>ReIniting: The disk is being initialized.</li> * </ul> * * <strong>example:</strong> * <p>In_use</p> */ public Builder status(String status) { this.status = status; return this; } /** * <p>The ID of the dedicated block storage cluster to which the cloud disk belongs. If your cloud disk belongs to the public block storage cluster, an empty value is returned.</p> * * <strong>example:</strong> * <p>dbsc-cn-zvp2rl601****</p> */ public Builder storageClusterId(String storageClusterId) { this.storageClusterId = storageClusterId; return this; } /** * <p>The storage set ID.</p> * * <strong>example:</strong> * <p>ss-i-bp1j4i2jdf3owlhe****</p> */ public Builder storageSetId(String storageSetId) { this.storageSetId = storageSetId; return this; } /** * <p>The list of tags.</p> */ public Builder tag(java.util.List<Tag> tag) { this.tag = tag; return this; } /** * <p>The disk type. Valid values:</p> * <ul> * <li>system: system disk</li> * <li>data: data disk</li> * </ul> * * <strong>example:</strong> * <p>data</p> */ public Builder type(String type) { this.type = type; return this; } /** * <p>The zone ID.</p> * * <strong>example:</strong> * <p>cn-hangzhou-j</p> */ public Builder zoneId(String zoneId) { this.zoneId = zoneId; return this; } public Disks build() { return new Disks(this); } } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCImageListRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCImageListRequest} extends {@link RequestModel} * * <p>DescribeRCImageListRequest</p> */ public class DescribeRCImageListRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Architecture") private String architecture; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ImageId") private String imageId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ImageName") private String imageName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceType") private String instanceType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageNumber") private Integer pageNumber; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") @com.aliyun.core.annotation.Validation(required = true) private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Type") private String type; private DescribeRCImageListRequest(Builder builder) { super(builder); this.architecture = builder.architecture; this.imageId = builder.imageId; this.imageName = builder.imageName; this.instanceType = builder.instanceType; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.regionId = builder.regionId; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static DescribeRCImageListRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return architecture */ public String getArchitecture() { return this.architecture; } /** * @return imageId */ public String getImageId() { return this.imageId; } /** * @return imageName */ public String getImageName() { return this.imageName; } /** * @return instanceType */ public String getInstanceType() { return this.instanceType; } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return type */ public String getType() { return this.type; } public static final class Builder extends Request.Builder<DescribeRCImageListRequest, Builder> { private String architecture; private String imageId; private String imageName; private String instanceType; private Integer pageNumber; private Integer pageSize; private String regionId; private String type; private Builder() { super(); } private Builder(DescribeRCImageListRequest request) { super(request); this.architecture = request.architecture; this.imageId = request.imageId; this.imageName = request.imageName; this.instanceType = request.instanceType; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.regionId = request.regionId; this.type = request.type; } /** * <p>The image architecture. Valid values:</p> * <ul> * <li>x86_64</li> * <li>arm64</li> * </ul> * * <strong>example:</strong> * <p>x86_64</p> */ public Builder architecture(String architecture) { this.putQueryParameter("Architecture", architecture); this.architecture = architecture; return this; } /** * ImageId. */ public Builder imageId(String imageId) { this.putQueryParameter("ImageId", imageId); this.imageId = imageId; return this; } /** * ImageName. */ public Builder imageName(String imageName) { this.putQueryParameter("ImageName", imageName); this.imageName = imageName; return this; } /** * InstanceType. */ public Builder instanceType(String instanceType) { this.putQueryParameter("InstanceType", instanceType); this.instanceType = instanceType; return this; } /** * <p>The page number.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageNumber(Integer pageNumber) { this.putQueryParameter("PageNumber", pageNumber); this.pageNumber = pageNumber; return this; } /** * <p>The number of entries per page.</p> * * <strong>example:</strong> * <p>30</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The region ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * <p>The image type. Set the value to <strong>self</strong>.</p> * * <strong>example:</strong> * <p>self</p> */ public Builder type(String type) { this.putQueryParameter("Type", type); this.type = type; return this; } @Override public DescribeRCImageListRequest build() { return new DescribeRCImageListRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCImageListResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCImageListResponse} extends {@link TeaModel} * * <p>DescribeRCImageListResponse</p> */ public class DescribeRCImageListResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeRCImageListResponseBody body; private DescribeRCImageListResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeRCImageListResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeRCImageListResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeRCImageListResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeRCImageListResponseBody body); @Override DescribeRCImageListResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeRCImageListResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeRCImageListResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeRCImageListResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeRCImageListResponseBody body) { this.body = body; return this; } @Override public DescribeRCImageListResponse build() { return new DescribeRCImageListResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCImageListResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCImageListResponseBody} extends {@link TeaModel} * * <p>DescribeRCImageListResponseBody</p> */ public class DescribeRCImageListResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Images") private java.util.List<Images> images; @com.aliyun.core.annotation.NameInMap("PageNumber") private Integer pageNumber; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private DescribeRCImageListResponseBody(Builder builder) { this.images = builder.images; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.regionId = builder.regionId; this.requestId = builder.requestId; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static DescribeRCImageListResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return images */ public java.util.List<Images> getImages() { return this.images; } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private java.util.List<Images> images; private Integer pageNumber; private Integer pageSize; private String regionId; private String requestId; private Integer totalCount; private Builder() { } private Builder(DescribeRCImageListResponseBody model) { this.images = model.images; this.pageNumber = model.pageNumber; this.pageSize = model.pageSize; this.regionId = model.regionId; this.requestId = model.requestId; this.totalCount = model.totalCount; } /** * <p>The information about the images.</p> */ public Builder images(java.util.List<Images> images) { this.images = images; return this; } /** * <p>The page number.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageNumber(Integer pageNumber) { this.pageNumber = pageNumber; return this; } /** * <p>The number of entries returned per page.</p> * * <strong>example:</strong> * <p>5</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The region ID.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>2553A660-E4EB-4AF4-A402-8AFF70A49143</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The total number of images.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public DescribeRCImageListResponseBody build() { return new DescribeRCImageListResponseBody(this); } } /** * * {@link DescribeRCImageListResponseBody} extends {@link TeaModel} * * <p>DescribeRCImageListResponseBody</p> */ public static class DiskDeviceMappings extends TeaModel { @com.aliyun.core.annotation.NameInMap("Device") private String device; @com.aliyun.core.annotation.NameInMap("Size") private String size; @com.aliyun.core.annotation.NameInMap("Type") private String type; private DiskDeviceMappings(Builder builder) { this.device = builder.device; this.size = builder.size; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static DiskDeviceMappings create() { return builder().build(); } /** * @return device */ public String getDevice() { return this.device; } /** * @return size */ public String getSize() { return this.size; } /** * @return type */ public String getType() { return this.type; } public static final class Builder { private String device; private String size; private String type; private Builder() { } private Builder(DiskDeviceMappings model) { this.device = model.device; this.size = model.size; this.type = model.type; } /** * Device. */ public Builder device(String device) { this.device = device; return this; } /** * Size. */ public Builder size(String size) { this.size = size; return this; } /** * Type. */ public Builder type(String type) { this.type = type; return this; } public DiskDeviceMappings build() { return new DiskDeviceMappings(this); } } } /** * * {@link DescribeRCImageListResponseBody} extends {@link TeaModel} * * <p>DescribeRCImageListResponseBody</p> */ public static class Images extends TeaModel { @com.aliyun.core.annotation.NameInMap("Architecture") private String architecture; @com.aliyun.core.annotation.NameInMap("CreationTime") private String creationTime; @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.NameInMap("DiskDeviceMappings") private java.util.List<DiskDeviceMappings> diskDeviceMappings; @com.aliyun.core.annotation.NameInMap("ImageId") private String imageId; @com.aliyun.core.annotation.NameInMap("ImageName") private String imageName; @com.aliyun.core.annotation.NameInMap("ImageVersion") private String imageVersion; @com.aliyun.core.annotation.NameInMap("IsPublic") private Boolean isPublic; @com.aliyun.core.annotation.NameInMap("IsSupportRdsCustom") private Boolean isSupportRdsCustom; @com.aliyun.core.annotation.NameInMap("OSName") private String OSName; @com.aliyun.core.annotation.NameInMap("OSNameEn") private String OSNameEn; @com.aliyun.core.annotation.NameInMap("OSType") private String OSType; @com.aliyun.core.annotation.NameInMap("Platform") private String platform; @com.aliyun.core.annotation.NameInMap("Size") private Long size; @com.aliyun.core.annotation.NameInMap("Status") private String status; @com.aliyun.core.annotation.NameInMap("Usage") private String usage; private Images(Builder builder) { this.architecture = builder.architecture; this.creationTime = builder.creationTime; this.description = builder.description; this.diskDeviceMappings = builder.diskDeviceMappings; this.imageId = builder.imageId; this.imageName = builder.imageName; this.imageVersion = builder.imageVersion; this.isPublic = builder.isPublic; this.isSupportRdsCustom = builder.isSupportRdsCustom; this.OSName = builder.OSName; this.OSNameEn = builder.OSNameEn; this.OSType = builder.OSType; this.platform = builder.platform; this.size = builder.size; this.status = builder.status; this.usage = builder.usage; } public static Builder builder() { return new Builder(); } public static Images create() { return builder().build(); } /** * @return architecture */ public String getArchitecture() { return this.architecture; } /** * @return creationTime */ public String getCreationTime() { return this.creationTime; } /** * @return description */ public String getDescription() { return this.description; } /** * @return diskDeviceMappings */ public java.util.List<DiskDeviceMappings> getDiskDeviceMappings() { return this.diskDeviceMappings; } /** * @return imageId */ public String getImageId() { return this.imageId; } /** * @return imageName */ public String getImageName() { return this.imageName; } /** * @return imageVersion */ public String getImageVersion() { return this.imageVersion; } /** * @return isPublic */ public Boolean getIsPublic() { return this.isPublic; } /** * @return isSupportRdsCustom */ public Boolean getIsSupportRdsCustom() { return this.isSupportRdsCustom; } /** * @return OSName */ public String getOSName() { return this.OSName; } /** * @return OSNameEn */ public String getOSNameEn() { return this.OSNameEn; } /** * @return OSType */ public String getOSType() { return this.OSType; } /** * @return platform */ public String getPlatform() { return this.platform; } /** * @return size */ public Long getSize() { return this.size; } /** * @return status */ public String getStatus() { return this.status; } /** * @return usage */ public String getUsage() { return this.usage; } public static final class Builder { private String architecture; private String creationTime; private String description; private java.util.List<DiskDeviceMappings> diskDeviceMappings; private String imageId; private String imageName; private String imageVersion; private Boolean isPublic; private Boolean isSupportRdsCustom; private String OSName; private String OSNameEn; private String OSType; private String platform; private Long size; private String status; private String usage; private Builder() { } private Builder(Images model) { this.architecture = model.architecture; this.creationTime = model.creationTime; this.description = model.description; this.diskDeviceMappings = model.diskDeviceMappings; this.imageId = model.imageId; this.imageName = model.imageName; this.imageVersion = model.imageVersion; this.isPublic = model.isPublic; this.isSupportRdsCustom = model.isSupportRdsCustom; this.OSName = model.OSName; this.OSNameEn = model.OSNameEn; this.OSType = model.OSType; this.platform = model.platform; this.size = model.size; this.status = model.status; this.usage = model.usage; } /** * <p>The image architecture. Valid values:</p> * <ul> * <li>x86_64</li> * <li>arm64</li> * </ul> * * <strong>example:</strong> * <p>x86_64</p> */ public Builder architecture(String architecture) { this.architecture = architecture; return this; } /** * <p>The time when the image was created.</p> * * <strong>example:</strong> * <p>2024-04-25T02:17:40Z</p> */ public Builder creationTime(String creationTime) { this.creationTime = creationTime; return this; } /** * <p>The description of the image.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder description(String description) { this.description = description; return this; } /** * DiskDeviceMappings. */ public Builder diskDeviceMappings(java.util.List<DiskDeviceMappings> diskDeviceMappings) { this.diskDeviceMappings = diskDeviceMappings; return this; } /** * <p>The image ID.</p> * * <strong>example:</strong> * <p>m-2oqiu973jwcxe****</p> */ public Builder imageId(String imageId) { this.imageId = imageId; return this; } /** * <p>The image name.</p> * * <strong>example:</strong> * <p>Created_from_i-2zeh17y17sz677x****</p> */ public Builder imageName(String imageName) { this.imageName = imageName; return this; } /** * <p>The image version.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder imageVersion(String imageVersion) { this.imageVersion = imageVersion; return this; } /** * <p>Indicates whether the image is a public image. Public images include public images provided by Alibaba Cloud and custom images published as community images.</p> * <ul> * <li><strong>true</strong>: The image is a public image.</li> * <li><strong>false</strong>: The image is not a public image.</li> * </ul> * * <strong>example:</strong> * <p>false</p> */ public Builder isPublic(Boolean isPublic) { this.isPublic = isPublic; return this; } /** * IsSupportRdsCustom. */ public Builder isSupportRdsCustom(Boolean isSupportRdsCustom) { this.isSupportRdsCustom = isSupportRdsCustom; return this; } /** * <p>The display name of the operating system in Chinese.</p> */ public Builder OSName(String OSName) { this.OSName = OSName; return this; } /** * <p>The display name of the operating system in English.</p> * * <strong>example:</strong> * <p>Alibaba Cloud Linux 2.1903 LTS 64 bit Quick Boot</p> */ public Builder OSNameEn(String OSNameEn) { this.OSNameEn = OSNameEn; return this; } /** * <p>The type of the operating system. Valid values:</p> * <ul> * <li><strong>windows</strong></li> * <li><strong>linux</strong></li> * </ul> * * <strong>example:</strong> * <p>linux</p> */ public Builder OSType(String OSType) { this.OSType = OSType; return this; } /** * Platform. */ public Builder platform(String platform) { this.platform = platform; return this; } /** * <p>The image size. Unit: GiB.</p> * * <strong>example:</strong> * <p>40</p> */ public Builder size(Long size) { this.size = size; return this; } /** * <p>The image status. Valid values:</p> * <ul> * <li><strong>Unavailable</strong></li> * <li><strong>Available</strong></li> * <li><strong>Creating</strong></li> * <li><strong>CreateFailed</strong></li> * </ul> * * <strong>example:</strong> * <p>Available</p> */ public Builder status(String status) { this.status = status; return this; } /** * <p>Indicates whether the image is used by the RDS Custom instance. Valid values:</p> * <ul> * <li><strong>instance</strong>: The image is used to create one or more RDS Custom instances.</li> * <li><strong>none</strong>: The image is not used to create RDS Custom instances.</li> * </ul> * * <strong>example:</strong> * <p>instance</p> */ public Builder usage(String usage) { this.usage = usage; return this; } public Images build() { return new Images(this); } } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCInstanceAttributeRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCInstanceAttributeRequest} extends {@link RequestModel} * * <p>DescribeRCInstanceAttributeRequest</p> */ public class DescribeRCInstanceAttributeRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("MaxDisksResults") private Long maxDisksResults; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PrivateIpAddress") private String privateIpAddress; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; private DescribeRCInstanceAttributeRequest(Builder builder) { super(builder); this.instanceId = builder.instanceId; this.maxDisksResults = builder.maxDisksResults; this.privateIpAddress = builder.privateIpAddress; this.regionId = builder.regionId; } public static Builder builder() { return new Builder(); } public static DescribeRCInstanceAttributeRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return maxDisksResults */ public Long getMaxDisksResults() { return this.maxDisksResults; } /** * @return privateIpAddress */ public String getPrivateIpAddress() { return this.privateIpAddress; } /** * @return regionId */ public String getRegionId() { return this.regionId; } public static final class Builder extends Request.Builder<DescribeRCInstanceAttributeRequest, Builder> { private String instanceId; private Long maxDisksResults; private String privateIpAddress; private String regionId; private Builder() { super(); } private Builder(DescribeRCInstanceAttributeRequest request) { super(request); this.instanceId = request.instanceId; this.maxDisksResults = request.maxDisksResults; this.privateIpAddress = request.privateIpAddress; this.regionId = request.regionId; } /** * <p>The instance ID.</p> * * <strong>example:</strong> * <p>rc-dh2jf9n6j4s14926****</p> */ public Builder instanceId(String instanceId) { this.putQueryParameter("InstanceId", instanceId); this.instanceId = instanceId; return this; } /** * MaxDisksResults. */ public Builder maxDisksResults(Long maxDisksResults) { this.putQueryParameter("MaxDisksResults", maxDisksResults); this.maxDisksResults = maxDisksResults; return this; } /** * PrivateIpAddress. */ public Builder privateIpAddress(String privateIpAddress) { this.putQueryParameter("PrivateIpAddress", privateIpAddress); this.privateIpAddress = privateIpAddress; return this; } /** * <p>The region ID.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } @Override public DescribeRCInstanceAttributeRequest build() { return new DescribeRCInstanceAttributeRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCInstanceAttributeResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCInstanceAttributeResponse} extends {@link TeaModel} * * <p>DescribeRCInstanceAttributeResponse</p> */ public class DescribeRCInstanceAttributeResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeRCInstanceAttributeResponseBody body; private DescribeRCInstanceAttributeResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeRCInstanceAttributeResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeRCInstanceAttributeResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeRCInstanceAttributeResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeRCInstanceAttributeResponseBody body); @Override DescribeRCInstanceAttributeResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeRCInstanceAttributeResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeRCInstanceAttributeResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeRCInstanceAttributeResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeRCInstanceAttributeResponseBody body) { this.body = body; return this; } @Override public DescribeRCInstanceAttributeResponse build() { return new DescribeRCInstanceAttributeResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCInstanceAttributeResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCInstanceAttributeResponseBody} extends {@link TeaModel} * * <p>DescribeRCInstanceAttributeResponseBody</p> */ public class DescribeRCInstanceAttributeResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("AutoRenew") private Boolean autoRenew; @com.aliyun.core.annotation.NameInMap("ClusterId") private String clusterId; @com.aliyun.core.annotation.NameInMap("Cpu") private Integer cpu; @com.aliyun.core.annotation.NameInMap("CreateMode") private Integer createMode; @com.aliyun.core.annotation.NameInMap("CreationTime") private String creationTime; @com.aliyun.core.annotation.NameInMap("CreditSpecification") private String creditSpecification; @com.aliyun.core.annotation.NameInMap("DataDisks") private DataDisks dataDisks; @com.aliyun.core.annotation.NameInMap("DbType") private String dbType; @com.aliyun.core.annotation.NameInMap("DedicatedHostAttribute") private DedicatedHostAttribute dedicatedHostAttribute; @com.aliyun.core.annotation.NameInMap("DeletionProtection") private Boolean deletionProtection; @com.aliyun.core.annotation.NameInMap("DeploymentSetId") private String deploymentSetId; @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.NameInMap("DiskType") private String diskType; @com.aliyun.core.annotation.NameInMap("EcsInstanceType") private String ecsInstanceType; @com.aliyun.core.annotation.NameInMap("EipAddress") private EipAddress eipAddress; @com.aliyun.core.annotation.NameInMap("EnableJumboFrame") private Boolean enableJumboFrame; @com.aliyun.core.annotation.NameInMap("ExpiredTime") private String expiredTime; @com.aliyun.core.annotation.NameInMap("Gpu") private Integer gpu; @com.aliyun.core.annotation.NameInMap("GpuTypes") private String gpuTypes; @com.aliyun.core.annotation.NameInMap("HostName") private String hostName; @com.aliyun.core.annotation.NameInMap("HostType") private String hostType; @com.aliyun.core.annotation.NameInMap("ImageId") private String imageId; @com.aliyun.core.annotation.NameInMap("InnerIpAddress") private InnerIpAddress innerIpAddress; @com.aliyun.core.annotation.NameInMap("InstanceChargeType") private String instanceChargeType; @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("InstanceName") private String instanceName; @com.aliyun.core.annotation.NameInMap("InstanceNetworkType") private String instanceNetworkType; @com.aliyun.core.annotation.NameInMap("InstanceType") private String instanceType; @com.aliyun.core.annotation.NameInMap("InternetChargeType") private String internetChargeType; @com.aliyun.core.annotation.NameInMap("InternetMaxBandwidthIn") private Integer internetMaxBandwidthIn; @com.aliyun.core.annotation.NameInMap("InternetMaxBandwidthOut") private Integer internetMaxBandwidthOut; @com.aliyun.core.annotation.NameInMap("IoOptimized") private String ioOptimized; @com.aliyun.core.annotation.NameInMap("KeyPairName") private String keyPairName; @com.aliyun.core.annotation.NameInMap("Memory") private Integer memory; @com.aliyun.core.annotation.NameInMap("NodeType") private String nodeType; @com.aliyun.core.annotation.NameInMap("OperationLocks") private OperationLocks operationLocks; @com.aliyun.core.annotation.NameInMap("PublicIpAddress") private PublicIpAddress publicIpAddress; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("ResourceGroupId") private String resourceGroupId; @com.aliyun.core.annotation.NameInMap("SecurityGroupIds") private SecurityGroupIds securityGroupIds; @com.aliyun.core.annotation.NameInMap("SerialNumber") private String serialNumber; @com.aliyun.core.annotation.NameInMap("SpotStrategy") private String spotStrategy; @com.aliyun.core.annotation.NameInMap("Status") private String status; @com.aliyun.core.annotation.NameInMap("StoppedMode") private String stoppedMode; @com.aliyun.core.annotation.NameInMap("SystemDisk") private SystemDisk systemDisk; @com.aliyun.core.annotation.NameInMap("Tags") private Tags tags; @com.aliyun.core.annotation.NameInMap("UserData") private String userData; @com.aliyun.core.annotation.NameInMap("VlanId") private String vlanId; @com.aliyun.core.annotation.NameInMap("VpcAttributes") private VpcAttributes vpcAttributes; @com.aliyun.core.annotation.NameInMap("ZoneId") private String zoneId; private DescribeRCInstanceAttributeResponseBody(Builder builder) { this.autoRenew = builder.autoRenew; this.clusterId = builder.clusterId; this.cpu = builder.cpu; this.createMode = builder.createMode; this.creationTime = builder.creationTime; this.creditSpecification = builder.creditSpecification; this.dataDisks = builder.dataDisks; this.dbType = builder.dbType; this.dedicatedHostAttribute = builder.dedicatedHostAttribute; this.deletionProtection = builder.deletionProtection; this.deploymentSetId = builder.deploymentSetId; this.description = builder.description; this.diskType = builder.diskType; this.ecsInstanceType = builder.ecsInstanceType; this.eipAddress = builder.eipAddress; this.enableJumboFrame = builder.enableJumboFrame; this.expiredTime = builder.expiredTime; this.gpu = builder.gpu; this.gpuTypes = builder.gpuTypes; this.hostName = builder.hostName; this.hostType = builder.hostType; this.imageId = builder.imageId; this.innerIpAddress = builder.innerIpAddress; this.instanceChargeType = builder.instanceChargeType; this.instanceId = builder.instanceId; this.instanceName = builder.instanceName; this.instanceNetworkType = builder.instanceNetworkType; this.instanceType = builder.instanceType; this.internetChargeType = builder.internetChargeType; this.internetMaxBandwidthIn = builder.internetMaxBandwidthIn; this.internetMaxBandwidthOut = builder.internetMaxBandwidthOut; this.ioOptimized = builder.ioOptimized; this.keyPairName = builder.keyPairName; this.memory = builder.memory; this.nodeType = builder.nodeType; this.operationLocks = builder.operationLocks; this.publicIpAddress = builder.publicIpAddress; this.regionId = builder.regionId; this.requestId = builder.requestId; this.resourceGroupId = builder.resourceGroupId; this.securityGroupIds = builder.securityGroupIds; this.serialNumber = builder.serialNumber; this.spotStrategy = builder.spotStrategy; this.status = builder.status; this.stoppedMode = builder.stoppedMode; this.systemDisk = builder.systemDisk; this.tags = builder.tags; this.userData = builder.userData; this.vlanId = builder.vlanId; this.vpcAttributes = builder.vpcAttributes; this.zoneId = builder.zoneId; } public static Builder builder() { return new Builder(); } public static DescribeRCInstanceAttributeResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return autoRenew */ public Boolean getAutoRenew() { return this.autoRenew; } /** * @return clusterId */ public String getClusterId() { return this.clusterId; } /** * @return cpu */ public Integer getCpu() { return this.cpu; } /** * @return createMode */ public Integer getCreateMode() { return this.createMode; } /** * @return creationTime */ public String getCreationTime() { return this.creationTime; } /** * @return creditSpecification */ public String getCreditSpecification() { return this.creditSpecification; } /** * @return dataDisks */ public DataDisks getDataDisks() { return this.dataDisks; } /** * @return dbType */ public String getDbType() { return this.dbType; } /** * @return dedicatedHostAttribute */ public DedicatedHostAttribute getDedicatedHostAttribute() { return this.dedicatedHostAttribute; } /** * @return deletionProtection */ public Boolean getDeletionProtection() { return this.deletionProtection; } /** * @return deploymentSetId */ public String getDeploymentSetId() { return this.deploymentSetId; } /** * @return description */ public String getDescription() { return this.description; } /** * @return diskType */ public String getDiskType() { return this.diskType; } /** * @return ecsInstanceType */ public String getEcsInstanceType() { return this.ecsInstanceType; } /** * @return eipAddress */ public EipAddress getEipAddress() { return this.eipAddress; } /** * @return enableJumboFrame */ public Boolean getEnableJumboFrame() { return this.enableJumboFrame; } /** * @return expiredTime */ public String getExpiredTime() { return this.expiredTime; } /** * @return gpu */ public Integer getGpu() { return this.gpu; } /** * @return gpuTypes */ public String getGpuTypes() { return this.gpuTypes; } /** * @return hostName */ public String getHostName() { return this.hostName; } /** * @return hostType */ public String getHostType() { return this.hostType; } /** * @return imageId */ public String getImageId() { return this.imageId; } /** * @return innerIpAddress */ public InnerIpAddress getInnerIpAddress() { return this.innerIpAddress; } /** * @return instanceChargeType */ public String getInstanceChargeType() { return this.instanceChargeType; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return instanceName */ public String getInstanceName() { return this.instanceName; } /** * @return instanceNetworkType */ public String getInstanceNetworkType() { return this.instanceNetworkType; } /** * @return instanceType */ public String getInstanceType() { return this.instanceType; } /** * @return internetChargeType */ public String getInternetChargeType() { return this.internetChargeType; } /** * @return internetMaxBandwidthIn */ public Integer getInternetMaxBandwidthIn() { return this.internetMaxBandwidthIn; } /** * @return internetMaxBandwidthOut */ public Integer getInternetMaxBandwidthOut() { return this.internetMaxBandwidthOut; } /** * @return ioOptimized */ public String getIoOptimized() { return this.ioOptimized; } /** * @return keyPairName */ public String getKeyPairName() { return this.keyPairName; } /** * @return memory */ public Integer getMemory() { return this.memory; } /** * @return nodeType */ public String getNodeType() { return this.nodeType; } /** * @return operationLocks */ public OperationLocks getOperationLocks() { return this.operationLocks; } /** * @return publicIpAddress */ public PublicIpAddress getPublicIpAddress() { return this.publicIpAddress; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return resourceGroupId */ public String getResourceGroupId() { return this.resourceGroupId; } /** * @return securityGroupIds */ public SecurityGroupIds getSecurityGroupIds() { return this.securityGroupIds; } /** * @return serialNumber */ public String getSerialNumber() { return this.serialNumber; } /** * @return spotStrategy */ public String getSpotStrategy() { return this.spotStrategy; } /** * @return status */ public String getStatus() { return this.status; } /** * @return stoppedMode */ public String getStoppedMode() { return this.stoppedMode; } /** * @return systemDisk */ public SystemDisk getSystemDisk() { return this.systemDisk; } /** * @return tags */ public Tags getTags() { return this.tags; } /** * @return userData */ public String getUserData() { return this.userData; } /** * @return vlanId */ public String getVlanId() { return this.vlanId; } /** * @return vpcAttributes */ public VpcAttributes getVpcAttributes() { return this.vpcAttributes; } /** * @return zoneId */ public String getZoneId() { return this.zoneId; } public static final class Builder { private Boolean autoRenew; private String clusterId; private Integer cpu; private Integer createMode; private String creationTime; private String creditSpecification; private DataDisks dataDisks; private String dbType; private DedicatedHostAttribute dedicatedHostAttribute; private Boolean deletionProtection; private String deploymentSetId; private String description; private String diskType; private String ecsInstanceType; private EipAddress eipAddress; private Boolean enableJumboFrame; private String expiredTime; private Integer gpu; private String gpuTypes; private String hostName; private String hostType; private String imageId; private InnerIpAddress innerIpAddress; private String instanceChargeType; private String instanceId; private String instanceName; private String instanceNetworkType; private String instanceType; private String internetChargeType; private Integer internetMaxBandwidthIn; private Integer internetMaxBandwidthOut; private String ioOptimized; private String keyPairName; private Integer memory; private String nodeType; private OperationLocks operationLocks; private PublicIpAddress publicIpAddress; private String regionId; private String requestId; private String resourceGroupId; private SecurityGroupIds securityGroupIds; private String serialNumber; private String spotStrategy; private String status; private String stoppedMode; private SystemDisk systemDisk; private Tags tags; private String userData; private String vlanId; private VpcAttributes vpcAttributes; private String zoneId; private Builder() { } private Builder(DescribeRCInstanceAttributeResponseBody model) { this.autoRenew = model.autoRenew; this.clusterId = model.clusterId; this.cpu = model.cpu; this.createMode = model.createMode; this.creationTime = model.creationTime; this.creditSpecification = model.creditSpecification; this.dataDisks = model.dataDisks; this.dbType = model.dbType; this.dedicatedHostAttribute = model.dedicatedHostAttribute; this.deletionProtection = model.deletionProtection; this.deploymentSetId = model.deploymentSetId; this.description = model.description; this.diskType = model.diskType; this.ecsInstanceType = model.ecsInstanceType; this.eipAddress = model.eipAddress; this.enableJumboFrame = model.enableJumboFrame; this.expiredTime = model.expiredTime; this.gpu = model.gpu; this.gpuTypes = model.gpuTypes; this.hostName = model.hostName; this.hostType = model.hostType; this.imageId = model.imageId; this.innerIpAddress = model.innerIpAddress; this.instanceChargeType = model.instanceChargeType; this.instanceId = model.instanceId; this.instanceName = model.instanceName; this.instanceNetworkType = model.instanceNetworkType; this.instanceType = model.instanceType; this.internetChargeType = model.internetChargeType; this.internetMaxBandwidthIn = model.internetMaxBandwidthIn; this.internetMaxBandwidthOut = model.internetMaxBandwidthOut; this.ioOptimized = model.ioOptimized; this.keyPairName = model.keyPairName; this.memory = model.memory; this.nodeType = model.nodeType; this.operationLocks = model.operationLocks; this.publicIpAddress = model.publicIpAddress; this.regionId = model.regionId; this.requestId = model.requestId; this.resourceGroupId = model.resourceGroupId; this.securityGroupIds = model.securityGroupIds; this.serialNumber = model.serialNumber; this.spotStrategy = model.spotStrategy; this.status = model.status; this.stoppedMode = model.stoppedMode; this.systemDisk = model.systemDisk; this.tags = model.tags; this.userData = model.userData; this.vlanId = model.vlanId; this.vpcAttributes = model.vpcAttributes; this.zoneId = model.zoneId; } /** * AutoRenew. */ public Builder autoRenew(Boolean autoRenew) { this.autoRenew = autoRenew; return this; } /** * <p>The ID of the cluster to which the instance belongs.</p> * <blockquote> * <p> This parameter will be deprecated. We recommend that you use other parameters to ensure compatibility.</p> * </blockquote> * * <strong>example:</strong> * <p>None</p> */ public Builder clusterId(String clusterId) { this.clusterId = clusterId; return this; } /** * <p>The number of CPU cores.</p> * * <strong>example:</strong> * <p>4</p> */ public Builder cpu(Integer cpu) { this.cpu = cpu; return this; } /** * CreateMode. */ public Builder createMode(Integer createMode) { this.createMode = createMode; return this; } /** * <p>The time when the instance was created. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mmZ format. The time is displayed in UTC.</p> * * <strong>example:</strong> * <p>2024-04-22T06:52:23Z</p> */ public Builder creationTime(String creationTime) { this.creationTime = creationTime; return this; } /** * <p>The performance mode of the burstable instance.</p> * * <strong>example:</strong> * <p>None</p> */ public Builder creditSpecification(String creditSpecification) { this.creditSpecification = creditSpecification; return this; } /** * <p>The details of the data disk.</p> */ public Builder dataDisks(DataDisks dataDisks) { this.dataDisks = dataDisks; return this; } /** * DbType. */ public Builder dbType(String dbType) { this.dbType = dbType; return this; } /** * <p>The attributes of the dedicated hosts.</p> */ public Builder dedicatedHostAttribute(DedicatedHostAttribute dedicatedHostAttribute) { this.dedicatedHostAttribute = dedicatedHostAttribute; return this; } /** * DeletionProtection. */ public Builder deletionProtection(Boolean deletionProtection) { this.deletionProtection = deletionProtection; return this; } /** * <p>The ID of the deployment set.</p> * * <strong>example:</strong> * <p>ds-uf6c8qerk019bj1l****</p> */ public Builder deploymentSetId(String deploymentSetId) { this.deploymentSetId = deploymentSetId; return this; } /** * <p>The instance description.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder description(String description) { this.description = description; return this; } /** * <p>The reserved parameter.</p> * * <strong>example:</strong> * <p>None</p> */ public Builder diskType(String diskType) { this.diskType = diskType; return this; } /** * <p>The Elastic Compute Service (ECS) instance family.</p> * * <strong>example:</strong> * <p>ecs.g6.2xlarge</p> */ public Builder ecsInstanceType(String ecsInstanceType) { this.ecsInstanceType = ecsInstanceType; return this; } /** * <p>The elastic IP address (EIP) associated with the instance.</p> */ public Builder eipAddress(EipAddress eipAddress) { this.eipAddress = eipAddress; return this; } /** * <p>Indicates whether the Jumbo Frame feature is enabled for the instance. Valid values:</p> * <ul> * <li><strong>true</strong></li> * <li><strong>false</strong></li> * </ul> * * <strong>example:</strong> * <p>false</p> */ public Builder enableJumboFrame(Boolean enableJumboFrame) { this.enableJumboFrame = enableJumboFrame; return this; } /** * <p>The expiration time. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mmZ format. The time is displayed in UTC.</p> * * <strong>example:</strong> * <p>2024-08-10T00:00:00Z</p> */ public Builder expiredTime(String expiredTime) { this.expiredTime = expiredTime; return this; } /** * Gpu. */ public Builder gpu(Integer gpu) { this.gpu = gpu; return this; } /** * GpuTypes. */ public Builder gpuTypes(String gpuTypes) { this.gpuTypes = gpuTypes; return this; } /** * <p>The instance hostname.</p> * * <strong>example:</strong> * <p>iZ2zej1n3cin51rlmby****</p> */ public Builder hostName(String hostName) { this.hostName = hostName; return this; } /** * <p>The storage type of the host. Valid values:</p> * <ul> * <li><strong>dhg_cloud_ssd</strong>: ESSD</li> * <li><strong>dhg_local_ssd</strong>: local SSD</li> * </ul> * * <strong>example:</strong> * <p>dhg_cloud_ssd</p> */ public Builder hostType(String hostType) { this.hostType = hostType; return this; } /** * <p>The image ID of the instance.</p> * * <strong>example:</strong> * <p>m-2oqiu973jwcxe****</p> */ public Builder imageId(String imageId) { this.imageId = imageId; return this; } /** * <p>The private IP addresses of the instance in the classic network.</p> */ public Builder innerIpAddress(InnerIpAddress innerIpAddress) { this.innerIpAddress = innerIpAddress; return this; } /** * InstanceChargeType. */ public Builder instanceChargeType(String instanceChargeType) { this.instanceChargeType = instanceChargeType; return this; } /** * <p>The instance ID.</p> * * <strong>example:</strong> * <p>rc-dh2jf9n6j4s14926****</p> */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * <p>The instance name.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder instanceName(String instanceName) { this.instanceName = instanceName; return this; } /** * <p>The network type. Valid values:</p> * <ul> * <li><strong>classic</strong></li> * <li><strong>vpc</strong></li> * </ul> * * <strong>example:</strong> * <p>vpc</p> */ public Builder instanceNetworkType(String instanceNetworkType) { this.instanceNetworkType = instanceNetworkType; return this; } /** * <p>The instance type of the instance.</p> * * <strong>example:</strong> * <p>mysql.x4.xlarge.6cm</p> */ public Builder instanceType(String instanceType) { this.instanceType = instanceType; return this; } /** * <p>The billing method for network usage. Valid values:</p> * <ul> * <li><strong>PayByBandwidth</strong>: pay-by-bandwidth</li> * <li><strong>PayByTraffic</strong>: pay-by-data-transfer</li> * </ul> * <blockquote> * <p> If the <strong>pay-by-traffic</strong> billing method is used for network usage, the maximum inbound and outbound bandwidths are used as the upper limits of bandwidths instead of guaranteed performance specifications. In scenarios in which demands exceed resource supplies, the maximum bandwidths may not be reached. If you want guaranteed bandwidths for your instance, use the <strong>pay-by-bandwidth</strong> billing method for network usage.</p> * </blockquote> * * <strong>example:</strong> * <p>PayByTraffic</p> */ public Builder internetChargeType(String internetChargeType) { this.internetChargeType = internetChargeType; return this; } /** * <p>The maximum inbound bandwidth from the Internet. Unit: Mbit/s.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder internetMaxBandwidthIn(Integer internetMaxBandwidthIn) { this.internetMaxBandwidthIn = internetMaxBandwidthIn; return this; } /** * <p>The maximum outbound bandwidth to the Internet. Unit: Mbit/s.</p> * * <strong>example:</strong> * <p>5</p> */ public Builder internetMaxBandwidthOut(Integer internetMaxBandwidthOut) { this.internetMaxBandwidthOut = internetMaxBandwidthOut; return this; } /** * <p>Indicates whether the instance is I/O optimized.</p> * <ul> * <li><strong>optimized</strong>: The instance is I/O optimized.</li> * <li><strong>none</strong>: The instance is not I/O optimized.</li> * </ul> * * <strong>example:</strong> * <p>optimized</p> */ public Builder ioOptimized(String ioOptimized) { this.ioOptimized = ioOptimized; return this; } /** * <p>The name of the key pair.</p> * * <strong>example:</strong> * <p>test_01</p> */ public Builder keyPairName(String keyPairName) { this.keyPairName = keyPairName; return this; } /** * <p>The memory capacity of the instance. Unit: MiB.</p> * * <strong>example:</strong> * <p>8192</p> */ public Builder memory(Integer memory) { this.memory = memory; return this; } /** * NodeType. */ public Builder nodeType(String nodeType) { this.nodeType = nodeType; return this; } /** * <p>The reasons why the instance is locked.</p> */ public Builder operationLocks(OperationLocks operationLocks) { this.operationLocks = operationLocks; return this; } /** * <p>The public IP address of the instance.</p> */ public Builder publicIpAddress(PublicIpAddress publicIpAddress) { this.publicIpAddress = publicIpAddress; return this; } /** * <p>The region ID.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>EA2D4F34-01A7-46EB-A339-D80882135206</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * ResourceGroupId. */ public Builder resourceGroupId(String resourceGroupId) { this.resourceGroupId = resourceGroupId; return this; } /** * <p>The security groups.</p> */ public Builder securityGroupIds(SecurityGroupIds securityGroupIds) { this.securityGroupIds = securityGroupIds; return this; } /** * <p>The serial number of the instance.</p> * * <strong>example:</strong> * <p>b076f6ff-46d1-4234-a608-4e951ed6****</p> */ public Builder serialNumber(String serialNumber) { this.serialNumber = serialNumber; return this; } /** * SpotStrategy. */ public Builder spotStrategy(String spotStrategy) { this.spotStrategy = spotStrategy; return this; } /** * <p>The instance status. Valid values:</p> * <ul> * <li><strong>Pending</strong></li> * <li><strong>Running</strong></li> * <li><strong>Starting</strong></li> * <li><strong>Stopping</strong></li> * <li><strong>Stopped</strong></li> * </ul> * * <strong>example:</strong> * <p>Running</p> */ public Builder status(String status) { this.status = status; return this; } /** * <p>Indicates whether the billing of the instance continues after the instance is stopped. Valid values:</p> * <ul> * <li><strong>KeepCharging</strong>: The billing of the instance continues after the instance is stopped, and resources are retained for the instance.</li> * <li><strong>StopCharging</strong>: The billing of the instance stops after the instance is stopped. After the instance is stopped, resources such as CPU cores, memory resources, and public IP address are released. The instance may be unable to restart if some required resources are out of stock in the current region.</li> * <li><strong>Not-applicable</strong>: The No Fees for Stopped Instances feature is not supported for the instance.</li> * </ul> * * <strong>example:</strong> * <p>Not-applicable</p> */ public Builder stoppedMode(String stoppedMode) { this.stoppedMode = stoppedMode; return this; } /** * SystemDisk. */ public Builder systemDisk(SystemDisk systemDisk) { this.systemDisk = systemDisk; return this; } /** * Tags. */ public Builder tags(Tags tags) { this.tags = tags; return this; } /** * UserData. */ public Builder userData(String userData) { this.userData = userData; return this; } /** * <p>The virtual LAN (VLAN) ID of the instance.</p> * <blockquote> * <p> This parameter will be deprecated. We recommend that you use other parameters to ensure compatibility.</p> * </blockquote> * * <strong>example:</strong> * <p>None</p> */ public Builder vlanId(String vlanId) { this.vlanId = vlanId; return this; } /** * <p>The virtual private cloud (VPC) attributes of the instance.</p> */ public Builder vpcAttributes(VpcAttributes vpcAttributes) { this.vpcAttributes = vpcAttributes; return this; } /** * <p>The zone ID.</p> * * <strong>example:</strong> * <p>cn-hangzhou-b</p> */ public Builder zoneId(String zoneId) { this.zoneId = zoneId; return this; } public DescribeRCInstanceAttributeResponseBody build() { return new DescribeRCInstanceAttributeResponseBody(this); } } /** * * {@link DescribeRCInstanceAttributeResponseBody} extends {@link TeaModel} * * <p>DescribeRCInstanceAttributeResponseBody</p> */ public static class DataDisk extends TeaModel { @com.aliyun.core.annotation.NameInMap("Category") private String category; @com.aliyun.core.annotation.NameInMap("DeleteWithInstance") private Boolean deleteWithInstance; @com.aliyun.core.annotation.NameInMap("Encrypted") private String encrypted; @com.aliyun.core.annotation.NameInMap("PerformanceLevel") private String performanceLevel; @com.aliyun.core.annotation.NameInMap("Size") private Long size; private DataDisk(Builder builder) { this.category = builder.category; this.deleteWithInstance = builder.deleteWithInstance; this.encrypted = builder.encrypted; this.performanceLevel = builder.performanceLevel; this.size = builder.size; } public static Builder builder() { return new Builder(); } public static DataDisk create() { return builder().build(); } /** * @return category */ public String getCategory() { return this.category; } /** * @return deleteWithInstance */ public Boolean getDeleteWithInstance() { return this.deleteWithInstance; } /** * @return encrypted */ public String getEncrypted() { return this.encrypted; } /** * @return performanceLevel */ public String getPerformanceLevel() { return this.performanceLevel; } /** * @return size */ public Long getSize() { return this.size; } public static final class Builder { private String category; private Boolean deleteWithInstance; private String encrypted; private String performanceLevel; private Long size; private Builder() { } private Builder(DataDisk model) { this.category = model.category; this.deleteWithInstance = model.deleteWithInstance; this.encrypted = model.encrypted; this.performanceLevel = model.performanceLevel; this.size = model.size; } /** * <p>The category of the data disk.</p> * * <strong>example:</strong> * <p>cloud_essd</p> */ public Builder category(String category) { this.category = category; return this; } /** * <p>Indicates whether the data disk is released when the instance is released. Valid values:</p> * <ul> * <li><strong>true</strong>: The data disk is released when the instance is released.</li> * <li><strong>false</strong>: The data disk is reserved when the instance is released.</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder deleteWithInstance(Boolean deleteWithInstance) { this.deleteWithInstance = deleteWithInstance; return this; } /** * <p>Indicates whether the data disk is encrypted. Valid values:</p> * <ul> * <li><strong>true</strong></li> * <li><strong>false</strong></li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder encrypted(String encrypted) { this.encrypted = encrypted; return this; } /** * <p>The performance level of data disk. This parameter is available when the data disk is an Enterprise SSD (ESSD).</p> * * <strong>example:</strong> * <p>PL1</p> */ public Builder performanceLevel(String performanceLevel) { this.performanceLevel = performanceLevel; return this; } /** * <p>The size of the data disk. Unit: GiB.</p> * * <strong>example:</strong> * <p>40</p> */ public Builder size(Long size) { this.size = size; return this; } public DataDisk build() { return new DataDisk(this); } } } /** * * {@link DescribeRCInstanceAttributeResponseBody} extends {@link TeaModel} * * <p>DescribeRCInstanceAttributeResponseBody</p> */ public static class DataDisks extends TeaModel { @com.aliyun.core.annotation.NameInMap("DataDisk") private java.util.List<DataDisk> dataDisk; private DataDisks(Builder builder) { this.dataDisk = builder.dataDisk; } public static Builder builder() { return new Builder(); } public static DataDisks create() { return builder().build(); } /** * @return dataDisk */ public java.util.List<DataDisk> getDataDisk() { return this.dataDisk; } public static final class Builder { private java.util.List<DataDisk> dataDisk; private Builder() { } private Builder(DataDisks model) { this.dataDisk = model.dataDisk; } /** * DataDisk. */ public Builder dataDisk(java.util.List<DataDisk> dataDisk) { this.dataDisk = dataDisk; return this; } public DataDisks build() { return new DataDisks(this); } } } /** * * {@link DescribeRCInstanceAttributeResponseBody} extends {@link TeaModel} * * <p>DescribeRCInstanceAttributeResponseBody</p> */ public static class DedicatedHostAttribute extends TeaModel { @com.aliyun.core.annotation.NameInMap("DedicatedHostId") private String dedicatedHostId; @com.aliyun.core.annotation.NameInMap("DedicatedHostName") private String dedicatedHostName; private DedicatedHostAttribute(Builder builder) { this.dedicatedHostId = builder.dedicatedHostId; this.dedicatedHostName = builder.dedicatedHostName; } public static Builder builder() { return new Builder(); } public static DedicatedHostAttribute create() { return builder().build(); } /** * @return dedicatedHostId */ public String getDedicatedHostId() { return this.dedicatedHostId; } /** * @return dedicatedHostName */ public String getDedicatedHostName() { return this.dedicatedHostName; } public static final class Builder { private String dedicatedHostId; private String dedicatedHostName; private Builder() { } private Builder(DedicatedHostAttribute model) { this.dedicatedHostId = model.dedicatedHostId; this.dedicatedHostName = model.dedicatedHostName; } /** * <p>The ID of the dedicated host.</p> * * <strong>example:</strong> * <p>None</p> */ public Builder dedicatedHostId(String dedicatedHostId) { this.dedicatedHostId = dedicatedHostId; return this; } /** * <p>The name of the dedicated host.</p> * * <strong>example:</strong> * <p>None</p> */ public Builder dedicatedHostName(String dedicatedHostName) { this.dedicatedHostName = dedicatedHostName; return this; } public DedicatedHostAttribute build() { return new DedicatedHostAttribute(this); } } } /** * * {@link DescribeRCInstanceAttributeResponseBody} extends {@link TeaModel} * * <p>DescribeRCInstanceAttributeResponseBody</p> */ public static class EipAddress extends TeaModel { @com.aliyun.core.annotation.NameInMap("AllocationId") private String allocationId; @com.aliyun.core.annotation.NameInMap("Bandwidth") private Integer bandwidth; @com.aliyun.core.annotation.NameInMap("InternetChargeType") private String internetChargeType; @com.aliyun.core.annotation.NameInMap("IpAddress") private String ipAddress; private EipAddress(Builder builder) { this.allocationId = builder.allocationId; this.bandwidth = builder.bandwidth; this.internetChargeType = builder.internetChargeType; this.ipAddress = builder.ipAddress; } public static Builder builder() { return new Builder(); } public static EipAddress create() { return builder().build(); } /** * @return allocationId */ public String getAllocationId() { return this.allocationId; } /** * @return bandwidth */ public Integer getBandwidth() { return this.bandwidth; } /** * @return internetChargeType */ public String getInternetChargeType() { return this.internetChargeType; } /** * @return ipAddress */ public String getIpAddress() { return this.ipAddress; } public static final class Builder { private String allocationId; private Integer bandwidth; private String internetChargeType; private String ipAddress; private Builder() { } private Builder(EipAddress model) { this.allocationId = model.allocationId; this.bandwidth = model.bandwidth; this.internetChargeType = model.internetChargeType; this.ipAddress = model.ipAddress; } /** * <p>The EIP ID.</p> * * <strong>example:</strong> * <p>eip-bp14k3rz6cbg6zxbe****</p> */ public Builder allocationId(String allocationId) { this.allocationId = allocationId; return this; } /** * <p>The maximum Internet bandwidth of the EIP. Unit: Mbit/s.</p> * * <strong>example:</strong> * <p>5</p> */ public Builder bandwidth(Integer bandwidth) { this.bandwidth = bandwidth; return this; } /** * <p>The billing method of the Internet-facing instance. Valid values:</p> * <ul> * <li><strong>paybytraffic:</strong> pay-by-data-transfer</li> * <li><strong>paybybandwidth</strong>: pay-by-bandwidth</li> * </ul> * <blockquote> * <p> If the <strong>pay-by-traffic</strong> billing method is used for network usage, the maximum inbound and outbound bandwidths are used as the upper limits of bandwidths instead of guaranteed performance specifications. In scenarios in which demands exceed resource supplies, the maximum bandwidths may not be reached. If you want guaranteed bandwidths for your instance, use the <strong>pay-by-bandwidth</strong> billing method for network usage.</p> * </blockquote> * * <strong>example:</strong> * <p>paybytraffic</p> */ public Builder internetChargeType(String internetChargeType) { this.internetChargeType = internetChargeType; return this; } /** * <p>The EIP.</p> * * <strong>example:</strong> * <p>8.147.XXX.XXX</p> */ public Builder ipAddress(String ipAddress) { this.ipAddress = ipAddress; return this; } public EipAddress build() { return new EipAddress(this); } } } /** * * {@link DescribeRCInstanceAttributeResponseBody} extends {@link TeaModel} * * <p>DescribeRCInstanceAttributeResponseBody</p> */ public static class InnerIpAddress extends TeaModel { @com.aliyun.core.annotation.NameInMap("IpAddress") private java.util.List<String> ipAddress; private InnerIpAddress(Builder builder) { this.ipAddress = builder.ipAddress; } public static Builder builder() { return new Builder(); } public static InnerIpAddress create() { return builder().build(); } /** * @return ipAddress */ public java.util.List<String> getIpAddress() { return this.ipAddress; } public static final class Builder { private java.util.List<String> ipAddress; private Builder() { } private Builder(InnerIpAddress model) { this.ipAddress = model.ipAddress; } /** * <p>The EIP.</p> * * <strong>example:</strong> * <p>8.147.XXX.XXX</p> */ public Builder ipAddress(java.util.List<String> ipAddress) { this.ipAddress = ipAddress; return this; } public InnerIpAddress build() { return new InnerIpAddress(this); } } } /** * * {@link DescribeRCInstanceAttributeResponseBody} extends {@link TeaModel} * * <p>DescribeRCInstanceAttributeResponseBody</p> */ public static class LockReason extends TeaModel { @com.aliyun.core.annotation.NameInMap("LockReason") private String lockReason; private LockReason(Builder builder) { this.lockReason = builder.lockReason; } public static Builder builder() { return new Builder(); } public static LockReason create() { return builder().build(); } /** * @return lockReason */ public String getLockReason() { return this.lockReason; } public static final class Builder { private String lockReason; private Builder() { } private Builder(LockReason model) { this.lockReason = model.lockReason; } /** * <p>The reason why the instance is locked. Valid values:</p> * <ul> * <li><strong>financial</strong>: The instance is locked due to overdue payments.</li> * <li><strong>security</strong>: The instance is locked for security purposes.</li> * <li><strong>recycling</strong>: The instance is locked because the instance is a preemptible instance and pending to be released.</li> * <li><strong>dedicatedhostfinancial</strong>: The instance is locked due to overdue payments for the dedicated host.</li> * <li><strong>refunded</strong>: The instance is locked because a refund was made for the instance.</li> * </ul> * * <strong>example:</strong> * <p>None</p> */ public Builder lockReason(String lockReason) { this.lockReason = lockReason; return this; } public LockReason build() { return new LockReason(this); } } } /** * * {@link DescribeRCInstanceAttributeResponseBody} extends {@link TeaModel} * * <p>DescribeRCInstanceAttributeResponseBody</p> */ public static class OperationLocks extends TeaModel { @com.aliyun.core.annotation.NameInMap("LockReason") private java.util.List<LockReason> lockReason; private OperationLocks(Builder builder) { this.lockReason = builder.lockReason; } public static Builder builder() { return new Builder(); } public static OperationLocks create() { return builder().build(); } /** * @return lockReason */ public java.util.List<LockReason> getLockReason() { return this.lockReason; } public static final class Builder { private java.util.List<LockReason> lockReason; private Builder() { } private Builder(OperationLocks model) { this.lockReason = model.lockReason; } /** * <p>The reason why the instance is locked. Valid values:</p> * <ul> * <li><strong>financial</strong>: The instance is locked due to overdue payments.</li> * <li><strong>security</strong>: The instance is locked for security purposes.</li> * <li><strong>recycling</strong>: The instance is locked because the instance is a preemptible instance and pending to be released.</li> * <li><strong>dedicatedhostfinancial</strong>: The instance is locked due to overdue payments for the dedicated host.</li> * <li><strong>refunded</strong>: The instance is locked because a refund was made for the instance.</li> * </ul> * * <strong>example:</strong> * <p>None</p> */ public Builder lockReason(java.util.List<LockReason> lockReason) { this.lockReason = lockReason; return this; } public OperationLocks build() { return new OperationLocks(this); } } } /** * * {@link DescribeRCInstanceAttributeResponseBody} extends {@link TeaModel} * * <p>DescribeRCInstanceAttributeResponseBody</p> */ public static class PublicIpAddress extends TeaModel { @com.aliyun.core.annotation.NameInMap("IpAddress") private java.util.List<String> ipAddress; private PublicIpAddress(Builder builder) { this.ipAddress = builder.ipAddress; } public static Builder builder() { return new Builder(); } public static PublicIpAddress create() { return builder().build(); } /** * @return ipAddress */ public java.util.List<String> getIpAddress() { return this.ipAddress; } public static final class Builder { private java.util.List<String> ipAddress; private Builder() { } private Builder(PublicIpAddress model) { this.ipAddress = model.ipAddress; } /** * <p>The EIP.</p> * * <strong>example:</strong> * <p>8.147.XXX.XXX</p> */ public Builder ipAddress(java.util.List<String> ipAddress) { this.ipAddress = ipAddress; return this; } public PublicIpAddress build() { return new PublicIpAddress(this); } } } /** * * {@link DescribeRCInstanceAttributeResponseBody} extends {@link TeaModel} * * <p>DescribeRCInstanceAttributeResponseBody</p> */ public static class SecurityGroupIds extends TeaModel { @com.aliyun.core.annotation.NameInMap("SecurityGroupId") private java.util.List<String> securityGroupId; private SecurityGroupIds(Builder builder) { this.securityGroupId = builder.securityGroupId; } public static Builder builder() { return new Builder(); } public static SecurityGroupIds create() { return builder().build(); } /** * @return securityGroupId */ public java.util.List<String> getSecurityGroupId() { return this.securityGroupId; } public static final class Builder { private java.util.List<String> securityGroupId; private Builder() { } private Builder(SecurityGroupIds model) { this.securityGroupId = model.securityGroupId; } /** * SecurityGroupId. */ public Builder securityGroupId(java.util.List<String> securityGroupId) { this.securityGroupId = securityGroupId; return this; } public SecurityGroupIds build() { return new SecurityGroupIds(this); } } } /** * * {@link DescribeRCInstanceAttributeResponseBody} extends {@link TeaModel} * * <p>DescribeRCInstanceAttributeResponseBody</p> */ public static class SystemDisk extends TeaModel { @com.aliyun.core.annotation.NameInMap("DeleteWithInstance") private Boolean deleteWithInstance; @com.aliyun.core.annotation.NameInMap("Encrypted") private String encrypted; @com.aliyun.core.annotation.NameInMap("SystemDiskCategory") private String systemDiskCategory; @com.aliyun.core.annotation.NameInMap("SystemDiskPerformanceLevel") private String systemDiskPerformanceLevel; @com.aliyun.core.annotation.NameInMap("SystemDiskSize") private Long systemDiskSize; private SystemDisk(Builder builder) { this.deleteWithInstance = builder.deleteWithInstance; this.encrypted = builder.encrypted; this.systemDiskCategory = builder.systemDiskCategory; this.systemDiskPerformanceLevel = builder.systemDiskPerformanceLevel; this.systemDiskSize = builder.systemDiskSize; } public static Builder builder() { return new Builder(); } public static SystemDisk create() { return builder().build(); } /** * @return deleteWithInstance */ public Boolean getDeleteWithInstance() { return this.deleteWithInstance; } /** * @return encrypted */ public String getEncrypted() { return this.encrypted; } /** * @return systemDiskCategory */ public String getSystemDiskCategory() { return this.systemDiskCategory; } /** * @return systemDiskPerformanceLevel */ public String getSystemDiskPerformanceLevel() { return this.systemDiskPerformanceLevel; } /** * @return systemDiskSize */ public Long getSystemDiskSize() { return this.systemDiskSize; } public static final class Builder { private Boolean deleteWithInstance; private String encrypted; private String systemDiskCategory; private String systemDiskPerformanceLevel; private Long systemDiskSize; private Builder() { } private Builder(SystemDisk model) { this.deleteWithInstance = model.deleteWithInstance; this.encrypted = model.encrypted; this.systemDiskCategory = model.systemDiskCategory; this.systemDiskPerformanceLevel = model.systemDiskPerformanceLevel; this.systemDiskSize = model.systemDiskSize; } /** * <p>Indicates whether the data disk is released when the instance is released. Valid values:</p> * <ul> * <li><strong>true</strong>: The data disk is released when the instance is released.</li> * <li><strong>false</strong>: The data disk is reserved when the instance is released.</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder deleteWithInstance(Boolean deleteWithInstance) { this.deleteWithInstance = deleteWithInstance; return this; } /** * <p>Indicates whether the data disk is encrypted. Valid values:</p> * <ul> * <li><strong>true</strong></li> * <li><strong>false</strong></li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder encrypted(String encrypted) { this.encrypted = encrypted; return this; } /** * SystemDiskCategory. */ public Builder systemDiskCategory(String systemDiskCategory) { this.systemDiskCategory = systemDiskCategory; return this; } /** * SystemDiskPerformanceLevel. */ public Builder systemDiskPerformanceLevel(String systemDiskPerformanceLevel) { this.systemDiskPerformanceLevel = systemDiskPerformanceLevel; return this; } /** * SystemDiskSize. */ public Builder systemDiskSize(Long systemDiskSize) { this.systemDiskSize = systemDiskSize; return this; } public SystemDisk build() { return new SystemDisk(this); } } } /** * * {@link DescribeRCInstanceAttributeResponseBody} extends {@link TeaModel} * * <p>DescribeRCInstanceAttributeResponseBody</p> */ public static class Tag extends TeaModel { @com.aliyun.core.annotation.NameInMap("ResourceId") private String resourceId; @com.aliyun.core.annotation.NameInMap("ResourceType") private String resourceType; @com.aliyun.core.annotation.NameInMap("TagKey") private String tagKey; @com.aliyun.core.annotation.NameInMap("TagValue") private String tagValue; private Tag(Builder builder) { this.resourceId = builder.resourceId; this.resourceType = builder.resourceType; this.tagKey = builder.tagKey; this.tagValue = builder.tagValue; } public static Builder builder() { return new Builder(); } public static Tag create() { return builder().build(); } /** * @return resourceId */ public String getResourceId() { return this.resourceId; } /** * @return resourceType */ public String getResourceType() { return this.resourceType; } /** * @return tagKey */ public String getTagKey() { return this.tagKey; } /** * @return tagValue */ public String getTagValue() { return this.tagValue; } public static final class Builder { private String resourceId; private String resourceType; private String tagKey; private String tagValue; private Builder() { } private Builder(Tag model) { this.resourceId = model.resourceId; this.resourceType = model.resourceType; this.tagKey = model.tagKey; this.tagValue = model.tagValue; } /** * ResourceId. */ public Builder resourceId(String resourceId) { this.resourceId = resourceId; return this; } /** * ResourceType. */ public Builder resourceType(String resourceType) { this.resourceType = resourceType; return this; } /** * TagKey. */ public Builder tagKey(String tagKey) { this.tagKey = tagKey; return this; } /** * TagValue. */ public Builder tagValue(String tagValue) { this.tagValue = tagValue; return this; } public Tag build() { return new Tag(this); } } } /** * * {@link DescribeRCInstanceAttributeResponseBody} extends {@link TeaModel} * * <p>DescribeRCInstanceAttributeResponseBody</p> */ public static class Tags extends TeaModel { @com.aliyun.core.annotation.NameInMap("Tag") private java.util.List<Tag> tag; private Tags(Builder builder) { this.tag = builder.tag; } public static Builder builder() { return new Builder(); } public static Tags create() { return builder().build(); } /** * @return tag */ public java.util.List<Tag> getTag() { return this.tag; } public static final class Builder { private java.util.List<Tag> tag; private Builder() { } private Builder(Tags model) { this.tag = model.tag; } /** * Tag. */ public Builder tag(java.util.List<Tag> tag) { this.tag = tag; return this; } public Tags build() { return new Tags(this); } } } /** * * {@link DescribeRCInstanceAttributeResponseBody} extends {@link TeaModel} * * <p>DescribeRCInstanceAttributeResponseBody</p> */ public static class PrivateIpAddress extends TeaModel { @com.aliyun.core.annotation.NameInMap("IpAddress") private java.util.List<String> ipAddress; private PrivateIpAddress(Builder builder) { this.ipAddress = builder.ipAddress; } public static Builder builder() { return new Builder(); } public static PrivateIpAddress create() { return builder().build(); } /** * @return ipAddress */ public java.util.List<String> getIpAddress() { return this.ipAddress; } public static final class Builder { private java.util.List<String> ipAddress; private Builder() { } private Builder(PrivateIpAddress model) { this.ipAddress = model.ipAddress; } /** * <p>The EIP.</p> * * <strong>example:</strong> * <p>8.147.XXX.XXX</p> */ public Builder ipAddress(java.util.List<String> ipAddress) { this.ipAddress = ipAddress; return this; } public PrivateIpAddress build() { return new PrivateIpAddress(this); } } } /** * * {@link DescribeRCInstanceAttributeResponseBody} extends {@link TeaModel} * * <p>DescribeRCInstanceAttributeResponseBody</p> */ public static class VpcAttributes extends TeaModel { @com.aliyun.core.annotation.NameInMap("NatIpAddress") private String natIpAddress; @com.aliyun.core.annotation.NameInMap("PrivateIpAddress") private PrivateIpAddress privateIpAddress; @com.aliyun.core.annotation.NameInMap("VSwitchId") private String vSwitchId; @com.aliyun.core.annotation.NameInMap("VpcId") private String vpcId; private VpcAttributes(Builder builder) { this.natIpAddress = builder.natIpAddress; this.privateIpAddress = builder.privateIpAddress; this.vSwitchId = builder.vSwitchId; this.vpcId = builder.vpcId; } public static Builder builder() { return new Builder(); } public static VpcAttributes create() { return builder().build(); } /** * @return natIpAddress */ public String getNatIpAddress() { return this.natIpAddress; } /** * @return privateIpAddress */ public PrivateIpAddress getPrivateIpAddress() { return this.privateIpAddress; } /** * @return vSwitchId */ public String getVSwitchId() { return this.vSwitchId; } /** * @return vpcId */ public String getVpcId() { return this.vpcId; } public static final class Builder { private String natIpAddress; private PrivateIpAddress privateIpAddress; private String vSwitchId; private String vpcId; private Builder() { } private Builder(VpcAttributes model) { this.natIpAddress = model.natIpAddress; this.privateIpAddress = model.privateIpAddress; this.vSwitchId = model.vSwitchId; this.vpcId = model.vpcId; } /** * <p>The network address translation (NAT) IP address of the instance. The NAT IP address is used by instances in different VPCs for communication.</p> * * <strong>example:</strong> * <p>None</p> */ public Builder natIpAddress(String natIpAddress) { this.natIpAddress = natIpAddress; return this; } /** * <p>The private IP addresses of the instance.</p> */ public Builder privateIpAddress(PrivateIpAddress privateIpAddress) { this.privateIpAddress = privateIpAddress; return this; } /** * <p>The vSwitch ID.</p> * * <strong>example:</strong> * <p>vsw-bp1nt15muovrc5qdj****</p> */ public Builder vSwitchId(String vSwitchId) { this.vSwitchId = vSwitchId; return this; } /** * <p>The VPC ID.</p> * * <strong>example:</strong> * <p>vpc-2zeu747v4765aw2id****</p> */ public Builder vpcId(String vpcId) { this.vpcId = vpcId; return this; } public VpcAttributes build() { return new VpcAttributes(this); } } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCInstanceDdosCountRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCInstanceDdosCountRequest} extends {@link RequestModel} * * <p>DescribeRCInstanceDdosCountRequest</p> */ public class DescribeRCInstanceDdosCountRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DdosRegionId") private String ddosRegionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceType") private String instanceType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; private DescribeRCInstanceDdosCountRequest(Builder builder) { super(builder); this.ddosRegionId = builder.ddosRegionId; this.instanceType = builder.instanceType; this.regionId = builder.regionId; } public static Builder builder() { return new Builder(); } public static DescribeRCInstanceDdosCountRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return ddosRegionId */ public String getDdosRegionId() { return this.ddosRegionId; } /** * @return instanceType */ public String getInstanceType() { return this.instanceType; } /** * @return regionId */ public String getRegionId() { return this.regionId; } public static final class Builder extends Request.Builder<DescribeRCInstanceDdosCountRequest, Builder> { private String ddosRegionId; private String instanceType; private String regionId; private Builder() { super(); } private Builder(DescribeRCInstanceDdosCountRequest request) { super(request); this.ddosRegionId = request.ddosRegionId; this.instanceType = request.instanceType; this.regionId = request.regionId; } /** * <p>The region ID of the asset.</p> * * <strong>example:</strong> * <p>cn-beijing</p> */ public Builder ddosRegionId(String ddosRegionId) { this.putQueryParameter("DdosRegionId", ddosRegionId); this.ddosRegionId = ddosRegionId; return this; } /** * <p>The type of the asset that is assigned a public IP address. Fixed value: <strong>ecs</strong>.</p> * * <strong>example:</strong> * <p>ecs</p> */ public Builder instanceType(String instanceType) { this.putQueryParameter("InstanceType", instanceType); this.instanceType = instanceType; return this; } /** * <p>The ID of the region in which the RDS Custom instance resides.</p> * * <strong>example:</strong> * <p>cn-beijing</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } @Override public DescribeRCInstanceDdosCountRequest build() { return new DescribeRCInstanceDdosCountRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCInstanceDdosCountResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCInstanceDdosCountResponse} extends {@link TeaModel} * * <p>DescribeRCInstanceDdosCountResponse</p> */ public class DescribeRCInstanceDdosCountResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeRCInstanceDdosCountResponseBody body; private DescribeRCInstanceDdosCountResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeRCInstanceDdosCountResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeRCInstanceDdosCountResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeRCInstanceDdosCountResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeRCInstanceDdosCountResponseBody body); @Override DescribeRCInstanceDdosCountResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeRCInstanceDdosCountResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeRCInstanceDdosCountResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeRCInstanceDdosCountResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeRCInstanceDdosCountResponseBody body) { this.body = body; return this; } @Override public DescribeRCInstanceDdosCountResponse build() { return new DescribeRCInstanceDdosCountResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCInstanceDdosCountResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCInstanceDdosCountResponseBody} extends {@link TeaModel} * * <p>DescribeRCInstanceDdosCountResponseBody</p> */ public class DescribeRCInstanceDdosCountResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("DdosCount") private DdosCount ddosCount; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeRCInstanceDdosCountResponseBody(Builder builder) { this.ddosCount = builder.ddosCount; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeRCInstanceDdosCountResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return ddosCount */ public DdosCount getDdosCount() { return this.ddosCount; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private DdosCount ddosCount; private String requestId; private Builder() { } private Builder(DescribeRCInstanceDdosCountResponseBody model) { this.ddosCount = model.ddosCount; this.requestId = model.requestId; } /** * <p>The number of instances that are under DDoS attacks.</p> */ public Builder ddosCount(DdosCount ddosCount) { this.ddosCount = ddosCount; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>F77F3176-AAEA-5836-B2B4-A854E3ED****_Zv**</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeRCInstanceDdosCountResponseBody build() { return new DescribeRCInstanceDdosCountResponseBody(this); } } /** * * {@link DescribeRCInstanceDdosCountResponseBody} extends {@link TeaModel} * * <p>DescribeRCInstanceDdosCountResponseBody</p> */ public static class DdosCount extends TeaModel { @com.aliyun.core.annotation.NameInMap("BlackholeCount") private String blackholeCount; @com.aliyun.core.annotation.NameInMap("DefenseCount") private String defenseCount; @com.aliyun.core.annotation.NameInMap("InstacenCount") private String instacenCount; private DdosCount(Builder builder) { this.blackholeCount = builder.blackholeCount; this.defenseCount = builder.defenseCount; this.instacenCount = builder.instacenCount; } public static Builder builder() { return new Builder(); } public static DdosCount create() { return builder().build(); } /** * @return blackholeCount */ public String getBlackholeCount() { return this.blackholeCount; } /** * @return defenseCount */ public String getDefenseCount() { return this.defenseCount; } /** * @return instacenCount */ public String getInstacenCount() { return this.instacenCount; } public static final class Builder { private String blackholeCount; private String defenseCount; private String instacenCount; private Builder() { } private Builder(DdosCount model) { this.blackholeCount = model.blackholeCount; this.defenseCount = model.defenseCount; this.instacenCount = model.instacenCount; } /** * <p>The number of instances for which blackhole filtering is triggered.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder blackholeCount(String blackholeCount) { this.blackholeCount = blackholeCount; return this; } /** * <p>The number of instances for which traffic scrubbing is triggered.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder defenseCount(String defenseCount) { this.defenseCount = defenseCount; return this; } /** * <p>The total number of instances.</p> * * <strong>example:</strong> * <p>6</p> */ public Builder instacenCount(String instacenCount) { this.instacenCount = instacenCount; return this; } public DdosCount build() { return new DdosCount(this); } } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCInstanceHistoryEventsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCInstanceHistoryEventsRequest} extends {@link RequestModel} * * <p>DescribeRCInstanceHistoryEventsRequest</p> */ public class DescribeRCInstanceHistoryEventsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EventPublishTime") private EventPublishTime eventPublishTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NotBefore") private NotBefore notBefore; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EventCycleStatus") private String eventCycleStatus; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EventId") private java.util.List<String> eventId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EventType") private String eventType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ImpactLevel") private String impactLevel; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceEventCycleStatus") private java.util.List<String> instanceEventCycleStatus; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceEventType") private java.util.List<String> instanceEventType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("MaxResults") private String maxResults; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageNumber") private String pageNumber; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private String pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") @com.aliyun.core.annotation.Validation(required = true) private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceGroupId") private String resourceGroupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceId") private java.util.List<String> resourceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Tag") private java.util.List<Tag> tag; private DescribeRCInstanceHistoryEventsRequest(Builder builder) { super(builder); this.eventPublishTime = builder.eventPublishTime; this.notBefore = builder.notBefore; this.eventCycleStatus = builder.eventCycleStatus; this.eventId = builder.eventId; this.eventType = builder.eventType; this.impactLevel = builder.impactLevel; this.instanceEventCycleStatus = builder.instanceEventCycleStatus; this.instanceEventType = builder.instanceEventType; this.instanceId = builder.instanceId; this.maxResults = builder.maxResults; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.regionId = builder.regionId; this.resourceGroupId = builder.resourceGroupId; this.resourceId = builder.resourceId; this.tag = builder.tag; } public static Builder builder() { return new Builder(); } public static DescribeRCInstanceHistoryEventsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return eventPublishTime */ public EventPublishTime getEventPublishTime() { return this.eventPublishTime; } /** * @return notBefore */ public NotBefore getNotBefore() { return this.notBefore; } /** * @return eventCycleStatus */ public String getEventCycleStatus() { return this.eventCycleStatus; } /** * @return eventId */ public java.util.List<String> getEventId() { return this.eventId; } /** * @return eventType */ public String getEventType() { return this.eventType; } /** * @return impactLevel */ public String getImpactLevel() { return this.impactLevel; } /** * @return instanceEventCycleStatus */ public java.util.List<String> getInstanceEventCycleStatus() { return this.instanceEventCycleStatus; } /** * @return instanceEventType */ public java.util.List<String> getInstanceEventType() { return this.instanceEventType; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return maxResults */ public String getMaxResults() { return this.maxResults; } /** * @return pageNumber */ public String getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public String getPageSize() { return this.pageSize; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return resourceGroupId */ public String getResourceGroupId() { return this.resourceGroupId; } /** * @return resourceId */ public java.util.List<String> getResourceId() { return this.resourceId; } /** * @return tag */ public java.util.List<Tag> getTag() { return this.tag; } public static final class Builder extends Request.Builder<DescribeRCInstanceHistoryEventsRequest, Builder> { private EventPublishTime eventPublishTime; private NotBefore notBefore; private String eventCycleStatus; private java.util.List<String> eventId; private String eventType; private String impactLevel; private java.util.List<String> instanceEventCycleStatus; private java.util.List<String> instanceEventType; private String instanceId; private String maxResults; private String pageNumber; private String pageSize; private String regionId; private String resourceGroupId; private java.util.List<String> resourceId; private java.util.List<Tag> tag; private Builder() { super(); } private Builder(DescribeRCInstanceHistoryEventsRequest request) { super(request); this.eventPublishTime = request.eventPublishTime; this.notBefore = request.notBefore; this.eventCycleStatus = request.eventCycleStatus; this.eventId = request.eventId; this.eventType = request.eventType; this.impactLevel = request.impactLevel; this.instanceEventCycleStatus = request.instanceEventCycleStatus; this.instanceEventType = request.instanceEventType; this.instanceId = request.instanceId; this.maxResults = request.maxResults; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.regionId = request.regionId; this.resourceGroupId = request.resourceGroupId; this.resourceId = request.resourceId; this.tag = request.tag; } /** * EventPublishTime. */ public Builder eventPublishTime(EventPublishTime eventPublishTime) { this.putQueryParameter("EventPublishTime", eventPublishTime); this.eventPublishTime = eventPublishTime; return this; } /** * NotBefore. */ public Builder notBefore(NotBefore notBefore) { this.putQueryParameter("NotBefore", notBefore); this.notBefore = notBefore; return this; } /** * <p>The lifecycle state of the system event. This parameter is valid only when the <strong>InstanceEventCycleStatus.N</strong> parameter is not specified. Valid values:</p> * <ul> * <li><strong>Scheduled</strong></li> * <li><strong>Avoided</strong></li> * <li><strong>Executing</strong></li> * <li><strong>Executed</strong></li> * <li><strong>Canceled</strong></li> * <li><strong>Failed</strong></li> * <li><strong>Inquiring</strong></li> * </ul> * * <strong>example:</strong> * <p>Executed</p> */ public Builder eventCycleStatus(String eventCycleStatus) { this.putQueryParameter("EventCycleStatus", eventCycleStatus); this.eventCycleStatus = eventCycleStatus; return this; } /** * <p>The IDs of one or more system events.</p> */ public Builder eventId(java.util.List<String> eventId) { this.putQueryParameter("EventId", eventId); this.eventId = eventId; return this; } /** * <p>The system event type. This parameter is valid only when the <strong>InstanceEventType.N</strong> parameter is not specified. Valid values:</p> * <ul> * <li><strong>SystemMaintenance.Reboot</strong>: The instance was restarted due to system maintenance.</li> * <li><strong>SystemMaintenance.Redeploy</strong>: The instance was redeployed due to system maintenance.</li> * <li><strong>SystemFailure.Reboot</strong>: The instance was restarted due to system failures.</li> * <li><strong>SystemFailure.Redeploy</strong>: The instance was redeployed due to system failures.</li> * <li><strong>SystemFailure.Delete</strong>: The instance was released due to an instance creation failure.</li> * <li><strong>InstanceFailure.Reboot</strong>: The instance was restarted due to an instance error.</li> * <li><strong>InstanceExpiration.Stop</strong>: The subscription instance was stopped due to expiration.</li> * <li><strong>InstanceExpiration.Delete</strong>: The subscription instance was released due to expiration.</li> * <li><strong>AccountUnbalanced.Stop</strong>: The pay-as-you-go instance is stopped due to an overdue payment.</li> * <li><strong>AccountUnbalanced.Delete</strong>: The pay-as-you-go instance was released due to an overdue payment.</li> * </ul> * <blockquote> * <p> The values of this parameter are applicable only to instance system events, but not to disk system events.</p> * </blockquote> * * <strong>example:</strong> * <p>SystemMaintenance.Reboot</p> */ public Builder eventType(String eventType) { this.putQueryParameter("EventType", eventType); this.eventType = eventType; return this; } /** * <p>The reserved parameter. This parameter is not supported.</p> * * <strong>example:</strong> * <p>None</p> */ public Builder impactLevel(String impactLevel) { this.putQueryParameter("ImpactLevel", impactLevel); this.impactLevel = impactLevel; return this; } /** * <p>The lifecycle states of system events.</p> */ public Builder instanceEventCycleStatus(java.util.List<String> instanceEventCycleStatus) { this.putQueryParameter("InstanceEventCycleStatus", instanceEventCycleStatus); this.instanceEventCycleStatus = instanceEventCycleStatus; return this; } /** * <p>The type of system event N.</p> */ public Builder instanceEventType(java.util.List<String> instanceEventType) { this.putQueryParameter("InstanceEventType", instanceEventType); this.instanceEventType = instanceEventType; return this; } /** * <p>The instance ID. If you do not specify an instance ID, system events of all instances in the specified region are queried.</p> * * <strong>example:</strong> * <p>rc-yuf59nplc45t2tzn****</p> */ public Builder instanceId(String instanceId) { this.putQueryParameter("InstanceId", instanceId); this.instanceId = instanceId; return this; } /** * <p>The reserved parameter. This parameter is not supported.</p> * * <strong>example:</strong> * <p>None</p> */ public Builder maxResults(String maxResults) { this.putQueryParameter("MaxResults", maxResults); this.maxResults = maxResults; return this; } /** * <p>The page number of the returned page.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageNumber(String pageNumber) { this.putQueryParameter("PageNumber", pageNumber); this.pageNumber = pageNumber; return this; } /** * <p>The maximum number of entries returned per page.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder pageSize(String pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The ID of the region where the instance resides.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * <p>The ID of the resource group that you want to query.</p> * * <strong>example:</strong> * <p>rg-bp67acfmxazb4p****</p> */ public Builder resourceGroupId(String resourceGroupId) { this.putQueryParameter("ResourceGroupId", resourceGroupId); this.resourceGroupId = resourceGroupId; return this; } /** * <p>The ID of resource N.</p> */ public Builder resourceId(java.util.List<String> resourceId) { this.putQueryParameter("ResourceId", resourceId); this.resourceId = resourceId; return this; } /** * <p>An array that consists of the tags that are supported by system events.</p> */ public Builder tag(java.util.List<Tag> tag) { this.putQueryParameter("Tag", tag); this.tag = tag; return this; } @Override public DescribeRCInstanceHistoryEventsRequest build() { return new DescribeRCInstanceHistoryEventsRequest(this); } } /** * * {@link DescribeRCInstanceHistoryEventsRequest} extends {@link TeaModel} * * <p>DescribeRCInstanceHistoryEventsRequest</p> */ public static class EventPublishTime extends TeaModel { @com.aliyun.core.annotation.NameInMap("End") private String end; @com.aliyun.core.annotation.NameInMap("Start") private String start; private EventPublishTime(Builder builder) { this.end = builder.end; this.start = builder.start; } public static Builder builder() { return new Builder(); } public static EventPublishTime create() { return builder().build(); } /** * @return end */ public String getEnd() { return this.end; } /** * @return start */ public String getStart() { return this.start; } public static final class Builder { private String end; private String start; private Builder() { } private Builder(EventPublishTime model) { this.end = model.end; this.start = model.start; } /** * <p>The end of the time range in which to query published system events. Specify the time in the ISO 8601 standard in the <code>yyyy-MM-ddTHH:mm:ssZ</code> format. The time must be in UTC.</p> * * <strong>example:</strong> * <p>2025-04-01T06:32:31Z</p> */ public Builder end(String end) { this.end = end; return this; } /** * <p>The beginning of the time range in which to query published system events. Specify the time in the ISO 8601 standard in the <code>yyyy-MM-ddTHH:mm:ssZ</code> format. The time must be in UTC.</p> * * <strong>example:</strong> * <p>2025-03-30T06:32:31Z</p> */ public Builder start(String start) { this.start = start; return this; } public EventPublishTime build() { return new EventPublishTime(this); } } } /** * * {@link DescribeRCInstanceHistoryEventsRequest} extends {@link TeaModel} * * <p>DescribeRCInstanceHistoryEventsRequest</p> */ public static class NotBefore extends TeaModel { @com.aliyun.core.annotation.NameInMap("End") private String end; @com.aliyun.core.annotation.NameInMap("Start") private String start; private NotBefore(Builder builder) { this.end = builder.end; this.start = builder.start; } public static Builder builder() { return new Builder(); } public static NotBefore create() { return builder().build(); } /** * @return end */ public String getEnd() { return this.end; } /** * @return start */ public String getStart() { return this.start; } public static final class Builder { private String end; private String start; private Builder() { } private Builder(NotBefore model) { this.end = model.end; this.start = model.start; } /** * <p>The end time of the scheduled execution period for the system event. Specify the time in the ISO 8601 standard in the <code>yyyy-MM-ddTHH:mm:ssZ</code> format. The time must be in UTC.</p> * * <strong>example:</strong> * <p>2025-04-01T06:32:31Z</p> */ public Builder end(String end) { this.end = end; return this; } /** * <p>The start time of the scheduled execution period for the system event. Specify the time in the ISO 8601 standard in the <code>yyyy-MM-ddTHH:mm:ssZ</code> format. The time must be in UTC.</p> * * <strong>example:</strong> * <p>2025-03-30T06:32:31Z</p> */ public Builder start(String start) { this.start = start; return this; } public NotBefore build() { return new NotBefore(this); } } } /** * * {@link DescribeRCInstanceHistoryEventsRequest} extends {@link TeaModel} * * <p>DescribeRCInstanceHistoryEventsRequest</p> */ public static class Tag extends TeaModel { @com.aliyun.core.annotation.NameInMap("Key") private String key; @com.aliyun.core.annotation.NameInMap("Value") private String value; private Tag(Builder builder) { this.key = builder.key; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static Tag create() { return builder().build(); } /** * @return key */ public String getKey() { return this.key; } /** * @return value */ public String getValue() { return this.value; } public static final class Builder { private String key; private String value; private Builder() { } private Builder(Tag model) { this.key = model.key; this.value = model.value; } /** * <p>The key of the tag that is added to the resource.</p> * * <strong>example:</strong> * <p>TestKey</p> */ public Builder key(String key) { this.key = key; return this; } /** * <p>The value of tag N of the port list.</p> * * <strong>example:</strong> * <p>TestValue</p> */ public Builder value(String value) { this.value = value; return this; } public Tag build() { return new Tag(this); } } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCInstanceHistoryEventsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCInstanceHistoryEventsResponse} extends {@link TeaModel} * * <p>DescribeRCInstanceHistoryEventsResponse</p> */ public class DescribeRCInstanceHistoryEventsResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeRCInstanceHistoryEventsResponseBody body; private DescribeRCInstanceHistoryEventsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeRCInstanceHistoryEventsResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeRCInstanceHistoryEventsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeRCInstanceHistoryEventsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeRCInstanceHistoryEventsResponseBody body); @Override DescribeRCInstanceHistoryEventsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeRCInstanceHistoryEventsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeRCInstanceHistoryEventsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeRCInstanceHistoryEventsResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeRCInstanceHistoryEventsResponseBody body) { this.body = body; return this; } @Override public DescribeRCInstanceHistoryEventsResponse build() { return new DescribeRCInstanceHistoryEventsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCInstanceHistoryEventsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCInstanceHistoryEventsResponseBody} extends {@link TeaModel} * * <p>DescribeRCInstanceHistoryEventsResponseBody</p> */ public class DescribeRCInstanceHistoryEventsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("InstanceSystemEventSet") private java.util.List<InstanceSystemEventSet> instanceSystemEventSet; @com.aliyun.core.annotation.NameInMap("NextToken") private String nextToken; @com.aliyun.core.annotation.NameInMap("PageNumber") private Integer pageNumber; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private DescribeRCInstanceHistoryEventsResponseBody(Builder builder) { this.instanceSystemEventSet = builder.instanceSystemEventSet; this.nextToken = builder.nextToken; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.requestId = builder.requestId; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static DescribeRCInstanceHistoryEventsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return instanceSystemEventSet */ public java.util.List<InstanceSystemEventSet> getInstanceSystemEventSet() { return this.instanceSystemEventSet; } /** * @return nextToken */ public String getNextToken() { return this.nextToken; } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private java.util.List<InstanceSystemEventSet> instanceSystemEventSet; private String nextToken; private Integer pageNumber; private Integer pageSize; private String requestId; private Integer totalCount; private Builder() { } private Builder(DescribeRCInstanceHistoryEventsResponseBody model) { this.instanceSystemEventSet = model.instanceSystemEventSet; this.nextToken = model.nextToken; this.pageNumber = model.pageNumber; this.pageSize = model.pageSize; this.requestId = model.requestId; this.totalCount = model.totalCount; } /** * <p>Details about the instance system event.</p> */ public Builder instanceSystemEventSet(java.util.List<InstanceSystemEventSet> instanceSystemEventSet) { this.instanceSystemEventSet = instanceSystemEventSet; return this; } /** * <p>The reserved parameter. This parameter is not supported.</p> * * <strong>example:</strong> * <p>None</p> */ public Builder nextToken(String nextToken) { this.nextToken = nextToken; return this; } /** * <p>The page number of the returned page.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageNumber(Integer pageNumber) { this.pageNumber = pageNumber; return this; } /** * <p>The number of entries per page.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>866F5EB8-4650-4061-87F0-379F6F968BCE</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The total number of instance events.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public DescribeRCInstanceHistoryEventsResponseBody build() { return new DescribeRCInstanceHistoryEventsResponseBody(this); } } /** * * {@link DescribeRCInstanceHistoryEventsResponseBody} extends {@link TeaModel} * * <p>DescribeRCInstanceHistoryEventsResponseBody</p> */ public static class EventCycleStatus extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("Name") private String name; private EventCycleStatus(Builder builder) { this.code = builder.code; this.name = builder.name; } public static Builder builder() { return new Builder(); } public static EventCycleStatus create() { return builder().build(); } /** * @return code */ public String getCode() { return this.code; } /** * @return name */ public String getName() { return this.name; } public static final class Builder { private String code; private String name; private Builder() { } private Builder(EventCycleStatus model) { this.code = model.code; this.name = model.name; } /** * <p>The state code of the system event.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder code(String code) { this.code = code; return this; } /** * <p>The state name of the system event.</p> * * <strong>example:</strong> * <p>Executed</p> */ public Builder name(String name) { this.name = name; return this; } public EventCycleStatus build() { return new EventCycleStatus(this); } } } /** * * {@link DescribeRCInstanceHistoryEventsResponseBody} extends {@link TeaModel} * * <p>DescribeRCInstanceHistoryEventsResponseBody</p> */ public static class EventType extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("Name") private String name; private EventType(Builder builder) { this.code = builder.code; this.name = builder.name; } public static Builder builder() { return new Builder(); } public static EventType create() { return builder().build(); } /** * @return code */ public String getCode() { return this.code; } /** * @return name */ public String getName() { return this.name; } public static final class Builder { private String code; private String name; private Builder() { } private Builder(EventType model) { this.code = model.code; this.name = model.name; } /** * <p>The code of the system event type.</p> * * <strong>example:</strong> * <p>34</p> */ public Builder code(String code) { this.code = code; return this; } /** * <p>The name of the system event type.</p> * * <strong>example:</strong> * <p>InstanceExpiration.Stop</p> */ public Builder name(String name) { this.name = name; return this; } public EventType build() { return new EventType(this); } } } /** * * {@link DescribeRCInstanceHistoryEventsResponseBody} extends {@link TeaModel} * * <p>DescribeRCInstanceHistoryEventsResponseBody</p> */ public static class InactiveDisks extends TeaModel { @com.aliyun.core.annotation.NameInMap("CreationTime") private String creationTime; @com.aliyun.core.annotation.NameInMap("DeviceCategory") private String deviceCategory; @com.aliyun.core.annotation.NameInMap("DeviceSize") private String deviceSize; @com.aliyun.core.annotation.NameInMap("DeviceType") private String deviceType; @com.aliyun.core.annotation.NameInMap("ReleaseTime") private String releaseTime; private InactiveDisks(Builder builder) { this.creationTime = builder.creationTime; this.deviceCategory = builder.deviceCategory; this.deviceSize = builder.deviceSize; this.deviceType = builder.deviceType; this.releaseTime = builder.releaseTime; } public static Builder builder() { return new Builder(); } public static InactiveDisks create() { return builder().build(); } /** * @return creationTime */ public String getCreationTime() { return this.creationTime; } /** * @return deviceCategory */ public String getDeviceCategory() { return this.deviceCategory; } /** * @return deviceSize */ public String getDeviceSize() { return this.deviceSize; } /** * @return deviceType */ public String getDeviceType() { return this.deviceType; } /** * @return releaseTime */ public String getReleaseTime() { return this.releaseTime; } public static final class Builder { private String creationTime; private String deviceCategory; private String deviceSize; private String deviceType; private String releaseTime; private Builder() { } private Builder(InactiveDisks model) { this.creationTime = model.creationTime; this.deviceCategory = model.deviceCategory; this.deviceSize = model.deviceSize; this.deviceType = model.deviceType; this.releaseTime = model.releaseTime; } /** * <p>The time when the disk was created. Specify the time in the ISO 8601 standard in the <code>yyyy-MM-ddTHH:mm:ssZ</code> format. The time must be in UTC.</p> * * <strong>example:</strong> * <p>2025-03-26T03:33:56Z</p> */ public Builder creationTime(String creationTime) { this.creationTime = creationTime; return this; } /** * <p>The category of the cloud disk or local disk. Valid values:</p> * <ul> * <li><strong>cloud_efficiency</strong>: ultra disk</li> * <li><strong>cloud_ssd</strong>: standard SSD</li> * <li><strong>cloud_essd</strong>: ESSD</li> * <li><strong>cloud_auto</strong>: Premium ESSD</li> * </ul> * * <strong>example:</strong> * <p>cloud_auto</p> */ public Builder deviceCategory(String deviceCategory) { this.deviceCategory = deviceCategory; return this; } /** * <p>The size of the disk. Unit: GiB.</p> * * <strong>example:</strong> * <p>40</p> */ public Builder deviceSize(String deviceSize) { this.deviceSize = deviceSize; return this; } /** * <p>The disk type. Valid values:</p> * <ul> * <li><strong>system</strong>: system disk.</li> * <li><strong>data</strong>: data disk.</li> * </ul> * * <strong>example:</strong> * <p>data</p> */ public Builder deviceType(String deviceType) { this.deviceType = deviceType; return this; } /** * <p>The time when the disk was released. Specify the time in the ISO 8601 standard in the <code>yyyy-MM-ddTHH:mm:ssZ</code> format. The time must be in UTC.</p> * * <strong>example:</strong> * <p>2025-03-26T03:33:56Z</p> */ public Builder releaseTime(String releaseTime) { this.releaseTime = releaseTime; return this; } public InactiveDisks build() { return new InactiveDisks(this); } } } /** * * {@link DescribeRCInstanceHistoryEventsResponseBody} extends {@link TeaModel} * * <p>DescribeRCInstanceHistoryEventsResponseBody</p> */ public static class ExtendedAttribute extends TeaModel { @com.aliyun.core.annotation.NameInMap("CanAccept") private String canAccept; @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("Device") private String device; @com.aliyun.core.annotation.NameInMap("DiskId") private String diskId; @com.aliyun.core.annotation.NameInMap("HostId") private String hostId; @com.aliyun.core.annotation.NameInMap("HostType") private String hostType; @com.aliyun.core.annotation.NameInMap("InactiveDisks") private java.util.List<InactiveDisks> inactiveDisks; @com.aliyun.core.annotation.NameInMap("MigrationOptions") private java.util.List<String> migrationOptions; @com.aliyun.core.annotation.NameInMap("OnlineRepairPolicy") private String onlineRepairPolicy; @com.aliyun.core.annotation.NameInMap("PunishDomain") private String punishDomain; @com.aliyun.core.annotation.NameInMap("PunishType") private String punishType; @com.aliyun.core.annotation.NameInMap("PunishUrl") private String punishUrl; @com.aliyun.core.annotation.NameInMap("Rack") private String rack; @com.aliyun.core.annotation.NameInMap("ResponseResult") private String responseResult; private ExtendedAttribute(Builder builder) { this.canAccept = builder.canAccept; this.code = builder.code; this.device = builder.device; this.diskId = builder.diskId; this.hostId = builder.hostId; this.hostType = builder.hostType; this.inactiveDisks = builder.inactiveDisks; this.migrationOptions = builder.migrationOptions; this.onlineRepairPolicy = builder.onlineRepairPolicy; this.punishDomain = builder.punishDomain; this.punishType = builder.punishType; this.punishUrl = builder.punishUrl; this.rack = builder.rack; this.responseResult = builder.responseResult; } public static Builder builder() { return new Builder(); } public static ExtendedAttribute create() { return builder().build(); } /** * @return canAccept */ public String getCanAccept() { return this.canAccept; } /** * @return code */ public String getCode() { return this.code; } /** * @return device */ public String getDevice() { return this.device; } /** * @return diskId */ public String getDiskId() { return this.diskId; } /** * @return hostId */ public String getHostId() { return this.hostId; } /** * @return hostType */ public String getHostType() { return this.hostType; } /** * @return inactiveDisks */ public java.util.List<InactiveDisks> getInactiveDisks() { return this.inactiveDisks; } /** * @return migrationOptions */ public java.util.List<String> getMigrationOptions() { return this.migrationOptions; } /** * @return onlineRepairPolicy */ public String getOnlineRepairPolicy() { return this.onlineRepairPolicy; } /** * @return punishDomain */ public String getPunishDomain() { return this.punishDomain; } /** * @return punishType */ public String getPunishType() { return this.punishType; } /** * @return punishUrl */ public String getPunishUrl() { return this.punishUrl; } /** * @return rack */ public String getRack() { return this.rack; } /** * @return responseResult */ public String getResponseResult() { return this.responseResult; } public static final class Builder { private String canAccept; private String code; private String device; private String diskId; private String hostId; private String hostType; private java.util.List<InactiveDisks> inactiveDisks; private java.util.List<String> migrationOptions; private String onlineRepairPolicy; private String punishDomain; private String punishType; private String punishUrl; private String rack; private String responseResult; private Builder() { } private Builder(ExtendedAttribute model) { this.canAccept = model.canAccept; this.code = model.code; this.device = model.device; this.diskId = model.diskId; this.hostId = model.hostId; this.hostType = model.hostType; this.inactiveDisks = model.inactiveDisks; this.migrationOptions = model.migrationOptions; this.onlineRepairPolicy = model.onlineRepairPolicy; this.punishDomain = model.punishDomain; this.punishType = model.punishType; this.punishUrl = model.punishUrl; this.rack = model.rack; this.responseResult = model.responseResult; } /** * <p>Indicates whether the event can be handled.</p> * * <strong>example:</strong> * <p>true</p> */ public Builder canAccept(String canAccept) { this.canAccept = canAccept; return this; } /** * <p>The code of the security violation.</p> * * <strong>example:</strong> * <p>PR111</p> */ public Builder code(String code) { this.code = code; return this; } /** * <p>The device name of the local disk.</p> * * <strong>example:</strong> * <p>/dev/vda</p> */ public Builder device(String device) { this.device = device; return this; } /** * <p>The ID of the local disk.</p> * * <strong>example:</strong> * <p>rcd-****</p> */ public Builder diskId(String diskId) { this.diskId = diskId; return this; } /** * <p>The ID of the host.</p> * * <strong>example:</strong> * <p>dh-bp1ewce1gk3iwv2****</p> */ public Builder hostId(String hostId) { this.hostId = hostId; return this; } /** * <p>The type of the host. Valid values:</p> * <ul> * <li><strong>ddh</strong>: dedicated host</li> * <li><strong>managehost</strong>: physical machine in a smart hosting pool</li> * </ul> * * <strong>example:</strong> * <p>ddh</p> */ public Builder hostType(String hostType) { this.hostType = hostType; return this; } /** * <p>The inactive disks that have been released and whose data must be cleared.</p> */ public Builder inactiveDisks(java.util.List<InactiveDisks> inactiveDisks) { this.inactiveDisks = inactiveDisks; return this; } /** * <p>The migration solutions of the instance.</p> */ public Builder migrationOptions(java.util.List<String> migrationOptions) { this.migrationOptions = migrationOptions; return this; } /** * <p>The online repair policy for the damaged disk. Valid value: IsolateOnly, which indicates that damaged disks are isolated but not repaired.</p> * * <strong>example:</strong> * <p>IsolateOnly</p> */ public Builder onlineRepairPolicy(String onlineRepairPolicy) { this.onlineRepairPolicy = onlineRepairPolicy; return this; } /** * <p>The illegal domain name.</p> * * <strong>example:</strong> * <p>1228.test.com</p> */ public Builder punishDomain(String punishDomain) { this.punishDomain = punishDomain; return this; } /** * <p>The type of the penalty.</p> * * <strong>example:</strong> * <p>ecs_message_alert</p> */ public Builder punishType(String punishType) { this.punishType = punishType; return this; } /** * <p>The illegal URL.</p> * * <strong>example:</strong> * <p><a href="http://1228.test.com/1">http://1228.test.com/1</a></p> */ public Builder punishUrl(String punishUrl) { this.punishUrl = punishUrl; return this; } /** * <p>The rack number of the cloud box.</p> * * <strong>example:</strong> * <p>A01</p> */ public Builder rack(String rack) { this.rack = rack; return this; } /** * <p>The response result of the event. Valid values:</p> * <ul> * <li><strong>true</strong>: the event was handled.</li> * <li><strong>false</strong>: the event failed to be handled.</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder responseResult(String responseResult) { this.responseResult = responseResult; return this; } public ExtendedAttribute build() { return new ExtendedAttribute(this); } } } /** * * {@link DescribeRCInstanceHistoryEventsResponseBody} extends {@link TeaModel} * * <p>DescribeRCInstanceHistoryEventsResponseBody</p> */ public static class InstanceSystemEventSet extends TeaModel { @com.aliyun.core.annotation.NameInMap("EventCycleStatus") private EventCycleStatus eventCycleStatus; @com.aliyun.core.annotation.NameInMap("EventFinishTime") private String eventFinishTime; @com.aliyun.core.annotation.NameInMap("EventId") private String eventId; @com.aliyun.core.annotation.NameInMap("EventPublishTime") private String eventPublishTime; @com.aliyun.core.annotation.NameInMap("EventType") private EventType eventType; @com.aliyun.core.annotation.NameInMap("ExtendedAttribute") private ExtendedAttribute extendedAttribute; @com.aliyun.core.annotation.NameInMap("ImpactLevel") private String impactLevel; @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("NotBefore") private String notBefore; @com.aliyun.core.annotation.NameInMap("Reason") private String reason; @com.aliyun.core.annotation.NameInMap("ReasonCode") private String reasonCode; @com.aliyun.core.annotation.NameInMap("ResourceType") private String resourceType; private InstanceSystemEventSet(Builder builder) { this.eventCycleStatus = builder.eventCycleStatus; this.eventFinishTime = builder.eventFinishTime; this.eventId = builder.eventId; this.eventPublishTime = builder.eventPublishTime; this.eventType = builder.eventType; this.extendedAttribute = builder.extendedAttribute; this.impactLevel = builder.impactLevel; this.instanceId = builder.instanceId; this.notBefore = builder.notBefore; this.reason = builder.reason; this.reasonCode = builder.reasonCode; this.resourceType = builder.resourceType; } public static Builder builder() { return new Builder(); } public static InstanceSystemEventSet create() { return builder().build(); } /** * @return eventCycleStatus */ public EventCycleStatus getEventCycleStatus() { return this.eventCycleStatus; } /** * @return eventFinishTime */ public String getEventFinishTime() { return this.eventFinishTime; } /** * @return eventId */ public String getEventId() { return this.eventId; } /** * @return eventPublishTime */ public String getEventPublishTime() { return this.eventPublishTime; } /** * @return eventType */ public EventType getEventType() { return this.eventType; } /** * @return extendedAttribute */ public ExtendedAttribute getExtendedAttribute() { return this.extendedAttribute; } /** * @return impactLevel */ public String getImpactLevel() { return this.impactLevel; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return notBefore */ public String getNotBefore() { return this.notBefore; } /** * @return reason */ public String getReason() { return this.reason; } /** * @return reasonCode */ public String getReasonCode() { return this.reasonCode; } /** * @return resourceType */ public String getResourceType() { return this.resourceType; } public static final class Builder { private EventCycleStatus eventCycleStatus; private String eventFinishTime; private String eventId; private String eventPublishTime; private EventType eventType; private ExtendedAttribute extendedAttribute; private String impactLevel; private String instanceId; private String notBefore; private String reason; private String reasonCode; private String resourceType; private Builder() { } private Builder(InstanceSystemEventSet model) { this.eventCycleStatus = model.eventCycleStatus; this.eventFinishTime = model.eventFinishTime; this.eventId = model.eventId; this.eventPublishTime = model.eventPublishTime; this.eventType = model.eventType; this.extendedAttribute = model.extendedAttribute; this.impactLevel = model.impactLevel; this.instanceId = model.instanceId; this.notBefore = model.notBefore; this.reason = model.reason; this.reasonCode = model.reasonCode; this.resourceType = model.resourceType; } /** * <p>The lifecycle state of the system event.</p> */ public Builder eventCycleStatus(EventCycleStatus eventCycleStatus) { this.eventCycleStatus = eventCycleStatus; return this; } /** * <p>The time when the system event ended. Specify the time in the ISO 8601 standard in the <code>yyyy-MM-ddTHH:mm:ssZ</code> format. The time must be in UTC.</p> * * <strong>example:</strong> * <p>2025-04-01T06:32:31Z</p> */ public Builder eventFinishTime(String eventFinishTime) { this.eventFinishTime = eventFinishTime; return this; } /** * <p>The ID of the system event.</p> * * <strong>example:</strong> * <p>e-uf64yvznlao4jl2c****</p> */ public Builder eventId(String eventId) { this.eventId = eventId; return this; } /** * <p>The time when the system event was published. Specify the time in the ISO 8601 standard in the <code>yyyy-MM-ddTHH:mm:ssZ</code> format. The time must be in UTC.</p> * * <strong>example:</strong> * <p>2025-03-30T06:32:31Z</p> */ public Builder eventPublishTime(String eventPublishTime) { this.eventPublishTime = eventPublishTime; return this; } /** * <p>The type of the system event.</p> */ public Builder eventType(EventType eventType) { this.eventType = eventType; return this; } /** * <p>The extended attribute of the system event.</p> */ public Builder extendedAttribute(ExtendedAttribute extendedAttribute) { this.extendedAttribute = extendedAttribute; return this; } /** * <p>The impact level of the event.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder impactLevel(String impactLevel) { this.impactLevel = impactLevel; return this; } /** * <p>The instance ID.</p> * * <strong>example:</strong> * <p>rc-yuf59nplc45t2tzn****</p> */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * <p>The start time of the scheduled execution of the system event. Specify the time in the ISO 8601 standard in the <code>yyyy-MM-ddTHH:mm:ssZ</code> format. The time must be in UTC.</p> * * <strong>example:</strong> * <p>2025-04-01T06:32:31Z</p> */ public Builder notBefore(String notBefore) { this.notBefore = notBefore; return this; } /** * <p>The reason why the system event occurred.</p> * * <strong>example:</strong> * <p>System maintenance is scheduled due to ***.</p> */ public Builder reason(String reason) { this.reason = reason; return this; } /** * <p>The reason code category for the system event.</p> * * <strong>example:</strong> * <p>VPCMigrationEcs</p> */ public Builder reasonCode(String reasonCode) { this.reasonCode = reasonCode; return this; } /** * <p>The resource type. The value is fixed to INSTANCE.</p> * * <strong>example:</strong> * <p>custom</p> */ public Builder resourceType(String resourceType) { this.resourceType = resourceType; return this; } public InstanceSystemEventSet build() { return new InstanceSystemEventSet(this); } } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCInstanceIpAddressRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCInstanceIpAddressRequest} extends {@link RequestModel} * * <p>DescribeRCInstanceIpAddressRequest</p> */ public class DescribeRCInstanceIpAddressRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CurrentPage") private Integer currentPage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DdosRegionId") private String ddosRegionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DdosStatus") private String ddosStatus; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceIp") private String instanceIp; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceName") private String instanceName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceType") private String instanceType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceType") private String resourceType; private DescribeRCInstanceIpAddressRequest(Builder builder) { super(builder); this.currentPage = builder.currentPage; this.ddosRegionId = builder.ddosRegionId; this.ddosStatus = builder.ddosStatus; this.instanceId = builder.instanceId; this.instanceIp = builder.instanceIp; this.instanceName = builder.instanceName; this.instanceType = builder.instanceType; this.pageSize = builder.pageSize; this.regionId = builder.regionId; this.resourceType = builder.resourceType; } public static Builder builder() { return new Builder(); } public static DescribeRCInstanceIpAddressRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return ddosRegionId */ public String getDdosRegionId() { return this.ddosRegionId; } /** * @return ddosStatus */ public String getDdosStatus() { return this.ddosStatus; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return instanceIp */ public String getInstanceIp() { return this.instanceIp; } /** * @return instanceName */ public String getInstanceName() { return this.instanceName; } /** * @return instanceType */ public String getInstanceType() { return this.instanceType; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return resourceType */ public String getResourceType() { return this.resourceType; } public static final class Builder extends Request.Builder<DescribeRCInstanceIpAddressRequest, Builder> { private Integer currentPage; private String ddosRegionId; private String ddosStatus; private String instanceId; private String instanceIp; private String instanceName; private String instanceType; private Integer pageSize; private String regionId; private String resourceType; private Builder() { super(); } private Builder(DescribeRCInstanceIpAddressRequest request) { super(request); this.currentPage = request.currentPage; this.ddosRegionId = request.ddosRegionId; this.ddosStatus = request.ddosStatus; this.instanceId = request.instanceId; this.instanceIp = request.instanceIp; this.instanceName = request.instanceName; this.instanceType = request.instanceType; this.pageSize = request.pageSize; this.regionId = request.regionId; this.resourceType = request.resourceType; } /** * <p>The page number. Default value: 1. Pages start from page 1.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder currentPage(Integer currentPage) { this.putQueryParameter("CurrentPage", currentPage); this.currentPage = currentPage; return this; } /** * <p>The region ID of the asset.</p> * * <strong>example:</strong> * <p>cn-beijing</p> */ public Builder ddosRegionId(String ddosRegionId) { this.putQueryParameter("DdosRegionId", ddosRegionId); this.ddosRegionId = ddosRegionId; return this; } /** * <p>The DDoS mitigation status of the asset. Valid values:</p> * <ul> * <li><strong>defense</strong>: queries assets for which traffic scrubbing is performed.</li> * <li><strong>blackhole</strong>: queries assets for which blackhole filtering is triggered.</li> * </ul> * * <strong>example:</strong> * <p>defense</p> */ public Builder ddosStatus(String ddosStatus) { this.putQueryParameter("DdosStatus", ddosStatus); this.ddosStatus = ddosStatus; return this; } /** * <p>The ID of the RDS Custom instance to which the asset to query is added.</p> * * <strong>example:</strong> * <p>rc-y6dn4pyuub1r89******</p> */ public Builder instanceId(String instanceId) { this.putQueryParameter("InstanceId", instanceId); this.instanceId = instanceId; return this; } /** * <p>The IP address of the asset to query.</p> * * <strong>example:</strong> * <p>39.105.XXX.XXX</p> */ public Builder instanceIp(String instanceIp) { this.putQueryParameter("InstanceIp", instanceIp); this.instanceIp = instanceIp; return this; } /** * <p>The name of the RDS Custom instance to which the asset to query is added.</p> * * <strong>example:</strong> * <p>rc-y6dn4pyuub1r89******</p> */ public Builder instanceName(String instanceName) { this.putQueryParameter("InstanceName", instanceName); this.instanceName = instanceName; return this; } /** * <p>The type of the asset that is assigned a public IP address. Set the value to <strong>ecs</strong>.</p> * * <strong>example:</strong> * <p>ecs</p> */ public Builder instanceType(String instanceType) { this.putQueryParameter("InstanceType", instanceType); this.instanceType = instanceType; return this; } /** * <p>The number of instances on each page.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The ID of the region in which the RDS Custom instance resides.</p> * * <strong>example:</strong> * <p>cn-beijing</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * <p>The type of the resource. Set the value to <strong>ecs</strong>.</p> * * <strong>example:</strong> * <p>ecs</p> */ public Builder resourceType(String resourceType) { this.putQueryParameter("ResourceType", resourceType); this.resourceType = resourceType; return this; } @Override public DescribeRCInstanceIpAddressRequest build() { return new DescribeRCInstanceIpAddressRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCInstanceIpAddressResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCInstanceIpAddressResponse} extends {@link TeaModel} * * <p>DescribeRCInstanceIpAddressResponse</p> */ public class DescribeRCInstanceIpAddressResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeRCInstanceIpAddressResponseBody body; private DescribeRCInstanceIpAddressResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeRCInstanceIpAddressResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeRCInstanceIpAddressResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeRCInstanceIpAddressResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeRCInstanceIpAddressResponseBody body); @Override DescribeRCInstanceIpAddressResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeRCInstanceIpAddressResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeRCInstanceIpAddressResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeRCInstanceIpAddressResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeRCInstanceIpAddressResponseBody body) { this.body = body; return this; } @Override public DescribeRCInstanceIpAddressResponse build() { return new DescribeRCInstanceIpAddressResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCInstanceIpAddressResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCInstanceIpAddressResponseBody} extends {@link TeaModel} * * <p>DescribeRCInstanceIpAddressResponseBody</p> */ public class DescribeRCInstanceIpAddressResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RCInstanceList") private java.util.List<RCInstanceList> RCInstanceList; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Total") private String total; private DescribeRCInstanceIpAddressResponseBody(Builder builder) { this.RCInstanceList = builder.RCInstanceList; this.requestId = builder.requestId; this.total = builder.total; } public static Builder builder() { return new Builder(); } public static DescribeRCInstanceIpAddressResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return RCInstanceList */ public java.util.List<RCInstanceList> getRCInstanceList() { return this.RCInstanceList; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return total */ public String getTotal() { return this.total; } public static final class Builder { private java.util.List<RCInstanceList> RCInstanceList; private String requestId; private String total; private Builder() { } private Builder(DescribeRCInstanceIpAddressResponseBody model) { this.RCInstanceList = model.RCInstanceList; this.requestId = model.requestId; this.total = model.total; } /** * <p>An array that consists of details of the instance.</p> */ public Builder RCInstanceList(java.util.List<RCInstanceList> RCInstanceList) { this.RCInstanceList = RCInstanceList; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>C048E440-EA84-5E97-8C81-2A7060D0****_th**</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The total number of the assets.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder total(String total) { this.total = total; return this; } public DescribeRCInstanceIpAddressResponseBody build() { return new DescribeRCInstanceIpAddressResponseBody(this); } } /** * * {@link DescribeRCInstanceIpAddressResponseBody} extends {@link TeaModel} * * <p>DescribeRCInstanceIpAddressResponseBody</p> */ public static class IpAddressConfig extends TeaModel { @com.aliyun.core.annotation.NameInMap("BlackholeThreshold") private Integer blackholeThreshold; @com.aliyun.core.annotation.NameInMap("DefenseBpsThreshold") private Integer defenseBpsThreshold; @com.aliyun.core.annotation.NameInMap("DefensePpsThreshold") private Integer defensePpsThreshold; @com.aliyun.core.annotation.NameInMap("ElasticThreshold") private Integer elasticThreshold; @com.aliyun.core.annotation.NameInMap("InstanceIp") private String instanceIp; @com.aliyun.core.annotation.NameInMap("IpStatus") private String ipStatus; @com.aliyun.core.annotation.NameInMap("IpVersion") private String ipVersion; @com.aliyun.core.annotation.NameInMap("IsBgppack") private Boolean isBgppack; @com.aliyun.core.annotation.NameInMap("IsFullProtection") private Integer isFullProtection; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; private IpAddressConfig(Builder builder) { this.blackholeThreshold = builder.blackholeThreshold; this.defenseBpsThreshold = builder.defenseBpsThreshold; this.defensePpsThreshold = builder.defensePpsThreshold; this.elasticThreshold = builder.elasticThreshold; this.instanceIp = builder.instanceIp; this.ipStatus = builder.ipStatus; this.ipVersion = builder.ipVersion; this.isBgppack = builder.isBgppack; this.isFullProtection = builder.isFullProtection; this.regionId = builder.regionId; } public static Builder builder() { return new Builder(); } public static IpAddressConfig create() { return builder().build(); } /** * @return blackholeThreshold */ public Integer getBlackholeThreshold() { return this.blackholeThreshold; } /** * @return defenseBpsThreshold */ public Integer getDefenseBpsThreshold() { return this.defenseBpsThreshold; } /** * @return defensePpsThreshold */ public Integer getDefensePpsThreshold() { return this.defensePpsThreshold; } /** * @return elasticThreshold */ public Integer getElasticThreshold() { return this.elasticThreshold; } /** * @return instanceIp */ public String getInstanceIp() { return this.instanceIp; } /** * @return ipStatus */ public String getIpStatus() { return this.ipStatus; } /** * @return ipVersion */ public String getIpVersion() { return this.ipVersion; } /** * @return isBgppack */ public Boolean getIsBgppack() { return this.isBgppack; } /** * @return isFullProtection */ public Integer getIsFullProtection() { return this.isFullProtection; } /** * @return regionId */ public String getRegionId() { return this.regionId; } public static final class Builder { private Integer blackholeThreshold; private Integer defenseBpsThreshold; private Integer defensePpsThreshold; private Integer elasticThreshold; private String instanceIp; private String ipStatus; private String ipVersion; private Boolean isBgppack; private Integer isFullProtection; private String regionId; private Builder() { } private Builder(IpAddressConfig model) { this.blackholeThreshold = model.blackholeThreshold; this.defenseBpsThreshold = model.defenseBpsThreshold; this.defensePpsThreshold = model.defensePpsThreshold; this.elasticThreshold = model.elasticThreshold; this.instanceIp = model.instanceIp; this.ipStatus = model.ipStatus; this.ipVersion = model.ipVersion; this.isBgppack = model.isBgppack; this.isFullProtection = model.isFullProtection; this.regionId = model.regionId; } /** * <p>The basic protection threshold for the asset. Unit: Mbit/s.</p> * * <strong>example:</strong> * <p>5200</p> */ public Builder blackholeThreshold(Integer blackholeThreshold) { this.blackholeThreshold = blackholeThreshold; return this; } /** * <p>The traffic scrubbing threshold for the asset measured in Mbit/s. Unit: Mbit/s.</p> * * <strong>example:</strong> * <p>300</p> */ public Builder defenseBpsThreshold(Integer defenseBpsThreshold) { this.defenseBpsThreshold = defenseBpsThreshold; return this; } /** * <p>The traffic scrubbing threshold for the asset measured in packets per second (PPS). Unit: packets per second (pps).</p> * * <strong>example:</strong> * <p>70000</p> */ public Builder defensePpsThreshold(Integer defensePpsThreshold) { this.defensePpsThreshold = defensePpsThreshold; return this; } /** * <p>The burstable protection threshold for the asset. Unit: Mbit/s.</p> * * <strong>example:</strong> * <p>12310</p> */ public Builder elasticThreshold(Integer elasticThreshold) { this.elasticThreshold = elasticThreshold; return this; } /** * <p>The IP address of the asset.</p> * * <strong>example:</strong> * <p>39.105.XXX.XXX</p> */ public Builder instanceIp(String instanceIp) { this.instanceIp = instanceIp; return this; } /** * <p>The DDoS mitigation status of the asset. Valid values:</p> * <ul> * <li><strong>mitigating</strong></li> * <li><strong>blackholed</strong></li> * <li><strong>normal</strong></li> * </ul> * * <strong>example:</strong> * <p>normal</p> */ public Builder ipStatus(String ipStatus) { this.ipStatus = ipStatus; return this; } /** * <p>The IP version of the instance. Valid values:</p> * <ul> * <li><strong>v4</strong></li> * <li><strong>v6</strong></li> * </ul> * * <strong>example:</strong> * <p>v4</p> */ public Builder ipVersion(String ipVersion) { this.ipVersion = ipVersion; return this; } /** * <p>Indicates whether the asset is added to the instance. Valid values:</p> * <ul> * <li><strong>true</strong></li> * <li><strong>false</strong></li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder isBgppack(Boolean isBgppack) { this.isBgppack = isBgppack; return this; } /** * <p>Indicates whether best-effort protection is enabled for the asset. Valid values:</p> * <ul> * <li><strong>0</strong>: Best-effort protection is disabled.</li> * <li><strong>1</strong>: Best-effort protection is enabled.</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder isFullProtection(Integer isFullProtection) { this.isFullProtection = isFullProtection; return this; } /** * <p>The region code of the asset.</p> * * <strong>example:</strong> * <p>cn-beijing-wt97-a01</p> */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } public IpAddressConfig build() { return new IpAddressConfig(this); } } } /** * * {@link DescribeRCInstanceIpAddressResponseBody} extends {@link TeaModel} * * <p>DescribeRCInstanceIpAddressResponseBody</p> */ public static class RCInstanceList extends TeaModel { @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("InstanceName") private String instanceName; @com.aliyun.core.annotation.NameInMap("InstanceStatus") private String instanceStatus; @com.aliyun.core.annotation.NameInMap("InstanceType") private String instanceType; @com.aliyun.core.annotation.NameInMap("IpAddressConfig") private java.util.List<IpAddressConfig> ipAddressConfig; private RCInstanceList(Builder builder) { this.instanceId = builder.instanceId; this.instanceName = builder.instanceName; this.instanceStatus = builder.instanceStatus; this.instanceType = builder.instanceType; this.ipAddressConfig = builder.ipAddressConfig; } public static Builder builder() { return new Builder(); } public static RCInstanceList create() { return builder().build(); } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return instanceName */ public String getInstanceName() { return this.instanceName; } /** * @return instanceStatus */ public String getInstanceStatus() { return this.instanceStatus; } /** * @return instanceType */ public String getInstanceType() { return this.instanceType; } /** * @return ipAddressConfig */ public java.util.List<IpAddressConfig> getIpAddressConfig() { return this.ipAddressConfig; } public static final class Builder { private String instanceId; private String instanceName; private String instanceStatus; private String instanceType; private java.util.List<IpAddressConfig> ipAddressConfig; private Builder() { } private Builder(RCInstanceList model) { this.instanceId = model.instanceId; this.instanceName = model.instanceName; this.instanceStatus = model.instanceStatus; this.instanceType = model.instanceType; this.ipAddressConfig = model.ipAddressConfig; } /** * <p>The ID of the RDS Custom instance.</p> * * <strong>example:</strong> * <p>rc-kti8hw44yy0x53******</p> */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * <p>The instance name.</p> * * <strong>example:</strong> * <p>rc-kti8hw44yy0x53******</p> */ public Builder instanceName(String instanceName) { this.instanceName = instanceName; return this; } /** * <p>The DDoS mitigation status of the instance. Valid values:</p> * <ul> * <li><strong>normal</strong></li> * <li><strong>abnormal</strong></li> * </ul> * * <strong>example:</strong> * <p>normal</p> */ public Builder instanceStatus(String instanceStatus) { this.instanceStatus = instanceStatus; return this; } /** * <p>The type of the asset. The value is fixed to <strong>ecs</strong>.</p> * * <strong>example:</strong> * <p>ecs</p> */ public Builder instanceType(String instanceType) { this.instanceType = instanceType; return this; } /** * <p>An array that consists of the details of the asset.</p> */ public Builder ipAddressConfig(java.util.List<IpAddressConfig> ipAddressConfig) { this.ipAddressConfig = ipAddressConfig; return this; } public RCInstanceList build() { return new RCInstanceList(this); } } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCInstanceTypeFamiliesRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCInstanceTypeFamiliesRequest} extends {@link RequestModel} * * <p>DescribeRCInstanceTypeFamiliesRequest</p> */ public class DescribeRCInstanceTypeFamiliesRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; private DescribeRCInstanceTypeFamiliesRequest(Builder builder) { super(builder); this.regionId = builder.regionId; } public static Builder builder() { return new Builder(); } public static DescribeRCInstanceTypeFamiliesRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return regionId */ public String getRegionId() { return this.regionId; } public static final class Builder extends Request.Builder<DescribeRCInstanceTypeFamiliesRequest, Builder> { private String regionId; private Builder() { super(); } private Builder(DescribeRCInstanceTypeFamiliesRequest request) { super(request); this.regionId = request.regionId; } /** * <p>The region ID.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } @Override public DescribeRCInstanceTypeFamiliesRequest build() { return new DescribeRCInstanceTypeFamiliesRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCInstanceTypeFamiliesResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCInstanceTypeFamiliesResponse} extends {@link TeaModel} * * <p>DescribeRCInstanceTypeFamiliesResponse</p> */ public class DescribeRCInstanceTypeFamiliesResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeRCInstanceTypeFamiliesResponseBody body; private DescribeRCInstanceTypeFamiliesResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeRCInstanceTypeFamiliesResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeRCInstanceTypeFamiliesResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeRCInstanceTypeFamiliesResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeRCInstanceTypeFamiliesResponseBody body); @Override DescribeRCInstanceTypeFamiliesResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeRCInstanceTypeFamiliesResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeRCInstanceTypeFamiliesResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeRCInstanceTypeFamiliesResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeRCInstanceTypeFamiliesResponseBody body) { this.body = body; return this; } @Override public DescribeRCInstanceTypeFamiliesResponse build() { return new DescribeRCInstanceTypeFamiliesResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCInstanceTypeFamiliesResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCInstanceTypeFamiliesResponseBody} extends {@link TeaModel} * * <p>DescribeRCInstanceTypeFamiliesResponseBody</p> */ public class DescribeRCInstanceTypeFamiliesResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("InstanceTypeFamilies") private InstanceTypeFamilies instanceTypeFamilies; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeRCInstanceTypeFamiliesResponseBody(Builder builder) { this.instanceTypeFamilies = builder.instanceTypeFamilies; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeRCInstanceTypeFamiliesResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return instanceTypeFamilies */ public InstanceTypeFamilies getInstanceTypeFamilies() { return this.instanceTypeFamilies; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private InstanceTypeFamilies instanceTypeFamilies; private String requestId; private Builder() { } private Builder(DescribeRCInstanceTypeFamiliesResponseBody model) { this.instanceTypeFamilies = model.instanceTypeFamilies; this.requestId = model.requestId; } /** * <p>The instance families.</p> */ public Builder instanceTypeFamilies(InstanceTypeFamilies instanceTypeFamilies) { this.instanceTypeFamilies = instanceTypeFamilies; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>F2911788-25E8-42E5-A3A3-1B38D263F01E</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeRCInstanceTypeFamiliesResponseBody build() { return new DescribeRCInstanceTypeFamiliesResponseBody(this); } } /** * * {@link DescribeRCInstanceTypeFamiliesResponseBody} extends {@link TeaModel} * * <p>DescribeRCInstanceTypeFamiliesResponseBody</p> */ public static class InstanceTypeFamily extends TeaModel { @com.aliyun.core.annotation.NameInMap("InstanceTypeFamilyDesc") private String instanceTypeFamilyDesc; @com.aliyun.core.annotation.NameInMap("InstanceTypeFamilyId") private String instanceTypeFamilyId; private InstanceTypeFamily(Builder builder) { this.instanceTypeFamilyDesc = builder.instanceTypeFamilyDesc; this.instanceTypeFamilyId = builder.instanceTypeFamilyId; } public static Builder builder() { return new Builder(); } public static InstanceTypeFamily create() { return builder().build(); } /** * @return instanceTypeFamilyDesc */ public String getInstanceTypeFamilyDesc() { return this.instanceTypeFamilyDesc; } /** * @return instanceTypeFamilyId */ public String getInstanceTypeFamilyId() { return this.instanceTypeFamilyId; } public static final class Builder { private String instanceTypeFamilyDesc; private String instanceTypeFamilyId; private Builder() { } private Builder(InstanceTypeFamily model) { this.instanceTypeFamilyDesc = model.instanceTypeFamilyDesc; this.instanceTypeFamilyId = model.instanceTypeFamilyId; } /** * <p>The description of the instance family.</p> */ public Builder instanceTypeFamilyDesc(String instanceTypeFamilyDesc) { this.instanceTypeFamilyDesc = instanceTypeFamilyDesc; return this; } /** * <p>The ID of the instance family.</p> * * <strong>example:</strong> * <p>x.6cm</p> */ public Builder instanceTypeFamilyId(String instanceTypeFamilyId) { this.instanceTypeFamilyId = instanceTypeFamilyId; return this; } public InstanceTypeFamily build() { return new InstanceTypeFamily(this); } } } /** * * {@link DescribeRCInstanceTypeFamiliesResponseBody} extends {@link TeaModel} * * <p>DescribeRCInstanceTypeFamiliesResponseBody</p> */ public static class InstanceTypeFamilies extends TeaModel { @com.aliyun.core.annotation.NameInMap("InstanceTypeFamily") private java.util.List<InstanceTypeFamily> instanceTypeFamily; private InstanceTypeFamilies(Builder builder) { this.instanceTypeFamily = builder.instanceTypeFamily; } public static Builder builder() { return new Builder(); } public static InstanceTypeFamilies create() { return builder().build(); } /** * @return instanceTypeFamily */ public java.util.List<InstanceTypeFamily> getInstanceTypeFamily() { return this.instanceTypeFamily; } public static final class Builder { private java.util.List<InstanceTypeFamily> instanceTypeFamily; private Builder() { } private Builder(InstanceTypeFamilies model) { this.instanceTypeFamily = model.instanceTypeFamily; } /** * <p>The instance family.</p> */ public Builder instanceTypeFamily(java.util.List<InstanceTypeFamily> instanceTypeFamily) { this.instanceTypeFamily = instanceTypeFamily; return this; } public InstanceTypeFamilies build() { return new InstanceTypeFamilies(this); } } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCInstanceTypesRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCInstanceTypesRequest} extends {@link RequestModel} * * <p>DescribeRCInstanceTypesRequest</p> */ public class DescribeRCInstanceTypesRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CommodityCode") private String commodityCode; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Engine") private String engine; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceType") private java.util.List<String> instanceType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceTypeFamily") private String instanceTypeFamily; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; private DescribeRCInstanceTypesRequest(Builder builder) { super(builder); this.commodityCode = builder.commodityCode; this.engine = builder.engine; this.instanceType = builder.instanceType; this.instanceTypeFamily = builder.instanceTypeFamily; this.regionId = builder.regionId; } public static Builder builder() { return new Builder(); } public static DescribeRCInstanceTypesRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return commodityCode */ public String getCommodityCode() { return this.commodityCode; } /** * @return engine */ public String getEngine() { return this.engine; } /** * @return instanceType */ public java.util.List<String> getInstanceType() { return this.instanceType; } /** * @return instanceTypeFamily */ public String getInstanceTypeFamily() { return this.instanceTypeFamily; } /** * @return regionId */ public String getRegionId() { return this.regionId; } public static final class Builder extends Request.Builder<DescribeRCInstanceTypesRequest, Builder> { private String commodityCode; private String engine; private java.util.List<String> instanceType; private String instanceTypeFamily; private String regionId; private Builder() { super(); } private Builder(DescribeRCInstanceTypesRequest request) { super(request); this.commodityCode = request.commodityCode; this.engine = request.engine; this.instanceType = request.instanceType; this.instanceTypeFamily = request.instanceTypeFamily; this.regionId = request.regionId; } /** * <p>The commodity code of the instance.</p> * * <strong>example:</strong> * <p>rds_customprepaid_public_cn</p> */ public Builder commodityCode(String commodityCode) { this.putQueryParameter("CommodityCode", commodityCode); this.commodityCode = commodityCode; return this; } /** * <p>The database engine. Set the value to MySQL.</p> * * <strong>example:</strong> * <p>MySQL</p> */ public Builder engine(String engine) { this.putQueryParameter("Engine", engine); this.engine = engine; return this; } /** * <p>The instance types.</p> */ public Builder instanceType(java.util.List<String> instanceType) { String instanceTypeShrink = shrink(instanceType, "InstanceType", "simple"); this.putQueryParameter("InstanceType", instanceTypeShrink); this.instanceType = instanceType; return this; } /** * <p>The instance family. You can call the <strong>DescribeRCInstanceTypeFamilies</strong> operation to query the instance families of instances.</p> * * <strong>example:</strong> * <p>gn8.cm</p> */ public Builder instanceTypeFamily(String instanceTypeFamily) { this.putQueryParameter("InstanceTypeFamily", instanceTypeFamily); this.instanceTypeFamily = instanceTypeFamily; return this; } /** * <p>The region ID.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } @Override public DescribeRCInstanceTypesRequest build() { return new DescribeRCInstanceTypesRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCInstanceTypesResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCInstanceTypesResponse} extends {@link TeaModel} * * <p>DescribeRCInstanceTypesResponse</p> */ public class DescribeRCInstanceTypesResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeRCInstanceTypesResponseBody body; private DescribeRCInstanceTypesResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeRCInstanceTypesResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeRCInstanceTypesResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeRCInstanceTypesResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeRCInstanceTypesResponseBody body); @Override DescribeRCInstanceTypesResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeRCInstanceTypesResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeRCInstanceTypesResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeRCInstanceTypesResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeRCInstanceTypesResponseBody body) { this.body = body; return this; } @Override public DescribeRCInstanceTypesResponse build() { return new DescribeRCInstanceTypesResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCInstanceTypesResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCInstanceTypesResponseBody} extends {@link TeaModel} * * <p>DescribeRCInstanceTypesResponseBody</p> */ public class DescribeRCInstanceTypesResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("InstanceTypes") private InstanceTypes instanceTypes; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeRCInstanceTypesResponseBody(Builder builder) { this.instanceTypes = builder.instanceTypes; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeRCInstanceTypesResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return instanceTypes */ public InstanceTypes getInstanceTypes() { return this.instanceTypes; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private InstanceTypes instanceTypes; private String requestId; private Builder() { } private Builder(DescribeRCInstanceTypesResponseBody model) { this.instanceTypes = model.instanceTypes; this.requestId = model.requestId; } /** * <p>The information about the instance types.</p> */ public Builder instanceTypes(InstanceTypes instanceTypes) { this.instanceTypes = instanceTypes; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>F2911788-25E8-42E5-A3A3-1B38D263F01E</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeRCInstanceTypesResponseBody build() { return new DescribeRCInstanceTypesResponseBody(this); } } /** * * {@link DescribeRCInstanceTypesResponseBody} extends {@link TeaModel} * * <p>DescribeRCInstanceTypesResponseBody</p> */ public static class InstanceType extends TeaModel { @com.aliyun.core.annotation.NameInMap("CpuCoreCount") private Integer cpuCoreCount; @com.aliyun.core.annotation.NameInMap("InstanceTypeFamily") private String instanceTypeFamily; @com.aliyun.core.annotation.NameInMap("InstanceTypeId") private String instanceTypeId; @com.aliyun.core.annotation.NameInMap("MemorySize") private Integer memorySize; private InstanceType(Builder builder) { this.cpuCoreCount = builder.cpuCoreCount; this.instanceTypeFamily = builder.instanceTypeFamily; this.instanceTypeId = builder.instanceTypeId; this.memorySize = builder.memorySize; } public static Builder builder() { return new Builder(); } public static InstanceType create() { return builder().build(); } /** * @return cpuCoreCount */ public Integer getCpuCoreCount() { return this.cpuCoreCount; } /** * @return instanceTypeFamily */ public String getInstanceTypeFamily() { return this.instanceTypeFamily; } /** * @return instanceTypeId */ public String getInstanceTypeId() { return this.instanceTypeId; } /** * @return memorySize */ public Integer getMemorySize() { return this.memorySize; } public static final class Builder { private Integer cpuCoreCount; private String instanceTypeFamily; private String instanceTypeId; private Integer memorySize; private Builder() { } private Builder(InstanceType model) { this.cpuCoreCount = model.cpuCoreCount; this.instanceTypeFamily = model.instanceTypeFamily; this.instanceTypeId = model.instanceTypeId; this.memorySize = model.memorySize; } /** * <p>The maximum number of CPU cores.</p> * * <strong>example:</strong> * <p>32</p> */ public Builder cpuCoreCount(Integer cpuCoreCount) { this.cpuCoreCount = cpuCoreCount; return this; } /** * <p>The ID of the instance family.</p> * * <strong>example:</strong> * <p>gn8.cm</p> */ public Builder instanceTypeFamily(String instanceTypeFamily) { this.instanceTypeFamily = instanceTypeFamily; return this; } /** * <p>The instance type of the instance.</p> * * <strong>example:</strong> * <p>rds.gna8.2xlarge.8cm</p> */ public Builder instanceTypeId(String instanceTypeId) { this.instanceTypeId = instanceTypeId; return this; } /** * <p>The memory size of the instance type. Unit: GiB.</p> * * <strong>example:</strong> * <p>256</p> */ public Builder memorySize(Integer memorySize) { this.memorySize = memorySize; return this; } public InstanceType build() { return new InstanceType(this); } } } /** * * {@link DescribeRCInstanceTypesResponseBody} extends {@link TeaModel} * * <p>DescribeRCInstanceTypesResponseBody</p> */ public static class InstanceTypes extends TeaModel { @com.aliyun.core.annotation.NameInMap("InstanceType") private java.util.List<InstanceType> instanceType; private InstanceTypes(Builder builder) { this.instanceType = builder.instanceType; } public static Builder builder() { return new Builder(); } public static InstanceTypes create() { return builder().build(); } /** * @return instanceType */ public java.util.List<InstanceType> getInstanceType() { return this.instanceType; } public static final class Builder { private java.util.List<InstanceType> instanceType; private Builder() { } private Builder(InstanceTypes model) { this.instanceType = model.instanceType; } /** * <p>The instance types.</p> */ public Builder instanceType(java.util.List<InstanceType> instanceType) { this.instanceType = instanceType; return this; } public InstanceTypes build() { return new InstanceTypes(this); } } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCInstanceVncUrlRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCInstanceVncUrlRequest} extends {@link RequestModel} * * <p>DescribeRCInstanceVncUrlRequest</p> */ public class DescribeRCInstanceVncUrlRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DbType") private String dbType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; private DescribeRCInstanceVncUrlRequest(Builder builder) { super(builder); this.dbType = builder.dbType; this.instanceId = builder.instanceId; this.regionId = builder.regionId; } public static Builder builder() { return new Builder(); } public static DescribeRCInstanceVncUrlRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return dbType */ public String getDbType() { return this.dbType; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return regionId */ public String getRegionId() { return this.regionId; } public static final class Builder extends Request.Builder<DescribeRCInstanceVncUrlRequest, Builder> { private String dbType; private String instanceId; private String regionId; private Builder() { super(); } private Builder(DescribeRCInstanceVncUrlRequest request) { super(request); this.dbType = request.dbType; this.instanceId = request.instanceId; this.regionId = request.regionId; } /** * <p>The database engine. Valid values:</p> * <ul> * <li><strong>mssql</strong>: SQL Server</li> * <li><strong>mysql</strong>: MySQL</li> * </ul> * * <strong>example:</strong> * <p>mysql</p> */ public Builder dbType(String dbType) { this.putQueryParameter("DbType", dbType); this.dbType = dbType; return this; } /** * <p>The instance ID.</p> * * <strong>example:</strong> * <p>rc-e6e3757b8px27oa5****</p> */ public Builder instanceId(String instanceId) { this.putQueryParameter("InstanceId", instanceId); this.instanceId = instanceId; return this; } /** * <p>The region ID.</p> * * <strong>example:</strong> * <p>cn-chengdu</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } @Override public DescribeRCInstanceVncUrlRequest build() { return new DescribeRCInstanceVncUrlRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCInstanceVncUrlResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCInstanceVncUrlResponse} extends {@link TeaModel} * * <p>DescribeRCInstanceVncUrlResponse</p> */ public class DescribeRCInstanceVncUrlResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeRCInstanceVncUrlResponseBody body; private DescribeRCInstanceVncUrlResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeRCInstanceVncUrlResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeRCInstanceVncUrlResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeRCInstanceVncUrlResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeRCInstanceVncUrlResponseBody body); @Override DescribeRCInstanceVncUrlResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeRCInstanceVncUrlResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeRCInstanceVncUrlResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeRCInstanceVncUrlResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeRCInstanceVncUrlResponseBody body) { this.body = body; return this; } @Override public DescribeRCInstanceVncUrlResponse build() { return new DescribeRCInstanceVncUrlResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCInstanceVncUrlResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCInstanceVncUrlResponseBody} extends {@link TeaModel} * * <p>DescribeRCInstanceVncUrlResponseBody</p> */ public class DescribeRCInstanceVncUrlResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("LoginUrl") private String loginUrl; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeRCInstanceVncUrlResponseBody(Builder builder) { this.loginUrl = builder.loginUrl; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeRCInstanceVncUrlResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return loginUrl */ public String getLoginUrl() { return this.loginUrl; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String loginUrl; private String requestId; private Builder() { } private Builder(DescribeRCInstanceVncUrlResponseBody model) { this.loginUrl = model.loginUrl; this.requestId = model.requestId; } /** * <p>The VNC logon address.</p> * <blockquote> * <p> The address returned is valid only for 15 seconds. If you do not use the returned address to establish a connection within 15 seconds, the address expires and you must call the operation again to obtain a new address.</p> * </blockquote> * * <strong>example:</strong> * <p><a href="https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?vncUrl=****&instanceId=i-2vcb1qjj8z5dl8iw****&isWindows=false">https://g.alicdn.com/aliyun/ecs-console-vnc2/0.0.8/index.html?vncUrl=****&amp;instanceId=i-2vcb1qjj8z5dl8iw****&amp;isWindows=false</a></p> */ public Builder loginUrl(String loginUrl) { this.loginUrl = loginUrl; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>F2911788-25E8-42E5-A3A3-1B38D263F01E</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeRCInstanceVncUrlResponseBody build() { return new DescribeRCInstanceVncUrlResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCInstancesRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCInstancesRequest} extends {@link RequestModel} * * <p>DescribeRCInstancesRequest</p> */ public class DescribeRCInstancesRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("HostIp") private String hostIp; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceIds") private String instanceIds; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageNumber") private Integer pageNumber; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PublicIp") private String publicIp; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Status") private String status; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Tag") private String tag; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("VpcId") private String vpcId; private DescribeRCInstancesRequest(Builder builder) { super(builder); this.hostIp = builder.hostIp; this.instanceId = builder.instanceId; this.instanceIds = builder.instanceIds; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.publicIp = builder.publicIp; this.regionId = builder.regionId; this.status = builder.status; this.tag = builder.tag; this.vpcId = builder.vpcId; } public static Builder builder() { return new Builder(); } public static DescribeRCInstancesRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return hostIp */ public String getHostIp() { return this.hostIp; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return instanceIds */ public String getInstanceIds() { return this.instanceIds; } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return publicIp */ public String getPublicIp() { return this.publicIp; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return status */ public String getStatus() { return this.status; } /** * @return tag */ public String getTag() { return this.tag; } /** * @return vpcId */ public String getVpcId() { return this.vpcId; } public static final class Builder extends Request.Builder<DescribeRCInstancesRequest, Builder> { private String hostIp; private String instanceId; private String instanceIds; private Integer pageNumber; private Integer pageSize; private String publicIp; private String regionId; private String status; private String tag; private String vpcId; private Builder() { super(); } private Builder(DescribeRCInstancesRequest request) { super(request); this.hostIp = request.hostIp; this.instanceId = request.instanceId; this.instanceIds = request.instanceIds; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.publicIp = request.publicIp; this.regionId = request.regionId; this.status = request.status; this.tag = request.tag; this.vpcId = request.vpcId; } /** * HostIp. */ public Builder hostIp(String hostIp) { this.putQueryParameter("HostIp", hostIp); this.hostIp = hostIp; return this; } /** * <p>The instance ID.</p> * * <strong>example:</strong> * <p>rm-2ze704f*****</p> */ public Builder instanceId(String instanceId) { this.putQueryParameter("InstanceId", instanceId); this.instanceId = instanceId; return this; } /** * InstanceIds. */ public Builder instanceIds(String instanceIds) { this.putQueryParameter("InstanceIds", instanceIds); this.instanceIds = instanceIds; return this; } /** * <p>The page number.</p> * <p>Page starts from page 1.</p> * <p>Default value: 1.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageNumber(Integer pageNumber) { this.putQueryParameter("PageNumber", pageNumber); this.pageNumber = pageNumber; return this; } /** * <p>The number of entries per page.</p> * <p>Maximum value: 100.</p> * <p>Default value: 10.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * PublicIp. */ public Builder publicIp(String publicIp) { this.putQueryParameter("PublicIp", publicIp); this.publicIp = publicIp; return this; } /** * <p>The region ID.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * Status. */ public Builder status(String status) { this.putQueryParameter("Status", status); this.status = status; return this; } /** * Tag. */ public Builder tag(String tag) { this.putQueryParameter("Tag", tag); this.tag = tag; return this; } /** * <p>The virtual private cloud (VPC) ID.</p> * * <strong>example:</strong> * <p>vpc-uf6f7l4fg90****</p> */ public Builder vpcId(String vpcId) { this.putQueryParameter("VpcId", vpcId); this.vpcId = vpcId; return this; } @Override public DescribeRCInstancesRequest build() { return new DescribeRCInstancesRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCInstancesResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCInstancesResponse} extends {@link TeaModel} * * <p>DescribeRCInstancesResponse</p> */ public class DescribeRCInstancesResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeRCInstancesResponseBody body; private DescribeRCInstancesResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeRCInstancesResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeRCInstancesResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeRCInstancesResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeRCInstancesResponseBody body); @Override DescribeRCInstancesResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeRCInstancesResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeRCInstancesResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeRCInstancesResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeRCInstancesResponseBody body) { this.body = body; return this; } @Override public DescribeRCInstancesResponse build() { return new DescribeRCInstancesResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCInstancesResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCInstancesResponseBody} extends {@link TeaModel} * * <p>DescribeRCInstancesResponseBody</p> */ public class DescribeRCInstancesResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("PageNumber") private Integer pageNumber; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("RCInstances") private java.util.List<RCInstances> RCInstances; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private DescribeRCInstancesResponseBody(Builder builder) { this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.RCInstances = builder.RCInstances; this.requestId = builder.requestId; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static DescribeRCInstancesResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return RCInstances */ public java.util.List<RCInstances> getRCInstances() { return this.RCInstances; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Integer pageNumber; private Integer pageSize; private java.util.List<RCInstances> RCInstances; private String requestId; private Integer totalCount; private Builder() { } private Builder(DescribeRCInstancesResponseBody model) { this.pageNumber = model.pageNumber; this.pageSize = model.pageSize; this.RCInstances = model.RCInstances; this.requestId = model.requestId; this.totalCount = model.totalCount; } /** * <p>The page number.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageNumber(Integer pageNumber) { this.pageNumber = pageNumber; return this; } /** * <p>The number of entries per page.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The details of the instance.</p> */ public Builder RCInstances(java.util.List<RCInstances> RCInstances) { this.RCInstances = RCInstances; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>E9DD55F4-1A5F-48CA-BA57-DFB3CA8C4C34</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public DescribeRCInstancesResponseBody build() { return new DescribeRCInstancesResponseBody(this); } } /** * * {@link DescribeRCInstancesResponseBody} extends {@link TeaModel} * * <p>DescribeRCInstancesResponseBody</p> */ public static class TagResources extends TeaModel { @com.aliyun.core.annotation.NameInMap("ResourceId") private String resourceId; @com.aliyun.core.annotation.NameInMap("ResourceType") private String resourceType; @com.aliyun.core.annotation.NameInMap("TagKey") private String tagKey; @com.aliyun.core.annotation.NameInMap("TagValue") private String tagValue; private TagResources(Builder builder) { this.resourceId = builder.resourceId; this.resourceType = builder.resourceType; this.tagKey = builder.tagKey; this.tagValue = builder.tagValue; } public static Builder builder() { return new Builder(); } public static TagResources create() { return builder().build(); } /** * @return resourceId */ public String getResourceId() { return this.resourceId; } /** * @return resourceType */ public String getResourceType() { return this.resourceType; } /** * @return tagKey */ public String getTagKey() { return this.tagKey; } /** * @return tagValue */ public String getTagValue() { return this.tagValue; } public static final class Builder { private String resourceId; private String resourceType; private String tagKey; private String tagValue; private Builder() { } private Builder(TagResources model) { this.resourceId = model.resourceId; this.resourceType = model.resourceType; this.tagKey = model.tagKey; this.tagValue = model.tagValue; } /** * ResourceId. */ public Builder resourceId(String resourceId) { this.resourceId = resourceId; return this; } /** * ResourceType. */ public Builder resourceType(String resourceType) { this.resourceType = resourceType; return this; } /** * TagKey. */ public Builder tagKey(String tagKey) { this.tagKey = tagKey; return this; } /** * TagValue. */ public Builder tagValue(String tagValue) { this.tagValue = tagValue; return this; } public TagResources build() { return new TagResources(this); } } } /** * * {@link DescribeRCInstancesResponseBody} extends {@link TeaModel} * * <p>DescribeRCInstancesResponseBody</p> */ public static class Tags extends TeaModel { @com.aliyun.core.annotation.NameInMap("ResourceId") private String resourceId; @com.aliyun.core.annotation.NameInMap("ResourceType") private String resourceType; @com.aliyun.core.annotation.NameInMap("TagKey") private String tagKey; @com.aliyun.core.annotation.NameInMap("TagValue") private String tagValue; private Tags(Builder builder) { this.resourceId = builder.resourceId; this.resourceType = builder.resourceType; this.tagKey = builder.tagKey; this.tagValue = builder.tagValue; } public static Builder builder() { return new Builder(); } public static Tags create() { return builder().build(); } /** * @return resourceId */ public String getResourceId() { return this.resourceId; } /** * @return resourceType */ public String getResourceType() { return this.resourceType; } /** * @return tagKey */ public String getTagKey() { return this.tagKey; } /** * @return tagValue */ public String getTagValue() { return this.tagValue; } public static final class Builder { private String resourceId; private String resourceType; private String tagKey; private String tagValue; private Builder() { } private Builder(Tags model) { this.resourceId = model.resourceId; this.resourceType = model.resourceType; this.tagKey = model.tagKey; this.tagValue = model.tagValue; } /** * ResourceId. */ public Builder resourceId(String resourceId) { this.resourceId = resourceId; return this; } /** * ResourceType. */ public Builder resourceType(String resourceType) { this.resourceType = resourceType; return this; } /** * TagKey. */ public Builder tagKey(String tagKey) { this.tagKey = tagKey; return this; } /** * TagValue. */ public Builder tagValue(String tagValue) { this.tagValue = tagValue; return this; } public Tags build() { return new Tags(this); } } } /** * * {@link DescribeRCInstancesResponseBody} extends {@link TeaModel} * * <p>DescribeRCInstancesResponseBody</p> */ public static class VpcAttributes extends TeaModel { @com.aliyun.core.annotation.NameInMap("NatIpAddress") private String natIpAddress; @com.aliyun.core.annotation.NameInMap("PrivateIpAddress") private java.util.List<String> privateIpAddress; @com.aliyun.core.annotation.NameInMap("VSwitchId") private String vSwitchId; @com.aliyun.core.annotation.NameInMap("VpcId") private String vpcId; private VpcAttributes(Builder builder) { this.natIpAddress = builder.natIpAddress; this.privateIpAddress = builder.privateIpAddress; this.vSwitchId = builder.vSwitchId; this.vpcId = builder.vpcId; } public static Builder builder() { return new Builder(); } public static VpcAttributes create() { return builder().build(); } /** * @return natIpAddress */ public String getNatIpAddress() { return this.natIpAddress; } /** * @return privateIpAddress */ public java.util.List<String> getPrivateIpAddress() { return this.privateIpAddress; } /** * @return vSwitchId */ public String getVSwitchId() { return this.vSwitchId; } /** * @return vpcId */ public String getVpcId() { return this.vpcId; } public static final class Builder { private String natIpAddress; private java.util.List<String> privateIpAddress; private String vSwitchId; private String vpcId; private Builder() { } private Builder(VpcAttributes model) { this.natIpAddress = model.natIpAddress; this.privateIpAddress = model.privateIpAddress; this.vSwitchId = model.vSwitchId; this.vpcId = model.vpcId; } /** * NatIpAddress. */ public Builder natIpAddress(String natIpAddress) { this.natIpAddress = natIpAddress; return this; } /** * PrivateIpAddress. */ public Builder privateIpAddress(java.util.List<String> privateIpAddress) { this.privateIpAddress = privateIpAddress; return this; } /** * VSwitchId. */ public Builder vSwitchId(String vSwitchId) { this.vSwitchId = vSwitchId; return this; } /** * VpcId. */ public Builder vpcId(String vpcId) { this.vpcId = vpcId; return this; } public VpcAttributes build() { return new VpcAttributes(this); } } } /** * * {@link DescribeRCInstancesResponseBody} extends {@link TeaModel} * * <p>DescribeRCInstancesResponseBody</p> */ public static class RCInstances extends TeaModel { @com.aliyun.core.annotation.NameInMap("ClusterName") private String clusterName; @com.aliyun.core.annotation.NameInMap("Cpu") private Integer cpu; @com.aliyun.core.annotation.NameInMap("CreateMode") private String createMode; @com.aliyun.core.annotation.NameInMap("DbType") private String dbType; @com.aliyun.core.annotation.NameInMap("DeploymentSetId") private String deploymentSetId; @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.NameInMap("ExpiredTime") private String expiredTime; @com.aliyun.core.annotation.NameInMap("GmtCreated") private String gmtCreated; @com.aliyun.core.annotation.NameInMap("HostIp") private String hostIp; @com.aliyun.core.annotation.NameInMap("HostName") private String hostName; @com.aliyun.core.annotation.NameInMap("ImageId") private String imageId; @com.aliyun.core.annotation.NameInMap("InstanceChargeType") private String instanceChargeType; @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("InstanceType") private String instanceType; @com.aliyun.core.annotation.NameInMap("InstanceTypeFamily") private String instanceTypeFamily; @com.aliyun.core.annotation.NameInMap("Memory") private Integer memory; @com.aliyun.core.annotation.NameInMap("NodeType") private String nodeType; @com.aliyun.core.annotation.NameInMap("PublicIp") private String publicIp; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("SecurityGroupId") private String securityGroupId; @com.aliyun.core.annotation.NameInMap("SpotStrategy") private String spotStrategy; @com.aliyun.core.annotation.NameInMap("Status") private String status; @com.aliyun.core.annotation.NameInMap("TagResources") private java.util.List<TagResources> tagResources; @com.aliyun.core.annotation.NameInMap("Tags") private java.util.List<Tags> tags; @com.aliyun.core.annotation.NameInMap("VpcAttributes") private VpcAttributes vpcAttributes; @com.aliyun.core.annotation.NameInMap("VpcId") private String vpcId; @com.aliyun.core.annotation.NameInMap("ZoneId") private String zoneId; private RCInstances(Builder builder) { this.clusterName = builder.clusterName; this.cpu = builder.cpu; this.createMode = builder.createMode; this.dbType = builder.dbType; this.deploymentSetId = builder.deploymentSetId; this.description = builder.description; this.expiredTime = builder.expiredTime; this.gmtCreated = builder.gmtCreated; this.hostIp = builder.hostIp; this.hostName = builder.hostName; this.imageId = builder.imageId; this.instanceChargeType = builder.instanceChargeType; this.instanceId = builder.instanceId; this.instanceType = builder.instanceType; this.instanceTypeFamily = builder.instanceTypeFamily; this.memory = builder.memory; this.nodeType = builder.nodeType; this.publicIp = builder.publicIp; this.regionId = builder.regionId; this.securityGroupId = builder.securityGroupId; this.spotStrategy = builder.spotStrategy; this.status = builder.status; this.tagResources = builder.tagResources; this.tags = builder.tags; this.vpcAttributes = builder.vpcAttributes; this.vpcId = builder.vpcId; this.zoneId = builder.zoneId; } public static Builder builder() { return new Builder(); } public static RCInstances create() { return builder().build(); } /** * @return clusterName */ public String getClusterName() { return this.clusterName; } /** * @return cpu */ public Integer getCpu() { return this.cpu; } /** * @return createMode */ public String getCreateMode() { return this.createMode; } /** * @return dbType */ public String getDbType() { return this.dbType; } /** * @return deploymentSetId */ public String getDeploymentSetId() { return this.deploymentSetId; } /** * @return description */ public String getDescription() { return this.description; } /** * @return expiredTime */ public String getExpiredTime() { return this.expiredTime; } /** * @return gmtCreated */ public String getGmtCreated() { return this.gmtCreated; } /** * @return hostIp */ public String getHostIp() { return this.hostIp; } /** * @return hostName */ public String getHostName() { return this.hostName; } /** * @return imageId */ public String getImageId() { return this.imageId; } /** * @return instanceChargeType */ public String getInstanceChargeType() { return this.instanceChargeType; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return instanceType */ public String getInstanceType() { return this.instanceType; } /** * @return instanceTypeFamily */ public String getInstanceTypeFamily() { return this.instanceTypeFamily; } /** * @return memory */ public Integer getMemory() { return this.memory; } /** * @return nodeType */ public String getNodeType() { return this.nodeType; } /** * @return publicIp */ public String getPublicIp() { return this.publicIp; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return securityGroupId */ public String getSecurityGroupId() { return this.securityGroupId; } /** * @return spotStrategy */ public String getSpotStrategy() { return this.spotStrategy; } /** * @return status */ public String getStatus() { return this.status; } /** * @return tagResources */ public java.util.List<TagResources> getTagResources() { return this.tagResources; } /** * @return tags */ public java.util.List<Tags> getTags() { return this.tags; } /** * @return vpcAttributes */ public VpcAttributes getVpcAttributes() { return this.vpcAttributes; } /** * @return vpcId */ public String getVpcId() { return this.vpcId; } /** * @return zoneId */ public String getZoneId() { return this.zoneId; } public static final class Builder { private String clusterName; private Integer cpu; private String createMode; private String dbType; private String deploymentSetId; private String description; private String expiredTime; private String gmtCreated; private String hostIp; private String hostName; private String imageId; private String instanceChargeType; private String instanceId; private String instanceType; private String instanceTypeFamily; private Integer memory; private String nodeType; private String publicIp; private String regionId; private String securityGroupId; private String spotStrategy; private String status; private java.util.List<TagResources> tagResources; private java.util.List<Tags> tags; private VpcAttributes vpcAttributes; private String vpcId; private String zoneId; private Builder() { } private Builder(RCInstances model) { this.clusterName = model.clusterName; this.cpu = model.cpu; this.createMode = model.createMode; this.dbType = model.dbType; this.deploymentSetId = model.deploymentSetId; this.description = model.description; this.expiredTime = model.expiredTime; this.gmtCreated = model.gmtCreated; this.hostIp = model.hostIp; this.hostName = model.hostName; this.imageId = model.imageId; this.instanceChargeType = model.instanceChargeType; this.instanceId = model.instanceId; this.instanceType = model.instanceType; this.instanceTypeFamily = model.instanceTypeFamily; this.memory = model.memory; this.nodeType = model.nodeType; this.publicIp = model.publicIp; this.regionId = model.regionId; this.securityGroupId = model.securityGroupId; this.spotStrategy = model.spotStrategy; this.status = model.status; this.tagResources = model.tagResources; this.tags = model.tags; this.vpcAttributes = model.vpcAttributes; this.vpcId = model.vpcId; this.zoneId = model.zoneId; } /** * <p>The cluster name.</p> * * <strong>example:</strong> * <p>testrdscustom</p> */ public Builder clusterName(String clusterName) { this.clusterName = clusterName; return this; } /** * Cpu. */ public Builder cpu(Integer cpu) { this.cpu = cpu; return this; } /** * CreateMode. */ public Builder createMode(String createMode) { this.createMode = createMode; return this; } /** * <p>The database type.</p> * * <strong>example:</strong> * <p>rds_custom</p> */ public Builder dbType(String dbType) { this.dbType = dbType; return this; } /** * DeploymentSetId. */ public Builder deploymentSetId(String deploymentSetId) { this.deploymentSetId = deploymentSetId; return this; } /** * <p>The instance description.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder description(String description) { this.description = description; return this; } /** * ExpiredTime. */ public Builder expiredTime(String expiredTime) { this.expiredTime = expiredTime; return this; } /** * <p>The time when the task was created. The time is displayed in GMT.</p> * * <strong>example:</strong> * <p>2023-03-22 07:56:53.0</p> */ public Builder gmtCreated(String gmtCreated) { this.gmtCreated = gmtCreated; return this; } /** * <p>The host IP address.</p> * * <strong>example:</strong> * <p>172.30.XXX.XXX</p> */ public Builder hostIp(String hostIp) { this.hostIp = hostIp; return this; } /** * <p>The host name.</p> * * <strong>example:</strong> * <p>i-2zeaiz4g9u23f40m****</p> */ public Builder hostName(String hostName) { this.hostName = hostName; return this; } /** * ImageId. */ public Builder imageId(String imageId) { this.imageId = imageId; return this; } /** * InstanceChargeType. */ public Builder instanceChargeType(String instanceChargeType) { this.instanceChargeType = instanceChargeType; return this; } /** * <p>The instance ID.</p> * * <strong>example:</strong> * <p>rm-2ze704f*****</p> */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * InstanceType. */ public Builder instanceType(String instanceType) { this.instanceType = instanceType; return this; } /** * InstanceTypeFamily. */ public Builder instanceTypeFamily(String instanceTypeFamily) { this.instanceTypeFamily = instanceTypeFamily; return this; } /** * Memory. */ public Builder memory(Integer memory) { this.memory = memory; return this; } /** * NodeType. */ public Builder nodeType(String nodeType) { this.nodeType = nodeType; return this; } /** * PublicIp. */ public Builder publicIp(String publicIp) { this.publicIp = publicIp; return this; } /** * <p>The region ID.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * SecurityGroupId. */ public Builder securityGroupId(String securityGroupId) { this.securityGroupId = securityGroupId; return this; } /** * SpotStrategy. */ public Builder spotStrategy(String spotStrategy) { this.spotStrategy = spotStrategy; return this; } /** * <p>The instance status. Valid values:</p> * <ul> * <li><strong>Pending</strong></li> * <li><strong>Running</strong></li> * <li><strong>Starting</strong></li> * <li><strong>Stopping</strong></li> * <li><strong>Stopped</strong></li> * </ul> * <blockquote> * <p> If the value returned for the DescribeRCInstances operation is different from the value that is returned for the <strong>DescribeRCInstanceAttribute</strong> operation, the value returned for the <strong>DescribeRCInstanceAttribute</strong> operation shall prevail.</p> * </blockquote> * * <strong>example:</strong> * <p>Running</p> */ public Builder status(String status) { this.status = status; return this; } /** * TagResources. */ public Builder tagResources(java.util.List<TagResources> tagResources) { this.tagResources = tagResources; return this; } /** * Tags. */ public Builder tags(java.util.List<Tags> tags) { this.tags = tags; return this; } /** * VpcAttributes. */ public Builder vpcAttributes(VpcAttributes vpcAttributes) { this.vpcAttributes = vpcAttributes; return this; } /** * <p>The VPC ID.</p> * * <strong>example:</strong> * <p>vpc-uf6f7l4fg90****</p> */ public Builder vpcId(String vpcId) { this.vpcId = vpcId; return this; } /** * ZoneId. */ public Builder zoneId(String zoneId) { this.zoneId = zoneId; return this; } public RCInstances build() { return new RCInstances(this); } } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCInvocationResultsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCInvocationResultsRequest} extends {@link RequestModel} * * <p>DescribeRCInvocationResultsRequest</p> */ public class DescribeRCInvocationResultsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CommandId") private String commandId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ContentEncoding") private String contentEncoding; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("IncludeHistory") private Boolean includeHistory; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InvokeId") private String invokeId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InvokeRecordStatus") private String invokeRecordStatus; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("MaxResults") @com.aliyun.core.annotation.Validation(maximum = 50, minimum = 1) private Integer maxResults; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NextToken") private String nextToken; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageNumber") private Integer pageNumber; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") @com.aliyun.core.annotation.Validation(maximum = 50, minimum = 1) private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") @com.aliyun.core.annotation.Validation(required = true) private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceGroupId") private String resourceGroupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Tag") private java.util.List<Tag> tag; private DescribeRCInvocationResultsRequest(Builder builder) { super(builder); this.commandId = builder.commandId; this.contentEncoding = builder.contentEncoding; this.includeHistory = builder.includeHistory; this.instanceId = builder.instanceId; this.invokeId = builder.invokeId; this.invokeRecordStatus = builder.invokeRecordStatus; this.maxResults = builder.maxResults; this.nextToken = builder.nextToken; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.regionId = builder.regionId; this.resourceGroupId = builder.resourceGroupId; this.tag = builder.tag; } public static Builder builder() { return new Builder(); } public static DescribeRCInvocationResultsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return commandId */ public String getCommandId() { return this.commandId; } /** * @return contentEncoding */ public String getContentEncoding() { return this.contentEncoding; } /** * @return includeHistory */ public Boolean getIncludeHistory() { return this.includeHistory; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return invokeId */ public String getInvokeId() { return this.invokeId; } /** * @return invokeRecordStatus */ public String getInvokeRecordStatus() { return this.invokeRecordStatus; } /** * @return maxResults */ public Integer getMaxResults() { return this.maxResults; } /** * @return nextToken */ public String getNextToken() { return this.nextToken; } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return resourceGroupId */ public String getResourceGroupId() { return this.resourceGroupId; } /** * @return tag */ public java.util.List<Tag> getTag() { return this.tag; } public static final class Builder extends Request.Builder<DescribeRCInvocationResultsRequest, Builder> { private String commandId; private String contentEncoding; private Boolean includeHistory; private String instanceId; private String invokeId; private String invokeRecordStatus; private Integer maxResults; private String nextToken; private Integer pageNumber; private Integer pageSize; private String regionId; private String resourceGroupId; private java.util.List<Tag> tag; private Builder() { super(); } private Builder(DescribeRCInvocationResultsRequest request) { super(request); this.commandId = request.commandId; this.contentEncoding = request.contentEncoding; this.includeHistory = request.includeHistory; this.instanceId = request.instanceId; this.invokeId = request.invokeId; this.invokeRecordStatus = request.invokeRecordStatus; this.maxResults = request.maxResults; this.nextToken = request.nextToken; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.regionId = request.regionId; this.resourceGroupId = request.resourceGroupId; this.tag = request.tag; } /** * CommandId. */ public Builder commandId(String commandId) { this.putQueryParameter("CommandId", commandId); this.commandId = commandId; return this; } /** * ContentEncoding. */ public Builder contentEncoding(String contentEncoding) { this.putQueryParameter("ContentEncoding", contentEncoding); this.contentEncoding = contentEncoding; return this; } /** * IncludeHistory. */ public Builder includeHistory(Boolean includeHistory) { this.putQueryParameter("IncludeHistory", includeHistory); this.includeHistory = includeHistory; return this; } /** * InstanceId. */ public Builder instanceId(String instanceId) { this.putQueryParameter("InstanceId", instanceId); this.instanceId = instanceId; return this; } /** * InvokeId. */ public Builder invokeId(String invokeId) { this.putQueryParameter("InvokeId", invokeId); this.invokeId = invokeId; return this; } /** * InvokeRecordStatus. */ public Builder invokeRecordStatus(String invokeRecordStatus) { this.putQueryParameter("InvokeRecordStatus", invokeRecordStatus); this.invokeRecordStatus = invokeRecordStatus; return this; } /** * MaxResults. */ public Builder maxResults(Integer maxResults) { this.putQueryParameter("MaxResults", maxResults); this.maxResults = maxResults; return this; } /** * NextToken. */ public Builder nextToken(String nextToken) { this.putQueryParameter("NextToken", nextToken); this.nextToken = nextToken; return this; } /** * PageNumber. */ public Builder pageNumber(Integer pageNumber) { this.putQueryParameter("PageNumber", pageNumber); this.pageNumber = pageNumber; return this; } /** * PageSize. */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * ResourceGroupId. */ public Builder resourceGroupId(String resourceGroupId) { this.putQueryParameter("ResourceGroupId", resourceGroupId); this.resourceGroupId = resourceGroupId; return this; } /** * Tag. */ public Builder tag(java.util.List<Tag> tag) { String tagShrink = shrink(tag, "Tag", "json"); this.putQueryParameter("Tag", tagShrink); this.tag = tag; return this; } @Override public DescribeRCInvocationResultsRequest build() { return new DescribeRCInvocationResultsRequest(this); } } /** * * {@link DescribeRCInvocationResultsRequest} extends {@link TeaModel} * * <p>DescribeRCInvocationResultsRequest</p> */ public static class Tag extends TeaModel { @com.aliyun.core.annotation.NameInMap("Key") private String key; @com.aliyun.core.annotation.NameInMap("Value") private String value; private Tag(Builder builder) { this.key = builder.key; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static Tag create() { return builder().build(); } /** * @return key */ public String getKey() { return this.key; } /** * @return value */ public String getValue() { return this.value; } public static final class Builder { private String key; private String value; private Builder() { } private Builder(Tag model) { this.key = model.key; this.value = model.value; } /** * Key. */ public Builder key(String key) { this.key = key; return this; } /** * Value. */ public Builder value(String value) { this.value = value; return this; } public Tag build() { return new Tag(this); } } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCInvocationResultsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCInvocationResultsResponse} extends {@link TeaModel} * * <p>DescribeRCInvocationResultsResponse</p> */ public class DescribeRCInvocationResultsResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeRCInvocationResultsResponseBody body; private DescribeRCInvocationResultsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeRCInvocationResultsResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeRCInvocationResultsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeRCInvocationResultsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeRCInvocationResultsResponseBody body); @Override DescribeRCInvocationResultsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeRCInvocationResultsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeRCInvocationResultsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeRCInvocationResultsResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeRCInvocationResultsResponseBody body) { this.body = body; return this; } @Override public DescribeRCInvocationResultsResponse build() { return new DescribeRCInvocationResultsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCInvocationResultsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCInvocationResultsResponseBody} extends {@link TeaModel} * * <p>DescribeRCInvocationResultsResponseBody</p> */ public class DescribeRCInvocationResultsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("InvocationResults") private java.util.List<InvocationResults> invocationResults; @com.aliyun.core.annotation.NameInMap("NextToken") @com.aliyun.core.annotation.Validation(required = true) private String nextToken; @com.aliyun.core.annotation.NameInMap("PageNumber") private String pageNumber; @com.aliyun.core.annotation.NameInMap("PageSize") private String pageSize; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private DescribeRCInvocationResultsResponseBody(Builder builder) { this.invocationResults = builder.invocationResults; this.nextToken = builder.nextToken; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.requestId = builder.requestId; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static DescribeRCInvocationResultsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return invocationResults */ public java.util.List<InvocationResults> getInvocationResults() { return this.invocationResults; } /** * @return nextToken */ public String getNextToken() { return this.nextToken; } /** * @return pageNumber */ public String getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public String getPageSize() { return this.pageSize; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private java.util.List<InvocationResults> invocationResults; private String nextToken; private String pageNumber; private String pageSize; private String requestId; private Integer totalCount; private Builder() { } private Builder(DescribeRCInvocationResultsResponseBody model) { this.invocationResults = model.invocationResults; this.nextToken = model.nextToken; this.pageNumber = model.pageNumber; this.pageSize = model.pageSize; this.requestId = model.requestId; this.totalCount = model.totalCount; } /** * InvocationResults. */ public Builder invocationResults(java.util.List<InvocationResults> invocationResults) { this.invocationResults = invocationResults; return this; } /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>AAAAAdDWBF2</p> */ public Builder nextToken(String nextToken) { this.nextToken = nextToken; return this; } /** * PageNumber. */ public Builder pageNumber(String pageNumber) { this.pageNumber = pageNumber; return this; } /** * PageSize. */ public Builder pageSize(String pageSize) { this.pageSize = pageSize; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * TotalCount. */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public DescribeRCInvocationResultsResponseBody build() { return new DescribeRCInvocationResultsResponseBody(this); } } /** * * {@link DescribeRCInvocationResultsResponseBody} extends {@link TeaModel} * * <p>DescribeRCInvocationResultsResponseBody</p> */ public static class Tags extends TeaModel { @com.aliyun.core.annotation.NameInMap("TagKey") private String tagKey; @com.aliyun.core.annotation.NameInMap("TagValue") private String tagValue; private Tags(Builder builder) { this.tagKey = builder.tagKey; this.tagValue = builder.tagValue; } public static Builder builder() { return new Builder(); } public static Tags create() { return builder().build(); } /** * @return tagKey */ public String getTagKey() { return this.tagKey; } /** * @return tagValue */ public String getTagValue() { return this.tagValue; } public static final class Builder { private String tagKey; private String tagValue; private Builder() { } private Builder(Tags model) { this.tagKey = model.tagKey; this.tagValue = model.tagValue; } /** * TagKey. */ public Builder tagKey(String tagKey) { this.tagKey = tagKey; return this; } /** * TagValue. */ public Builder tagValue(String tagValue) { this.tagValue = tagValue; return this; } public Tags build() { return new Tags(this); } } } /** * * {@link DescribeRCInvocationResultsResponseBody} extends {@link TeaModel} * * <p>DescribeRCInvocationResultsResponseBody</p> */ public static class InvocationResults extends TeaModel { @com.aliyun.core.annotation.NameInMap("CommandId") private String commandId; @com.aliyun.core.annotation.NameInMap("ContainerId") private String containerId; @com.aliyun.core.annotation.NameInMap("ContainerName") private String containerName; @com.aliyun.core.annotation.NameInMap("Dropped") private Integer dropped; @com.aliyun.core.annotation.NameInMap("ErrorCode") private String errorCode; @com.aliyun.core.annotation.NameInMap("ErrorInfo") private String errorInfo; @com.aliyun.core.annotation.NameInMap("ExitCode") private Integer exitCode; @com.aliyun.core.annotation.NameInMap("FinishedTime") private String finishedTime; @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("InvocationStatus") private String invocationStatus; @com.aliyun.core.annotation.NameInMap("InvokeId") private String invokeId; @com.aliyun.core.annotation.NameInMap("InvokeRecordStatus") private String invokeRecordStatus; @com.aliyun.core.annotation.NameInMap("Output") private String output; @com.aliyun.core.annotation.NameInMap("Repeats") private String repeats; @com.aliyun.core.annotation.NameInMap("StartTime") private String startTime; @com.aliyun.core.annotation.NameInMap("StopTime") private String stopTime; @com.aliyun.core.annotation.NameInMap("Tags") private java.util.List<Tags> tags; @com.aliyun.core.annotation.NameInMap("Username") private String username; private InvocationResults(Builder builder) { this.commandId = builder.commandId; this.containerId = builder.containerId; this.containerName = builder.containerName; this.dropped = builder.dropped; this.errorCode = builder.errorCode; this.errorInfo = builder.errorInfo; this.exitCode = builder.exitCode; this.finishedTime = builder.finishedTime; this.instanceId = builder.instanceId; this.invocationStatus = builder.invocationStatus; this.invokeId = builder.invokeId; this.invokeRecordStatus = builder.invokeRecordStatus; this.output = builder.output; this.repeats = builder.repeats; this.startTime = builder.startTime; this.stopTime = builder.stopTime; this.tags = builder.tags; this.username = builder.username; } public static Builder builder() { return new Builder(); } public static InvocationResults create() { return builder().build(); } /** * @return commandId */ public String getCommandId() { return this.commandId; } /** * @return containerId */ public String getContainerId() { return this.containerId; } /** * @return containerName */ public String getContainerName() { return this.containerName; } /** * @return dropped */ public Integer getDropped() { return this.dropped; } /** * @return errorCode */ public String getErrorCode() { return this.errorCode; } /** * @return errorInfo */ public String getErrorInfo() { return this.errorInfo; } /** * @return exitCode */ public Integer getExitCode() { return this.exitCode; } /** * @return finishedTime */ public String getFinishedTime() { return this.finishedTime; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return invocationStatus */ public String getInvocationStatus() { return this.invocationStatus; } /** * @return invokeId */ public String getInvokeId() { return this.invokeId; } /** * @return invokeRecordStatus */ public String getInvokeRecordStatus() { return this.invokeRecordStatus; } /** * @return output */ public String getOutput() { return this.output; } /** * @return repeats */ public String getRepeats() { return this.repeats; } /** * @return startTime */ public String getStartTime() { return this.startTime; } /** * @return stopTime */ public String getStopTime() { return this.stopTime; } /** * @return tags */ public java.util.List<Tags> getTags() { return this.tags; } /** * @return username */ public String getUsername() { return this.username; } public static final class Builder { private String commandId; private String containerId; private String containerName; private Integer dropped; private String errorCode; private String errorInfo; private Integer exitCode; private String finishedTime; private String instanceId; private String invocationStatus; private String invokeId; private String invokeRecordStatus; private String output; private String repeats; private String startTime; private String stopTime; private java.util.List<Tags> tags; private String username; private Builder() { } private Builder(InvocationResults model) { this.commandId = model.commandId; this.containerId = model.containerId; this.containerName = model.containerName; this.dropped = model.dropped; this.errorCode = model.errorCode; this.errorInfo = model.errorInfo; this.exitCode = model.exitCode; this.finishedTime = model.finishedTime; this.instanceId = model.instanceId; this.invocationStatus = model.invocationStatus; this.invokeId = model.invokeId; this.invokeRecordStatus = model.invokeRecordStatus; this.output = model.output; this.repeats = model.repeats; this.startTime = model.startTime; this.stopTime = model.stopTime; this.tags = model.tags; this.username = model.username; } /** * CommandId. */ public Builder commandId(String commandId) { this.commandId = commandId; return this; } /** * ContainerId. */ public Builder containerId(String containerId) { this.containerId = containerId; return this; } /** * ContainerName. */ public Builder containerName(String containerName) { this.containerName = containerName; return this; } /** * Dropped. */ public Builder dropped(Integer dropped) { this.dropped = dropped; return this; } /** * ErrorCode. */ public Builder errorCode(String errorCode) { this.errorCode = errorCode; return this; } /** * ErrorInfo. */ public Builder errorInfo(String errorInfo) { this.errorInfo = errorInfo; return this; } /** * ExitCode. */ public Builder exitCode(Integer exitCode) { this.exitCode = exitCode; return this; } /** * FinishedTime. */ public Builder finishedTime(String finishedTime) { this.finishedTime = finishedTime; return this; } /** * InstanceId. */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * InvocationStatus. */ public Builder invocationStatus(String invocationStatus) { this.invocationStatus = invocationStatus; return this; } /** * InvokeId. */ public Builder invokeId(String invokeId) { this.invokeId = invokeId; return this; } /** * InvokeRecordStatus. */ public Builder invokeRecordStatus(String invokeRecordStatus) { this.invokeRecordStatus = invokeRecordStatus; return this; } /** * Output. */ public Builder output(String output) { this.output = output; return this; } /** * Repeats. */ public Builder repeats(String repeats) { this.repeats = repeats; return this; } /** * StartTime. */ public Builder startTime(String startTime) { this.startTime = startTime; return this; } /** * StopTime. */ public Builder stopTime(String stopTime) { this.stopTime = stopTime; return this; } /** * Tags. */ public Builder tags(java.util.List<Tags> tags) { this.tags = tags; return this; } /** * Username. */ public Builder username(String username) { this.username = username; return this; } public InvocationResults build() { return new InvocationResults(this); } } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCMetricListRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCMetricListRequest} extends {@link RequestModel} * * <p>DescribeRCMetricListRequest</p> */ public class DescribeRCMetricListRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Dimensions") private String dimensions; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Express") private String express; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Length") private String length; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("MetricName") @com.aliyun.core.annotation.Validation(required = true) private String metricName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NextToken") private String nextToken; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Period") private String period; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StartTime") private String startTime; private DescribeRCMetricListRequest(Builder builder) { super(builder); this.dimensions = builder.dimensions; this.endTime = builder.endTime; this.express = builder.express; this.instanceId = builder.instanceId; this.length = builder.length; this.metricName = builder.metricName; this.nextToken = builder.nextToken; this.period = builder.period; this.regionId = builder.regionId; this.startTime = builder.startTime; } public static Builder builder() { return new Builder(); } public static DescribeRCMetricListRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return dimensions */ public String getDimensions() { return this.dimensions; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return express */ public String getExpress() { return this.express; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return length */ public String getLength() { return this.length; } /** * @return metricName */ public String getMetricName() { return this.metricName; } /** * @return nextToken */ public String getNextToken() { return this.nextToken; } /** * @return period */ public String getPeriod() { return this.period; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return startTime */ public String getStartTime() { return this.startTime; } public static final class Builder extends Request.Builder<DescribeRCMetricListRequest, Builder> { private String dimensions; private String endTime; private String express; private String instanceId; private String length; private String metricName; private String nextToken; private String period; private String regionId; private String startTime; private Builder() { super(); } private Builder(DescribeRCMetricListRequest request) { super(request); this.dimensions = request.dimensions; this.endTime = request.endTime; this.express = request.express; this.instanceId = request.instanceId; this.length = request.length; this.metricName = request.metricName; this.nextToken = request.nextToken; this.period = request.period; this.regionId = request.regionId; this.startTime = request.startTime; } /** * Dimensions. */ public Builder dimensions(String dimensions) { this.putQueryParameter("Dimensions", dimensions); this.dimensions = dimensions; return this; } /** * <p>The end of the time range to query. The end time must be later than the start time. Example: <code>2024-08-06 10:15:00</code>.</p> * * <strong>example:</strong> * <p>2024-08-06 10:15:00</p> */ public Builder endTime(String endTime) { this.putQueryParameter("EndTime", endTime); this.endTime = endTime; return this; } /** * <p>The reserved parameter.</p> * * <strong>example:</strong> * <p>None</p> */ public Builder express(String express) { this.putQueryParameter("Express", express); this.express = express; return this; } /** * <p>The instance ID.</p> * * <strong>example:</strong> * <p>rc-dh2jf9n6j4s14926****</p> */ public Builder instanceId(String instanceId) { this.putQueryParameter("InstanceId", instanceId); this.instanceId = instanceId; return this; } /** * <p>The number of entries per page.</p> * <p>Default value: 1000.</p> * <blockquote> * <p> The maximum value of the Length parameter in a request is 1440.</p> * </blockquote> * * <strong>example:</strong> * <p>1000</p> */ public Builder length(String length) { this.putQueryParameter("Length", length); this.length = length; return this; } /** * <p>The metric that you want to use. For more information, see <a href="https://cms.console.aliyun.com/metric-meta/acs_ecs_dashboard/ecs">CloudMonitor metrics</a>.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>CPUUtilization</p> */ public Builder metricName(String metricName) { this.putQueryParameter("MetricName", metricName); this.metricName = metricName; return this; } /** * <p>The pagination token.</p> * * <strong>example:</strong> * <p>6178f1825f9fb76ce0b5e8707e68181f</p> */ public Builder nextToken(String nextToken) { this.putQueryParameter("NextToken", nextToken); this.nextToken = nextToken; return this; } /** * <p>The statistical period of the monitoring data.</p> * <p>Set the value to 60 or an integer multiple of 60.</p> * <p>Unit: seconds.</p> * <p>Default value: 60.</p> * * <strong>example:</strong> * <p>60</p> */ public Builder period(String period) { this.putQueryParameter("Period", period); this.period = period; return this; } /** * <p>The region ID.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * <p>The beginning of the time range to query. Example: <code>2024-08-06 10:05:00</code>.</p> * * <strong>example:</strong> * <p>2024-08-06 10:05:00</p> */ public Builder startTime(String startTime) { this.putQueryParameter("StartTime", startTime); this.startTime = startTime; return this; } @Override public DescribeRCMetricListRequest build() { return new DescribeRCMetricListRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCMetricListResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCMetricListResponse} extends {@link TeaModel} * * <p>DescribeRCMetricListResponse</p> */ public class DescribeRCMetricListResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeRCMetricListResponseBody body; private DescribeRCMetricListResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeRCMetricListResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeRCMetricListResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeRCMetricListResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeRCMetricListResponseBody body); @Override DescribeRCMetricListResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeRCMetricListResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeRCMetricListResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeRCMetricListResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeRCMetricListResponseBody body) { this.body = body; return this; } @Override public DescribeRCMetricListResponse build() { return new DescribeRCMetricListResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCMetricListResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCMetricListResponseBody} extends {@link TeaModel} * * <p>DescribeRCMetricListResponseBody</p> */ public class DescribeRCMetricListResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("Datapoints") private String datapoints; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("NextToken") private String nextToken; @com.aliyun.core.annotation.NameInMap("Period") private String period; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private DescribeRCMetricListResponseBody(Builder builder) { this.code = builder.code; this.datapoints = builder.datapoints; this.message = builder.message; this.nextToken = builder.nextToken; this.period = builder.period; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static DescribeRCMetricListResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public String getCode() { return this.code; } /** * @return datapoints */ public String getDatapoints() { return this.datapoints; } /** * @return message */ public String getMessage() { return this.message; } /** * @return nextToken */ public String getNextToken() { return this.nextToken; } /** * @return period */ public String getPeriod() { return this.period; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private String code; private String datapoints; private String message; private String nextToken; private String period; private String requestId; private Boolean success; private Builder() { } private Builder(DescribeRCMetricListResponseBody model) { this.code = model.code; this.datapoints = model.datapoints; this.message = model.message; this.nextToken = model.nextToken; this.period = model.period; this.requestId = model.requestId; this.success = model.success; } /** * <p>The HTTP status code returned.</p> * * <strong>example:</strong> * <p>200</p> */ public Builder code(String code) { this.code = code; return this; } /** * <p>The monitoring data.</p> * * <strong>example:</strong> * <p>[{&quot;timestamp&quot;:1722909960000,&quot;instanceId&quot;:&quot;rc-dh2jf9n6j4s14926****&quot;,&quot;userId&quot;:&quot;1695619988087373&quot;,&quot;Minimum&quot;:0.097,&quot;Maximum&quot;:0.097,&quot;Average&quot;:0.097},{&quot;timestamp&quot;:1722910020000,&quot;instanceId&quot;:&quot;rc-dh2jf9n6j4s14926****&quot;,&quot;userId&quot;:&quot;1695619988087373&quot;,&quot;Minimum&quot;:0.093,&quot;Maximum&quot;:0.093,&quot;Average&quot;:0.093}]</p> */ public Builder datapoints(String datapoints) { this.datapoints = datapoints; return this; } /** * <p>The message that is returned for the request.</p> * <blockquote> * <p> If the request is successful, <strong>Successful</strong> is returned. If the request fails, an error message that contains information such as an error code is returned.</p> * </blockquote> * * <strong>example:</strong> * <p>successful</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The pagination token.</p> * * <strong>example:</strong> * <p>6178f1825f9fb76ce0b5e8707e68181f</p> */ public Builder nextToken(String nextToken) { this.nextToken = nextToken; return this; } /** * <p>The statistical period of the monitoring data.</p> * * <strong>example:</strong> * <p>60</p> */ public Builder period(String period) { this.period = period; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>EA2D4F34-01A7-46EB-A339-D80882135206</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Indicates whether the request was successful. Valid values:</p> * <ul> * <li><strong>true</strong></li> * <li><strong>false</strong></li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder success(Boolean success) { this.success = success; return this; } public DescribeRCMetricListResponseBody build() { return new DescribeRCMetricListResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCNodePoolRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCNodePoolRequest} extends {@link RequestModel} * * <p>DescribeRCNodePoolRequest</p> */ public class DescribeRCNodePoolRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ClusterId") private String clusterId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NodePoolId") private String nodePoolId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; private DescribeRCNodePoolRequest(Builder builder) { super(builder); this.clusterId = builder.clusterId; this.nodePoolId = builder.nodePoolId; this.regionId = builder.regionId; } public static Builder builder() { return new Builder(); } public static DescribeRCNodePoolRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return clusterId */ public String getClusterId() { return this.clusterId; } /** * @return nodePoolId */ public String getNodePoolId() { return this.nodePoolId; } /** * @return regionId */ public String getRegionId() { return this.regionId; } public static final class Builder extends Request.Builder<DescribeRCNodePoolRequest, Builder> { private String clusterId; private String nodePoolId; private String regionId; private Builder() { super(); } private Builder(DescribeRCNodePoolRequest request) { super(request); this.clusterId = request.clusterId; this.nodePoolId = request.nodePoolId; this.regionId = request.regionId; } /** * <p>The ID of the ACK Edge cluster in which the RDS Custom instance resides.</p> * * <strong>example:</strong> * <p>c463aaa89e2b84cacacfbf23c4867****</p> */ public Builder clusterId(String clusterId) { this.putQueryParameter("ClusterId", clusterId); this.clusterId = clusterId; return this; } /** * <p>The node pool ID.</p> * * <strong>example:</strong> * <p>np31da1b38983f4511b490fc62108a****</p> */ public Builder nodePoolId(String nodePoolId) { this.putQueryParameter("NodePoolId", nodePoolId); this.nodePoolId = nodePoolId; return this; } /** * <p>The region ID.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } @Override public DescribeRCNodePoolRequest build() { return new DescribeRCNodePoolRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCNodePoolResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCNodePoolResponse} extends {@link TeaModel} * * <p>DescribeRCNodePoolResponse</p> */ public class DescribeRCNodePoolResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeRCNodePoolResponseBody body; private DescribeRCNodePoolResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeRCNodePoolResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeRCNodePoolResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeRCNodePoolResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeRCNodePoolResponseBody body); @Override DescribeRCNodePoolResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeRCNodePoolResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeRCNodePoolResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeRCNodePoolResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeRCNodePoolResponseBody body) { this.body = body; return this; } @Override public DescribeRCNodePoolResponse build() { return new DescribeRCNodePoolResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCNodePoolResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCNodePoolResponseBody} extends {@link TeaModel} * * <p>DescribeRCNodePoolResponseBody</p> */ public class DescribeRCNodePoolResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("NodePoolList") private java.util.List<NodePoolList> nodePoolList; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeRCNodePoolResponseBody(Builder builder) { this.nodePoolList = builder.nodePoolList; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeRCNodePoolResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return nodePoolList */ public java.util.List<NodePoolList> getNodePoolList() { return this.nodePoolList; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<NodePoolList> nodePoolList; private String requestId; private Builder() { } private Builder(DescribeRCNodePoolResponseBody model) { this.nodePoolList = model.nodePoolList; this.requestId = model.requestId; } /** * <p>The node pool information.</p> */ public Builder nodePoolList(java.util.List<NodePoolList> nodePoolList) { this.nodePoolList = nodePoolList; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>C816A4BF-A6EC-4722-95F9-2055859CCFD2</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeRCNodePoolResponseBody build() { return new DescribeRCNodePoolResponseBody(this); } } /** * * {@link DescribeRCNodePoolResponseBody} extends {@link TeaModel} * * <p>DescribeRCNodePoolResponseBody</p> */ public static class DataDisk extends TeaModel { @com.aliyun.core.annotation.NameInMap("Category") private String category; @com.aliyun.core.annotation.NameInMap("DeleteWithInstance") private Boolean deleteWithInstance; @com.aliyun.core.annotation.NameInMap("Encrypted") private String encrypted; @com.aliyun.core.annotation.NameInMap("PerformanceLevel") private String performanceLevel; @com.aliyun.core.annotation.NameInMap("Size") private Integer size; private DataDisk(Builder builder) { this.category = builder.category; this.deleteWithInstance = builder.deleteWithInstance; this.encrypted = builder.encrypted; this.performanceLevel = builder.performanceLevel; this.size = builder.size; } public static Builder builder() { return new Builder(); } public static DataDisk create() { return builder().build(); } /** * @return category */ public String getCategory() { return this.category; } /** * @return deleteWithInstance */ public Boolean getDeleteWithInstance() { return this.deleteWithInstance; } /** * @return encrypted */ public String getEncrypted() { return this.encrypted; } /** * @return performanceLevel */ public String getPerformanceLevel() { return this.performanceLevel; } /** * @return size */ public Integer getSize() { return this.size; } public static final class Builder { private String category; private Boolean deleteWithInstance; private String encrypted; private String performanceLevel; private Integer size; private Builder() { } private Builder(DataDisk model) { this.category = model.category; this.deleteWithInstance = model.deleteWithInstance; this.encrypted = model.encrypted; this.performanceLevel = model.performanceLevel; this.size = model.size; } /** * <p>The type of the data disk. Set the value to <strong>cloud_essd</strong>, which indicates Enterprise SSDs (ESSDs).</p> * * <strong>example:</strong> * <p>cloud_essd</p> */ public Builder category(String category) { this.category = category; return this; } /** * <p>The reserved parameter. This parameter is not supported.</p> * * <strong>example:</strong> * <p>None</p> */ public Builder deleteWithInstance(Boolean deleteWithInstance) { this.deleteWithInstance = deleteWithInstance; return this; } /** * <p>Indicates whether to encrypt the cloud disk. Valid values:</p> * <ul> * <li><strong>true</strong></li> * <li><strong>false</strong> (default)</li> * </ul> * * <strong>example:</strong> * <p>false</p> */ public Builder encrypted(String encrypted) { this.encrypted = encrypted; return this; } /** * <p>The performance level of the ESSD. Valid values:</p> * <ul> * <li><strong>PL0</strong>: A single ESSD delivers up to 10,000 random read/write IOPS.</li> * <li><strong>PL1</strong>: A single ESSD delivers up to 50,000 random read/write IOPS.</li> * <li><strong>PL2</strong>: A single ESSD delivers up to 100,000 random read/write IOPS.</li> * <li><strong>PL3</strong>: A single ESSD delivers up to 1,000,000 random read/write IOPS.</li> * </ul> * * <strong>example:</strong> * <p>PL0</p> */ public Builder performanceLevel(String performanceLevel) { this.performanceLevel = performanceLevel; return this; } /** * <p>The data disk size. Unit: GiB.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder size(Integer size) { this.size = size; return this; } public DataDisk build() { return new DataDisk(this); } } } /** * * {@link DescribeRCNodePoolResponseBody} extends {@link TeaModel} * * <p>DescribeRCNodePoolResponseBody</p> */ public static class SystemDisk extends TeaModel { @com.aliyun.core.annotation.NameInMap("Category") private String category; @com.aliyun.core.annotation.NameInMap("PerformanceLevel") private String performanceLevel; @com.aliyun.core.annotation.NameInMap("Size") private Integer size; private SystemDisk(Builder builder) { this.category = builder.category; this.performanceLevel = builder.performanceLevel; this.size = builder.size; } public static Builder builder() { return new Builder(); } public static SystemDisk create() { return builder().build(); } /** * @return category */ public String getCategory() { return this.category; } /** * @return performanceLevel */ public String getPerformanceLevel() { return this.performanceLevel; } /** * @return size */ public Integer getSize() { return this.size; } public static final class Builder { private String category; private String performanceLevel; private Integer size; private Builder() { } private Builder(SystemDisk model) { this.category = model.category; this.performanceLevel = model.performanceLevel; this.size = model.size; } /** * <p>The type of the system disk. Set the value to <strong>cloud_essd</strong>, which indicates ESSDs.</p> * * <strong>example:</strong> * <p>cloud_essd</p> */ public Builder category(String category) { this.category = category; return this; } /** * <p>The performance level of the ESSD. Valid values:</p> * <ul> * <li><strong>PL0</strong>: A single ESSD delivers up to 10,000 random read/write IOPS.</li> * <li><strong>PL1</strong>: A single ESSD delivers up to 50,000 random read/write IOPS.</li> * <li><strong>PL2</strong>: A single ESSD delivers up to 100,000 random read/write IOPS.</li> * <li><strong>PL3</strong>: A single ESSD delivers up to 1,000,000 random read/write IOPS.</li> * </ul> * * <strong>example:</strong> * <p>PL1</p> */ public Builder performanceLevel(String performanceLevel) { this.performanceLevel = performanceLevel; return this; } /** * <p>The size of the system disk. Unit: GiB.</p> * * <strong>example:</strong> * <p>40</p> */ public Builder size(Integer size) { this.size = size; return this; } public SystemDisk build() { return new SystemDisk(this); } } } /** * * {@link DescribeRCNodePoolResponseBody} extends {@link TeaModel} * * <p>DescribeRCNodePoolResponseBody</p> */ public static class Tag extends TeaModel { @com.aliyun.core.annotation.NameInMap("Key") private String key; @com.aliyun.core.annotation.NameInMap("Value") private String value; private Tag(Builder builder) { this.key = builder.key; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static Tag create() { return builder().build(); } /** * @return key */ public String getKey() { return this.key; } /** * @return value */ public String getValue() { return this.value; } public static final class Builder { private String key; private String value; private Builder() { } private Builder(Tag model) { this.key = model.key; this.value = model.value; } /** * <p>The tag keys.</p> * * <strong>example:</strong> * <p>Testkey1</p> */ public Builder key(String key) { this.key = key; return this; } /** * <p>The tag value.</p> * * <strong>example:</strong> * <p>Testvalue1</p> */ public Builder value(String value) { this.value = value; return this; } public Tag build() { return new Tag(this); } } } /** * * {@link DescribeRCNodePoolResponseBody} extends {@link TeaModel} * * <p>DescribeRCNodePoolResponseBody</p> */ public static class NodePoolList extends TeaModel { @com.aliyun.core.annotation.NameInMap("AutoPay") private Boolean autoPay; @com.aliyun.core.annotation.NameInMap("AutoRenew") private Boolean autoRenew; @com.aliyun.core.annotation.NameInMap("ClusterId") private String clusterId; @com.aliyun.core.annotation.NameInMap("CreateMode") private String createMode; @com.aliyun.core.annotation.NameInMap("DataDisk") private java.util.List<DataDisk> dataDisk; @com.aliyun.core.annotation.NameInMap("DeploymentSetId") private String deploymentSetId; @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.NameInMap("HostName") private String hostName; @com.aliyun.core.annotation.NameInMap("ImageId") private String imageId; @com.aliyun.core.annotation.NameInMap("InstanceChargeType") private String instanceChargeType; @com.aliyun.core.annotation.NameInMap("InstanceName") private String instanceName; @com.aliyun.core.annotation.NameInMap("InstanceType") private String instanceType; @com.aliyun.core.annotation.NameInMap("InternetChargeType") private String internetChargeType; @com.aliyun.core.annotation.NameInMap("InternetMaxBandwidthOut") private Integer internetMaxBandwidthOut; @com.aliyun.core.annotation.NameInMap("IoOptimized") private String ioOptimized; @com.aliyun.core.annotation.NameInMap("KeyPairName") private String keyPairName; @com.aliyun.core.annotation.NameInMap("NodePoolId") private String nodePoolId; @com.aliyun.core.annotation.NameInMap("NodePoolName") private String nodePoolName; @com.aliyun.core.annotation.NameInMap("Password") private String password; @com.aliyun.core.annotation.NameInMap("Period") private Integer period; @com.aliyun.core.annotation.NameInMap("PeriodUnit") private String periodUnit; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("ResourceGroupId") private String resourceGroupId; @com.aliyun.core.annotation.NameInMap("SecurityEnhancementStrategy") private String securityEnhancementStrategy; @com.aliyun.core.annotation.NameInMap("SecurityGroupId") private String securityGroupId; @com.aliyun.core.annotation.NameInMap("SpotStrategy") private String spotStrategy; @com.aliyun.core.annotation.NameInMap("SystemDisk") private SystemDisk systemDisk; @com.aliyun.core.annotation.NameInMap("Tag") private java.util.List<Tag> tag; @com.aliyun.core.annotation.NameInMap("VSwitchId") private String vSwitchId; @com.aliyun.core.annotation.NameInMap("ZoneId") private String zoneId; private NodePoolList(Builder builder) { this.autoPay = builder.autoPay; this.autoRenew = builder.autoRenew; this.clusterId = builder.clusterId; this.createMode = builder.createMode; this.dataDisk = builder.dataDisk; this.deploymentSetId = builder.deploymentSetId; this.description = builder.description; this.hostName = builder.hostName; this.imageId = builder.imageId; this.instanceChargeType = builder.instanceChargeType; this.instanceName = builder.instanceName; this.instanceType = builder.instanceType; this.internetChargeType = builder.internetChargeType; this.internetMaxBandwidthOut = builder.internetMaxBandwidthOut; this.ioOptimized = builder.ioOptimized; this.keyPairName = builder.keyPairName; this.nodePoolId = builder.nodePoolId; this.nodePoolName = builder.nodePoolName; this.password = builder.password; this.period = builder.period; this.periodUnit = builder.periodUnit; this.regionId = builder.regionId; this.resourceGroupId = builder.resourceGroupId; this.securityEnhancementStrategy = builder.securityEnhancementStrategy; this.securityGroupId = builder.securityGroupId; this.spotStrategy = builder.spotStrategy; this.systemDisk = builder.systemDisk; this.tag = builder.tag; this.vSwitchId = builder.vSwitchId; this.zoneId = builder.zoneId; } public static Builder builder() { return new Builder(); } public static NodePoolList create() { return builder().build(); } /** * @return autoPay */ public Boolean getAutoPay() { return this.autoPay; } /** * @return autoRenew */ public Boolean getAutoRenew() { return this.autoRenew; } /** * @return clusterId */ public String getClusterId() { return this.clusterId; } /** * @return createMode */ public String getCreateMode() { return this.createMode; } /** * @return dataDisk */ public java.util.List<DataDisk> getDataDisk() { return this.dataDisk; } /** * @return deploymentSetId */ public String getDeploymentSetId() { return this.deploymentSetId; } /** * @return description */ public String getDescription() { return this.description; } /** * @return hostName */ public String getHostName() { return this.hostName; } /** * @return imageId */ public String getImageId() { return this.imageId; } /** * @return instanceChargeType */ public String getInstanceChargeType() { return this.instanceChargeType; } /** * @return instanceName */ public String getInstanceName() { return this.instanceName; } /** * @return instanceType */ public String getInstanceType() { return this.instanceType; } /** * @return internetChargeType */ public String getInternetChargeType() { return this.internetChargeType; } /** * @return internetMaxBandwidthOut */ public Integer getInternetMaxBandwidthOut() { return this.internetMaxBandwidthOut; } /** * @return ioOptimized */ public String getIoOptimized() { return this.ioOptimized; } /** * @return keyPairName */ public String getKeyPairName() { return this.keyPairName; } /** * @return nodePoolId */ public String getNodePoolId() { return this.nodePoolId; } /** * @return nodePoolName */ public String getNodePoolName() { return this.nodePoolName; } /** * @return password */ public String getPassword() { return this.password; } /** * @return period */ public Integer getPeriod() { return this.period; } /** * @return periodUnit */ public String getPeriodUnit() { return this.periodUnit; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return resourceGroupId */ public String getResourceGroupId() { return this.resourceGroupId; } /** * @return securityEnhancementStrategy */ public String getSecurityEnhancementStrategy() { return this.securityEnhancementStrategy; } /** * @return securityGroupId */ public String getSecurityGroupId() { return this.securityGroupId; } /** * @return spotStrategy */ public String getSpotStrategy() { return this.spotStrategy; } /** * @return systemDisk */ public SystemDisk getSystemDisk() { return this.systemDisk; } /** * @return tag */ public java.util.List<Tag> getTag() { return this.tag; } /** * @return vSwitchId */ public String getVSwitchId() { return this.vSwitchId; } /** * @return zoneId */ public String getZoneId() { return this.zoneId; } public static final class Builder { private Boolean autoPay; private Boolean autoRenew; private String clusterId; private String createMode; private java.util.List<DataDisk> dataDisk; private String deploymentSetId; private String description; private String hostName; private String imageId; private String instanceChargeType; private String instanceName; private String instanceType; private String internetChargeType; private Integer internetMaxBandwidthOut; private String ioOptimized; private String keyPairName; private String nodePoolId; private String nodePoolName; private String password; private Integer period; private String periodUnit; private String regionId; private String resourceGroupId; private String securityEnhancementStrategy; private String securityGroupId; private String spotStrategy; private SystemDisk systemDisk; private java.util.List<Tag> tag; private String vSwitchId; private String zoneId; private Builder() { } private Builder(NodePoolList model) { this.autoPay = model.autoPay; this.autoRenew = model.autoRenew; this.clusterId = model.clusterId; this.createMode = model.createMode; this.dataDisk = model.dataDisk; this.deploymentSetId = model.deploymentSetId; this.description = model.description; this.hostName = model.hostName; this.imageId = model.imageId; this.instanceChargeType = model.instanceChargeType; this.instanceName = model.instanceName; this.instanceType = model.instanceType; this.internetChargeType = model.internetChargeType; this.internetMaxBandwidthOut = model.internetMaxBandwidthOut; this.ioOptimized = model.ioOptimized; this.keyPairName = model.keyPairName; this.nodePoolId = model.nodePoolId; this.nodePoolName = model.nodePoolName; this.password = model.password; this.period = model.period; this.periodUnit = model.periodUnit; this.regionId = model.regionId; this.resourceGroupId = model.resourceGroupId; this.securityEnhancementStrategy = model.securityEnhancementStrategy; this.securityGroupId = model.securityGroupId; this.spotStrategy = model.spotStrategy; this.systemDisk = model.systemDisk; this.tag = model.tag; this.vSwitchId = model.vSwitchId; this.zoneId = model.zoneId; } /** * <p>Indicates whether to enable automatic payment. Valid values:</p> * <ul> * <li><strong>true</strong> (default): enables the feature. You must make sure that your account balance is sufficient.</li> * <li><strong>false</strong>: disables the feature. An unpaid order is generated.</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder autoPay(Boolean autoPay) { this.autoPay = autoPay; return this; } /** * <p>Indicates whether to enable auto-renewal for the instance. Valid values:</p> * <ul> * <li><strong>true</strong> (default)</li> * <li><strong>false</strong></li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder autoRenew(Boolean autoRenew) { this.autoRenew = autoRenew; return this; } /** * <p>The ID of the container cluster in which the RDS Custom instance resides.</p> * * <strong>example:</strong> * <p>c463aaa89e2b84cacacfbf23c4867****</p> */ public Builder clusterId(String clusterId) { this.clusterId = clusterId; return this; } /** * <p>Indicates whether to add the instance to the ACK cluster.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder createMode(String createMode) { this.createMode = createMode; return this; } /** * <p>The data disks.</p> */ public Builder dataDisk(java.util.List<DataDisk> dataDisk) { this.dataDisk = dataDisk; return this; } /** * <p>The ID of the deployment set.</p> * * <strong>example:</strong> * <p>ds-bp18ukv66rlyuffv****</p> */ public Builder deploymentSetId(String deploymentSetId) { this.deploymentSetId = deploymentSetId; return this; } /** * <p>The instance description.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder description(String description) { this.description = description; return this; } /** * <p>The instance hostname.</p> * * <strong>example:</strong> * <p>testHost1</p> */ public Builder hostName(String hostName) { this.hostName = hostName; return this; } /** * <p>The ID of the image used by the instance.</p> * * <strong>example:</strong> * <p>image-dsvjzw2ii8n4fvr****</p> */ public Builder imageId(String imageId) { this.imageId = imageId; return this; } /** * <p>The billing method. Valid value:</p> * <ul> * <li><strong>Prepaid</strong>: subscription</li> * <li><strong>Postpaid</strong>: pay-as-you-go</li> * </ul> * * <strong>example:</strong> * <p>Prepaid</p> */ public Builder instanceChargeType(String instanceChargeType) { this.instanceChargeType = instanceChargeType; return this; } /** * <p>The instance name.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder instanceName(String instanceName) { this.instanceName = instanceName; return this; } /** * <p>The instance type.</p> * * <strong>example:</strong> * <p>mysql.i8.large.2cm</p> */ public Builder instanceType(String instanceType) { this.instanceType = instanceType; return this; } /** * <p>The reserved parameter. This parameter is not supported.</p> * * <strong>example:</strong> * <p>None</p> */ public Builder internetChargeType(String internetChargeType) { this.internetChargeType = internetChargeType; return this; } /** * <p>The reserved parameter. This parameter is not supported.</p> * * <strong>example:</strong> * <p>None</p> */ public Builder internetMaxBandwidthOut(Integer internetMaxBandwidthOut) { this.internetMaxBandwidthOut = internetMaxBandwidthOut; return this; } /** * <p>The reserved parameter. This parameter is not supported.</p> * * <strong>example:</strong> * <p>None</p> */ public Builder ioOptimized(String ioOptimized) { this.ioOptimized = ioOptimized; return this; } /** * <p>The key pair name.</p> * * <strong>example:</strong> * <p>dell5502</p> */ public Builder keyPairName(String keyPairName) { this.keyPairName = keyPairName; return this; } /** * <p>The node pool ID.</p> * * <strong>example:</strong> * <p>np31da1b38983f4511b490fc62108a****</p> */ public Builder nodePoolId(String nodePoolId) { this.nodePoolId = nodePoolId; return this; } /** * <p>The name of the node pool.</p> * * <strong>example:</strong> * <p>np31da1b38983f4511b490fc62108a****</p> */ public Builder nodePoolName(String nodePoolName) { this.nodePoolName = nodePoolName; return this; } /** * <p>The password of the root user of the instance.</p> * * <strong>example:</strong> * <p>testPassword</p> */ public Builder password(String password) { this.password = password; return this; } /** * <p>The subscription duration.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder period(Integer period) { this.period = period; return this; } /** * <p>The unit of the subscription period. Valid values:</p> * <ul> * <li><strong>Year</strong></li> * <li><strong>Month</strong> (default)</li> * </ul> * * <strong>example:</strong> * <p>Year</p> */ public Builder periodUnit(String periodUnit) { this.periodUnit = periodUnit; return this; } /** * <p>The region ID of the instance.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * <p>The ID of the resource group.</p> * * <strong>example:</strong> * <p>rg-acfmy****</p> */ public Builder resourceGroupId(String resourceGroupId) { this.resourceGroupId = resourceGroupId; return this; } /** * <p>The reserved parameter. This parameter is not supported.</p> * * <strong>example:</strong> * <p>None</p> */ public Builder securityEnhancementStrategy(String securityEnhancementStrategy) { this.securityEnhancementStrategy = securityEnhancementStrategy; return this; } /** * <p>The security group ID.</p> * * <strong>example:</strong> * <p>sg-uf6av412xaxixuez****</p> */ public Builder securityGroupId(String securityGroupId) { this.securityGroupId = securityGroupId; return this; } /** * <p>The reserved parameter. This parameter is not supported.</p> * * <strong>example:</strong> * <p>None</p> */ public Builder spotStrategy(String spotStrategy) { this.spotStrategy = spotStrategy; return this; } /** * <p>The specification of the system disk.</p> */ public Builder systemDisk(SystemDisk systemDisk) { this.systemDisk = systemDisk; return this; } /** * <p>The tags.</p> */ public Builder tag(java.util.List<Tag> tag) { this.tag = tag; return this; } /** * <p>The vSwitch ID.</p> * * <strong>example:</strong> * <p>vsw-zm0qvgv3sm3sjzbkr****</p> */ public Builder vSwitchId(String vSwitchId) { this.vSwitchId = vSwitchId; return this; } /** * <p>The zone ID.</p> * * <strong>example:</strong> * <p>cn-beijing-h</p> */ public Builder zoneId(String zoneId) { this.zoneId = zoneId; return this; } public NodePoolList build() { return new NodePoolList(this); } } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCSecurityGroupListRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCSecurityGroupListRequest} extends {@link RequestModel} * * <p>DescribeRCSecurityGroupListRequest</p> */ public class DescribeRCSecurityGroupListRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") @com.aliyun.core.annotation.Validation(required = true) private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SecurityGroupId") private String securityGroupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("VpcId") private String vpcId; private DescribeRCSecurityGroupListRequest(Builder builder) { super(builder); this.regionId = builder.regionId; this.securityGroupId = builder.securityGroupId; this.vpcId = builder.vpcId; } public static Builder builder() { return new Builder(); } public static DescribeRCSecurityGroupListRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return securityGroupId */ public String getSecurityGroupId() { return this.securityGroupId; } /** * @return vpcId */ public String getVpcId() { return this.vpcId; } public static final class Builder extends Request.Builder<DescribeRCSecurityGroupListRequest, Builder> { private String regionId; private String securityGroupId; private String vpcId; private Builder() { super(); } private Builder(DescribeRCSecurityGroupListRequest request) { super(request); this.regionId = request.regionId; this.securityGroupId = request.securityGroupId; this.vpcId = request.vpcId; } /** * <p>This parameter is required.</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * SecurityGroupId. */ public Builder securityGroupId(String securityGroupId) { this.putQueryParameter("SecurityGroupId", securityGroupId); this.securityGroupId = securityGroupId; return this; } /** * VpcId. */ public Builder vpcId(String vpcId) { this.putQueryParameter("VpcId", vpcId); this.vpcId = vpcId; return this; } @Override public DescribeRCSecurityGroupListRequest build() { return new DescribeRCSecurityGroupListRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCSecurityGroupListResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCSecurityGroupListResponse} extends {@link TeaModel} * * <p>DescribeRCSecurityGroupListResponse</p> */ public class DescribeRCSecurityGroupListResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeRCSecurityGroupListResponseBody body; private DescribeRCSecurityGroupListResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeRCSecurityGroupListResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeRCSecurityGroupListResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeRCSecurityGroupListResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeRCSecurityGroupListResponseBody body); @Override DescribeRCSecurityGroupListResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeRCSecurityGroupListResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeRCSecurityGroupListResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeRCSecurityGroupListResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeRCSecurityGroupListResponseBody body) { this.body = body; return this; } @Override public DescribeRCSecurityGroupListResponse build() { return new DescribeRCSecurityGroupListResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCSecurityGroupListResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCSecurityGroupListResponseBody} extends {@link TeaModel} * * <p>DescribeRCSecurityGroupListResponseBody</p> */ public class DescribeRCSecurityGroupListResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RCSecurityGroups") private java.util.List<RCSecurityGroups> RCSecurityGroups; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeRCSecurityGroupListResponseBody(Builder builder) { this.RCSecurityGroups = builder.RCSecurityGroups; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeRCSecurityGroupListResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return RCSecurityGroups */ public java.util.List<RCSecurityGroups> getRCSecurityGroups() { return this.RCSecurityGroups; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<RCSecurityGroups> RCSecurityGroups; private String requestId; private Builder() { } private Builder(DescribeRCSecurityGroupListResponseBody model) { this.RCSecurityGroups = model.RCSecurityGroups; this.requestId = model.requestId; } /** * RCSecurityGroups. */ public Builder RCSecurityGroups(java.util.List<RCSecurityGroups> RCSecurityGroups) { this.RCSecurityGroups = RCSecurityGroups; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeRCSecurityGroupListResponseBody build() { return new DescribeRCSecurityGroupListResponseBody(this); } } /** * * {@link DescribeRCSecurityGroupListResponseBody} extends {@link TeaModel} * * <p>DescribeRCSecurityGroupListResponseBody</p> */ public static class RCSecurityGroups extends TeaModel { @com.aliyun.core.annotation.NameInMap("AvailableInstanceAmount") private Integer availableInstanceAmount; @com.aliyun.core.annotation.NameInMap("CreationTime") private String creationTime; @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.NameInMap("InstanceCount") @com.aliyun.core.annotation.Validation(required = true) private Integer instanceCount; @com.aliyun.core.annotation.NameInMap("SecurityGroupId") private String securityGroupId; @com.aliyun.core.annotation.NameInMap("SecurityGroupType") private String securityGroupType; @com.aliyun.core.annotation.NameInMap("VpcId") private String vpcId; private RCSecurityGroups(Builder builder) { this.availableInstanceAmount = builder.availableInstanceAmount; this.creationTime = builder.creationTime; this.description = builder.description; this.instanceCount = builder.instanceCount; this.securityGroupId = builder.securityGroupId; this.securityGroupType = builder.securityGroupType; this.vpcId = builder.vpcId; } public static Builder builder() { return new Builder(); } public static RCSecurityGroups create() { return builder().build(); } /** * @return availableInstanceAmount */ public Integer getAvailableInstanceAmount() { return this.availableInstanceAmount; } /** * @return creationTime */ public String getCreationTime() { return this.creationTime; } /** * @return description */ public String getDescription() { return this.description; } /** * @return instanceCount */ public Integer getInstanceCount() { return this.instanceCount; } /** * @return securityGroupId */ public String getSecurityGroupId() { return this.securityGroupId; } /** * @return securityGroupType */ public String getSecurityGroupType() { return this.securityGroupType; } /** * @return vpcId */ public String getVpcId() { return this.vpcId; } public static final class Builder { private Integer availableInstanceAmount; private String creationTime; private String description; private Integer instanceCount; private String securityGroupId; private String securityGroupType; private String vpcId; private Builder() { } private Builder(RCSecurityGroups model) { this.availableInstanceAmount = model.availableInstanceAmount; this.creationTime = model.creationTime; this.description = model.description; this.instanceCount = model.instanceCount; this.securityGroupId = model.securityGroupId; this.securityGroupType = model.securityGroupType; this.vpcId = model.vpcId; } /** * AvailableInstanceAmount. */ public Builder availableInstanceAmount(Integer availableInstanceAmount) { this.availableInstanceAmount = availableInstanceAmount; return this; } /** * CreationTime. */ public Builder creationTime(String creationTime) { this.creationTime = creationTime; return this; } /** * Description. */ public Builder description(String description) { this.description = description; return this; } /** * <p>This parameter is required.</p> */ public Builder instanceCount(Integer instanceCount) { this.instanceCount = instanceCount; return this; } /** * SecurityGroupId. */ public Builder securityGroupId(String securityGroupId) { this.securityGroupId = securityGroupId; return this; } /** * SecurityGroupType. */ public Builder securityGroupType(String securityGroupType) { this.securityGroupType = securityGroupType; return this; } /** * VpcId. */ public Builder vpcId(String vpcId) { this.vpcId = vpcId; return this; } public RCSecurityGroups build() { return new RCSecurityGroups(this); } } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCSecurityGroupPermissionRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCSecurityGroupPermissionRequest} extends {@link RequestModel} * * <p>DescribeRCSecurityGroupPermissionRequest</p> */ public class DescribeRCSecurityGroupPermissionRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") @com.aliyun.core.annotation.Validation(required = true) private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SecurityGroupId") @com.aliyun.core.annotation.Validation(required = true) private String securityGroupId; private DescribeRCSecurityGroupPermissionRequest(Builder builder) { super(builder); this.regionId = builder.regionId; this.securityGroupId = builder.securityGroupId; } public static Builder builder() { return new Builder(); } public static DescribeRCSecurityGroupPermissionRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return securityGroupId */ public String getSecurityGroupId() { return this.securityGroupId; } public static final class Builder extends Request.Builder<DescribeRCSecurityGroupPermissionRequest, Builder> { private String regionId; private String securityGroupId; private Builder() { super(); } private Builder(DescribeRCSecurityGroupPermissionRequest request) { super(request); this.regionId = request.regionId; this.securityGroupId = request.securityGroupId; } /** * <p>This parameter is required.</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * <p>This parameter is required.</p> */ public Builder securityGroupId(String securityGroupId) { this.putQueryParameter("SecurityGroupId", securityGroupId); this.securityGroupId = securityGroupId; return this; } @Override public DescribeRCSecurityGroupPermissionRequest build() { return new DescribeRCSecurityGroupPermissionRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCSecurityGroupPermissionResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCSecurityGroupPermissionResponse} extends {@link TeaModel} * * <p>DescribeRCSecurityGroupPermissionResponse</p> */ public class DescribeRCSecurityGroupPermissionResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeRCSecurityGroupPermissionResponseBody body; private DescribeRCSecurityGroupPermissionResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeRCSecurityGroupPermissionResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeRCSecurityGroupPermissionResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeRCSecurityGroupPermissionResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeRCSecurityGroupPermissionResponseBody body); @Override DescribeRCSecurityGroupPermissionResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeRCSecurityGroupPermissionResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeRCSecurityGroupPermissionResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeRCSecurityGroupPermissionResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeRCSecurityGroupPermissionResponseBody body) { this.body = body; return this; } @Override public DescribeRCSecurityGroupPermissionResponse build() { return new DescribeRCSecurityGroupPermissionResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCSecurityGroupPermissionResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCSecurityGroupPermissionResponseBody} extends {@link TeaModel} * * <p>DescribeRCSecurityGroupPermissionResponseBody</p> */ public class DescribeRCSecurityGroupPermissionResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("InnerAccessPolicy") private String innerAccessPolicy; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("SecurityGroupId") private String securityGroupId; @com.aliyun.core.annotation.NameInMap("SecurityGroupPermissions") private java.util.List<SecurityGroupPermissions> securityGroupPermissions; @com.aliyun.core.annotation.NameInMap("VpcId") private String vpcId; private DescribeRCSecurityGroupPermissionResponseBody(Builder builder) { this.innerAccessPolicy = builder.innerAccessPolicy; this.regionId = builder.regionId; this.requestId = builder.requestId; this.securityGroupId = builder.securityGroupId; this.securityGroupPermissions = builder.securityGroupPermissions; this.vpcId = builder.vpcId; } public static Builder builder() { return new Builder(); } public static DescribeRCSecurityGroupPermissionResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return innerAccessPolicy */ public String getInnerAccessPolicy() { return this.innerAccessPolicy; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return securityGroupId */ public String getSecurityGroupId() { return this.securityGroupId; } /** * @return securityGroupPermissions */ public java.util.List<SecurityGroupPermissions> getSecurityGroupPermissions() { return this.securityGroupPermissions; } /** * @return vpcId */ public String getVpcId() { return this.vpcId; } public static final class Builder { private String innerAccessPolicy; private String regionId; private String requestId; private String securityGroupId; private java.util.List<SecurityGroupPermissions> securityGroupPermissions; private String vpcId; private Builder() { } private Builder(DescribeRCSecurityGroupPermissionResponseBody model) { this.innerAccessPolicy = model.innerAccessPolicy; this.regionId = model.regionId; this.requestId = model.requestId; this.securityGroupId = model.securityGroupId; this.securityGroupPermissions = model.securityGroupPermissions; this.vpcId = model.vpcId; } /** * InnerAccessPolicy. */ public Builder innerAccessPolicy(String innerAccessPolicy) { this.innerAccessPolicy = innerAccessPolicy; return this; } /** * RegionId. */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * SecurityGroupId. */ public Builder securityGroupId(String securityGroupId) { this.securityGroupId = securityGroupId; return this; } /** * SecurityGroupPermissions. */ public Builder securityGroupPermissions(java.util.List<SecurityGroupPermissions> securityGroupPermissions) { this.securityGroupPermissions = securityGroupPermissions; return this; } /** * VpcId. */ public Builder vpcId(String vpcId) { this.vpcId = vpcId; return this; } public DescribeRCSecurityGroupPermissionResponseBody build() { return new DescribeRCSecurityGroupPermissionResponseBody(this); } } /** * * {@link DescribeRCSecurityGroupPermissionResponseBody} extends {@link TeaModel} * * <p>DescribeRCSecurityGroupPermissionResponseBody</p> */ public static class SecurityGroupPermissions extends TeaModel { @com.aliyun.core.annotation.NameInMap("CreateTime") private String createTime; @com.aliyun.core.annotation.NameInMap("DestCidrIp") private String destCidrIp; @com.aliyun.core.annotation.NameInMap("Direction") private String direction; @com.aliyun.core.annotation.NameInMap("IpProtocol") private String ipProtocol; @com.aliyun.core.annotation.NameInMap("Policy") private String policy; @com.aliyun.core.annotation.NameInMap("PortRange") private String portRange; @com.aliyun.core.annotation.NameInMap("Priority") private String priority; @com.aliyun.core.annotation.NameInMap("SecurityGroupRuleId") private String securityGroupRuleId; @com.aliyun.core.annotation.NameInMap("SourceCidrIp") private String sourceCidrIp; @com.aliyun.core.annotation.NameInMap("SourcePortRange") private String sourcePortRange; private SecurityGroupPermissions(Builder builder) { this.createTime = builder.createTime; this.destCidrIp = builder.destCidrIp; this.direction = builder.direction; this.ipProtocol = builder.ipProtocol; this.policy = builder.policy; this.portRange = builder.portRange; this.priority = builder.priority; this.securityGroupRuleId = builder.securityGroupRuleId; this.sourceCidrIp = builder.sourceCidrIp; this.sourcePortRange = builder.sourcePortRange; } public static Builder builder() { return new Builder(); } public static SecurityGroupPermissions create() { return builder().build(); } /** * @return createTime */ public String getCreateTime() { return this.createTime; } /** * @return destCidrIp */ public String getDestCidrIp() { return this.destCidrIp; } /** * @return direction */ public String getDirection() { return this.direction; } /** * @return ipProtocol */ public String getIpProtocol() { return this.ipProtocol; } /** * @return policy */ public String getPolicy() { return this.policy; } /** * @return portRange */ public String getPortRange() { return this.portRange; } /** * @return priority */ public String getPriority() { return this.priority; } /** * @return securityGroupRuleId */ public String getSecurityGroupRuleId() { return this.securityGroupRuleId; } /** * @return sourceCidrIp */ public String getSourceCidrIp() { return this.sourceCidrIp; } /** * @return sourcePortRange */ public String getSourcePortRange() { return this.sourcePortRange; } public static final class Builder { private String createTime; private String destCidrIp; private String direction; private String ipProtocol; private String policy; private String portRange; private String priority; private String securityGroupRuleId; private String sourceCidrIp; private String sourcePortRange; private Builder() { } private Builder(SecurityGroupPermissions model) { this.createTime = model.createTime; this.destCidrIp = model.destCidrIp; this.direction = model.direction; this.ipProtocol = model.ipProtocol; this.policy = model.policy; this.portRange = model.portRange; this.priority = model.priority; this.securityGroupRuleId = model.securityGroupRuleId; this.sourceCidrIp = model.sourceCidrIp; this.sourcePortRange = model.sourcePortRange; } /** * CreateTime. */ public Builder createTime(String createTime) { this.createTime = createTime; return this; } /** * DestCidrIp. */ public Builder destCidrIp(String destCidrIp) { this.destCidrIp = destCidrIp; return this; } /** * Direction. */ public Builder direction(String direction) { this.direction = direction; return this; } /** * IpProtocol. */ public Builder ipProtocol(String ipProtocol) { this.ipProtocol = ipProtocol; return this; } /** * Policy. */ public Builder policy(String policy) { this.policy = policy; return this; } /** * PortRange. */ public Builder portRange(String portRange) { this.portRange = portRange; return this; } /** * Priority. */ public Builder priority(String priority) { this.priority = priority; return this; } /** * SecurityGroupRuleId. */ public Builder securityGroupRuleId(String securityGroupRuleId) { this.securityGroupRuleId = securityGroupRuleId; return this; } /** * SourceCidrIp. */ public Builder sourceCidrIp(String sourceCidrIp) { this.sourceCidrIp = sourceCidrIp; return this; } /** * SourcePortRange. */ public Builder sourcePortRange(String sourcePortRange) { this.sourcePortRange = sourcePortRange; return this; } public SecurityGroupPermissions build() { return new SecurityGroupPermissions(this); } } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCSnapshotsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCSnapshotsRequest} extends {@link RequestModel} * * <p>DescribeRCSnapshotsRequest</p> */ public class DescribeRCSnapshotsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DiskId") private String diskId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageNumber") private Long pageNumber; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") @com.aliyun.core.annotation.Validation(maximum = 50, minimum = 1) private Long pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") @com.aliyun.core.annotation.Validation(required = true) private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SnapshotIds") private String snapshotIds; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Tag") private java.util.List<Tag> tag; private DescribeRCSnapshotsRequest(Builder builder) { super(builder); this.diskId = builder.diskId; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.regionId = builder.regionId; this.snapshotIds = builder.snapshotIds; this.tag = builder.tag; } public static Builder builder() { return new Builder(); } public static DescribeRCSnapshotsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return diskId */ public String getDiskId() { return this.diskId; } /** * @return pageNumber */ public Long getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Long getPageSize() { return this.pageSize; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return snapshotIds */ public String getSnapshotIds() { return this.snapshotIds; } /** * @return tag */ public java.util.List<Tag> getTag() { return this.tag; } public static final class Builder extends Request.Builder<DescribeRCSnapshotsRequest, Builder> { private String diskId; private Long pageNumber; private Long pageSize; private String regionId; private String snapshotIds; private java.util.List<Tag> tag; private Builder() { super(); } private Builder(DescribeRCSnapshotsRequest request) { super(request); this.diskId = request.diskId; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.regionId = request.regionId; this.snapshotIds = request.snapshotIds; this.tag = request.tag; } /** * <p>The cloud disk ID.</p> * * <strong>example:</strong> * <p>rcd-wz9c8isqly8637zw****</p> */ public Builder diskId(String diskId) { this.putQueryParameter("DiskId", diskId); this.diskId = diskId; return this; } /** * <p>The page number.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageNumber(Long pageNumber) { this.putQueryParameter("PageNumber", pageNumber); this.pageNumber = pageNumber; return this; } /** * <p>The number of entries per page. Valid values: <strong>30</strong> to <strong>100</strong>. Default value: <strong>30</strong>.</p> * * <strong>example:</strong> * <p>30</p> */ public Builder pageSize(Long pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The region ID. You can call the DescribeRegions operation to query the most recent region list.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * <p>The snapshot IDs.</p> * <p>You can specify a maximum of 100 IDs. Separate multiple IDs with commas (,).</p> * * <strong>example:</strong> * <p>[&quot;rcds-bp67acfmxazb4p****&quot;, &quot;rcds-bp67acfmxazb5p****&quot;, … &quot;rcds-bp67acfmxazb6p****&quot;]</p> */ public Builder snapshotIds(String snapshotIds) { this.putQueryParameter("SnapshotIds", snapshotIds); this.snapshotIds = snapshotIds; return this; } /** * Tag. */ public Builder tag(java.util.List<Tag> tag) { this.putQueryParameter("Tag", tag); this.tag = tag; return this; } @Override public DescribeRCSnapshotsRequest build() { return new DescribeRCSnapshotsRequest(this); } } /** * * {@link DescribeRCSnapshotsRequest} extends {@link TeaModel} * * <p>DescribeRCSnapshotsRequest</p> */ public static class Tag extends TeaModel { @com.aliyun.core.annotation.NameInMap("Key") private String key; @com.aliyun.core.annotation.NameInMap("Value") private String value; private Tag(Builder builder) { this.key = builder.key; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static Tag create() { return builder().build(); } /** * @return key */ public String getKey() { return this.key; } /** * @return value */ public String getValue() { return this.value; } public static final class Builder { private String key; private String value; private Builder() { } private Builder(Tag model) { this.key = model.key; this.value = model.value; } /** * Key. */ public Builder key(String key) { this.key = key; return this; } /** * Value. */ public Builder value(String value) { this.value = value; return this; } public Tag build() { return new Tag(this); } } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCSnapshotsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCSnapshotsResponse} extends {@link TeaModel} * * <p>DescribeRCSnapshotsResponse</p> */ public class DescribeRCSnapshotsResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeRCSnapshotsResponseBody body; private DescribeRCSnapshotsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeRCSnapshotsResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeRCSnapshotsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeRCSnapshotsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeRCSnapshotsResponseBody body); @Override DescribeRCSnapshotsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeRCSnapshotsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeRCSnapshotsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeRCSnapshotsResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeRCSnapshotsResponseBody body) { this.body = body; return this; } @Override public DescribeRCSnapshotsResponse build() { return new DescribeRCSnapshotsResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCSnapshotsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCSnapshotsResponseBody} extends {@link TeaModel} * * <p>DescribeRCSnapshotsResponseBody</p> */ public class DescribeRCSnapshotsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("PageNumber") private Long pageNumber; @com.aliyun.core.annotation.NameInMap("PageSize") private Long pageSize; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Snapshots") private java.util.List<Snapshots> snapshots; @com.aliyun.core.annotation.NameInMap("TotalCount") private Long totalCount; private DescribeRCSnapshotsResponseBody(Builder builder) { this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.requestId = builder.requestId; this.snapshots = builder.snapshots; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static DescribeRCSnapshotsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return pageNumber */ public Long getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Long getPageSize() { return this.pageSize; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return snapshots */ public java.util.List<Snapshots> getSnapshots() { return this.snapshots; } /** * @return totalCount */ public Long getTotalCount() { return this.totalCount; } public static final class Builder { private Long pageNumber; private Long pageSize; private String requestId; private java.util.List<Snapshots> snapshots; private Long totalCount; private Builder() { } private Builder(DescribeRCSnapshotsResponseBody model) { this.pageNumber = model.pageNumber; this.pageSize = model.pageSize; this.requestId = model.requestId; this.snapshots = model.snapshots; this.totalCount = model.totalCount; } /** * <p>The page number.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageNumber(Long pageNumber) { this.pageNumber = pageNumber; return this; } /** * <p>The number of entries returned per page.</p> * * <strong>example:</strong> * <p>30</p> */ public Builder pageSize(Long pageSize) { this.pageSize = pageSize; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>9DAC759A-F4F0-5D02-8335-BC458C0CCB94</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The details of snapshots.</p> */ public Builder snapshots(java.util.List<Snapshots> snapshots) { this.snapshots = snapshots; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>7</p> */ public Builder totalCount(Long totalCount) { this.totalCount = totalCount; return this; } public DescribeRCSnapshotsResponseBody build() { return new DescribeRCSnapshotsResponseBody(this); } } /** * * {@link DescribeRCSnapshotsResponseBody} extends {@link TeaModel} * * <p>DescribeRCSnapshotsResponseBody</p> */ public static class Tag extends TeaModel { @com.aliyun.core.annotation.NameInMap("TagKey") private String tagKey; @com.aliyun.core.annotation.NameInMap("TagValue") private String tagValue; private Tag(Builder builder) { this.tagKey = builder.tagKey; this.tagValue = builder.tagValue; } public static Builder builder() { return new Builder(); } public static Tag create() { return builder().build(); } /** * @return tagKey */ public String getTagKey() { return this.tagKey; } /** * @return tagValue */ public String getTagValue() { return this.tagValue; } public static final class Builder { private String tagKey; private String tagValue; private Builder() { } private Builder(Tag model) { this.tagKey = model.tagKey; this.tagValue = model.tagValue; } /** * TagKey. */ public Builder tagKey(String tagKey) { this.tagKey = tagKey; return this; } /** * TagValue. */ public Builder tagValue(String tagValue) { this.tagValue = tagValue; return this; } public Tag build() { return new Tag(this); } } } /** * * {@link DescribeRCSnapshotsResponseBody} extends {@link TeaModel} * * <p>DescribeRCSnapshotsResponseBody</p> */ public static class Snapshots extends TeaModel { @com.aliyun.core.annotation.NameInMap("Available") private Boolean available; @com.aliyun.core.annotation.NameInMap("Category") private String category; @com.aliyun.core.annotation.NameInMap("CreationTime") private String creationTime; @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.NameInMap("Encrypted") private Boolean encrypted; @com.aliyun.core.annotation.NameInMap("InstantAccess") private Boolean instantAccess; @com.aliyun.core.annotation.NameInMap("Progress") private String progress; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("ResourceGroupId") private String resourceGroupId; @com.aliyun.core.annotation.NameInMap("SnapshotId") private String snapshotId; @com.aliyun.core.annotation.NameInMap("SnapshotName") private String snapshotName; @com.aliyun.core.annotation.NameInMap("SnapshotType") private String snapshotType; @com.aliyun.core.annotation.NameInMap("SourceDiskId") private String sourceDiskId; @com.aliyun.core.annotation.NameInMap("SourceDiskSize") private Long sourceDiskSize; @com.aliyun.core.annotation.NameInMap("SourceDiskType") private String sourceDiskType; @com.aliyun.core.annotation.NameInMap("SourceStorageType") private String sourceStorageType; @com.aliyun.core.annotation.NameInMap("Status") private String status; @com.aliyun.core.annotation.NameInMap("Tag") private java.util.List<Tag> tag; @com.aliyun.core.annotation.NameInMap("Usage") private String usage; private Snapshots(Builder builder) { this.available = builder.available; this.category = builder.category; this.creationTime = builder.creationTime; this.description = builder.description; this.encrypted = builder.encrypted; this.instantAccess = builder.instantAccess; this.progress = builder.progress; this.regionId = builder.regionId; this.resourceGroupId = builder.resourceGroupId; this.snapshotId = builder.snapshotId; this.snapshotName = builder.snapshotName; this.snapshotType = builder.snapshotType; this.sourceDiskId = builder.sourceDiskId; this.sourceDiskSize = builder.sourceDiskSize; this.sourceDiskType = builder.sourceDiskType; this.sourceStorageType = builder.sourceStorageType; this.status = builder.status; this.tag = builder.tag; this.usage = builder.usage; } public static Builder builder() { return new Builder(); } public static Snapshots create() { return builder().build(); } /** * @return available */ public Boolean getAvailable() { return this.available; } /** * @return category */ public String getCategory() { return this.category; } /** * @return creationTime */ public String getCreationTime() { return this.creationTime; } /** * @return description */ public String getDescription() { return this.description; } /** * @return encrypted */ public Boolean getEncrypted() { return this.encrypted; } /** * @return instantAccess */ public Boolean getInstantAccess() { return this.instantAccess; } /** * @return progress */ public String getProgress() { return this.progress; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return resourceGroupId */ public String getResourceGroupId() { return this.resourceGroupId; } /** * @return snapshotId */ public String getSnapshotId() { return this.snapshotId; } /** * @return snapshotName */ public String getSnapshotName() { return this.snapshotName; } /** * @return snapshotType */ public String getSnapshotType() { return this.snapshotType; } /** * @return sourceDiskId */ public String getSourceDiskId() { return this.sourceDiskId; } /** * @return sourceDiskSize */ public Long getSourceDiskSize() { return this.sourceDiskSize; } /** * @return sourceDiskType */ public String getSourceDiskType() { return this.sourceDiskType; } /** * @return sourceStorageType */ public String getSourceStorageType() { return this.sourceStorageType; } /** * @return status */ public String getStatus() { return this.status; } /** * @return tag */ public java.util.List<Tag> getTag() { return this.tag; } /** * @return usage */ public String getUsage() { return this.usage; } public static final class Builder { private Boolean available; private String category; private String creationTime; private String description; private Boolean encrypted; private Boolean instantAccess; private String progress; private String regionId; private String resourceGroupId; private String snapshotId; private String snapshotName; private String snapshotType; private String sourceDiskId; private Long sourceDiskSize; private String sourceDiskType; private String sourceStorageType; private String status; private java.util.List<Tag> tag; private String usage; private Builder() { } private Builder(Snapshots model) { this.available = model.available; this.category = model.category; this.creationTime = model.creationTime; this.description = model.description; this.encrypted = model.encrypted; this.instantAccess = model.instantAccess; this.progress = model.progress; this.regionId = model.regionId; this.resourceGroupId = model.resourceGroupId; this.snapshotId = model.snapshotId; this.snapshotName = model.snapshotName; this.snapshotType = model.snapshotType; this.sourceDiskId = model.sourceDiskId; this.sourceDiskSize = model.sourceDiskSize; this.sourceDiskType = model.sourceDiskType; this.sourceStorageType = model.sourceStorageType; this.status = model.status; this.tag = model.tag; this.usage = model.usage; } /** * <p>Indicates whether the snapshot can be shared and used to create or roll back a cloud disk. Valid values:</p> * <ul> * <li>true</li> * <li>false</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder available(Boolean available) { this.available = available; return this; } /** * <p>The snapshot type. Valid values:</p> * <ul> * <li>Standard: standard snapshot</li> * <li>Flash: local snapshot This value will be deprecated. The local snapshot feature is replaced with the instant access feature.</li> * <li>archive: archived snapshot</li> * </ul> * * <strong>example:</strong> * <p>Standard</p> */ public Builder category(String category) { this.category = category; return this; } /** * <p>The creation time. The time follows the <a href="https://help.aliyun.com/document_detail/25696.html">ISO 8601</a> standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.</p> * * <strong>example:</strong> * <p>2024-10-18T09:37:14Z</p> */ public Builder creationTime(String creationTime) { this.creationTime = creationTime; return this; } /** * <p>The snapshot description.</p> * * <strong>example:</strong> * <p>zd_test</p> */ public Builder description(String description) { this.description = description; return this; } /** * <p>Indicates whether the snapshot was encrypted. Valid values:</p> * <ul> * <li>true</li> * <li>false</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder encrypted(Boolean encrypted) { this.encrypted = encrypted; return this; } /** * <p>This parameter is deprecated.</p> * * <strong>example:</strong> * <p>none</p> */ public Builder instantAccess(Boolean instantAccess) { this.instantAccess = instantAccess; return this; } /** * <p>The progress of the snapshot creation task in percentage.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder progress(String progress) { this.progress = progress; return this; } /** * <p>The region ID.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * ResourceGroupId. */ public Builder resourceGroupId(String resourceGroupId) { this.resourceGroupId = resourceGroupId; return this; } /** * <p>The snapshot ID.</p> * * <strong>example:</strong> * <p>rcds-hc1zg51xobdg4****</p> */ public Builder snapshotId(String snapshotId) { this.snapshotId = snapshotId; return this; } /** * <p>The snapshot name.</p> * * <strong>example:</strong> * <p>s-2ze8klip00xcogcwer76</p> */ public Builder snapshotName(String snapshotName) { this.snapshotName = snapshotName; return this; } /** * <p>The snapshot type. Valid values:</p> * <ul> * <li>auto or timer: automatically created snapshot</li> * <li>user: manually created snapshot</li> * <li>all: all snapshot types</li> * </ul> * * <strong>example:</strong> * <p>auto</p> */ public Builder snapshotType(String snapshotType) { this.snapshotType = snapshotType; return this; } /** * <p>The ID of the original disk. This parameter is retained even after the original disk for which the snapshot was created is released.</p> * * <strong>example:</strong> * <p>rcd-bp67acfmxazb4ph****</p> */ public Builder sourceDiskId(String sourceDiskId) { this.sourceDiskId = sourceDiskId; return this; } /** * <p>The storage capacity of the original disk. Unit: GiB.</p> * * <strong>example:</strong> * <p>60</p> */ public Builder sourceDiskSize(Long sourceDiskSize) { this.sourceDiskSize = sourceDiskSize; return this; } /** * <p>The type of the original disk. Valid values:</p> * <ul> * <li>SYSTEM: system disk</li> * <li>DATA: data disk</li> * </ul> * * <strong>example:</strong> * <p>data</p> */ public Builder sourceDiskType(String sourceDiskType) { this.sourceDiskType = sourceDiskType; return this; } /** * <p>The type of the source disk.</p> * <blockquote> * <p> This parameter will be removed in the future. To ensure future compatibility, we recommend that you use other parameters.</p> * </blockquote> * * <strong>example:</strong> * <p>disk</p> */ public Builder sourceStorageType(String sourceStorageType) { this.sourceStorageType = sourceStorageType; return this; } /** * <p>The snapshot status. Valid values:</p> * <ul> * <li>progressing: The snapshot is being created.</li> * <li>accomplished: The snapshot is created.</li> * <li>failed: The snapshot fails to be created.</li> * </ul> * * <strong>example:</strong> * <p>progressing</p> */ public Builder status(String status) { this.status = status; return this; } /** * Tag. */ public Builder tag(java.util.List<Tag> tag) { this.tag = tag; return this; } /** * <p>Indicates whether the snapshot is used to create custom images or disks. Valid values:</p> * <ul> * <li>image: The snapshot is used to create custom images.</li> * <li>disk: The snapshot is used to create disks.</li> * <li>image_disk: The snapshot is used to create custom images and data disks.</li> * <li>none: The snapshot is not used to create custom images or disks.</li> * </ul> * * <strong>example:</strong> * <p>none</p> */ public Builder usage(String usage) { this.usage = usage; return this; } public Snapshots build() { return new Snapshots(this); } } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCVClusterRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCVClusterRequest} extends {@link RequestModel} * * <p>DescribeRCVClusterRequest</p> */ public class DescribeRCVClusterRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ClusterId") @com.aliyun.core.annotation.Validation(required = true) private String clusterId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") @com.aliyun.core.annotation.Validation(required = true) private String regionId; private DescribeRCVClusterRequest(Builder builder) { super(builder); this.clusterId = builder.clusterId; this.regionId = builder.regionId; } public static Builder builder() { return new Builder(); } public static DescribeRCVClusterRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return clusterId */ public String getClusterId() { return this.clusterId; } /** * @return regionId */ public String getRegionId() { return this.regionId; } public static final class Builder extends Request.Builder<DescribeRCVClusterRequest, Builder> { private String clusterId; private String regionId; private Builder() { super(); } private Builder(DescribeRCVClusterRequest request) { super(request); this.clusterId = request.clusterId; this.regionId = request.regionId; } /** * <p>This parameter is required.</p> */ public Builder clusterId(String clusterId) { this.putQueryParameter("ClusterId", clusterId); this.clusterId = clusterId; return this; } /** * <p>This parameter is required.</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } @Override public DescribeRCVClusterRequest build() { return new DescribeRCVClusterRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCVClusterResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCVClusterResponse} extends {@link TeaModel} * * <p>DescribeRCVClusterResponse</p> */ public class DescribeRCVClusterResponse extends Response { @com.aliyun.core.annotation.NameInMap("headers") private java.util.Map<String, String> headers; @com.aliyun.core.annotation.NameInMap("statusCode") private Integer statusCode; @com.aliyun.core.annotation.NameInMap("body") private DescribeRCVClusterResponseBody body; private DescribeRCVClusterResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeRCVClusterResponse create() { return new BuilderImpl().build(); } @Override public Builder toBuilder() { return new BuilderImpl(this); } /** * @return headers */ public java.util.Map<String, String> getHeaders() { return this.headers; } /** * @return statusCode */ public Integer getStatusCode() { return this.statusCode; } /** * @return body */ public DescribeRCVClusterResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeRCVClusterResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeRCVClusterResponseBody body); @Override DescribeRCVClusterResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeRCVClusterResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeRCVClusterResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeRCVClusterResponse response) { super(response); this.headers = response.headers; this.statusCode = response.statusCode; this.body = response.body; } /** * headers. */ @Override public Builder headers(java.util.Map<String, String> headers) { this.headers = headers; return this; } /** * statusCode. */ @Override public Builder statusCode(Integer statusCode) { this.statusCode = statusCode; return this; } /** * body. */ @Override public Builder body(DescribeRCVClusterResponseBody body) { this.body = body; return this; } @Override public DescribeRCVClusterResponse build() { return new DescribeRCVClusterResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815
java-sources/com/aliyun/alibabacloud-rds20140815/11.0.0/com/aliyun/sdk/service/rds20140815/models/DescribeRCVClusterResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.rds20140815.models; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * * {@link DescribeRCVClusterResponseBody} extends {@link TeaModel} * * <p>DescribeRCVClusterResponseBody</p> */ public class DescribeRCVClusterResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("VClusterStatus") private String vClusterStatus; private DescribeRCVClusterResponseBody(Builder builder) { this.requestId = builder.requestId; this.vClusterStatus = builder.vClusterStatus; } public static Builder builder() { return new Builder(); } public static DescribeRCVClusterResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return vClusterStatus */ public String getVClusterStatus() { return this.vClusterStatus; } public static final class Builder { private String requestId; private String vClusterStatus; private Builder() { } private Builder(DescribeRCVClusterResponseBody model) { this.requestId = model.requestId; this.vClusterStatus = model.vClusterStatus; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * VClusterStatus. */ public Builder vClusterStatus(String vClusterStatus) { this.vClusterStatus = vClusterStatus; return this; } public DescribeRCVClusterResponseBody build() { return new DescribeRCVClusterResponseBody(this); } } }