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/DescribeDBInstancesResponse.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 DescribeDBInstancesResponse} extends {@link TeaModel} * * <p>DescribeDBInstancesResponse</p> */ public class DescribeDBInstancesResponse 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 DescribeDBInstancesResponseBody body; private DescribeDBInstancesResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeDBInstancesResponse 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 DescribeDBInstancesResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeDBInstancesResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeDBInstancesResponseBody body); @Override DescribeDBInstancesResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeDBInstancesResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeDBInstancesResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeDBInstancesResponse 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(DescribeDBInstancesResponseBody body) { this.body = body; return this; } @Override public DescribeDBInstancesResponse build() { return new DescribeDBInstancesResponse(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/DescribeDBInstancesResponseBody.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 DescribeDBInstancesResponseBody} extends {@link TeaModel} * * <p>DescribeDBInstancesResponseBody</p> */ public class DescribeDBInstancesResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Items") private Items items; @com.aliyun.core.annotation.NameInMap("NextToken") private String nextToken; @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 DescribeDBInstancesResponseBody(Builder builder) { this.items = builder.items; this.nextToken = builder.nextToken; 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 DescribeDBInstancesResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return items */ public Items getItems() { return this.items; } /** * @return nextToken */ public String getNextToken() { return this.nextToken; } /** * @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 Items items; private String nextToken; private Integer pageNumber; private Integer pageRecordCount; private String requestId; private Integer totalRecordCount; private Builder() { } private Builder(DescribeDBInstancesResponseBody model) { this.items = model.items; this.nextToken = model.nextToken; this.pageNumber = model.pageNumber; this.pageRecordCount = model.pageRecordCount; this.requestId = model.requestId; this.totalRecordCount = model.totalRecordCount; } /** * <p>The information about the instances.</p> */ public Builder items(Items items) { this.items = items; return this; } /** * <p>The token that is used to display the next page. If the returned entries are displayed on multiple pages, the next page can be displayed when you call this operation again with <strong>NextToken</strong> specified.</p> * * <strong>example:</strong> * <p>o7PORW5o2TJg**********</p> */ public Builder nextToken(String nextToken) { this.nextToken = nextToken; return this; } /** * <p>The page number of the returned page.</p> * <blockquote> * <p>If you specify <strong>MaxResults</strong> or <strong>NextToken</strong>, only the value <strong>1</strong> is returned. You can ignore the value 1.</p> * </blockquote> * * <strong>example:</strong> * <p>1</p> */ public Builder pageNumber(Integer pageNumber) { this.pageNumber = pageNumber; return this; } /** * <p>The number of entries returned on the current 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>1AD222E9-E606-4A42-BF6D-8A4442913CEF</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The total number of entries returned.</p> * <blockquote> * <p>If you specify <strong>MaxResults</strong> or <strong>NextToken</strong>, only the number of entries on the current page is returned. You can ignore the number.</p> * </blockquote> * * <strong>example:</strong> * <p>100</p> */ public Builder totalRecordCount(Integer totalRecordCount) { this.totalRecordCount = totalRecordCount; return this; } public DescribeDBInstancesResponseBody build() { return new DescribeDBInstancesResponseBody(this); } } /** * * {@link DescribeDBInstancesResponseBody} extends {@link TeaModel} * * <p>DescribeDBInstancesResponseBody</p> */ public static class ReadOnlyDBInstanceId extends TeaModel { @com.aliyun.core.annotation.NameInMap("DBInstanceId") private String DBInstanceId; private ReadOnlyDBInstanceId(Builder builder) { this.DBInstanceId = builder.DBInstanceId; } public static Builder builder() { return new Builder(); } public static ReadOnlyDBInstanceId create() { return builder().build(); } /** * @return DBInstanceId */ public String getDBInstanceId() { return this.DBInstanceId; } public static final class Builder { private String DBInstanceId; private Builder() { } private Builder(ReadOnlyDBInstanceId model) { this.DBInstanceId = model.DBInstanceId; } /** * <p>The read-only instance ID.</p> * * <strong>example:</strong> * <p>rr-uf6wjk5xxxxxxx</p> */ public Builder DBInstanceId(String DBInstanceId) { this.DBInstanceId = DBInstanceId; return this; } public ReadOnlyDBInstanceId build() { return new ReadOnlyDBInstanceId(this); } } } /** * * {@link DescribeDBInstancesResponseBody} extends {@link TeaModel} * * <p>DescribeDBInstancesResponseBody</p> */ public static class ReadOnlyDBInstanceIds extends TeaModel { @com.aliyun.core.annotation.NameInMap("ReadOnlyDBInstanceId") private java.util.List<ReadOnlyDBInstanceId> readOnlyDBInstanceId; private ReadOnlyDBInstanceIds(Builder builder) { this.readOnlyDBInstanceId = builder.readOnlyDBInstanceId; } public static Builder builder() { return new Builder(); } public static ReadOnlyDBInstanceIds create() { return builder().build(); } /** * @return readOnlyDBInstanceId */ public java.util.List<ReadOnlyDBInstanceId> getReadOnlyDBInstanceId() { return this.readOnlyDBInstanceId; } public static final class Builder { private java.util.List<ReadOnlyDBInstanceId> readOnlyDBInstanceId; private Builder() { } private Builder(ReadOnlyDBInstanceIds model) { this.readOnlyDBInstanceId = model.readOnlyDBInstanceId; } /** * ReadOnlyDBInstanceId. */ public Builder readOnlyDBInstanceId(java.util.List<ReadOnlyDBInstanceId> readOnlyDBInstanceId) { this.readOnlyDBInstanceId = readOnlyDBInstanceId; return this; } public ReadOnlyDBInstanceIds build() { return new ReadOnlyDBInstanceIds(this); } } } /** * * {@link DescribeDBInstancesResponseBody} extends {@link TeaModel} * * <p>DescribeDBInstancesResponseBody</p> */ public static class DBInstance extends TeaModel { @com.aliyun.core.annotation.NameInMap("AutoRenewal") private Boolean autoRenewal; @com.aliyun.core.annotation.NameInMap("BlueGreenDeploymentName") private String blueGreenDeploymentName; @com.aliyun.core.annotation.NameInMap("BlueInstanceName") private String blueInstanceName; @com.aliyun.core.annotation.NameInMap("BpeEnabled") private String bpeEnabled; @com.aliyun.core.annotation.NameInMap("BurstingEnabled") private Boolean burstingEnabled; @com.aliyun.core.annotation.NameInMap("Category") private String category; @com.aliyun.core.annotation.NameInMap("ColdDataEnabled") private Boolean coldDataEnabled; @com.aliyun.core.annotation.NameInMap("ConnectionMode") private String connectionMode; @com.aliyun.core.annotation.NameInMap("ConnectionString") private String connectionString; @com.aliyun.core.annotation.NameInMap("CreateTime") private String createTime; @com.aliyun.core.annotation.NameInMap("DBInstanceCPU") private String DBInstanceCPU; @com.aliyun.core.annotation.NameInMap("DBInstanceClass") private String DBInstanceClass; @com.aliyun.core.annotation.NameInMap("DBInstanceDescription") private String DBInstanceDescription; @com.aliyun.core.annotation.NameInMap("DBInstanceId") private String DBInstanceId; @com.aliyun.core.annotation.NameInMap("DBInstanceMemory") private Integer DBInstanceMemory; @com.aliyun.core.annotation.NameInMap("DBInstanceNetType") private String DBInstanceNetType; @com.aliyun.core.annotation.NameInMap("DBInstanceStatus") private String DBInstanceStatus; @com.aliyun.core.annotation.NameInMap("DBInstanceStorageType") private String DBInstanceStorageType; @com.aliyun.core.annotation.NameInMap("DBInstanceType") private String DBInstanceType; @com.aliyun.core.annotation.NameInMap("DedicatedHostGroupId") private String dedicatedHostGroupId; @com.aliyun.core.annotation.NameInMap("DedicatedHostGroupName") private String dedicatedHostGroupName; @com.aliyun.core.annotation.NameInMap("DedicatedHostIdForLog") private String dedicatedHostIdForLog; @com.aliyun.core.annotation.NameInMap("DedicatedHostIdForMaster") private String dedicatedHostIdForMaster; @com.aliyun.core.annotation.NameInMap("DedicatedHostIdForSlave") private String dedicatedHostIdForSlave; @com.aliyun.core.annotation.NameInMap("DedicatedHostNameForLog") private String dedicatedHostNameForLog; @com.aliyun.core.annotation.NameInMap("DedicatedHostNameForMaster") private String dedicatedHostNameForMaster; @com.aliyun.core.annotation.NameInMap("DedicatedHostNameForSlave") private String dedicatedHostNameForSlave; @com.aliyun.core.annotation.NameInMap("DedicatedHostZoneIdForLog") private String dedicatedHostZoneIdForLog; @com.aliyun.core.annotation.NameInMap("DedicatedHostZoneIdForMaster") private String dedicatedHostZoneIdForMaster; @com.aliyun.core.annotation.NameInMap("DedicatedHostZoneIdForSlave") private String dedicatedHostZoneIdForSlave; @com.aliyun.core.annotation.NameInMap("DeletionProtection") private Boolean deletionProtection; @com.aliyun.core.annotation.NameInMap("DestroyTime") private String destroyTime; @com.aliyun.core.annotation.NameInMap("Engine") private String engine; @com.aliyun.core.annotation.NameInMap("EngineVersion") private String engineVersion; @com.aliyun.core.annotation.NameInMap("ExpireTime") private String expireTime; @com.aliyun.core.annotation.NameInMap("GeneralGroupName") private String generalGroupName; @com.aliyun.core.annotation.NameInMap("GreenInstanceName") private String greenInstanceName; @com.aliyun.core.annotation.NameInMap("GuardDBInstanceId") private String guardDBInstanceId; @com.aliyun.core.annotation.NameInMap("InstanceNetworkType") private String instanceNetworkType; @com.aliyun.core.annotation.NameInMap("IoAccelerationEnabled") private String ioAccelerationEnabled; @com.aliyun.core.annotation.NameInMap("LockMode") private String lockMode; @com.aliyun.core.annotation.NameInMap("LockReason") private String lockReason; @com.aliyun.core.annotation.NameInMap("MasterInstanceId") private String masterInstanceId; @com.aliyun.core.annotation.NameInMap("MutriORsignle") private Boolean mutriORsignle; @com.aliyun.core.annotation.NameInMap("PayType") private String payType; @com.aliyun.core.annotation.NameInMap("ReadOnlyDBInstanceIds") private ReadOnlyDBInstanceIds readOnlyDBInstanceIds; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("ResourceGroupId") private String resourceGroupId; @com.aliyun.core.annotation.NameInMap("SwitchWeight") private Integer switchWeight; @com.aliyun.core.annotation.NameInMap("TempDBInstanceId") private String tempDBInstanceId; @com.aliyun.core.annotation.NameInMap("Tips") private String tips; @com.aliyun.core.annotation.NameInMap("TipsLevel") private Integer tipsLevel; @com.aliyun.core.annotation.NameInMap("VSwitchId") private String vSwitchId; @com.aliyun.core.annotation.NameInMap("VpcCloudInstanceId") private String vpcCloudInstanceId; @com.aliyun.core.annotation.NameInMap("VpcId") private String vpcId; @com.aliyun.core.annotation.NameInMap("VpcName") private String vpcName; @com.aliyun.core.annotation.NameInMap("ZoneId") private String zoneId; private DBInstance(Builder builder) { this.autoRenewal = builder.autoRenewal; this.blueGreenDeploymentName = builder.blueGreenDeploymentName; this.blueInstanceName = builder.blueInstanceName; this.bpeEnabled = builder.bpeEnabled; this.burstingEnabled = builder.burstingEnabled; this.category = builder.category; this.coldDataEnabled = builder.coldDataEnabled; this.connectionMode = builder.connectionMode; this.connectionString = builder.connectionString; this.createTime = builder.createTime; this.DBInstanceCPU = builder.DBInstanceCPU; this.DBInstanceClass = builder.DBInstanceClass; this.DBInstanceDescription = builder.DBInstanceDescription; this.DBInstanceId = builder.DBInstanceId; this.DBInstanceMemory = builder.DBInstanceMemory; this.DBInstanceNetType = builder.DBInstanceNetType; this.DBInstanceStatus = builder.DBInstanceStatus; this.DBInstanceStorageType = builder.DBInstanceStorageType; this.DBInstanceType = builder.DBInstanceType; this.dedicatedHostGroupId = builder.dedicatedHostGroupId; this.dedicatedHostGroupName = builder.dedicatedHostGroupName; this.dedicatedHostIdForLog = builder.dedicatedHostIdForLog; this.dedicatedHostIdForMaster = builder.dedicatedHostIdForMaster; this.dedicatedHostIdForSlave = builder.dedicatedHostIdForSlave; this.dedicatedHostNameForLog = builder.dedicatedHostNameForLog; this.dedicatedHostNameForMaster = builder.dedicatedHostNameForMaster; this.dedicatedHostNameForSlave = builder.dedicatedHostNameForSlave; this.dedicatedHostZoneIdForLog = builder.dedicatedHostZoneIdForLog; this.dedicatedHostZoneIdForMaster = builder.dedicatedHostZoneIdForMaster; this.dedicatedHostZoneIdForSlave = builder.dedicatedHostZoneIdForSlave; this.deletionProtection = builder.deletionProtection; this.destroyTime = builder.destroyTime; this.engine = builder.engine; this.engineVersion = builder.engineVersion; this.expireTime = builder.expireTime; this.generalGroupName = builder.generalGroupName; this.greenInstanceName = builder.greenInstanceName; this.guardDBInstanceId = builder.guardDBInstanceId; this.instanceNetworkType = builder.instanceNetworkType; this.ioAccelerationEnabled = builder.ioAccelerationEnabled; this.lockMode = builder.lockMode; this.lockReason = builder.lockReason; this.masterInstanceId = builder.masterInstanceId; this.mutriORsignle = builder.mutriORsignle; this.payType = builder.payType; this.readOnlyDBInstanceIds = builder.readOnlyDBInstanceIds; this.regionId = builder.regionId; this.resourceGroupId = builder.resourceGroupId; this.switchWeight = builder.switchWeight; this.tempDBInstanceId = builder.tempDBInstanceId; this.tips = builder.tips; this.tipsLevel = builder.tipsLevel; this.vSwitchId = builder.vSwitchId; this.vpcCloudInstanceId = builder.vpcCloudInstanceId; this.vpcId = builder.vpcId; this.vpcName = builder.vpcName; this.zoneId = builder.zoneId; } public static Builder builder() { return new Builder(); } public static DBInstance create() { return builder().build(); } /** * @return autoRenewal */ public Boolean getAutoRenewal() { return this.autoRenewal; } /** * @return blueGreenDeploymentName */ public String getBlueGreenDeploymentName() { return this.blueGreenDeploymentName; } /** * @return blueInstanceName */ public String getBlueInstanceName() { return this.blueInstanceName; } /** * @return bpeEnabled */ public String getBpeEnabled() { return this.bpeEnabled; } /** * @return burstingEnabled */ public Boolean getBurstingEnabled() { return this.burstingEnabled; } /** * @return category */ public String getCategory() { return this.category; } /** * @return coldDataEnabled */ public Boolean getColdDataEnabled() { return this.coldDataEnabled; } /** * @return connectionMode */ public String getConnectionMode() { return this.connectionMode; } /** * @return connectionString */ public String getConnectionString() { return this.connectionString; } /** * @return createTime */ public String getCreateTime() { return this.createTime; } /** * @return DBInstanceCPU */ public String getDBInstanceCPU() { return this.DBInstanceCPU; } /** * @return DBInstanceClass */ public String getDBInstanceClass() { return this.DBInstanceClass; } /** * @return DBInstanceDescription */ public String getDBInstanceDescription() { return this.DBInstanceDescription; } /** * @return DBInstanceId */ public String getDBInstanceId() { return this.DBInstanceId; } /** * @return DBInstanceMemory */ public Integer getDBInstanceMemory() { return this.DBInstanceMemory; } /** * @return DBInstanceNetType */ public String getDBInstanceNetType() { return this.DBInstanceNetType; } /** * @return DBInstanceStatus */ public String getDBInstanceStatus() { return this.DBInstanceStatus; } /** * @return DBInstanceStorageType */ public String getDBInstanceStorageType() { return this.DBInstanceStorageType; } /** * @return DBInstanceType */ public String getDBInstanceType() { return this.DBInstanceType; } /** * @return dedicatedHostGroupId */ public String getDedicatedHostGroupId() { return this.dedicatedHostGroupId; } /** * @return dedicatedHostGroupName */ public String getDedicatedHostGroupName() { return this.dedicatedHostGroupName; } /** * @return dedicatedHostIdForLog */ public String getDedicatedHostIdForLog() { return this.dedicatedHostIdForLog; } /** * @return dedicatedHostIdForMaster */ public String getDedicatedHostIdForMaster() { return this.dedicatedHostIdForMaster; } /** * @return dedicatedHostIdForSlave */ public String getDedicatedHostIdForSlave() { return this.dedicatedHostIdForSlave; } /** * @return dedicatedHostNameForLog */ public String getDedicatedHostNameForLog() { return this.dedicatedHostNameForLog; } /** * @return dedicatedHostNameForMaster */ public String getDedicatedHostNameForMaster() { return this.dedicatedHostNameForMaster; } /** * @return dedicatedHostNameForSlave */ public String getDedicatedHostNameForSlave() { return this.dedicatedHostNameForSlave; } /** * @return dedicatedHostZoneIdForLog */ public String getDedicatedHostZoneIdForLog() { return this.dedicatedHostZoneIdForLog; } /** * @return dedicatedHostZoneIdForMaster */ public String getDedicatedHostZoneIdForMaster() { return this.dedicatedHostZoneIdForMaster; } /** * @return dedicatedHostZoneIdForSlave */ public String getDedicatedHostZoneIdForSlave() { return this.dedicatedHostZoneIdForSlave; } /** * @return deletionProtection */ public Boolean getDeletionProtection() { return this.deletionProtection; } /** * @return destroyTime */ public String getDestroyTime() { return this.destroyTime; } /** * @return engine */ public String getEngine() { return this.engine; } /** * @return engineVersion */ public String getEngineVersion() { return this.engineVersion; } /** * @return expireTime */ public String getExpireTime() { return this.expireTime; } /** * @return generalGroupName */ public String getGeneralGroupName() { return this.generalGroupName; } /** * @return greenInstanceName */ public String getGreenInstanceName() { return this.greenInstanceName; } /** * @return guardDBInstanceId */ public String getGuardDBInstanceId() { return this.guardDBInstanceId; } /** * @return instanceNetworkType */ public String getInstanceNetworkType() { return this.instanceNetworkType; } /** * @return ioAccelerationEnabled */ public String getIoAccelerationEnabled() { return this.ioAccelerationEnabled; } /** * @return lockMode */ public String getLockMode() { return this.lockMode; } /** * @return lockReason */ public String getLockReason() { return this.lockReason; } /** * @return masterInstanceId */ public String getMasterInstanceId() { return this.masterInstanceId; } /** * @return mutriORsignle */ public Boolean getMutriORsignle() { return this.mutriORsignle; } /** * @return payType */ public String getPayType() { return this.payType; } /** * @return readOnlyDBInstanceIds */ public ReadOnlyDBInstanceIds getReadOnlyDBInstanceIds() { return this.readOnlyDBInstanceIds; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return resourceGroupId */ public String getResourceGroupId() { return this.resourceGroupId; } /** * @return switchWeight */ public Integer getSwitchWeight() { return this.switchWeight; } /** * @return tempDBInstanceId */ public String getTempDBInstanceId() { return this.tempDBInstanceId; } /** * @return tips */ public String getTips() { return this.tips; } /** * @return tipsLevel */ public Integer getTipsLevel() { return this.tipsLevel; } /** * @return vSwitchId */ public String getVSwitchId() { return this.vSwitchId; } /** * @return vpcCloudInstanceId */ public String getVpcCloudInstanceId() { return this.vpcCloudInstanceId; } /** * @return vpcId */ public String getVpcId() { return this.vpcId; } /** * @return vpcName */ public String getVpcName() { return this.vpcName; } /** * @return zoneId */ public String getZoneId() { return this.zoneId; } public static final class Builder { private Boolean autoRenewal; private String blueGreenDeploymentName; private String blueInstanceName; private String bpeEnabled; private Boolean burstingEnabled; private String category; private Boolean coldDataEnabled; private String connectionMode; private String connectionString; private String createTime; private String DBInstanceCPU; private String DBInstanceClass; private String DBInstanceDescription; private String DBInstanceId; private Integer DBInstanceMemory; private String DBInstanceNetType; private String DBInstanceStatus; private String DBInstanceStorageType; private String DBInstanceType; private String dedicatedHostGroupId; private String dedicatedHostGroupName; private String dedicatedHostIdForLog; private String dedicatedHostIdForMaster; private String dedicatedHostIdForSlave; private String dedicatedHostNameForLog; private String dedicatedHostNameForMaster; private String dedicatedHostNameForSlave; private String dedicatedHostZoneIdForLog; private String dedicatedHostZoneIdForMaster; private String dedicatedHostZoneIdForSlave; private Boolean deletionProtection; private String destroyTime; private String engine; private String engineVersion; private String expireTime; private String generalGroupName; private String greenInstanceName; private String guardDBInstanceId; private String instanceNetworkType; private String ioAccelerationEnabled; private String lockMode; private String lockReason; private String masterInstanceId; private Boolean mutriORsignle; private String payType; private ReadOnlyDBInstanceIds readOnlyDBInstanceIds; private String regionId; private String resourceGroupId; private Integer switchWeight; private String tempDBInstanceId; private String tips; private Integer tipsLevel; private String vSwitchId; private String vpcCloudInstanceId; private String vpcId; private String vpcName; private String zoneId; private Builder() { } private Builder(DBInstance model) { this.autoRenewal = model.autoRenewal; this.blueGreenDeploymentName = model.blueGreenDeploymentName; this.blueInstanceName = model.blueInstanceName; this.bpeEnabled = model.bpeEnabled; this.burstingEnabled = model.burstingEnabled; this.category = model.category; this.coldDataEnabled = model.coldDataEnabled; this.connectionMode = model.connectionMode; this.connectionString = model.connectionString; this.createTime = model.createTime; this.DBInstanceCPU = model.DBInstanceCPU; this.DBInstanceClass = model.DBInstanceClass; this.DBInstanceDescription = model.DBInstanceDescription; this.DBInstanceId = model.DBInstanceId; this.DBInstanceMemory = model.DBInstanceMemory; this.DBInstanceNetType = model.DBInstanceNetType; this.DBInstanceStatus = model.DBInstanceStatus; this.DBInstanceStorageType = model.DBInstanceStorageType; this.DBInstanceType = model.DBInstanceType; this.dedicatedHostGroupId = model.dedicatedHostGroupId; this.dedicatedHostGroupName = model.dedicatedHostGroupName; this.dedicatedHostIdForLog = model.dedicatedHostIdForLog; this.dedicatedHostIdForMaster = model.dedicatedHostIdForMaster; this.dedicatedHostIdForSlave = model.dedicatedHostIdForSlave; this.dedicatedHostNameForLog = model.dedicatedHostNameForLog; this.dedicatedHostNameForMaster = model.dedicatedHostNameForMaster; this.dedicatedHostNameForSlave = model.dedicatedHostNameForSlave; this.dedicatedHostZoneIdForLog = model.dedicatedHostZoneIdForLog; this.dedicatedHostZoneIdForMaster = model.dedicatedHostZoneIdForMaster; this.dedicatedHostZoneIdForSlave = model.dedicatedHostZoneIdForSlave; this.deletionProtection = model.deletionProtection; this.destroyTime = model.destroyTime; this.engine = model.engine; this.engineVersion = model.engineVersion; this.expireTime = model.expireTime; this.generalGroupName = model.generalGroupName; this.greenInstanceName = model.greenInstanceName; this.guardDBInstanceId = model.guardDBInstanceId; this.instanceNetworkType = model.instanceNetworkType; this.ioAccelerationEnabled = model.ioAccelerationEnabled; this.lockMode = model.lockMode; this.lockReason = model.lockReason; this.masterInstanceId = model.masterInstanceId; this.mutriORsignle = model.mutriORsignle; this.payType = model.payType; this.readOnlyDBInstanceIds = model.readOnlyDBInstanceIds; this.regionId = model.regionId; this.resourceGroupId = model.resourceGroupId; this.switchWeight = model.switchWeight; this.tempDBInstanceId = model.tempDBInstanceId; this.tips = model.tips; this.tipsLevel = model.tipsLevel; this.vSwitchId = model.vSwitchId; this.vpcCloudInstanceId = model.vpcCloudInstanceId; this.vpcId = model.vpcId; this.vpcName = model.vpcName; this.zoneId = model.zoneId; } /** * AutoRenewal. */ public Builder autoRenewal(Boolean autoRenewal) { this.autoRenewal = autoRenewal; return this; } /** * BlueGreenDeploymentName. */ public Builder blueGreenDeploymentName(String blueGreenDeploymentName) { this.blueGreenDeploymentName = blueGreenDeploymentName; return this; } /** * BlueInstanceName. */ public Builder blueInstanceName(String blueInstanceName) { this.blueInstanceName = blueInstanceName; return this; } /** * <p>A deprecated parameter.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder bpeEnabled(String bpeEnabled) { this.bpeEnabled = bpeEnabled; return this; } /** * <p>Indicates whether the I/O burst feature is enabled. Valid values:</p> * <ul> * <li><strong>true</strong></li> * <li><strong>false</strong></li> * </ul> * * <strong>example:</strong> * <p>false</p> */ public Builder burstingEnabled(Boolean burstingEnabled) { this.burstingEnabled = burstingEnabled; return this; } /** * <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> * <blockquote> * <p> This parameter is returned only when the <strong>InstanceLevel</strong> parameter is set to <strong>1</strong>.</p> * </blockquote> * * <strong>example:</strong> * <p>Basic</p> */ public Builder category(String category) { this.category = category; return this; } /** * <p>A reserved parameter.</p> * * <strong>example:</strong> * <p>false</p> */ public Builder coldDataEnabled(Boolean coldDataEnabled) { this.coldDataEnabled = coldDataEnabled; return this; } /** * <p>The connection mode of the instance. Valid values:</p> * <ul> * <li><strong>Standard</strong>: standard mode</li> * <li><strong>Safe</strong>: database proxy mode</li> * </ul> * * <strong>example:</strong> * <p>Standard</p> */ public Builder connectionMode(String connectionMode) { this.connectionMode = connectionMode; return this; } /** * <p>The endpoint of the instance.</p> * * <strong>example:</strong> * <p>rm-uf6wjk5xxxxxxx.mysql.rds.aliyuncs.com</p> */ public Builder connectionString(String connectionString) { this.connectionString = connectionString; return this; } /** * <p>The creation time of the instance. 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>2018-11-05T11:26:02Z</p> */ public Builder createTime(String createTime) { this.createTime = createTime; return this; } /** * <p>The number of CPU instances.</p> * <p>Returns only when the InstanceLevel parameter is 1.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder DBInstanceCPU(String DBInstanceCPU) { this.DBInstanceCPU = DBInstanceCPU; return this; } /** * <p>The instance type of the instance. For information, see <a href="https://help.aliyun.com/document_detail/26312.html">Primary ApsaraDB RDS instance types</a>.</p> * * <strong>example:</strong> * <p>rds.mys2.small</p> */ public Builder DBInstanceClass(String DBInstanceClass) { this.DBInstanceClass = DBInstanceClass; return this; } /** * <p>The instance description.</p> * * <strong>example:</strong> * <p>Test database</p> */ public Builder DBInstanceDescription(String DBInstanceDescription) { this.DBInstanceDescription = DBInstanceDescription; return this; } /** * <p>The instance ID.</p> * * <strong>example:</strong> * <p>rm-uf6wjk5xxxxxxxxxx</p> */ public Builder DBInstanceId(String DBInstanceId) { this.DBInstanceId = DBInstanceId; return this; } /** * <p>The memory size of the node. Unit: MB.</p> * <p>Returns only when the InstanceLevel parameter is 1.</p> * * <strong>example:</strong> * <p>4096</p> */ public Builder DBInstanceMemory(Integer DBInstanceMemory) { this.DBInstanceMemory = DBInstanceMemory; return this; } /** * <p>The type of the network connection to the instance. Valid values:</p> * <ul> * <li><strong>Internet</strong></li> * <li><strong>Intranet</strong></li> * </ul> * * <strong>example:</strong> * <p>Internet</p> */ public Builder DBInstanceNetType(String DBInstanceNetType) { this.DBInstanceNetType = DBInstanceNetType; return this; } /** * <p>The instance status. For more information, see <a href="https://help.aliyun.com/document_detail/26315.html">Instance statuses</a>.</p> * * <strong>example:</strong> * <p>Running</p> */ public Builder DBInstanceStatus(String DBInstanceStatus) { this.DBInstanceStatus = DBInstanceStatus; return this; } /** * <p>The storage type of the instance.</p> * * <strong>example:</strong> * <p>ModuleList.4.ModuleCode</p> */ public Builder DBInstanceStorageType(String DBInstanceStorageType) { this.DBInstanceStorageType = DBInstanceStorageType; return this; } /** * <p>The type of the instance. Valid values:</p> * <ul> * <li><strong>Primary</strong>: primary instance</li> * <li><strong>Readonly</strong>: read-only instance</li> * <li><strong>Guard</strong>: disaster recovery instance</li> * <li><strong>Temp</strong>: temporary instance</li> * </ul> * * <strong>example:</strong> * <p>Primary</p> */ public Builder DBInstanceType(String DBInstanceType) { this.DBInstanceType = DBInstanceType; return this; } /** * <p>The ID of the dedicated cluster.</p> * * <strong>example:</strong> * <p>dhg-7a9xxxxxxxx</p> */ public Builder dedicatedHostGroupId(String dedicatedHostGroupId) { this.dedicatedHostGroupId = dedicatedHostGroupId; return this; } /** * <p>The name of the dedicated cluster.</p> * * <strong>example:</strong> * <p>testhostgroup</p> */ public Builder dedicatedHostGroupName(String dedicatedHostGroupName) { this.dedicatedHostGroupName = dedicatedHostGroupName; return this; } /** * <p>The ID of the host on which the logger instance resides.</p> * * <strong>example:</strong> * <p>dh-bpxxxx</p> */ public Builder dedicatedHostIdForLog(String dedicatedHostIdForLog) { this.dedicatedHostIdForLog = dedicatedHostIdForLog; return this; } /** * <p>The ID of the host on which the primary instance resides.</p> * * <strong>example:</strong> * <p>dh-bpxxxx</p> */ public Builder dedicatedHostIdForMaster(String dedicatedHostIdForMaster) { this.dedicatedHostIdForMaster = dedicatedHostIdForMaster; return this; } /** * <p>The ID of the host on which the secondary instance resides.</p> * * <strong>example:</strong> * <p>dh-bpxxxx</p> */ public Builder dedicatedHostIdForSlave(String dedicatedHostIdForSlave) { this.dedicatedHostIdForSlave = dedicatedHostIdForSlave; return this; } /** * <p>The name of the host on which the logger instance resides.</p> * * <strong>example:</strong> * <p>testlog</p> */ public Builder dedicatedHostNameForLog(String dedicatedHostNameForLog) { this.dedicatedHostNameForLog = dedicatedHostNameForLog; return this; } /** * <p>The name of the host on which the primary instance resides.</p> * * <strong>example:</strong> * <p>testmaster</p> */ public Builder dedicatedHostNameForMaster(String dedicatedHostNameForMaster) { this.dedicatedHostNameForMaster = dedicatedHostNameForMaster; return this; } /** * <p>The name of the host on which the secondary instance resides.</p> * * <strong>example:</strong> * <p>testslave</p> */ public Builder dedicatedHostNameForSlave(String dedicatedHostNameForSlave) { this.dedicatedHostNameForSlave = dedicatedHostNameForSlave; return this; } /** * <p>The zone ID of the host on which the logger instance resides.</p> * * <strong>example:</strong> * <p>cn-hangzhou-b</p> */ public Builder dedicatedHostZoneIdForLog(String dedicatedHostZoneIdForLog) { this.dedicatedHostZoneIdForLog = dedicatedHostZoneIdForLog; return this; } /** * <p>The zone ID of the host on which the primary instance resides.</p> * * <strong>example:</strong> * <p>cn-hangzhou-c</p> */ public Builder dedicatedHostZoneIdForMaster(String dedicatedHostZoneIdForMaster) { this.dedicatedHostZoneIdForMaster = dedicatedHostZoneIdForMaster; return this; } /** * <p>The zone ID of the host on which the secondary instance resides.</p> * * <strong>example:</strong> * <p>cn-hangzhou-d</p> */ public Builder dedicatedHostZoneIdForSlave(String dedicatedHostZoneIdForSlave) { this.dedicatedHostZoneIdForSlave = dedicatedHostZoneIdForSlave; return this; } /** * <p>Indicates whether the release protection 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 deletionProtection(Boolean deletionProtection) { this.deletionProtection = deletionProtection; return this; } /** * <p>The time when the instance was destroyed. 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>2018-11-05T11:26:02Z</p> */ public Builder destroyTime(String destroyTime) { this.destroyTime = destroyTime; 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>The expiration time of the instance. 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> * <blockquote> * <p> Pay-as-you-go instances never expire.</p> * </blockquote> * * <strong>example:</strong> * <p>2019-02-27T16:00:00Z</p> */ public Builder expireTime(String expireTime) { this.expireTime = expireTime; return this; } /** * <p>The name of the dedicated cluster to which the instance belongs. This parameter is returned only when the instance is created in an ApsaraDB MyBase cluster that runs MySQL on Standard Edition.</p> * * <strong>example:</strong> * <p>TestGroup</p> */ public Builder generalGroupName(String generalGroupName) { this.generalGroupName = generalGroupName; return this; } /** * GreenInstanceName. */ public Builder greenInstanceName(String greenInstanceName) { this.greenInstanceName = greenInstanceName; return this; } /** * <p>The ID of the disaster recovery instance. This parameter is returned only when the instance is a primary instance and has a disaster recovery instance attached.</p> * * <strong>example:</strong> * <p>rm-uf64zsuxxxxxxxxxx</p> */ public Builder guardDBInstanceId(String guardDBInstanceId) { this.guardDBInstanceId = guardDBInstanceId; return this; } /** * <p>The network type of the instance. Valid values:</p> * <ul> * <li><strong>Classic</strong></li> * <li><strong>VPC</strong></li> * </ul> * * <strong>example:</strong> * <p>Classic</p> */ public Builder instanceNetworkType(String instanceNetworkType) { this.instanceNetworkType = instanceNetworkType; return this; } /** * <p>Indicates whether the I/O acceleration feature is enabled. Valid values:</p> * <ul> * <li>1: enabled</li> * <li>0: disabled</li> * </ul> * * <strong>example:</strong> * <p>0</p> */ public Builder ioAccelerationEnabled(String ioAccelerationEnabled) { this.ioAccelerationEnabled = ioAccelerationEnabled; return this; } /** * <p>The lock mode of the instance. Valid values:</p> * <ul> * <li><strong>Unlock</strong>: The instance is not locked.</li> * <li><strong>ManualLock</strong>: The instance is manually locked.</li> * <li><strong>LockByExpiration</strong>: The instance is automatically locked due to instance expiration.</li> * <li><strong>LockByRestoration</strong>: The instance is automatically locked before the instance is rolled back.</li> * <li><strong>LockByDiskQuota</strong>: The instance is automatically locked due to exhausted storage capacity.</li> * <li><strong>Released</strong>: The instance is released. After an instance is released, the instance cannot be unlocked. You can only restore the backup data of the instance to a new instance. This process requires a long period of time.</li> * </ul> * * <strong>example:</strong> * <p>Unlock</p> */ public Builder lockMode(String lockMode) { this.lockMode = lockMode; return this; } /** * <p>The reason why the instance was locked.</p> * * <strong>example:</strong> * <p>instance_expired</p> */ public Builder lockReason(String lockReason) { this.lockReason = lockReason; return this; } /** * <p>The ID of the primary instance. If this parameter is null, the instance is a primary instance.</p> * * <strong>example:</strong> * <p>rm-uf6wjk5xxxxxxxxxx</p> */ public Builder masterInstanceId(String masterInstanceId) { this.masterInstanceId = masterInstanceId; return this; } /** * <p>Indicates whether the multi-zone deployment method is used for the instance. Valid values:</p> * <ul> * <li><strong>true</strong></li> * <li><strong>false</strong></li> * </ul> * <blockquote> * <p> If the multi-zone deployment method is used for the instance, the zone ID of the instance contains MAZ. Example: <code>cn-hangzhou-MAZ10(h,i)</code>.</p> * </blockquote> * * <strong>example:</strong> * <p>true</p> */ public Builder mutriORsignle(Boolean mutriORsignle) { this.mutriORsignle = mutriORsignle; return this; } /** * <p>The billing method of the instance. Valid values:</p> * <ul> * <li><strong>Postpaid</strong>: pay-as-you-go</li> * <li><strong>Prepaid</strong>: subscription</li> * </ul> * * <strong>example:</strong> * <p>Postpaid</p> */ public Builder payType(String payType) { this.payType = payType; return this; } /** * <p>The IDs of the read-only instances. This parameter is returned only when the instance is a primary instance and has the read-only instances attached.</p> */ public Builder readOnlyDBInstanceIds(ReadOnlyDBInstanceIds readOnlyDBInstanceIds) { this.readOnlyDBInstanceIds = readOnlyDBInstanceIds; 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 resource group ID.</p> * * <strong>example:</strong> * <p>rg-acfmyxxxxxxx</p> */ public Builder resourceGroupId(String resourceGroupId) { this.resourceGroupId = resourceGroupId; return this; } /** * <p>Indicates whether the instance supports weight-based switchovers for high availability. This parameter is returned only when the instance is created in an ApsaraDB MyBase cluster that runs MySQL on Standard Edition. Valid values:</p> * <ul> * <li><strong>100</strong>: The instance supports weight-based switchovers for high availability.</li> * <li><strong>0</strong>: The instance does not support weight-based switchovers for high availability.</li> * </ul> * * <strong>example:</strong> * <p>100</p> */ public Builder switchWeight(Integer switchWeight) { this.switchWeight = switchWeight; return this; } /** * <p>The ID of the temporary instance. This parameter is returned only when the instance is a primary instance and has a temporary instance attached.</p> * * <strong>example:</strong> * <p>rm-uf64zsuxxxxxxxxxx</p> */ public Builder tempDBInstanceId(String tempDBInstanceId) { this.tempDBInstanceId = tempDBInstanceId; return this; } /** * <p>The information about the exception that is detected on the instance. This parameter is returned only when the instance is created in an ApsaraDB MyBase cluster that runs MySQL on Standard Edition.</p> * * <strong>example:</strong> * <p>Run as expected.</p> */ public Builder tips(String tips) { this.tips = tips; return this; } /** * <p>The severity of the exception that is detected on the instance. This parameter is returned only when the instance is created in an ApsaraDB MyBase cluster that runs MySQL on Standard Edition. Valid values:</p> * <ul> * <li><strong>1</strong>: The instance is normal.</li> * <li><strong>2</strong>: The specifications of the read-only instances do not match the specifications of the primary instance, and instance performance may be affected. You must adjust the specifications of these instances based on your business requirements.</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder tipsLevel(Integer tipsLevel) { this.tipsLevel = tipsLevel; return this; } /** * <p>The vSwitch ID.</p> * * <strong>example:</strong> * <p>vsw-uf6adz52c2pxxxxxxx</p> */ public Builder vSwitchId(String vSwitchId) { this.vSwitchId = vSwitchId; return this; } /** * <p>The ID of the instance. This parameter is returned only when the instance resides in a VPC.</p> * * <strong>example:</strong> * <p>rm-uf6wjk5xxxxxxx</p> */ public Builder vpcCloudInstanceId(String vpcCloudInstanceId) { this.vpcCloudInstanceId = vpcCloudInstanceId; return this; } /** * <p>The virtual private cloud (VPC) ID.</p> * * <strong>example:</strong> * <p>vpc-uf6f7l4fg90xxxxxxx</p> */ public Builder vpcId(String vpcId) { this.vpcId = vpcId; return this; } /** * <p>The VPC name.</p> * * <strong>example:</strong> * <p>test-huadong</p> */ public Builder vpcName(String vpcName) { this.vpcName = vpcName; return this; } /** * <p>The zone ID.</p> * * <strong>example:</strong> * <p>cn-hangzhou-a</p> */ public Builder zoneId(String zoneId) { this.zoneId = zoneId; return this; } public DBInstance build() { return new DBInstance(this); } } } /** * * {@link DescribeDBInstancesResponseBody} extends {@link TeaModel} * * <p>DescribeDBInstancesResponseBody</p> */ public static class Items extends TeaModel { @com.aliyun.core.annotation.NameInMap("DBInstance") private java.util.List<DBInstance> DBInstance; private Items(Builder builder) { this.DBInstance = builder.DBInstance; } public static Builder builder() { return new Builder(); } public static Items create() { return builder().build(); } /** * @return DBInstance */ public java.util.List<DBInstance> getDBInstance() { return this.DBInstance; } public static final class Builder { private java.util.List<DBInstance> DBInstance; private Builder() { } private Builder(Items model) { this.DBInstance = model.DBInstance; } /** * DBInstance. */ public Builder DBInstance(java.util.List<DBInstance> DBInstance) { this.DBInstance = DBInstance; 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/DescribeDBMiniEngineVersionsRequest.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 DescribeDBMiniEngineVersionsRequest} extends {@link RequestModel} * * <p>DescribeDBMiniEngineVersionsRequest</p> */ public class DescribeDBMiniEngineVersionsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DBInstanceId") private String DBInstanceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DedicatedHostGroupId") private String dedicatedHostGroupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Engine") private String engine; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EngineVersion") private String engineVersion; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("MinorVersionTag") private String minorVersionTag; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NodeType") private String nodeType; @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("ResourceOwnerId") private Long resourceOwnerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("StorageType") private String storageType; private DescribeDBMiniEngineVersionsRequest(Builder builder) { super(builder); this.DBInstanceId = builder.DBInstanceId; this.dedicatedHostGroupId = builder.dedicatedHostGroupId; this.engine = builder.engine; this.engineVersion = builder.engineVersion; this.minorVersionTag = builder.minorVersionTag; this.nodeType = builder.nodeType; this.regionId = builder.regionId; this.resourceOwnerId = builder.resourceOwnerId; this.storageType = builder.storageType; } public static Builder builder() { return new Builder(); } public static DescribeDBMiniEngineVersionsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return DBInstanceId */ public String getDBInstanceId() { return this.DBInstanceId; } /** * @return dedicatedHostGroupId */ public String getDedicatedHostGroupId() { return this.dedicatedHostGroupId; } /** * @return engine */ public String getEngine() { return this.engine; } /** * @return engineVersion */ public String getEngineVersion() { return this.engineVersion; } /** * @return minorVersionTag */ public String getMinorVersionTag() { return this.minorVersionTag; } /** * @return nodeType */ public String getNodeType() { return this.nodeType; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return resourceOwnerId */ public Long getResourceOwnerId() { return this.resourceOwnerId; } /** * @return storageType */ public String getStorageType() { return this.storageType; } public static final class Builder extends Request.Builder<DescribeDBMiniEngineVersionsRequest, Builder> { private String DBInstanceId; private String dedicatedHostGroupId; private String engine; private String engineVersion; private String minorVersionTag; private String nodeType; private String regionId; private Long resourceOwnerId; private String storageType; private Builder() { super(); } private Builder(DescribeDBMiniEngineVersionsRequest request) { super(request); this.DBInstanceId = request.DBInstanceId; this.dedicatedHostGroupId = request.dedicatedHostGroupId; this.engine = request.engine; this.engineVersion = request.engineVersion; this.minorVersionTag = request.minorVersionTag; this.nodeType = request.nodeType; this.regionId = request.regionId; this.resourceOwnerId = request.resourceOwnerId; this.storageType = request.storageType; } /** * <p>The instance ID. You can call the DescribeDBInstances operation to query the instance ID.</p> * * <strong>example:</strong> * <p>rm-uf6wjk5*******</p> */ public Builder DBInstanceId(String DBInstanceId) { this.putQueryParameter("DBInstanceId", DBInstanceId); this.DBInstanceId = DBInstanceId; return this; } /** * <p>The dedicated cluster ID. You can call the DescribeDedicatedHostGroups operation to query the dedicated cluster ID.</p> * * <strong>example:</strong> * <p>dhg-4n*****</p> */ public Builder dedicatedHostGroupId(String dedicatedHostGroupId) { this.putQueryParameter("DedicatedHostGroupId", dedicatedHostGroupId); this.dedicatedHostGroupId = dedicatedHostGroupId; return this; } /** * <p>The database engine of the instance. Valid values: <strong>MySQL</strong> and <strong>PostgreSQL</strong>.</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 when you set the Engine parameter to MySQL: <strong>8.0</strong>, <strong>5.7</strong>, <strong>5.6</strong>, and <strong>5.5</strong></li> * <li>Valid values when you set the Engine parameter to PostgreSQL: <strong>15.0</strong>, <strong>14.0</strong>, <strong>13.0</strong>, <strong>12.0</strong>, <strong>11.0</strong>, and <strong>10.0</strong></li> * </ul> * * <strong>example:</strong> * <p>5.7</p> */ public Builder engineVersion(String engineVersion) { this.putQueryParameter("EngineVersion", engineVersion); this.engineVersion = engineVersion; return this; } /** * <p>The minor engine version of the instance. You can specify this parameter to query the minor engine version of the instance.</p> * * <strong>example:</strong> * <p>rds_20220731</p> */ public Builder minorVersionTag(String minorVersionTag) { this.putQueryParameter("MinorVersionTag", minorVersionTag); this.minorVersionTag = minorVersionTag; return this; } /** * <p>The instance edition. 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>HighAvailability</p> */ public Builder nodeType(String nodeType) { this.putQueryParameter("NodeType", nodeType); this.nodeType = nodeType; 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; } /** * ResourceOwnerId. */ public Builder resourceOwnerId(Long resourceOwnerId) { this.putQueryParameter("ResourceOwnerId", resourceOwnerId); this.resourceOwnerId = resourceOwnerId; return this; } /** * <p>The storage type of the instance. Valid values:</p> * <ul> * <li><strong>local_ssd</strong>: local SSD</li> * <li><strong>cloud_ssd</strong>: standard SSD</li> * <li><strong>cloud_essd</strong>: enhanced SSD (ESSD) of performance level 1 (PL1)</li> * <li><strong>cloud_essd2</strong>: ESSD of PL2</li> * <li><strong>cloud_essd3</strong>: ESSD of PL3</li> * </ul> * * <strong>example:</strong> * <p>local_ssd</p> */ public Builder storageType(String storageType) { this.putQueryParameter("StorageType", storageType); this.storageType = storageType; return this; } @Override public DescribeDBMiniEngineVersionsRequest build() { return new DescribeDBMiniEngineVersionsRequest(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/DescribeDBMiniEngineVersionsResponse.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 DescribeDBMiniEngineVersionsResponse} extends {@link TeaModel} * * <p>DescribeDBMiniEngineVersionsResponse</p> */ public class DescribeDBMiniEngineVersionsResponse 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 DescribeDBMiniEngineVersionsResponseBody body; private DescribeDBMiniEngineVersionsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeDBMiniEngineVersionsResponse 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 DescribeDBMiniEngineVersionsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeDBMiniEngineVersionsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeDBMiniEngineVersionsResponseBody body); @Override DescribeDBMiniEngineVersionsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeDBMiniEngineVersionsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeDBMiniEngineVersionsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeDBMiniEngineVersionsResponse 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(DescribeDBMiniEngineVersionsResponseBody body) { this.body = body; return this; } @Override public DescribeDBMiniEngineVersionsResponse build() { return new DescribeDBMiniEngineVersionsResponse(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/DescribeDBMiniEngineVersionsResponseBody.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 DescribeDBMiniEngineVersionsResponseBody} extends {@link TeaModel} * * <p>DescribeDBMiniEngineVersionsResponseBody</p> */ public class DescribeDBMiniEngineVersionsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("DBInstanceId") private String DBInstanceId; @com.aliyun.core.annotation.NameInMap("MaxRecordsPerPage") private Integer maxRecordsPerPage; @com.aliyun.core.annotation.NameInMap("MinorVersionItems") private java.util.List<MinorVersionItems> minorVersionItems; @com.aliyun.core.annotation.NameInMap("PageNumbers") private Integer pageNumbers; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private DescribeDBMiniEngineVersionsResponseBody(Builder builder) { this.DBInstanceId = builder.DBInstanceId; this.maxRecordsPerPage = builder.maxRecordsPerPage; this.minorVersionItems = builder.minorVersionItems; this.pageNumbers = builder.pageNumbers; this.requestId = builder.requestId; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static DescribeDBMiniEngineVersionsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return DBInstanceId */ public String getDBInstanceId() { return this.DBInstanceId; } /** * @return maxRecordsPerPage */ public Integer getMaxRecordsPerPage() { return this.maxRecordsPerPage; } /** * @return minorVersionItems */ public java.util.List<MinorVersionItems> getMinorVersionItems() { return this.minorVersionItems; } /** * @return pageNumbers */ public Integer getPageNumbers() { return this.pageNumbers; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private String DBInstanceId; private Integer maxRecordsPerPage; private java.util.List<MinorVersionItems> minorVersionItems; private Integer pageNumbers; private String requestId; private Integer totalCount; private Builder() { } private Builder(DescribeDBMiniEngineVersionsResponseBody model) { this.DBInstanceId = model.DBInstanceId; this.maxRecordsPerPage = model.maxRecordsPerPage; this.minorVersionItems = model.minorVersionItems; this.pageNumbers = model.pageNumbers; this.requestId = model.requestId; this.totalCount = model.totalCount; } /** * <p>The instance ID.</p> * * <strong>example:</strong> * <p>rm-uf6wjk5*****</p> */ public Builder DBInstanceId(String DBInstanceId) { this.DBInstanceId = DBInstanceId; return this; } /** * <p>The number of entries returned per page.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder maxRecordsPerPage(Integer maxRecordsPerPage) { this.maxRecordsPerPage = maxRecordsPerPage; return this; } /** * <p>The details of the minor engine version.</p> */ public Builder minorVersionItems(java.util.List<MinorVersionItems> minorVersionItems) { this.minorVersionItems = minorVersionItems; return this; } /** * <p>The page number returned.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageNumbers(Integer pageNumbers) { this.pageNumbers = pageNumbers; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>EFB6083A-7699-489B-8278-C0CB4793A96E</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 DescribeDBMiniEngineVersionsResponseBody build() { return new DescribeDBMiniEngineVersionsResponseBody(this); } } /** * * {@link DescribeDBMiniEngineVersionsResponseBody} extends {@link TeaModel} * * <p>DescribeDBMiniEngineVersionsResponseBody</p> */ public static class MinorVersionItems extends TeaModel { @com.aliyun.core.annotation.NameInMap("CommunityMinorVersion") private String communityMinorVersion; @com.aliyun.core.annotation.NameInMap("Engine") private String engine; @com.aliyun.core.annotation.NameInMap("EngineVersion") private String engineVersion; @com.aliyun.core.annotation.NameInMap("ExpireDate") private String expireDate; @com.aliyun.core.annotation.NameInMap("ExpireStatus") private String expireStatus; @com.aliyun.core.annotation.NameInMap("IsHotfixVersion") private Boolean isHotfixVersion; @com.aliyun.core.annotation.NameInMap("MinorVersion") private String minorVersion; @com.aliyun.core.annotation.NameInMap("NodeType") private String nodeType; @com.aliyun.core.annotation.NameInMap("ReleaseNote") private String releaseNote; @com.aliyun.core.annotation.NameInMap("ReleaseType") private String releaseType; @com.aliyun.core.annotation.NameInMap("StatusDesc") private String statusDesc; @com.aliyun.core.annotation.NameInMap("Tag") private String tag; private MinorVersionItems(Builder builder) { this.communityMinorVersion = builder.communityMinorVersion; this.engine = builder.engine; this.engineVersion = builder.engineVersion; this.expireDate = builder.expireDate; this.expireStatus = builder.expireStatus; this.isHotfixVersion = builder.isHotfixVersion; this.minorVersion = builder.minorVersion; this.nodeType = builder.nodeType; this.releaseNote = builder.releaseNote; this.releaseType = builder.releaseType; this.statusDesc = builder.statusDesc; this.tag = builder.tag; } public static Builder builder() { return new Builder(); } public static MinorVersionItems create() { return builder().build(); } /** * @return communityMinorVersion */ public String getCommunityMinorVersion() { return this.communityMinorVersion; } /** * @return engine */ public String getEngine() { return this.engine; } /** * @return engineVersion */ public String getEngineVersion() { return this.engineVersion; } /** * @return expireDate */ public String getExpireDate() { return this.expireDate; } /** * @return expireStatus */ public String getExpireStatus() { return this.expireStatus; } /** * @return isHotfixVersion */ public Boolean getIsHotfixVersion() { return this.isHotfixVersion; } /** * @return minorVersion */ public String getMinorVersion() { return this.minorVersion; } /** * @return nodeType */ public String getNodeType() { return this.nodeType; } /** * @return releaseNote */ public String getReleaseNote() { return this.releaseNote; } /** * @return releaseType */ public String getReleaseType() { return this.releaseType; } /** * @return statusDesc */ public String getStatusDesc() { return this.statusDesc; } /** * @return tag */ public String getTag() { return this.tag; } public static final class Builder { private String communityMinorVersion; private String engine; private String engineVersion; private String expireDate; private String expireStatus; private Boolean isHotfixVersion; private String minorVersion; private String nodeType; private String releaseNote; private String releaseType; private String statusDesc; private String tag; private Builder() { } private Builder(MinorVersionItems model) { this.communityMinorVersion = model.communityMinorVersion; this.engine = model.engine; this.engineVersion = model.engineVersion; this.expireDate = model.expireDate; this.expireStatus = model.expireStatus; this.isHotfixVersion = model.isHotfixVersion; this.minorVersion = model.minorVersion; this.nodeType = model.nodeType; this.releaseNote = model.releaseNote; this.releaseType = model.releaseType; this.statusDesc = model.statusDesc; this.tag = model.tag; } /** * <p>The PostgreSQL version to which the minor engine version corresponds. For more information, see <a href="https://help.aliyun.com/document_detail/126002.html">Release notes for AliPG</a>.</p> * <blockquote> * <p> This parameter is available only for instances that run <strong>PostgreSQL</strong>.</p> * </blockquote> * * <strong>example:</strong> * <p>13.6</p> */ public Builder communityMinorVersion(String communityMinorVersion) { this.communityMinorVersion = communityMinorVersion; return this; } /** * <p>The database engine that corresponds to the minor engine version.</p> * * <strong>example:</strong> * <p>MySQL</p> */ public Builder engine(String engine) { this.engine = engine; return this; } /** * <p>The database engine version that corresponds to the minor engine version.</p> * * <strong>example:</strong> * <p>5.7</p> */ public Builder engineVersion(String engineVersion) { this.engineVersion = engineVersion; return this; } /** * <p>The expiration time of the minor engine version.</p> * * <strong>example:</strong> * <p>20231213</p> */ public Builder expireDate(String expireDate) { this.expireDate = expireDate; return this; } /** * <p>The expiration status of the minor engine version. Valid values:</p> * <ul> * <li><strong>vaild</strong></li> * <li><strong>expired</strong></li> * </ul> * <blockquote> * <p> If the minor engine version is in the Offline state, the minor engine version is discontinued. In this case, ignore the expiration status. If the minor engine version is in the Online state and the expiration state is expired, the minor engine version expires. If the expiration state is vaild, the minor engine version is still in its lifecycle.</p> * </blockquote> * * <strong>example:</strong> * <p>vaild</p> */ public Builder expireStatus(String expireStatus) { this.expireStatus = expireStatus; return this; } /** * <p>An internal parameter. You do not need to specify this parameter.</p> * * <strong>example:</strong> * <p>True</p> */ public Builder isHotfixVersion(Boolean isHotfixVersion) { this.isHotfixVersion = isHotfixVersion; return this; } /** * <p>The minor engine version.</p> * * <strong>example:</strong> * <p>rds_20220731</p> */ public Builder minorVersion(String minorVersion) { this.minorVersion = minorVersion; return this; } /** * <p>The RDS edition of the instance that runs the minor engine version. 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>HighAvailability</p> */ public Builder nodeType(String nodeType) { this.nodeType = nodeType; return this; } /** * <p>The URL of the release notes for the minor engine version.</p> * * <strong>example:</strong> * <p><a href="https://example.com">https://example.com</a></p> */ public Builder releaseNote(String releaseNote) { this.releaseNote = releaseNote; return this; } /** * <p>The release type. Valid values:</p> * <ul> * <li><strong>LTS</strong>: a long-term version</li> * <li><strong>BETA</strong>: a preview version</li> * </ul> * * <strong>example:</strong> * <p>BETA</p> */ public Builder releaseType(String releaseType) { this.releaseType = releaseType; return this; } /** * <p>The status of the minor engine version. Valid values:</p> * <ul> * <li><strong>Offline</strong>: discontinued</li> * <li><strong>Online</strong>: available</li> * </ul> * <blockquote> * <p> If the minor engine version is in the Offline state, the minor engine version is discontinued. In this case, ignore the expiration status. If the minor engine version is in the Online state and the expiration state is expired, the minor engine version expires. If the expiration state is vaild, the minor engine version is still in its lifecycle.</p> * </blockquote> * * <strong>example:</strong> * <p>Online</p> */ public Builder statusDesc(String statusDesc) { this.statusDesc = statusDesc; return this; } /** * <p>The tag that corresponds to the minor engine version. Valid values:</p> * <ul> * <li><strong>pgsql_docker_image</strong>: tag of common instances</li> * <li><strong>pgsql_babelfish_image</strong>: tag of instances for which Babelfish is enabled</li> * </ul> * <blockquote> * <p> This parameter is available only for instances that run <strong>PostgreSQL</strong>.</p> * </blockquote> * * <strong>example:</strong> * <p>pgsql_babelfish_image</p> */ public Builder tag(String tag) { this.tag = tag; return this; } public MinorVersionItems build() { return new MinorVersionItems(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/DescribeDBProxyEndpointRequest.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 DescribeDBProxyEndpointRequest} extends {@link RequestModel} * * <p>DescribeDBProxyEndpointRequest</p> */ public class DescribeDBProxyEndpointRequest 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("DBProxyConnectString") private String DBProxyConnectString; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DBProxyEndpointId") private String DBProxyEndpointId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DBProxyEngineType") private String DBProxyEngineType; @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 DescribeDBProxyEndpointRequest(Builder builder) { super(builder); this.DBInstanceId = builder.DBInstanceId; this.DBProxyConnectString = builder.DBProxyConnectString; this.DBProxyEndpointId = builder.DBProxyEndpointId; this.DBProxyEngineType = builder.DBProxyEngineType; 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 DescribeDBProxyEndpointRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return DBInstanceId */ public String getDBInstanceId() { return this.DBInstanceId; } /** * @return DBProxyConnectString */ public String getDBProxyConnectString() { return this.DBProxyConnectString; } /** * @return DBProxyEndpointId */ public String getDBProxyEndpointId() { return this.DBProxyEndpointId; } /** * @return DBProxyEngineType */ public String getDBProxyEngineType() { return this.DBProxyEngineType; } /** * @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<DescribeDBProxyEndpointRequest, Builder> { private String DBInstanceId; private String DBProxyConnectString; private String DBProxyEndpointId; private String DBProxyEngineType; private Long ownerId; private String regionId; private String resourceOwnerAccount; private Long resourceOwnerId; private Builder() { super(); } private Builder(DescribeDBProxyEndpointRequest request) { super(request); this.DBInstanceId = request.DBInstanceId; this.DBProxyConnectString = request.DBProxyConnectString; this.DBProxyEndpointId = request.DBProxyEndpointId; this.DBProxyEngineType = request.DBProxyEngineType; this.ownerId = request.ownerId; this.regionId = request.regionId; 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-bp1ja4f56s7us****</p> */ public Builder DBInstanceId(String DBInstanceId) { this.putQueryParameter("DBInstanceId", DBInstanceId); this.DBInstanceId = DBInstanceId; return this; } /** * <p>The proxy endpoint that you want to query. You can call the DescribeDBProxy interface to query the proxy endpoint.</p> * * <strong>example:</strong> * <p>testproxy****.rwlb.rds.aliyuncs.com</p> */ public Builder DBProxyConnectString(String DBProxyConnectString) { this.putQueryParameter("DBProxyConnectString", DBProxyConnectString); this.DBProxyConnectString = DBProxyConnectString; return this; } /** * <p>The name of the proxy terminal. You can call the DescribeDBProxy interface to query the name of the proxy terminal.</p> * * <strong>example:</strong> * <p>keaxncrjluwu0gue****</p> */ public Builder DBProxyEndpointId(String DBProxyEndpointId) { this.putQueryParameter("DBProxyEndpointId", DBProxyEndpointId); this.DBProxyEndpointId = DBProxyEndpointId; return this; } /** * <p>A reserved parameter. You do not need to specify this parameter.</p> * * <strong>example:</strong> * <p>normal</p> */ public Builder DBProxyEngineType(String DBProxyEngineType) { this.putQueryParameter("DBProxyEngineType", DBProxyEngineType); this.DBProxyEngineType = DBProxyEngineType; 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 DescribeDBProxyEndpointRequest build() { return new DescribeDBProxyEndpointRequest(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/DescribeDBProxyEndpointResponse.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 DescribeDBProxyEndpointResponse} extends {@link TeaModel} * * <p>DescribeDBProxyEndpointResponse</p> */ public class DescribeDBProxyEndpointResponse 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 DescribeDBProxyEndpointResponseBody body; private DescribeDBProxyEndpointResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeDBProxyEndpointResponse 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 DescribeDBProxyEndpointResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeDBProxyEndpointResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeDBProxyEndpointResponseBody body); @Override DescribeDBProxyEndpointResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeDBProxyEndpointResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeDBProxyEndpointResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeDBProxyEndpointResponse 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(DescribeDBProxyEndpointResponseBody body) { this.body = body; return this; } @Override public DescribeDBProxyEndpointResponse build() { return new DescribeDBProxyEndpointResponse(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/DescribeDBProxyEndpointResponseBody.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 DescribeDBProxyEndpointResponseBody} extends {@link TeaModel} * * <p>DescribeDBProxyEndpointResponseBody</p> */ public class DescribeDBProxyEndpointResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("CausalConsistReadTimeout") private String causalConsistReadTimeout; @com.aliyun.core.annotation.NameInMap("DBProxyConnectString") private String DBProxyConnectString; @com.aliyun.core.annotation.NameInMap("DBProxyConnectStringNetType") private String DBProxyConnectStringNetType; @com.aliyun.core.annotation.NameInMap("DBProxyConnectStringPort") private String DBProxyConnectStringPort; @com.aliyun.core.annotation.NameInMap("DBProxyEndpointId") private String DBProxyEndpointId; @com.aliyun.core.annotation.NameInMap("DBProxyEndpointMinSlaveCount") private String DBProxyEndpointMinSlaveCount; @com.aliyun.core.annotation.NameInMap("DBProxyEngineType") private String DBProxyEngineType; @com.aliyun.core.annotation.NameInMap("DBProxyFeatures") private String DBProxyFeatures; @com.aliyun.core.annotation.NameInMap("DBProxyNodes") private DBProxyNodes DBProxyNodes; @com.aliyun.core.annotation.NameInMap("DbProxyEndpointAliases") private String dbProxyEndpointAliases; @com.aliyun.core.annotation.NameInMap("DbProxyEndpointReadWriteMode") private String dbProxyEndpointReadWriteMode; @com.aliyun.core.annotation.NameInMap("DbProxyEndpointVpcId") private String dbProxyEndpointVpcId; @com.aliyun.core.annotation.NameInMap("DbProxyEndpointVswitchId") private String dbProxyEndpointVswitchId; @com.aliyun.core.annotation.NameInMap("DbProxyEndpointZoneId") private String dbProxyEndpointZoneId; @com.aliyun.core.annotation.NameInMap("EndpointConnectItems") private EndpointConnectItems endpointConnectItems; @com.aliyun.core.annotation.NameInMap("ReadOnlyInstanceDistributionType") private String readOnlyInstanceDistributionType; @com.aliyun.core.annotation.NameInMap("ReadOnlyInstanceMaxDelayTime") private String readOnlyInstanceMaxDelayTime; @com.aliyun.core.annotation.NameInMap("ReadOnlyInstanceWeight") private String readOnlyInstanceWeight; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeDBProxyEndpointResponseBody(Builder builder) { this.causalConsistReadTimeout = builder.causalConsistReadTimeout; this.DBProxyConnectString = builder.DBProxyConnectString; this.DBProxyConnectStringNetType = builder.DBProxyConnectStringNetType; this.DBProxyConnectStringPort = builder.DBProxyConnectStringPort; this.DBProxyEndpointId = builder.DBProxyEndpointId; this.DBProxyEndpointMinSlaveCount = builder.DBProxyEndpointMinSlaveCount; this.DBProxyEngineType = builder.DBProxyEngineType; this.DBProxyFeatures = builder.DBProxyFeatures; this.DBProxyNodes = builder.DBProxyNodes; this.dbProxyEndpointAliases = builder.dbProxyEndpointAliases; this.dbProxyEndpointReadWriteMode = builder.dbProxyEndpointReadWriteMode; this.dbProxyEndpointVpcId = builder.dbProxyEndpointVpcId; this.dbProxyEndpointVswitchId = builder.dbProxyEndpointVswitchId; this.dbProxyEndpointZoneId = builder.dbProxyEndpointZoneId; this.endpointConnectItems = builder.endpointConnectItems; this.readOnlyInstanceDistributionType = builder.readOnlyInstanceDistributionType; this.readOnlyInstanceMaxDelayTime = builder.readOnlyInstanceMaxDelayTime; this.readOnlyInstanceWeight = builder.readOnlyInstanceWeight; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeDBProxyEndpointResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return causalConsistReadTimeout */ public String getCausalConsistReadTimeout() { return this.causalConsistReadTimeout; } /** * @return DBProxyConnectString */ public String getDBProxyConnectString() { return this.DBProxyConnectString; } /** * @return DBProxyConnectStringNetType */ public String getDBProxyConnectStringNetType() { return this.DBProxyConnectStringNetType; } /** * @return DBProxyConnectStringPort */ public String getDBProxyConnectStringPort() { return this.DBProxyConnectStringPort; } /** * @return DBProxyEndpointId */ public String getDBProxyEndpointId() { return this.DBProxyEndpointId; } /** * @return DBProxyEndpointMinSlaveCount */ public String getDBProxyEndpointMinSlaveCount() { return this.DBProxyEndpointMinSlaveCount; } /** * @return DBProxyEngineType */ public String getDBProxyEngineType() { return this.DBProxyEngineType; } /** * @return DBProxyFeatures */ public String getDBProxyFeatures() { return this.DBProxyFeatures; } /** * @return DBProxyNodes */ public DBProxyNodes getDBProxyNodes() { return this.DBProxyNodes; } /** * @return dbProxyEndpointAliases */ public String getDbProxyEndpointAliases() { return this.dbProxyEndpointAliases; } /** * @return dbProxyEndpointReadWriteMode */ public String getDbProxyEndpointReadWriteMode() { return this.dbProxyEndpointReadWriteMode; } /** * @return dbProxyEndpointVpcId */ public String getDbProxyEndpointVpcId() { return this.dbProxyEndpointVpcId; } /** * @return dbProxyEndpointVswitchId */ public String getDbProxyEndpointVswitchId() { return this.dbProxyEndpointVswitchId; } /** * @return dbProxyEndpointZoneId */ public String getDbProxyEndpointZoneId() { return this.dbProxyEndpointZoneId; } /** * @return endpointConnectItems */ public EndpointConnectItems getEndpointConnectItems() { return this.endpointConnectItems; } /** * @return readOnlyInstanceDistributionType */ public String getReadOnlyInstanceDistributionType() { return this.readOnlyInstanceDistributionType; } /** * @return readOnlyInstanceMaxDelayTime */ public String getReadOnlyInstanceMaxDelayTime() { return this.readOnlyInstanceMaxDelayTime; } /** * @return readOnlyInstanceWeight */ public String getReadOnlyInstanceWeight() { return this.readOnlyInstanceWeight; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String causalConsistReadTimeout; private String DBProxyConnectString; private String DBProxyConnectStringNetType; private String DBProxyConnectStringPort; private String DBProxyEndpointId; private String DBProxyEndpointMinSlaveCount; private String DBProxyEngineType; private String DBProxyFeatures; private DBProxyNodes DBProxyNodes; private String dbProxyEndpointAliases; private String dbProxyEndpointReadWriteMode; private String dbProxyEndpointVpcId; private String dbProxyEndpointVswitchId; private String dbProxyEndpointZoneId; private EndpointConnectItems endpointConnectItems; private String readOnlyInstanceDistributionType; private String readOnlyInstanceMaxDelayTime; private String readOnlyInstanceWeight; private String requestId; private Builder() { } private Builder(DescribeDBProxyEndpointResponseBody model) { this.causalConsistReadTimeout = model.causalConsistReadTimeout; this.DBProxyConnectString = model.DBProxyConnectString; this.DBProxyConnectStringNetType = model.DBProxyConnectStringNetType; this.DBProxyConnectStringPort = model.DBProxyConnectStringPort; this.DBProxyEndpointId = model.DBProxyEndpointId; this.DBProxyEndpointMinSlaveCount = model.DBProxyEndpointMinSlaveCount; this.DBProxyEngineType = model.DBProxyEngineType; this.DBProxyFeatures = model.DBProxyFeatures; this.DBProxyNodes = model.DBProxyNodes; this.dbProxyEndpointAliases = model.dbProxyEndpointAliases; this.dbProxyEndpointReadWriteMode = model.dbProxyEndpointReadWriteMode; this.dbProxyEndpointVpcId = model.dbProxyEndpointVpcId; this.dbProxyEndpointVswitchId = model.dbProxyEndpointVswitchId; this.dbProxyEndpointZoneId = model.dbProxyEndpointZoneId; this.endpointConnectItems = model.endpointConnectItems; this.readOnlyInstanceDistributionType = model.readOnlyInstanceDistributionType; this.readOnlyInstanceMaxDelayTime = model.readOnlyInstanceMaxDelayTime; this.readOnlyInstanceWeight = model.readOnlyInstanceWeight; this.requestId = model.requestId; } /** * <p>The timeout period for consistency reads. Unit: milliseconds. Default value: <strong>10</strong>. Valid values: <strong>0</strong> to <strong>60000</strong>.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder causalConsistReadTimeout(String causalConsistReadTimeout) { this.causalConsistReadTimeout = causalConsistReadTimeout; return this; } /** * <p>The proxy endpoint queried.</p> * * <strong>example:</strong> * <p>testproxy****.rwlb.rds.aliyuncs.com</p> */ public Builder DBProxyConnectString(String DBProxyConnectString) { this.DBProxyConnectString = DBProxyConnectString; return this; } /** * <p>The network type of the proxy endpoint. Valid values:</p> * <ul> * <li><strong>InnerString</strong>: internal network</li> * <li><strong>OuterString</strong>: Internet</li> * </ul> * * <strong>example:</strong> * <p>InnerString</p> */ public Builder DBProxyConnectStringNetType(String DBProxyConnectStringNetType) { this.DBProxyConnectStringNetType = DBProxyConnectStringNetType; return this; } /** * <p>The port number that is associated with the proxy endpoint.</p> * * <strong>example:</strong> * <p>3306</p> */ public Builder DBProxyConnectStringPort(String DBProxyConnectStringPort) { this.DBProxyConnectStringPort = DBProxyConnectStringPort; return this; } /** * <p>The ID of the proxy endpoint.</p> * * <strong>example:</strong> * <p>keaxncrjluwu0gue****</p> */ public Builder DBProxyEndpointId(String DBProxyEndpointId) { this.DBProxyEndpointId = DBProxyEndpointId; return this; } /** * <p>The minimum number of reserved instances.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder DBProxyEndpointMinSlaveCount(String DBProxyEndpointMinSlaveCount) { this.DBProxyEndpointMinSlaveCount = DBProxyEndpointMinSlaveCount; return this; } /** * <p>An internal parameter. You can ignore this parameter.</p> * * <strong>example:</strong> * <p>normal</p> */ public Builder DBProxyEngineType(String DBProxyEngineType) { this.DBProxyEngineType = DBProxyEngineType; return this; } /** * <p>The configuration of the proxy terminal. The value of this parameter is a JSON string that consists of the following parameters:</p> * <ul> * <li><strong>TransactionReadSqlRouteOptimizeStatus</strong>: the status of the transaction splitting feature. Valid values: <strong>0</strong> and <strong>1</strong>. The value 0 indicates that the feature is disabled. The value 1 indicates that the feature is enabled.</li> * <li><strong>ConnectionPersist</strong>: the status of the connection pooling feature. Valid values: <strong>0</strong>, <strong>1</strong>, and <strong>2</strong>. The value 0 indicates that the connection pooling feature is disabled. The value 1 indicates that the session-level connection pooling feature is enabled. The value 2 indicates that the transaction-level connection pooling feature is enabled.</li> * <li><strong>ReadWriteSpliting</strong>: the status of the read/write splitting feature. Valid values: <strong>0</strong> and <strong>1</strong>. The value 0 indicates that the feature is disabled. The value 1 indicates that the feature is enabled.</li> * <li><strong>AZProximityAccess</strong>: the status of the nearest access feature. Valid values: <strong>0</strong> and <strong>1</strong>. The value 0 indicates that the feature is disabled. The value 1 indicates that the feature is enabled.</li> * <li><strong>CausalConsistRead</strong>: the read consistency settings. Valid values: <strong>0</strong>, <strong>1</strong>, and <strong>2</strong>. The value 0 indicates eventual consistency. The value 1 indicates session consistency. The value 2 indicates global consistency.</li> * <li><strong>PinPreparedStmt</strong>: an internal parameter that is available only for ApsaraDB RDS for PostgrSQL instances.</li> * </ul> * <blockquote> * <p> If the instance runs PostgreSQL, you can change only the value of the <strong>ReadWriteSpliting</strong> field. The <strong>TransactionReadSqlRouteOptimizeStatus</strong> and <strong>PinPreparedStmt</strong> fields are set to their default values 1.</p> * </blockquote> * * <strong>example:</strong> * <p>TransactionReadSqlRouteOptimizeStatus:1;ConnectionPersist:0;ReadWriteSpliting:1</p> */ public Builder DBProxyFeatures(String DBProxyFeatures) { this.DBProxyFeatures = DBProxyFeatures; return this; } /** * <p>The proxy nodes that are associated with the proxy terminal.</p> */ public Builder DBProxyNodes(DBProxyNodes DBProxyNodes) { this.DBProxyNodes = DBProxyNodes; return this; } /** * <p>The description of the proxy terminal.</p> * * <strong>example:</strong> * <p>proxyterminal-test</p> */ public Builder dbProxyEndpointAliases(String dbProxyEndpointAliases) { this.dbProxyEndpointAliases = dbProxyEndpointAliases; return this; } /** * <p>The read and write attributes of the proxy terminal. Valid values:</p> * <ul> * <li><strong>ReadWrite</strong>: The proxy terminal supports read and write requests.</li> * <li><strong>ReadOnly</strong>: The proxy terminal supports only read requests.</li> * </ul> * * <strong>example:</strong> * <p>ReadWrite</p> */ public Builder dbProxyEndpointReadWriteMode(String dbProxyEndpointReadWriteMode) { this.dbProxyEndpointReadWriteMode = dbProxyEndpointReadWriteMode; return this; } /** * <p>The virtual private cloud (VPC) ID of the proxy.</p> * * <strong>example:</strong> * <p>vpc-****</p> */ public Builder dbProxyEndpointVpcId(String dbProxyEndpointVpcId) { this.dbProxyEndpointVpcId = dbProxyEndpointVpcId; return this; } /** * <p>The vSwitch ID of the proxy terminal.</p> * * <strong>example:</strong> * <p>vsw-****</p> */ public Builder dbProxyEndpointVswitchId(String dbProxyEndpointVswitchId) { this.dbProxyEndpointVswitchId = dbProxyEndpointVswitchId; return this; } /** * <p>The zone ID of the proxy terminal.</p> * * <strong>example:</strong> * <p>cn-hangzhou-c</p> */ public Builder dbProxyEndpointZoneId(String dbProxyEndpointZoneId) { this.dbProxyEndpointZoneId = dbProxyEndpointZoneId; return this; } /** * <p>An array that consists of the information about the proxy endpoint.</p> */ public Builder endpointConnectItems(EndpointConnectItems endpointConnectItems) { this.endpointConnectItems = endpointConnectItems; return this; } /** * <p>The method that is used to assign read weights. For more information, see <a href="https://help.aliyun.com/document_detail/96076.html">Modify the latency threshold and read weights of ApsaraDB RDS for MySQL instances</a>. Valid values:</p> * <ul> * <li><strong>Standard</strong>: The system automatically assigns read weights to the instance and its read-only instances based on the specifications of these instances.</li> * <li><strong>Custom</strong>: You must manually assign read weights to the instance and its read-only instances.</li> * </ul> * * <strong>example:</strong> * <p>Standard</p> */ public Builder readOnlyInstanceDistributionType(String readOnlyInstanceDistributionType) { this.readOnlyInstanceDistributionType = readOnlyInstanceDistributionType; return this; } /** * <p>The latency threshold that is allowed for read/write splitting. If the latency on a read-only instance exceeds the specified threshold, ApsaraDB RDS no longer forwards read requests to the read-only instance.</p> * * <strong>example:</strong> * <p>30</p> */ public Builder readOnlyInstanceMaxDelayTime(String readOnlyInstanceMaxDelayTime) { this.readOnlyInstanceMaxDelayTime = readOnlyInstanceMaxDelayTime; return this; } /** * <p>The read weights of the instance and its read-only instances. The value of this parameter is a JSON string that consists of the following parameters:</p> * <ul> * <li><strong>DBInstanceId</strong>: the ID of the instance.</li> * <li><strong>DBInstanceType</strong>: the role of the instance. Valid values: <strong>Master</strong> and <strong>ReadOnly</strong>.</li> * <li><strong>NodeID</strong>: The IDs of the primary and secondary nodes of the cluster. An instance that runs RDS Cluster Edition refers to a cluster.</li> * <li><strong>NodeType</strong>: The node type. Valid values: <strong>Primary</strong> and <strong>Secondary</strong>.</li> * <li><strong>Weight</strong>: the read weight of the instance. The read weight increases in increments of <strong>100</strong> and cannot exceed <strong>10000</strong>.</li> * </ul> * * <strong>example:</strong> * <p>[{&quot;Availability&quot;:&quot;Available&quot;,&quot;DBInstanceId&quot;:&quot;rr-bp176984qewd8****&quot;,&quot;DBInstanceType&quot;:&quot;ReadOnly&quot;,&quot;Weight&quot;:400},{&quot;Availability&quot;:&quot;Available&quot;,&quot;DBInstanceId&quot;:&quot;rm-bp1ja4f56s7us****&quot;,&quot;DBInstanceType&quot;:&quot;Master&quot;,&quot;Weight&quot;:0}]</p> */ public Builder readOnlyInstanceWeight(String readOnlyInstanceWeight) { this.readOnlyInstanceWeight = readOnlyInstanceWeight; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>847BA085-B377-4BFA-8267-F82345ECE1D2</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeDBProxyEndpointResponseBody build() { return new DescribeDBProxyEndpointResponseBody(this); } } /** * * {@link DescribeDBProxyEndpointResponseBody} extends {@link TeaModel} * * <p>DescribeDBProxyEndpointResponseBody</p> */ public static class DBProxyNodesDBProxyNodes extends TeaModel { @com.aliyun.core.annotation.NameInMap("cpuCores") private String cpuCores; @com.aliyun.core.annotation.NameInMap("nodeId") private String nodeId; @com.aliyun.core.annotation.NameInMap("zoneId") private String zoneId; private DBProxyNodesDBProxyNodes(Builder builder) { this.cpuCores = builder.cpuCores; this.nodeId = builder.nodeId; this.zoneId = builder.zoneId; } public static Builder builder() { return new Builder(); } public static DBProxyNodesDBProxyNodes create() { return builder().build(); } /** * @return cpuCores */ public String getCpuCores() { return this.cpuCores; } /** * @return nodeId */ public String getNodeId() { return this.nodeId; } /** * @return zoneId */ public String getZoneId() { return this.zoneId; } public static final class Builder { private String cpuCores; private String nodeId; private String zoneId; private Builder() { } private Builder(DBProxyNodesDBProxyNodes model) { this.cpuCores = model.cpuCores; this.nodeId = model.nodeId; this.zoneId = model.zoneId; } /** * <p>The number of CPU cores of the node.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder cpuCores(String cpuCores) { this.cpuCores = cpuCores; return this; } /** * <p>The ID of the node in the zone.</p> * * <strong>example:</strong> * <p>pn-xxxxxxx01</p> */ public Builder nodeId(String nodeId) { this.nodeId = nodeId; return this; } /** * <p>The zone ID of the node.</p> * * <strong>example:</strong> * <p>cn-hangzhou-c</p> */ public Builder zoneId(String zoneId) { this.zoneId = zoneId; return this; } public DBProxyNodesDBProxyNodes build() { return new DBProxyNodesDBProxyNodes(this); } } } /** * * {@link DescribeDBProxyEndpointResponseBody} extends {@link TeaModel} * * <p>DescribeDBProxyEndpointResponseBody</p> */ public static class DBProxyNodes extends TeaModel { @com.aliyun.core.annotation.NameInMap("DBProxyNodes") private java.util.List<DBProxyNodesDBProxyNodes> DBProxyNodes; private DBProxyNodes(Builder builder) { this.DBProxyNodes = builder.DBProxyNodes; } public static Builder builder() { return new Builder(); } public static DBProxyNodes create() { return builder().build(); } /** * @return DBProxyNodes */ public java.util.List<DBProxyNodesDBProxyNodes> getDBProxyNodes() { return this.DBProxyNodes; } public static final class Builder { private java.util.List<DBProxyNodesDBProxyNodes> DBProxyNodes; private Builder() { } private Builder(DBProxyNodes model) { this.DBProxyNodes = model.DBProxyNodes; } /** * <p>The proxy nodes that are associated with the proxy terminal.</p> */ public Builder DBProxyNodes(java.util.List<DBProxyNodesDBProxyNodes> DBProxyNodes) { this.DBProxyNodes = DBProxyNodes; return this; } public DBProxyNodes build() { return new DBProxyNodes(this); } } } /** * * {@link DescribeDBProxyEndpointResponseBody} extends {@link TeaModel} * * <p>DescribeDBProxyEndpointResponseBody</p> */ public static class EndpointConnectItemsEndpointConnectItems extends TeaModel { @com.aliyun.core.annotation.NameInMap("DbProxyEndpointConnectString") private String dbProxyEndpointConnectString; @com.aliyun.core.annotation.NameInMap("DbProxyEndpointNetType") private String dbProxyEndpointNetType; @com.aliyun.core.annotation.NameInMap("DbProxyEndpointPort") private String dbProxyEndpointPort; private EndpointConnectItemsEndpointConnectItems(Builder builder) { this.dbProxyEndpointConnectString = builder.dbProxyEndpointConnectString; this.dbProxyEndpointNetType = builder.dbProxyEndpointNetType; this.dbProxyEndpointPort = builder.dbProxyEndpointPort; } public static Builder builder() { return new Builder(); } public static EndpointConnectItemsEndpointConnectItems create() { return builder().build(); } /** * @return dbProxyEndpointConnectString */ public String getDbProxyEndpointConnectString() { return this.dbProxyEndpointConnectString; } /** * @return dbProxyEndpointNetType */ public String getDbProxyEndpointNetType() { return this.dbProxyEndpointNetType; } /** * @return dbProxyEndpointPort */ public String getDbProxyEndpointPort() { return this.dbProxyEndpointPort; } public static final class Builder { private String dbProxyEndpointConnectString; private String dbProxyEndpointNetType; private String dbProxyEndpointPort; private Builder() { } private Builder(EndpointConnectItemsEndpointConnectItems model) { this.dbProxyEndpointConnectString = model.dbProxyEndpointConnectString; this.dbProxyEndpointNetType = model.dbProxyEndpointNetType; this.dbProxyEndpointPort = model.dbProxyEndpointPort; } /** * <p>The proxy endpoint queried.</p> * * <strong>example:</strong> * <p>testproxy****.rwlb.rds.aliyuncs.com</p> */ public Builder dbProxyEndpointConnectString(String dbProxyEndpointConnectString) { this.dbProxyEndpointConnectString = dbProxyEndpointConnectString; return this; } /** * <p>The network type of the instance. Valid values:</p> * <ul> * <li><strong>0</strong>: Internet</li> * <li><strong>1</strong>: classic network</li> * <li><strong>2</strong>: virtual private cloud (VPC)</li> * </ul> * * <strong>example:</strong> * <p>2</p> */ public Builder dbProxyEndpointNetType(String dbProxyEndpointNetType) { this.dbProxyEndpointNetType = dbProxyEndpointNetType; return this; } /** * <p>The port number that is associated with the proxy endpoint. Default value: <strong>3306</strong>.</p> * * <strong>example:</strong> * <p>3306</p> */ public Builder dbProxyEndpointPort(String dbProxyEndpointPort) { this.dbProxyEndpointPort = dbProxyEndpointPort; return this; } public EndpointConnectItemsEndpointConnectItems build() { return new EndpointConnectItemsEndpointConnectItems(this); } } } /** * * {@link DescribeDBProxyEndpointResponseBody} extends {@link TeaModel} * * <p>DescribeDBProxyEndpointResponseBody</p> */ public static class EndpointConnectItems extends TeaModel { @com.aliyun.core.annotation.NameInMap("EndpointConnectItems") private java.util.List<EndpointConnectItemsEndpointConnectItems> endpointConnectItems; private EndpointConnectItems(Builder builder) { this.endpointConnectItems = builder.endpointConnectItems; } public static Builder builder() { return new Builder(); } public static EndpointConnectItems create() { return builder().build(); } /** * @return endpointConnectItems */ public java.util.List<EndpointConnectItemsEndpointConnectItems> getEndpointConnectItems() { return this.endpointConnectItems; } public static final class Builder { private java.util.List<EndpointConnectItemsEndpointConnectItems> endpointConnectItems; private Builder() { } private Builder(EndpointConnectItems model) { this.endpointConnectItems = model.endpointConnectItems; } /** * <p>An array that consists of the information about the proxy endpoint.</p> */ public Builder endpointConnectItems(java.util.List<EndpointConnectItemsEndpointConnectItems> endpointConnectItems) { this.endpointConnectItems = endpointConnectItems; return this; } public EndpointConnectItems build() { return new EndpointConnectItems(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/DescribeDBProxyPerformanceRequest.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 DescribeDBProxyPerformanceRequest} extends {@link RequestModel} * * <p>DescribeDBProxyPerformanceRequest</p> */ public class DescribeDBProxyPerformanceRequest 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("DBProxyEngineType") private String DBProxyEngineType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DBProxyInstanceType") private String DBProxyInstanceType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Dimension") private String dimension; @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("MetricsName") @com.aliyun.core.annotation.Validation(required = true) private String metricsName; @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("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 DescribeDBProxyPerformanceRequest(Builder builder) { super(builder); this.DBInstanceId = builder.DBInstanceId; this.DBProxyEngineType = builder.DBProxyEngineType; this.DBProxyInstanceType = builder.DBProxyInstanceType; this.dimension = builder.dimension; this.endTime = builder.endTime; this.metricsName = builder.metricsName; this.ownerId = builder.ownerId; this.regionId = builder.regionId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.startTime = builder.startTime; } public static Builder builder() { return new Builder(); } public static DescribeDBProxyPerformanceRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return DBInstanceId */ public String getDBInstanceId() { return this.DBInstanceId; } /** * @return DBProxyEngineType */ public String getDBProxyEngineType() { return this.DBProxyEngineType; } /** * @return DBProxyInstanceType */ public String getDBProxyInstanceType() { return this.DBProxyInstanceType; } /** * @return dimension */ public String getDimension() { return this.dimension; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return metricsName */ public String getMetricsName() { return this.metricsName; } /** * @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; } /** * @return startTime */ public String getStartTime() { return this.startTime; } public static final class Builder extends Request.Builder<DescribeDBProxyPerformanceRequest, Builder> { private String DBInstanceId; private String DBProxyEngineType; private String DBProxyInstanceType; private String dimension; private String endTime; private String metricsName; private Long ownerId; private String regionId; private String resourceOwnerAccount; private Long resourceOwnerId; private String startTime; private Builder() { super(); } private Builder(DescribeDBProxyPerformanceRequest request) { super(request); this.DBInstanceId = request.DBInstanceId; this.DBProxyEngineType = request.DBProxyEngineType; this.DBProxyInstanceType = request.DBProxyInstanceType; this.dimension = request.dimension; this.endTime = request.endTime; this.metricsName = request.metricsName; this.ownerId = request.ownerId; this.regionId = request.regionId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.startTime = request.startTime; } /** * <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-t4n3axxxxx</p> */ public Builder DBInstanceId(String DBInstanceId) { this.putQueryParameter("DBInstanceId", DBInstanceId); this.DBInstanceId = DBInstanceId; return this; } /** * <p>A reserved parameter. You do not need to specify this parameter.</p> * * <strong>example:</strong> * <p>normal</p> */ public Builder DBProxyEngineType(String DBProxyEngineType) { this.putQueryParameter("DBProxyEngineType", DBProxyEngineType); this.DBProxyEngineType = DBProxyEngineType; return this; } /** * <p>The type of the database proxy instance. Valid values:</p> * <ul> * <li>common: the general-purpose database proxy</li> * <li>exclusive: the dedicated database proxy</li> * </ul> * * <strong>example:</strong> * <p>DedicatedProxy</p> */ public Builder DBProxyInstanceType(String DBProxyInstanceType) { this.putQueryParameter("DBProxyInstanceType", DBProxyInstanceType); this.DBProxyInstanceType = DBProxyInstanceType; return this; } /** * <p>Dimension.</p> * * <strong>example:</strong> * <p>service</p> */ public Builder dimension(String dimension) { this.putQueryParameter("Dimension", dimension); this.dimension = dimension; return this; } /** * <p>The end of the time range to query. The end time must be later than the start time. Specify the time in the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time must be in UTC.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>2019-09-21T18:00:00Z</p> */ public Builder endTime(String endTime) { this.putQueryParameter("EndTime", endTime); this.endTime = endTime; return this; } /** * <p>The performance metrics that you want to query.</p> * <p>If the instance runs MySQL, you can query only the <strong>Maxscale_CpuUsage</strong> performance metric, which indicates the CPU utilization of the instance.</p> * <p>If the instance runs PostgreSQL, you can query the following performance metrics:</p> * <ul> * <li><strong>Maxscale_TotalConns</strong>: the number of connections per second</li> * <li><strong>Maxscale_CurrentConns</strong>: the number of connections that are established</li> * <li><strong>Maxscale_DownFlows</strong>: outbound traffic</li> * <li><strong>Maxscale_UpFlows</strong>: inbound traffic</li> * <li><strong>Maxscale_QPS</strong>: QPS</li> * <li><strong>Maxscale_MemUsage</strong>: memory usage</li> * <li><strong>Maxscale_CpuUsage</strong>: CPU utilization</li> * </ul> * <p>If you want to query more than one performance metric, separate the performance metrics with commas (,). You can specify up to six performance metrics in a single request.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>Maxscale_CpuUsage</p> */ public Builder metricsName(String metricsName) { this.putQueryParameter("MetricsName", metricsName); this.metricsName = metricsName; 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; } /** * 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:ss</em>Z format. The time must be in UTC.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>2019-09-19T01:00:00Z</p> */ public Builder startTime(String startTime) { this.putQueryParameter("StartTime", startTime); this.startTime = startTime; return this; } @Override public DescribeDBProxyPerformanceRequest build() { return new DescribeDBProxyPerformanceRequest(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/DescribeDBProxyPerformanceResponse.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 DescribeDBProxyPerformanceResponse} extends {@link TeaModel} * * <p>DescribeDBProxyPerformanceResponse</p> */ public class DescribeDBProxyPerformanceResponse 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 DescribeDBProxyPerformanceResponseBody body; private DescribeDBProxyPerformanceResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeDBProxyPerformanceResponse 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 DescribeDBProxyPerformanceResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeDBProxyPerformanceResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeDBProxyPerformanceResponseBody body); @Override DescribeDBProxyPerformanceResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeDBProxyPerformanceResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeDBProxyPerformanceResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeDBProxyPerformanceResponse 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(DescribeDBProxyPerformanceResponseBody body) { this.body = body; return this; } @Override public DescribeDBProxyPerformanceResponse build() { return new DescribeDBProxyPerformanceResponse(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/DescribeDBProxyPerformanceResponseBody.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 DescribeDBProxyPerformanceResponseBody} extends {@link TeaModel} * * <p>DescribeDBProxyPerformanceResponseBody</p> */ public class DescribeDBProxyPerformanceResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("DBInstanceId") private String DBInstanceId; @com.aliyun.core.annotation.NameInMap("DBProxyEngineType") private String DBProxyEngineType; @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @com.aliyun.core.annotation.NameInMap("PerformanceKeys") private PerformanceKeys performanceKeys; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("StartTime") private String startTime; private DescribeDBProxyPerformanceResponseBody(Builder builder) { this.DBInstanceId = builder.DBInstanceId; this.DBProxyEngineType = builder.DBProxyEngineType; this.endTime = builder.endTime; this.performanceKeys = builder.performanceKeys; this.requestId = builder.requestId; this.startTime = builder.startTime; } public static Builder builder() { return new Builder(); } public static DescribeDBProxyPerformanceResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return DBInstanceId */ public String getDBInstanceId() { return this.DBInstanceId; } /** * @return DBProxyEngineType */ public String getDBProxyEngineType() { return this.DBProxyEngineType; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return performanceKeys */ public PerformanceKeys getPerformanceKeys() { return this.performanceKeys; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return startTime */ public String getStartTime() { return this.startTime; } public static final class Builder { private String DBInstanceId; private String DBProxyEngineType; private String endTime; private PerformanceKeys performanceKeys; private String requestId; private String startTime; private Builder() { } private Builder(DescribeDBProxyPerformanceResponseBody model) { this.DBInstanceId = model.DBInstanceId; this.DBProxyEngineType = model.DBProxyEngineType; this.endTime = model.endTime; this.performanceKeys = model.performanceKeys; this.requestId = model.requestId; this.startTime = model.startTime; } /** * <p>The instance ID.</p> * * <strong>example:</strong> * <p>lsmexxxxxxx</p> */ public Builder DBInstanceId(String DBInstanceId) { this.DBInstanceId = DBInstanceId; return this; } /** * <p>An internal parameter. You do not need to specify this parameter.</p> * * <strong>example:</strong> * <p>normal</p> */ public Builder DBProxyEngineType(String DBProxyEngineType) { this.DBProxyEngineType = DBProxyEngineType; return this; } /** * <p>The end time of the query.</p> * * <strong>example:</strong> * <p>2019-09-21T18:00:00Z</p> */ public Builder endTime(String endTime) { this.endTime = endTime; return this; } /** * <p>The performance list.</p> */ public Builder performanceKeys(PerformanceKeys performanceKeys) { this.performanceKeys = performanceKeys; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>DD31056F-A0CE-41D7-AD39-689B6ABAE982</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The start time of the query.</p> * * <strong>example:</strong> * <p>2019-09-19T01:00:00Z</p> */ public Builder startTime(String startTime) { this.startTime = startTime; return this; } public DescribeDBProxyPerformanceResponseBody build() { return new DescribeDBProxyPerformanceResponseBody(this); } } /** * * {@link DescribeDBProxyPerformanceResponseBody} extends {@link TeaModel} * * <p>DescribeDBProxyPerformanceResponseBody</p> */ public static class PerformanceValue extends TeaModel { @com.aliyun.core.annotation.NameInMap("Date") private String date; @com.aliyun.core.annotation.NameInMap("Value") private String value; private PerformanceValue(Builder builder) { this.date = builder.date; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static PerformanceValue create() { return builder().build(); } /** * @return date */ public String getDate() { return this.date; } /** * @return value */ public String getValue() { return this.value; } public static final class Builder { private String date; private String value; private Builder() { } private Builder(PerformanceValue model) { this.date = model.date; this.value = model.value; } /** * <p>The date and time when the value of the performance metric was recorded. 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-10T09:00:00Z</p> */ public Builder date(String date) { this.date = date; return this; } /** * <p>The value of the performance metric.</p> * * <strong>example:</strong> * <p>2.83</p> */ public Builder value(String value) { this.value = value; return this; } public PerformanceValue build() { return new PerformanceValue(this); } } } /** * * {@link DescribeDBProxyPerformanceResponseBody} extends {@link TeaModel} * * <p>DescribeDBProxyPerformanceResponseBody</p> */ public static class Values extends TeaModel { @com.aliyun.core.annotation.NameInMap("PerformanceValue") private java.util.List<PerformanceValue> performanceValue; private Values(Builder builder) { this.performanceValue = builder.performanceValue; } public static Builder builder() { return new Builder(); } public static Values create() { return builder().build(); } /** * @return performanceValue */ public java.util.List<PerformanceValue> getPerformanceValue() { return this.performanceValue; } public static final class Builder { private java.util.List<PerformanceValue> performanceValue; private Builder() { } private Builder(Values model) { this.performanceValue = model.performanceValue; } /** * PerformanceValue. */ public Builder performanceValue(java.util.List<PerformanceValue> performanceValue) { this.performanceValue = performanceValue; return this; } public Values build() { return new Values(this); } } } /** * * {@link DescribeDBProxyPerformanceResponseBody} extends {@link TeaModel} * * <p>DescribeDBProxyPerformanceResponseBody</p> */ public static class PerformanceKey extends TeaModel { @com.aliyun.core.annotation.NameInMap("Key") private String key; @com.aliyun.core.annotation.NameInMap("Node") private String node; @com.aliyun.core.annotation.NameInMap("Service") private String service; @com.aliyun.core.annotation.NameInMap("ValueFormat") private String valueFormat; @com.aliyun.core.annotation.NameInMap("Values") private Values values; private PerformanceKey(Builder builder) { this.key = builder.key; this.node = builder.node; this.service = builder.service; this.valueFormat = builder.valueFormat; this.values = builder.values; } public static Builder builder() { return new Builder(); } public static PerformanceKey create() { return builder().build(); } /** * @return key */ public String getKey() { return this.key; } /** * @return node */ public String getNode() { return this.node; } /** * @return service */ public String getService() { return this.service; } /** * @return valueFormat */ public String getValueFormat() { return this.valueFormat; } /** * @return values */ public Values getValues() { return this.values; } public static final class Builder { private String key; private String node; private String service; private String valueFormat; private Values values; private Builder() { } private Builder(PerformanceKey model) { this.key = model.key; this.node = model.node; this.service = model.service; this.valueFormat = model.valueFormat; this.values = model.values; } /** * <p>The performance parameter.</p> * * <strong>example:</strong> * <p>cpu_ratio</p> */ public Builder key(String key) { this.key = key; return this; } /** * Node. */ public Builder node(String node) { this.node = node; return this; } /** * <p>The service dimension.</p> * * <strong>example:</strong> * <p>reserve_3</p> */ public Builder service(String service) { this.service = service; return this; } /** * <p>The format in which the value of the performance metric is returned.</p> * * <strong>example:</strong> * <p>docker_container_cpu</p> */ public Builder valueFormat(String valueFormat) { this.valueFormat = valueFormat; return this; } /** * <p>The performance metrics.</p> */ public Builder values(Values values) { this.values = values; return this; } public PerformanceKey build() { return new PerformanceKey(this); } } } /** * * {@link DescribeDBProxyPerformanceResponseBody} extends {@link TeaModel} * * <p>DescribeDBProxyPerformanceResponseBody</p> */ public static class PerformanceKeys extends TeaModel { @com.aliyun.core.annotation.NameInMap("PerformanceKey") private java.util.List<PerformanceKey> performanceKey; private PerformanceKeys(Builder builder) { this.performanceKey = builder.performanceKey; } public static Builder builder() { return new Builder(); } public static PerformanceKeys create() { return builder().build(); } /** * @return performanceKey */ public java.util.List<PerformanceKey> getPerformanceKey() { return this.performanceKey; } public static final class Builder { private java.util.List<PerformanceKey> performanceKey; private Builder() { } private Builder(PerformanceKeys model) { this.performanceKey = model.performanceKey; } /** * PerformanceKey. */ public Builder performanceKey(java.util.List<PerformanceKey> performanceKey) { this.performanceKey = performanceKey; return this; } public PerformanceKeys build() { return new PerformanceKeys(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/DescribeDBProxyRequest.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 DescribeDBProxyRequest} extends {@link RequestModel} * * <p>DescribeDBProxyRequest</p> */ public class DescribeDBProxyRequest 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("DBProxyEngineType") private String DBProxyEngineType; @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("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 DescribeDBProxyRequest(Builder builder) { super(builder); this.DBInstanceId = builder.DBInstanceId; this.DBProxyEngineType = builder.DBProxyEngineType; 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 DescribeDBProxyRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return DBInstanceId */ public String getDBInstanceId() { return this.DBInstanceId; } /** * @return DBProxyEngineType */ public String getDBProxyEngineType() { return this.DBProxyEngineType; } /** * @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<DescribeDBProxyRequest, Builder> { private String DBInstanceId; private String DBProxyEngineType; private Long ownerId; private String regionId; private String resourceGroupId; private String resourceOwnerAccount; private Long resourceOwnerId; private Builder() { super(); } private Builder(DescribeDBProxyRequest request) { super(request); this.DBInstanceId = request.DBInstanceId; this.DBProxyEngineType = request.DBProxyEngineType; this.ownerId = request.ownerId; this.regionId = request.regionId; 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-bp1ja4f56s7us****</p> */ public Builder DBInstanceId(String DBInstanceId) { this.putQueryParameter("DBInstanceId", DBInstanceId); this.DBInstanceId = DBInstanceId; return this; } /** * <p>A deprecated parameter. You do not need to specify this parameter.</p> * * <strong>example:</strong> * <p>normal</p> */ public Builder DBProxyEngineType(String DBProxyEngineType) { this.putQueryParameter("DBProxyEngineType", DBProxyEngineType); this.DBProxyEngineType = DBProxyEngineType; 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; } /** * <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 DescribeDBProxyRequest build() { return new DescribeDBProxyRequest(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/DescribeDBProxyResponse.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 DescribeDBProxyResponse} extends {@link TeaModel} * * <p>DescribeDBProxyResponse</p> */ public class DescribeDBProxyResponse 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 DescribeDBProxyResponseBody body; private DescribeDBProxyResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeDBProxyResponse 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 DescribeDBProxyResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeDBProxyResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeDBProxyResponseBody body); @Override DescribeDBProxyResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeDBProxyResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeDBProxyResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeDBProxyResponse 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(DescribeDBProxyResponseBody body) { this.body = body; return this; } @Override public DescribeDBProxyResponse build() { return new DescribeDBProxyResponse(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/DescribeDBProxyResponseBody.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 DescribeDBProxyResponseBody} extends {@link TeaModel} * * <p>DescribeDBProxyResponseBody</p> */ public class DescribeDBProxyResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("DBProxyAVZones") private DBProxyAVZones DBProxyAVZones; @com.aliyun.core.annotation.NameInMap("DBProxyConnectStringItems") private DBProxyConnectStringItems DBProxyConnectStringItems; @com.aliyun.core.annotation.NameInMap("DBProxyEngineType") private String DBProxyEngineType; @com.aliyun.core.annotation.NameInMap("DBProxyInstanceCurrentMinorVersion") private String DBProxyInstanceCurrentMinorVersion; @com.aliyun.core.annotation.NameInMap("DBProxyInstanceLatestMinorVersion") private String DBProxyInstanceLatestMinorVersion; @com.aliyun.core.annotation.NameInMap("DBProxyInstanceName") private String DBProxyInstanceName; @com.aliyun.core.annotation.NameInMap("DBProxyInstanceNum") private Integer DBProxyInstanceNum; @com.aliyun.core.annotation.NameInMap("DBProxyInstanceSize") private String DBProxyInstanceSize; @com.aliyun.core.annotation.NameInMap("DBProxyInstanceStatus") private String DBProxyInstanceStatus; @com.aliyun.core.annotation.NameInMap("DBProxyInstanceType") private String DBProxyInstanceType; @com.aliyun.core.annotation.NameInMap("DBProxyKindCode") private String DBProxyKindCode; @com.aliyun.core.annotation.NameInMap("DBProxyNodes") private DBProxyNodes DBProxyNodes; @com.aliyun.core.annotation.NameInMap("DBProxyPersistentConnectionStatus") private String DBProxyPersistentConnectionStatus; @com.aliyun.core.annotation.NameInMap("DBProxyServiceStatus") private String DBProxyServiceStatus; @com.aliyun.core.annotation.NameInMap("DbProxyEndpointItems") private DbProxyEndpointItems dbProxyEndpointItems; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("ResourceGroupId") private String resourceGroupId; private DescribeDBProxyResponseBody(Builder builder) { this.DBProxyAVZones = builder.DBProxyAVZones; this.DBProxyConnectStringItems = builder.DBProxyConnectStringItems; this.DBProxyEngineType = builder.DBProxyEngineType; this.DBProxyInstanceCurrentMinorVersion = builder.DBProxyInstanceCurrentMinorVersion; this.DBProxyInstanceLatestMinorVersion = builder.DBProxyInstanceLatestMinorVersion; this.DBProxyInstanceName = builder.DBProxyInstanceName; this.DBProxyInstanceNum = builder.DBProxyInstanceNum; this.DBProxyInstanceSize = builder.DBProxyInstanceSize; this.DBProxyInstanceStatus = builder.DBProxyInstanceStatus; this.DBProxyInstanceType = builder.DBProxyInstanceType; this.DBProxyKindCode = builder.DBProxyKindCode; this.DBProxyNodes = builder.DBProxyNodes; this.DBProxyPersistentConnectionStatus = builder.DBProxyPersistentConnectionStatus; this.DBProxyServiceStatus = builder.DBProxyServiceStatus; this.dbProxyEndpointItems = builder.dbProxyEndpointItems; this.requestId = builder.requestId; this.resourceGroupId = builder.resourceGroupId; } public static Builder builder() { return new Builder(); } public static DescribeDBProxyResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return DBProxyAVZones */ public DBProxyAVZones getDBProxyAVZones() { return this.DBProxyAVZones; } /** * @return DBProxyConnectStringItems */ public DBProxyConnectStringItems getDBProxyConnectStringItems() { return this.DBProxyConnectStringItems; } /** * @return DBProxyEngineType */ public String getDBProxyEngineType() { return this.DBProxyEngineType; } /** * @return DBProxyInstanceCurrentMinorVersion */ public String getDBProxyInstanceCurrentMinorVersion() { return this.DBProxyInstanceCurrentMinorVersion; } /** * @return DBProxyInstanceLatestMinorVersion */ public String getDBProxyInstanceLatestMinorVersion() { return this.DBProxyInstanceLatestMinorVersion; } /** * @return DBProxyInstanceName */ public String getDBProxyInstanceName() { return this.DBProxyInstanceName; } /** * @return DBProxyInstanceNum */ public Integer getDBProxyInstanceNum() { return this.DBProxyInstanceNum; } /** * @return DBProxyInstanceSize */ public String getDBProxyInstanceSize() { return this.DBProxyInstanceSize; } /** * @return DBProxyInstanceStatus */ public String getDBProxyInstanceStatus() { return this.DBProxyInstanceStatus; } /** * @return DBProxyInstanceType */ public String getDBProxyInstanceType() { return this.DBProxyInstanceType; } /** * @return DBProxyKindCode */ public String getDBProxyKindCode() { return this.DBProxyKindCode; } /** * @return DBProxyNodes */ public DBProxyNodes getDBProxyNodes() { return this.DBProxyNodes; } /** * @return DBProxyPersistentConnectionStatus */ public String getDBProxyPersistentConnectionStatus() { return this.DBProxyPersistentConnectionStatus; } /** * @return DBProxyServiceStatus */ public String getDBProxyServiceStatus() { return this.DBProxyServiceStatus; } /** * @return dbProxyEndpointItems */ public DbProxyEndpointItems getDbProxyEndpointItems() { return this.dbProxyEndpointItems; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return resourceGroupId */ public String getResourceGroupId() { return this.resourceGroupId; } public static final class Builder { private DBProxyAVZones DBProxyAVZones; private DBProxyConnectStringItems DBProxyConnectStringItems; private String DBProxyEngineType; private String DBProxyInstanceCurrentMinorVersion; private String DBProxyInstanceLatestMinorVersion; private String DBProxyInstanceName; private Integer DBProxyInstanceNum; private String DBProxyInstanceSize; private String DBProxyInstanceStatus; private String DBProxyInstanceType; private String DBProxyKindCode; private DBProxyNodes DBProxyNodes; private String DBProxyPersistentConnectionStatus; private String DBProxyServiceStatus; private DbProxyEndpointItems dbProxyEndpointItems; private String requestId; private String resourceGroupId; private Builder() { } private Builder(DescribeDBProxyResponseBody model) { this.DBProxyAVZones = model.DBProxyAVZones; this.DBProxyConnectStringItems = model.DBProxyConnectStringItems; this.DBProxyEngineType = model.DBProxyEngineType; this.DBProxyInstanceCurrentMinorVersion = model.DBProxyInstanceCurrentMinorVersion; this.DBProxyInstanceLatestMinorVersion = model.DBProxyInstanceLatestMinorVersion; this.DBProxyInstanceName = model.DBProxyInstanceName; this.DBProxyInstanceNum = model.DBProxyInstanceNum; this.DBProxyInstanceSize = model.DBProxyInstanceSize; this.DBProxyInstanceStatus = model.DBProxyInstanceStatus; this.DBProxyInstanceType = model.DBProxyInstanceType; this.DBProxyKindCode = model.DBProxyKindCode; this.DBProxyNodes = model.DBProxyNodes; this.DBProxyPersistentConnectionStatus = model.DBProxyPersistentConnectionStatus; this.DBProxyServiceStatus = model.DBProxyServiceStatus; this.dbProxyEndpointItems = model.dbProxyEndpointItems; this.requestId = model.requestId; this.resourceGroupId = model.resourceGroupId; } /** * <p>The list of zones that are available for the database proxy.</p> */ public Builder DBProxyAVZones(DBProxyAVZones DBProxyAVZones) { this.DBProxyAVZones = DBProxyAVZones; return this; } /** * <p>An array consisting of the information about the database proxy endpoint that is created for the instance.</p> */ public Builder DBProxyConnectStringItems(DBProxyConnectStringItems DBProxyConnectStringItems) { this.DBProxyConnectStringItems = DBProxyConnectStringItems; return this; } /** * <p>An internal parameter. You can ignore this parameter.</p> * * <strong>example:</strong> * <p>normal</p> */ public Builder DBProxyEngineType(String DBProxyEngineType) { this.DBProxyEngineType = DBProxyEngineType; return this; } /** * <p>The version of the proxy instance.</p> * * <strong>example:</strong> * <p>1.13.11</p> */ public Builder DBProxyInstanceCurrentMinorVersion(String DBProxyInstanceCurrentMinorVersion) { this.DBProxyInstanceCurrentMinorVersion = DBProxyInstanceCurrentMinorVersion; return this; } /** * <p>The latest version that is available for the proxy instance.</p> * * <strong>example:</strong> * <p>1.13.12</p> */ public Builder DBProxyInstanceLatestMinorVersion(String DBProxyInstanceLatestMinorVersion) { this.DBProxyInstanceLatestMinorVersion = DBProxyInstanceLatestMinorVersion; return this; } /** * <p>The name of the proxy instance.</p> * * <strong>example:</strong> * <p>gos787jog2wk0ye1****</p> */ public Builder DBProxyInstanceName(String DBProxyInstanceName) { this.DBProxyInstanceName = DBProxyInstanceName; return this; } /** * <p>The number of proxies that are enabled on the instance.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder DBProxyInstanceNum(Integer DBProxyInstanceNum) { this.DBProxyInstanceNum = DBProxyInstanceNum; return this; } /** * <p>This parameter is available only for ApsaraDB RDS for PostgreSQL instances. The specifications of the proxy instance that is enabled.</p> * <p>Format: <code>Number of cores/Memory capacity</code>.</p> * <p>For example, a value of 4/8 indicates that the proxy instance has 4 cores and 8 GB of memory.</p> * * <strong>example:</strong> * <p>4/8</p> */ public Builder DBProxyInstanceSize(String DBProxyInstanceSize) { this.DBProxyInstanceSize = DBProxyInstanceSize; return this; } /** * <p>The status of the proxy instance.</p> * <ul> * <li>DBInstanceClassChanging: The specifications of the proxy instance are being changed.</li> * <li>Creating: The proxy instance is being created.</li> * <li>Running: The proxy instance is running.</li> * <li>Deleting: The proxy instance is being deleted.</li> * </ul> * * <strong>example:</strong> * <p>Running</p> */ public Builder DBProxyInstanceStatus(String DBProxyInstanceStatus) { this.DBProxyInstanceStatus = DBProxyInstanceStatus; return this; } /** * <p>The type of the database proxy that is enabled on the instance. Valid values:</p> * <ul> * <li>1: shared database proxy</li> * <li>2: dedicated database proxy</li> * <li>3: general-purpose database proxy</li> * </ul> * <blockquote> * <p> ApsaraDB RDS for PostgreSQL does not support shared database proxies.</p> * </blockquote> * * <strong>example:</strong> * <p>2</p> */ public Builder DBProxyInstanceType(String DBProxyInstanceType) { this.DBProxyInstanceType = DBProxyInstanceType; return this; } /** * <p>An internal parameter. You do not need to specify this parameter.</p> * * <strong>example:</strong> * <p>18</p> */ public Builder DBProxyKindCode(String DBProxyKindCode) { this.DBProxyKindCode = DBProxyKindCode; return this; } /** * <p>The proxy nodes.</p> */ public Builder DBProxyNodes(DBProxyNodes DBProxyNodes) { this.DBProxyNodes = DBProxyNodes; return this; } /** * <p>The status of persistence connections. Valid values:</p> * <ul> * <li><strong>Enabled</strong></li> * <li><strong>Disabled</strong></li> * <li><strong>Unsupported</strong></li> * </ul> * * <strong>example:</strong> * <p>Disabled</p> */ public Builder DBProxyPersistentConnectionStatus(String DBProxyPersistentConnectionStatus) { this.DBProxyPersistentConnectionStatus = DBProxyPersistentConnectionStatus; return this; } /** * <p>The status of the database proxy.</p> * <ul> * <li>Shutdown: disabled</li> * <li>Startup: enabled</li> * </ul> * * <strong>example:</strong> * <p>Startup</p> */ public Builder DBProxyServiceStatus(String DBProxyServiceStatus) { this.DBProxyServiceStatus = DBProxyServiceStatus; return this; } /** * <p>The proxy terminals of the instance.</p> */ public Builder dbProxyEndpointItems(DbProxyEndpointItems dbProxyEndpointItems) { this.dbProxyEndpointItems = dbProxyEndpointItems; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>909A69EE-71C8-4417-A0B9-FF085407E1E3</p> */ public Builder requestId(String requestId) { this.requestId = requestId; 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; } public DescribeDBProxyResponseBody build() { return new DescribeDBProxyResponseBody(this); } } /** * * {@link DescribeDBProxyResponseBody} extends {@link TeaModel} * * <p>DescribeDBProxyResponseBody</p> */ public static class DBProxyAVZones extends TeaModel { @com.aliyun.core.annotation.NameInMap("DBProxyAVZones") private java.util.List<String> DBProxyAVZones; private DBProxyAVZones(Builder builder) { this.DBProxyAVZones = builder.DBProxyAVZones; } public static Builder builder() { return new Builder(); } public static DBProxyAVZones create() { return builder().build(); } /** * @return DBProxyAVZones */ public java.util.List<String> getDBProxyAVZones() { return this.DBProxyAVZones; } public static final class Builder { private java.util.List<String> DBProxyAVZones; private Builder() { } private Builder(DBProxyAVZones model) { this.DBProxyAVZones = model.DBProxyAVZones; } /** * <p>The list of zones that are available for the database proxy.</p> */ public Builder DBProxyAVZones(java.util.List<String> DBProxyAVZones) { this.DBProxyAVZones = DBProxyAVZones; return this; } public DBProxyAVZones build() { return new DBProxyAVZones(this); } } } /** * * {@link DescribeDBProxyResponseBody} extends {@link TeaModel} * * <p>DescribeDBProxyResponseBody</p> */ public static class DBProxyConnectStringItemsDBProxyConnectStringItems extends TeaModel { @com.aliyun.core.annotation.NameInMap("DBProxyConnectString") private String DBProxyConnectString; @com.aliyun.core.annotation.NameInMap("DBProxyConnectStringNetType") private String DBProxyConnectStringNetType; @com.aliyun.core.annotation.NameInMap("DBProxyConnectStringNetWorkType") private String DBProxyConnectStringNetWorkType; @com.aliyun.core.annotation.NameInMap("DBProxyConnectStringPort") private String DBProxyConnectStringPort; @com.aliyun.core.annotation.NameInMap("DBProxyEndpointId") private String DBProxyEndpointId; @com.aliyun.core.annotation.NameInMap("DBProxyEndpointName") private String DBProxyEndpointName; @com.aliyun.core.annotation.NameInMap("DBProxyVpcId") private String DBProxyVpcId; @com.aliyun.core.annotation.NameInMap("DBProxyVpcInstanceId") private String DBProxyVpcInstanceId; @com.aliyun.core.annotation.NameInMap("DBProxyVswitchId") private String DBProxyVswitchId; private DBProxyConnectStringItemsDBProxyConnectStringItems(Builder builder) { this.DBProxyConnectString = builder.DBProxyConnectString; this.DBProxyConnectStringNetType = builder.DBProxyConnectStringNetType; this.DBProxyConnectStringNetWorkType = builder.DBProxyConnectStringNetWorkType; this.DBProxyConnectStringPort = builder.DBProxyConnectStringPort; this.DBProxyEndpointId = builder.DBProxyEndpointId; this.DBProxyEndpointName = builder.DBProxyEndpointName; this.DBProxyVpcId = builder.DBProxyVpcId; this.DBProxyVpcInstanceId = builder.DBProxyVpcInstanceId; this.DBProxyVswitchId = builder.DBProxyVswitchId; } public static Builder builder() { return new Builder(); } public static DBProxyConnectStringItemsDBProxyConnectStringItems create() { return builder().build(); } /** * @return DBProxyConnectString */ public String getDBProxyConnectString() { return this.DBProxyConnectString; } /** * @return DBProxyConnectStringNetType */ public String getDBProxyConnectStringNetType() { return this.DBProxyConnectStringNetType; } /** * @return DBProxyConnectStringNetWorkType */ public String getDBProxyConnectStringNetWorkType() { return this.DBProxyConnectStringNetWorkType; } /** * @return DBProxyConnectStringPort */ public String getDBProxyConnectStringPort() { return this.DBProxyConnectStringPort; } /** * @return DBProxyEndpointId */ public String getDBProxyEndpointId() { return this.DBProxyEndpointId; } /** * @return DBProxyEndpointName */ public String getDBProxyEndpointName() { return this.DBProxyEndpointName; } /** * @return DBProxyVpcId */ public String getDBProxyVpcId() { return this.DBProxyVpcId; } /** * @return DBProxyVpcInstanceId */ public String getDBProxyVpcInstanceId() { return this.DBProxyVpcInstanceId; } /** * @return DBProxyVswitchId */ public String getDBProxyVswitchId() { return this.DBProxyVswitchId; } public static final class Builder { private String DBProxyConnectString; private String DBProxyConnectStringNetType; private String DBProxyConnectStringNetWorkType; private String DBProxyConnectStringPort; private String DBProxyEndpointId; private String DBProxyEndpointName; private String DBProxyVpcId; private String DBProxyVpcInstanceId; private String DBProxyVswitchId; private Builder() { } private Builder(DBProxyConnectStringItemsDBProxyConnectStringItems model) { this.DBProxyConnectString = model.DBProxyConnectString; this.DBProxyConnectStringNetType = model.DBProxyConnectStringNetType; this.DBProxyConnectStringNetWorkType = model.DBProxyConnectStringNetWorkType; this.DBProxyConnectStringPort = model.DBProxyConnectStringPort; this.DBProxyEndpointId = model.DBProxyEndpointId; this.DBProxyEndpointName = model.DBProxyEndpointName; this.DBProxyVpcId = model.DBProxyVpcId; this.DBProxyVpcInstanceId = model.DBProxyVpcInstanceId; this.DBProxyVswitchId = model.DBProxyVswitchId; } /** * <p>The database proxy endpoint.</p> * * <strong>example:</strong> * <p>gos787jog2wk0ye1****-rw4rm.rwlb.rds.aliyuncs.com</p> */ public Builder DBProxyConnectString(String DBProxyConnectString) { this.DBProxyConnectString = DBProxyConnectString; return this; } /** * <p>The network type of the database proxy endpoint. A database proxy endpoint is formerly referred to as a proxy terminal. Valid values:</p> * <ul> * <li>OuterString: Internet</li> * <li>InnerString: internal network</li> * </ul> * * <strong>example:</strong> * <p>InnerString</p> */ public Builder DBProxyConnectStringNetType(String DBProxyConnectStringNetType) { this.DBProxyConnectStringNetType = DBProxyConnectStringNetType; return this; } /** * <p>The network type of the database proxy. Valid values:</p> * <ul> * <li>0: Internet</li> * <li>1: classic network</li> * <li>2: virtual private cloud (VPC)</li> * </ul> * * <strong>example:</strong> * <p>2</p> */ public Builder DBProxyConnectStringNetWorkType(String DBProxyConnectStringNetWorkType) { this.DBProxyConnectStringNetWorkType = DBProxyConnectStringNetWorkType; return this; } /** * <p>The port that is associated with the database proxy endpoint.</p> * * <strong>example:</strong> * <p>3306</p> */ public Builder DBProxyConnectStringPort(String DBProxyConnectStringPort) { this.DBProxyConnectStringPort = DBProxyConnectStringPort; return this; } /** * <p>The ID of the backend database proxy endpoint.</p> * * <strong>example:</strong> * <p>20****</p> */ public Builder DBProxyEndpointId(String DBProxyEndpointId) { this.DBProxyEndpointId = DBProxyEndpointId; return this; } /** * <p>The name of the database proxy endpoint. The name can be replaced by the ID of the database proxy endpoint.</p> * * <strong>example:</strong> * <p>gos787jog2wk0ye1****</p> */ public Builder DBProxyEndpointName(String DBProxyEndpointName) { this.DBProxyEndpointName = DBProxyEndpointName; return this; } /** * <p>The VPC of the database proxy.</p> * * <strong>example:</strong> * <p>vpc-uf6oobt****</p> */ public Builder DBProxyVpcId(String DBProxyVpcId) { this.DBProxyVpcId = DBProxyVpcId; return this; } /** * <p>The ID of the database proxy instance.</p> * * <strong>example:</strong> * <p>rm-bp145737x5<strong><strong>131161274792</strong></strong></p> */ public Builder DBProxyVpcInstanceId(String DBProxyVpcInstanceId) { this.DBProxyVpcInstanceId = DBProxyVpcInstanceId; return this; } /** * <p>The vSwitch of the database proxy.</p> * * <strong>example:</strong> * <p>vsw-uf6l0pic17****</p> */ public Builder DBProxyVswitchId(String DBProxyVswitchId) { this.DBProxyVswitchId = DBProxyVswitchId; return this; } public DBProxyConnectStringItemsDBProxyConnectStringItems build() { return new DBProxyConnectStringItemsDBProxyConnectStringItems(this); } } } /** * * {@link DescribeDBProxyResponseBody} extends {@link TeaModel} * * <p>DescribeDBProxyResponseBody</p> */ public static class DBProxyConnectStringItems extends TeaModel { @com.aliyun.core.annotation.NameInMap("DBProxyConnectStringItems") private java.util.List<DBProxyConnectStringItemsDBProxyConnectStringItems> DBProxyConnectStringItems; private DBProxyConnectStringItems(Builder builder) { this.DBProxyConnectStringItems = builder.DBProxyConnectStringItems; } public static Builder builder() { return new Builder(); } public static DBProxyConnectStringItems create() { return builder().build(); } /** * @return DBProxyConnectStringItems */ public java.util.List<DBProxyConnectStringItemsDBProxyConnectStringItems> getDBProxyConnectStringItems() { return this.DBProxyConnectStringItems; } public static final class Builder { private java.util.List<DBProxyConnectStringItemsDBProxyConnectStringItems> DBProxyConnectStringItems; private Builder() { } private Builder(DBProxyConnectStringItems model) { this.DBProxyConnectStringItems = model.DBProxyConnectStringItems; } /** * <p>An array consisting of the information about the database proxy endpoint that is created for the instance.</p> */ public Builder DBProxyConnectStringItems(java.util.List<DBProxyConnectStringItemsDBProxyConnectStringItems> DBProxyConnectStringItems) { this.DBProxyConnectStringItems = DBProxyConnectStringItems; return this; } public DBProxyConnectStringItems build() { return new DBProxyConnectStringItems(this); } } } /** * * {@link DescribeDBProxyResponseBody} extends {@link TeaModel} * * <p>DescribeDBProxyResponseBody</p> */ public static class DBProxyNodesDBProxyNodes extends TeaModel { @com.aliyun.core.annotation.NameInMap("cpuCores") private String cpuCores; @com.aliyun.core.annotation.NameInMap("nodeId") private String nodeId; @com.aliyun.core.annotation.NameInMap("zoneId") private String zoneId; private DBProxyNodesDBProxyNodes(Builder builder) { this.cpuCores = builder.cpuCores; this.nodeId = builder.nodeId; this.zoneId = builder.zoneId; } public static Builder builder() { return new Builder(); } public static DBProxyNodesDBProxyNodes create() { return builder().build(); } /** * @return cpuCores */ public String getCpuCores() { return this.cpuCores; } /** * @return nodeId */ public String getNodeId() { return this.nodeId; } /** * @return zoneId */ public String getZoneId() { return this.zoneId; } public static final class Builder { private String cpuCores; private String nodeId; private String zoneId; private Builder() { } private Builder(DBProxyNodesDBProxyNodes model) { this.cpuCores = model.cpuCores; this.nodeId = model.nodeId; this.zoneId = model.zoneId; } /** * <p>The number of CPU cores of the node.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder cpuCores(String cpuCores) { this.cpuCores = cpuCores; return this; } /** * <p>The ID of the proxy node.</p> * * <strong>example:</strong> * <p>pn-xxxxxxx01</p> */ public Builder nodeId(String nodeId) { this.nodeId = nodeId; return this; } /** * <p>The ID of the zone in which the node is deployed.</p> * * <strong>example:</strong> * <p>cn-hangzhou-c</p> */ public Builder zoneId(String zoneId) { this.zoneId = zoneId; return this; } public DBProxyNodesDBProxyNodes build() { return new DBProxyNodesDBProxyNodes(this); } } } /** * * {@link DescribeDBProxyResponseBody} extends {@link TeaModel} * * <p>DescribeDBProxyResponseBody</p> */ public static class DBProxyNodes extends TeaModel { @com.aliyun.core.annotation.NameInMap("DBProxyNodes") private java.util.List<DBProxyNodesDBProxyNodes> DBProxyNodes; private DBProxyNodes(Builder builder) { this.DBProxyNodes = builder.DBProxyNodes; } public static Builder builder() { return new Builder(); } public static DBProxyNodes create() { return builder().build(); } /** * @return DBProxyNodes */ public java.util.List<DBProxyNodesDBProxyNodes> getDBProxyNodes() { return this.DBProxyNodes; } public static final class Builder { private java.util.List<DBProxyNodesDBProxyNodes> DBProxyNodes; private Builder() { } private Builder(DBProxyNodes model) { this.DBProxyNodes = model.DBProxyNodes; } /** * <p>The proxy nodes.</p> */ public Builder DBProxyNodes(java.util.List<DBProxyNodesDBProxyNodes> DBProxyNodes) { this.DBProxyNodes = DBProxyNodes; return this; } public DBProxyNodes build() { return new DBProxyNodes(this); } } } /** * * {@link DescribeDBProxyResponseBody} extends {@link TeaModel} * * <p>DescribeDBProxyResponseBody</p> */ public static class DbProxyEndpointItemsDbProxyEndpointItems extends TeaModel { @com.aliyun.core.annotation.NameInMap("DbProxyEndpointAliases") private String dbProxyEndpointAliases; @com.aliyun.core.annotation.NameInMap("DbProxyEndpointName") private String dbProxyEndpointName; @com.aliyun.core.annotation.NameInMap("DbProxyEndpointType") private String dbProxyEndpointType; @com.aliyun.core.annotation.NameInMap("DbProxyReadWriteMode") private String dbProxyReadWriteMode; private DbProxyEndpointItemsDbProxyEndpointItems(Builder builder) { this.dbProxyEndpointAliases = builder.dbProxyEndpointAliases; this.dbProxyEndpointName = builder.dbProxyEndpointName; this.dbProxyEndpointType = builder.dbProxyEndpointType; this.dbProxyReadWriteMode = builder.dbProxyReadWriteMode; } public static Builder builder() { return new Builder(); } public static DbProxyEndpointItemsDbProxyEndpointItems create() { return builder().build(); } /** * @return dbProxyEndpointAliases */ public String getDbProxyEndpointAliases() { return this.dbProxyEndpointAliases; } /** * @return dbProxyEndpointName */ public String getDbProxyEndpointName() { return this.dbProxyEndpointName; } /** * @return dbProxyEndpointType */ public String getDbProxyEndpointType() { return this.dbProxyEndpointType; } /** * @return dbProxyReadWriteMode */ public String getDbProxyReadWriteMode() { return this.dbProxyReadWriteMode; } public static final class Builder { private String dbProxyEndpointAliases; private String dbProxyEndpointName; private String dbProxyEndpointType; private String dbProxyReadWriteMode; private Builder() { } private Builder(DbProxyEndpointItemsDbProxyEndpointItems model) { this.dbProxyEndpointAliases = model.dbProxyEndpointAliases; this.dbProxyEndpointName = model.dbProxyEndpointName; this.dbProxyEndpointType = model.dbProxyEndpointType; this.dbProxyReadWriteMode = model.dbProxyReadWriteMode; } /** * <p>The description of the database proxy endpoint.</p> * * <strong>example:</strong> * <p>proxy-test</p> */ public Builder dbProxyEndpointAliases(String dbProxyEndpointAliases) { this.dbProxyEndpointAliases = dbProxyEndpointAliases; return this; } /** * <p>The ID of the database proxy endpoint.</p> * * <strong>example:</strong> * <p>gos787jog2wk0ye1****</p> */ public Builder dbProxyEndpointName(String dbProxyEndpointName) { this.dbProxyEndpointName = dbProxyEndpointName; return this; } /** * <p>The type of the database proxy endpoint. Valid values:</p> * <ul> * <li>Custom: custom database proxy endpoint</li> * <li>RWSplit: default database proxy endpoint</li> * </ul> * * <strong>example:</strong> * <p>RWSplit</p> */ public Builder dbProxyEndpointType(String dbProxyEndpointType) { this.dbProxyEndpointType = dbProxyEndpointType; return this; } /** * <p>The read and write attributes of the database proxy endpoint.</p> * <ul> * <li>ReadOnly</li> * <li>ReadWrite</li> * </ul> * * <strong>example:</strong> * <p>ReadWrite</p> */ public Builder dbProxyReadWriteMode(String dbProxyReadWriteMode) { this.dbProxyReadWriteMode = dbProxyReadWriteMode; return this; } public DbProxyEndpointItemsDbProxyEndpointItems build() { return new DbProxyEndpointItemsDbProxyEndpointItems(this); } } } /** * * {@link DescribeDBProxyResponseBody} extends {@link TeaModel} * * <p>DescribeDBProxyResponseBody</p> */ public static class DbProxyEndpointItems extends TeaModel { @com.aliyun.core.annotation.NameInMap("DbProxyEndpointItems") private java.util.List<DbProxyEndpointItemsDbProxyEndpointItems> dbProxyEndpointItems; private DbProxyEndpointItems(Builder builder) { this.dbProxyEndpointItems = builder.dbProxyEndpointItems; } public static Builder builder() { return new Builder(); } public static DbProxyEndpointItems create() { return builder().build(); } /** * @return dbProxyEndpointItems */ public java.util.List<DbProxyEndpointItemsDbProxyEndpointItems> getDbProxyEndpointItems() { return this.dbProxyEndpointItems; } public static final class Builder { private java.util.List<DbProxyEndpointItemsDbProxyEndpointItems> dbProxyEndpointItems; private Builder() { } private Builder(DbProxyEndpointItems model) { this.dbProxyEndpointItems = model.dbProxyEndpointItems; } /** * <p>The proxy terminals of the instance.</p> */ public Builder dbProxyEndpointItems(java.util.List<DbProxyEndpointItemsDbProxyEndpointItems> dbProxyEndpointItems) { this.dbProxyEndpointItems = dbProxyEndpointItems; return this; } public DbProxyEndpointItems build() { return new DbProxyEndpointItems(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/DescribeDTCSecurityIpHostsForSQLServerRequest.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 DescribeDTCSecurityIpHostsForSQLServerRequest} extends {@link RequestModel} * * <p>DescribeDTCSecurityIpHostsForSQLServerRequest</p> */ public class DescribeDTCSecurityIpHostsForSQLServerRequest 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("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") @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; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SecurityToken") private String securityToken; private DescribeDTCSecurityIpHostsForSQLServerRequest(Builder builder) { super(builder); this.DBInstanceId = builder.DBInstanceId; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.regionId = builder.regionId; this.resourceGroupId = builder.resourceGroupId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.securityToken = builder.securityToken; } public static Builder builder() { return new Builder(); } public static DescribeDTCSecurityIpHostsForSQLServerRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @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 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; } /** * @return securityToken */ public String getSecurityToken() { return this.securityToken; } public static final class Builder extends Request.Builder<DescribeDTCSecurityIpHostsForSQLServerRequest, Builder> { private String DBInstanceId; private String ownerAccount; private Long ownerId; private String regionId; private String resourceGroupId; private String resourceOwnerAccount; private Long resourceOwnerId; private String securityToken; private Builder() { super(); } private Builder(DescribeDTCSecurityIpHostsForSQLServerRequest request) { super(request); this.DBInstanceId = request.DBInstanceId; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.regionId = request.regionId; this.resourceGroupId = request.resourceGroupId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.securityToken = request.securityToken; } /** * <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; } /** * <p>The region ID. You can call the DescribeDBInstanceAttribute 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 resource group ID. You can call the DescribeDBInstanceAttribute operation to query the resource group ID.</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; } /** * SecurityToken. */ public Builder securityToken(String securityToken) { this.putQueryParameter("SecurityToken", securityToken); this.securityToken = securityToken; return this; } @Override public DescribeDTCSecurityIpHostsForSQLServerRequest build() { return new DescribeDTCSecurityIpHostsForSQLServerRequest(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/DescribeDTCSecurityIpHostsForSQLServerResponse.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 DescribeDTCSecurityIpHostsForSQLServerResponse} extends {@link TeaModel} * * <p>DescribeDTCSecurityIpHostsForSQLServerResponse</p> */ public class DescribeDTCSecurityIpHostsForSQLServerResponse 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 DescribeDTCSecurityIpHostsForSQLServerResponseBody body; private DescribeDTCSecurityIpHostsForSQLServerResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeDTCSecurityIpHostsForSQLServerResponse 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 DescribeDTCSecurityIpHostsForSQLServerResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeDTCSecurityIpHostsForSQLServerResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeDTCSecurityIpHostsForSQLServerResponseBody body); @Override DescribeDTCSecurityIpHostsForSQLServerResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeDTCSecurityIpHostsForSQLServerResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeDTCSecurityIpHostsForSQLServerResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeDTCSecurityIpHostsForSQLServerResponse 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(DescribeDTCSecurityIpHostsForSQLServerResponseBody body) { this.body = body; return this; } @Override public DescribeDTCSecurityIpHostsForSQLServerResponse build() { return new DescribeDTCSecurityIpHostsForSQLServerResponse(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/DescribeDTCSecurityIpHostsForSQLServerResponseBody.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 DescribeDTCSecurityIpHostsForSQLServerResponseBody} extends {@link TeaModel} * * <p>DescribeDTCSecurityIpHostsForSQLServerResponseBody</p> */ public class DescribeDTCSecurityIpHostsForSQLServerResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("DBInstanceId") private String DBInstanceId; @com.aliyun.core.annotation.NameInMap("IpHostPairNum") private String ipHostPairNum; @com.aliyun.core.annotation.NameInMap("Items") private Items items; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeDTCSecurityIpHostsForSQLServerResponseBody(Builder builder) { this.DBInstanceId = builder.DBInstanceId; this.ipHostPairNum = builder.ipHostPairNum; this.items = builder.items; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeDTCSecurityIpHostsForSQLServerResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return DBInstanceId */ public String getDBInstanceId() { return this.DBInstanceId; } /** * @return ipHostPairNum */ public String getIpHostPairNum() { return this.ipHostPairNum; } /** * @return items */ public Items getItems() { return this.items; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String DBInstanceId; private String ipHostPairNum; private Items items; private String requestId; private Builder() { } private Builder(DescribeDTCSecurityIpHostsForSQLServerResponseBody model) { this.DBInstanceId = model.DBInstanceId; this.ipHostPairNum = model.ipHostPairNum; this.items = model.items; 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>The number of distributed transaction whitelists.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder ipHostPairNum(String ipHostPairNum) { this.ipHostPairNum = ipHostPairNum; return this; } /** * <p>Details of distributed transaction whitelists.</p> */ public Builder items(Items items) { this.items = items; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>2CA62A70-2203-45C6-8E90-8971D5ACC0C2</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeDTCSecurityIpHostsForSQLServerResponseBody build() { return new DescribeDTCSecurityIpHostsForSQLServerResponseBody(this); } } /** * * {@link DescribeDTCSecurityIpHostsForSQLServerResponseBody} extends {@link TeaModel} * * <p>DescribeDTCSecurityIpHostsForSQLServerResponseBody</p> */ public static class WhiteListGroups extends TeaModel { @com.aliyun.core.annotation.NameInMap("SecurityIpHosts") private String securityIpHosts; @com.aliyun.core.annotation.NameInMap("WhitelistGroupName") private String whitelistGroupName; private WhiteListGroups(Builder builder) { this.securityIpHosts = builder.securityIpHosts; this.whitelistGroupName = builder.whitelistGroupName; } public static Builder builder() { return new Builder(); } public static WhiteListGroups create() { return builder().build(); } /** * @return securityIpHosts */ public String getSecurityIpHosts() { return this.securityIpHosts; } /** * @return whitelistGroupName */ public String getWhitelistGroupName() { return this.whitelistGroupName; } public static final class Builder { private String securityIpHosts; private String whitelistGroupName; private Builder() { } private Builder(WhiteListGroups model) { this.securityIpHosts = model.securityIpHosts; this.whitelistGroupName = model.whitelistGroupName; } /** * <p>The IP address of the ECS instance and the hostname of the Windows computer. Format: <code>IP address,Hostname</code>. Multiple values are separated with semicolons (;).</p> * * <strong>example:</strong> * <p>192.168.1.100,k3ecstest</p> */ public Builder securityIpHosts(String securityIpHosts) { this.securityIpHosts = securityIpHosts; return this; } /** * <p>The name of the distributed transaction whitelist.</p> * * <strong>example:</strong> * <p>test1</p> */ public Builder whitelistGroupName(String whitelistGroupName) { this.whitelistGroupName = whitelistGroupName; return this; } public WhiteListGroups build() { return new WhiteListGroups(this); } } } /** * * {@link DescribeDTCSecurityIpHostsForSQLServerResponseBody} extends {@link TeaModel} * * <p>DescribeDTCSecurityIpHostsForSQLServerResponseBody</p> */ public static class Items extends TeaModel { @com.aliyun.core.annotation.NameInMap("WhiteListGroups") private java.util.List<WhiteListGroups> whiteListGroups; private Items(Builder builder) { this.whiteListGroups = builder.whiteListGroups; } public static Builder builder() { return new Builder(); } public static Items create() { return builder().build(); } /** * @return whiteListGroups */ public java.util.List<WhiteListGroups> getWhiteListGroups() { return this.whiteListGroups; } public static final class Builder { private java.util.List<WhiteListGroups> whiteListGroups; private Builder() { } private Builder(Items model) { this.whiteListGroups = model.whiteListGroups; } /** * WhiteListGroups. */ public Builder whiteListGroups(java.util.List<WhiteListGroups> whiteListGroups) { this.whiteListGroups = whiteListGroups; 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/DescribeDatabasesRequest.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 DescribeDatabasesRequest} extends {@link RequestModel} * * <p>DescribeDatabasesRequest</p> */ public class DescribeDatabasesRequest 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("DBName") private String DBName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DBStatus") private String DBStatus; @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) private Integer pageNumber; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") @com.aliyun.core.annotation.Validation(maximum = 2147483647) 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; private DescribeDatabasesRequest(Builder builder) { super(builder); this.DBInstanceId = builder.DBInstanceId; this.DBName = builder.DBName; this.DBStatus = builder.DBStatus; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; } public static Builder builder() { return new Builder(); } public static DescribeDatabasesRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return DBInstanceId */ public String getDBInstanceId() { return this.DBInstanceId; } /** * @return DBName */ public String getDBName() { return this.DBName; } /** * @return DBStatus */ public String getDBStatus() { return this.DBStatus; } /** * @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; } public static final class Builder extends Request.Builder<DescribeDatabasesRequest, Builder> { private String DBInstanceId; private String DBName; private String DBStatus; private String ownerAccount; private Long ownerId; private Integer pageNumber; private Integer pageSize; private String resourceOwnerAccount; private Long resourceOwnerId; private Builder() { super(); } private Builder(DescribeDatabasesRequest request) { super(request); this.DBInstanceId = request.DBInstanceId; this.DBName = request.DBName; this.DBStatus = request.DBStatus; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; 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-uf6wjk5****</p> */ public Builder DBInstanceId(String DBInstanceId) { this.putQueryParameter("DBInstanceId", DBInstanceId); this.DBInstanceId = DBInstanceId; return this; } /** * <p>The name of the database.</p> * * <strong>example:</strong> * <p>testDB01</p> */ public Builder DBName(String DBName) { this.putQueryParameter("DBName", DBName); this.DBName = DBName; return this; } /** * <p>The status of the database. Valid values:</p> * <ul> * <li><strong>Creating</strong></li> * <li><strong>Running</strong></li> * <li><strong>Deleting</strong></li> * </ul> * * <strong>example:</strong> * <p>Creating</p> */ public Builder DBStatus(String DBStatus) { this.putQueryParameter("DBStatus", DBStatus); this.DBStatus = DBStatus; 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 to return 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: 30.</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; } @Override public DescribeDatabasesRequest build() { return new DescribeDatabasesRequest(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/DescribeDatabasesResponse.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 DescribeDatabasesResponse} extends {@link TeaModel} * * <p>DescribeDatabasesResponse</p> */ public class DescribeDatabasesResponse 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 DescribeDatabasesResponseBody body; private DescribeDatabasesResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeDatabasesResponse 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 DescribeDatabasesResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeDatabasesResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeDatabasesResponseBody body); @Override DescribeDatabasesResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeDatabasesResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeDatabasesResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeDatabasesResponse 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(DescribeDatabasesResponseBody body) { this.body = body; return this; } @Override public DescribeDatabasesResponse build() { return new DescribeDatabasesResponse(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/DescribeDatabasesResponseBody.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 DescribeDatabasesResponseBody} extends {@link TeaModel} * * <p>DescribeDatabasesResponseBody</p> */ public class DescribeDatabasesResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Databases") private Databases databases; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeDatabasesResponseBody(Builder builder) { this.databases = builder.databases; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeDatabasesResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return databases */ public Databases getDatabases() { return this.databases; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private Databases databases; private String requestId; private Builder() { } private Builder(DescribeDatabasesResponseBody model) { this.databases = model.databases; this.requestId = model.requestId; } /** * <p>The information about the databases.</p> */ public Builder databases(Databases databases) { this.databases = databases; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>2603CA96-B17D-4903-BC04-61A2C829CD94</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeDatabasesResponseBody build() { return new DescribeDatabasesResponseBody(this); } } /** * * {@link DescribeDatabasesResponseBody} extends {@link TeaModel} * * <p>DescribeDatabasesResponseBody</p> */ public static class AccountPrivilegeInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("Account") private String account; @com.aliyun.core.annotation.NameInMap("AccountPrivilege") private String accountPrivilege; @com.aliyun.core.annotation.NameInMap("AccountPrivilegeDetail") private String accountPrivilegeDetail; private AccountPrivilegeInfo(Builder builder) { this.account = builder.account; this.accountPrivilege = builder.accountPrivilege; this.accountPrivilegeDetail = builder.accountPrivilegeDetail; } public static Builder builder() { return new Builder(); } public static AccountPrivilegeInfo create() { return builder().build(); } /** * @return account */ public String getAccount() { return this.account; } /** * @return accountPrivilege */ public String getAccountPrivilege() { return this.accountPrivilege; } /** * @return accountPrivilegeDetail */ public String getAccountPrivilegeDetail() { return this.accountPrivilegeDetail; } public static final class Builder { private String account; private String accountPrivilege; private String accountPrivilegeDetail; private Builder() { } private Builder(AccountPrivilegeInfo model) { this.account = model.account; this.accountPrivilege = model.accountPrivilege; this.accountPrivilegeDetail = model.accountPrivilegeDetail; } /** * <p>The account username.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder account(String account) { this.account = account; return this; } /** * <p>The permissions that the account has on the database. Valid values:</p> * <ul> * <li><strong>ReadWrite</strong>: read and write permissions</li> * <li><strong>ReadOnly</strong>: read-only permissions</li> * <li><strong>DMLOnly</strong>: DML-only permissions</li> * <li><strong>DDLOnly</strong>: DDL-only permissions</li> * </ul> * * <strong>example:</strong> * <p>DMLOnly</p> */ public Builder accountPrivilege(String accountPrivilege) { this.accountPrivilege = accountPrivilege; return this; } /** * <p>The permission that the account has on the database.</p> * * <strong>example:</strong> * <p>SELECT</p> */ public Builder accountPrivilegeDetail(String accountPrivilegeDetail) { this.accountPrivilegeDetail = accountPrivilegeDetail; return this; } public AccountPrivilegeInfo build() { return new AccountPrivilegeInfo(this); } } } /** * * {@link DescribeDatabasesResponseBody} extends {@link TeaModel} * * <p>DescribeDatabasesResponseBody</p> */ public static class Accounts extends TeaModel { @com.aliyun.core.annotation.NameInMap("AccountPrivilegeInfo") private java.util.List<AccountPrivilegeInfo> accountPrivilegeInfo; private Accounts(Builder builder) { this.accountPrivilegeInfo = builder.accountPrivilegeInfo; } public static Builder builder() { return new Builder(); } public static Accounts create() { return builder().build(); } /** * @return accountPrivilegeInfo */ public java.util.List<AccountPrivilegeInfo> getAccountPrivilegeInfo() { return this.accountPrivilegeInfo; } public static final class Builder { private java.util.List<AccountPrivilegeInfo> accountPrivilegeInfo; private Builder() { } private Builder(Accounts model) { this.accountPrivilegeInfo = model.accountPrivilegeInfo; } /** * AccountPrivilegeInfo. */ public Builder accountPrivilegeInfo(java.util.List<AccountPrivilegeInfo> accountPrivilegeInfo) { this.accountPrivilegeInfo = accountPrivilegeInfo; return this; } public Accounts build() { return new Accounts(this); } } } /** * * {@link DescribeDatabasesResponseBody} extends {@link TeaModel} * * <p>DescribeDatabasesResponseBody</p> */ public static class AdvancedInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("AdvancedDbProperty") private java.util.List<java.util.Map<String, ?>> advancedDbProperty; private AdvancedInfo(Builder builder) { this.advancedDbProperty = builder.advancedDbProperty; } public static Builder builder() { return new Builder(); } public static AdvancedInfo create() { return builder().build(); } /** * @return advancedDbProperty */ public java.util.List<java.util.Map<String, ?>> getAdvancedDbProperty() { return this.advancedDbProperty; } public static final class Builder { private java.util.List<java.util.Map<String, ?>> advancedDbProperty; private Builder() { } private Builder(AdvancedInfo model) { this.advancedDbProperty = model.advancedDbProperty; } /** * AdvancedDbProperty. */ public Builder advancedDbProperty(java.util.List<java.util.Map<String, ?>> advancedDbProperty) { this.advancedDbProperty = advancedDbProperty; return this; } public AdvancedInfo build() { return new AdvancedInfo(this); } } } /** * * {@link DescribeDatabasesResponseBody} extends {@link TeaModel} * * <p>DescribeDatabasesResponseBody</p> */ public static class BasicInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("BasicDbProperty") private java.util.List<java.util.Map<String, ?>> basicDbProperty; private BasicInfo(Builder builder) { this.basicDbProperty = builder.basicDbProperty; } public static Builder builder() { return new Builder(); } public static BasicInfo create() { return builder().build(); } /** * @return basicDbProperty */ public java.util.List<java.util.Map<String, ?>> getBasicDbProperty() { return this.basicDbProperty; } public static final class Builder { private java.util.List<java.util.Map<String, ?>> basicDbProperty; private Builder() { } private Builder(BasicInfo model) { this.basicDbProperty = model.basicDbProperty; } /** * BasicDbProperty. */ public Builder basicDbProperty(java.util.List<java.util.Map<String, ?>> basicDbProperty) { this.basicDbProperty = basicDbProperty; return this; } public BasicInfo build() { return new BasicInfo(this); } } } /** * * {@link DescribeDatabasesResponseBody} extends {@link TeaModel} * * <p>DescribeDatabasesResponseBody</p> */ public static class RuntimeInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("RuntimeDbProperty") private java.util.List<java.util.Map<String, ?>> runtimeDbProperty; private RuntimeInfo(Builder builder) { this.runtimeDbProperty = builder.runtimeDbProperty; } public static Builder builder() { return new Builder(); } public static RuntimeInfo create() { return builder().build(); } /** * @return runtimeDbProperty */ public java.util.List<java.util.Map<String, ?>> getRuntimeDbProperty() { return this.runtimeDbProperty; } public static final class Builder { private java.util.List<java.util.Map<String, ?>> runtimeDbProperty; private Builder() { } private Builder(RuntimeInfo model) { this.runtimeDbProperty = model.runtimeDbProperty; } /** * RuntimeDbProperty. */ public Builder runtimeDbProperty(java.util.List<java.util.Map<String, ?>> runtimeDbProperty) { this.runtimeDbProperty = runtimeDbProperty; return this; } public RuntimeInfo build() { return new RuntimeInfo(this); } } } /** * * {@link DescribeDatabasesResponseBody} extends {@link TeaModel} * * <p>DescribeDatabasesResponseBody</p> */ public static class Database extends TeaModel { @com.aliyun.core.annotation.NameInMap("Accounts") private Accounts accounts; @com.aliyun.core.annotation.NameInMap("AdvancedInfo") private AdvancedInfo advancedInfo; @com.aliyun.core.annotation.NameInMap("BasicInfo") private BasicInfo basicInfo; @com.aliyun.core.annotation.NameInMap("CharacterSetName") private String characterSetName; @com.aliyun.core.annotation.NameInMap("Collate") private String collate; @com.aliyun.core.annotation.NameInMap("ConnLimit") private String connLimit; @com.aliyun.core.annotation.NameInMap("Ctype") private String ctype; @com.aliyun.core.annotation.NameInMap("DBDescription") private String DBDescription; @com.aliyun.core.annotation.NameInMap("DBInstanceId") private String DBInstanceId; @com.aliyun.core.annotation.NameInMap("DBName") private String DBName; @com.aliyun.core.annotation.NameInMap("DBStatus") private String DBStatus; @com.aliyun.core.annotation.NameInMap("Engine") private String engine; @com.aliyun.core.annotation.NameInMap("PageNumber") private Integer pageNumber; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("RuntimeInfo") private RuntimeInfo runtimeInfo; @com.aliyun.core.annotation.NameInMap("Tablespace") private String tablespace; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private Database(Builder builder) { this.accounts = builder.accounts; this.advancedInfo = builder.advancedInfo; this.basicInfo = builder.basicInfo; this.characterSetName = builder.characterSetName; this.collate = builder.collate; this.connLimit = builder.connLimit; this.ctype = builder.ctype; this.DBDescription = builder.DBDescription; this.DBInstanceId = builder.DBInstanceId; this.DBName = builder.DBName; this.DBStatus = builder.DBStatus; this.engine = builder.engine; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.runtimeInfo = builder.runtimeInfo; this.tablespace = builder.tablespace; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static Database create() { return builder().build(); } /** * @return accounts */ public Accounts getAccounts() { return this.accounts; } /** * @return advancedInfo */ public AdvancedInfo getAdvancedInfo() { return this.advancedInfo; } /** * @return basicInfo */ public BasicInfo getBasicInfo() { return this.basicInfo; } /** * @return characterSetName */ public String getCharacterSetName() { return this.characterSetName; } /** * @return collate */ public String getCollate() { return this.collate; } /** * @return connLimit */ public String getConnLimit() { return this.connLimit; } /** * @return ctype */ public String getCtype() { return this.ctype; } /** * @return DBDescription */ public String getDBDescription() { return this.DBDescription; } /** * @return DBInstanceId */ public String getDBInstanceId() { return this.DBInstanceId; } /** * @return DBName */ public String getDBName() { return this.DBName; } /** * @return DBStatus */ public String getDBStatus() { return this.DBStatus; } /** * @return engine */ public String getEngine() { return this.engine; } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return runtimeInfo */ public RuntimeInfo getRuntimeInfo() { return this.runtimeInfo; } /** * @return tablespace */ public String getTablespace() { return this.tablespace; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Accounts accounts; private AdvancedInfo advancedInfo; private BasicInfo basicInfo; private String characterSetName; private String collate; private String connLimit; private String ctype; private String DBDescription; private String DBInstanceId; private String DBName; private String DBStatus; private String engine; private Integer pageNumber; private Integer pageSize; private RuntimeInfo runtimeInfo; private String tablespace; private Integer totalCount; private Builder() { } private Builder(Database model) { this.accounts = model.accounts; this.advancedInfo = model.advancedInfo; this.basicInfo = model.basicInfo; this.characterSetName = model.characterSetName; this.collate = model.collate; this.connLimit = model.connLimit; this.ctype = model.ctype; this.DBDescription = model.DBDescription; this.DBInstanceId = model.DBInstanceId; this.DBName = model.DBName; this.DBStatus = model.DBStatus; this.engine = model.engine; this.pageNumber = model.pageNumber; this.pageSize = model.pageSize; this.runtimeInfo = model.runtimeInfo; this.tablespace = model.tablespace; this.totalCount = model.totalCount; } /** * <p>The information about the account. Each account has specific permissions on the database.</p> */ public Builder accounts(Accounts accounts) { this.accounts = accounts; return this; } /** * <p>The advanced information about the database.</p> * <blockquote> * <p> This parameter is returned only for instances that run SQL Server.</p> * </blockquote> */ public Builder advancedInfo(AdvancedInfo advancedInfo) { this.advancedInfo = advancedInfo; return this; } /** * <p>The basic information about the database.</p> * <blockquote> * <p> This parameter is returned only for instances that run SQL Server.</p> * </blockquote> */ public Builder basicInfo(BasicInfo basicInfo) { this.basicInfo = basicInfo; return this; } /** * <p>The name of the character set.</p> * * <strong>example:</strong> * <p>utf8</p> */ public Builder characterSetName(String characterSetName) { this.characterSetName = characterSetName; return this; } /** * <p>The collation of the character set. The example value C indicates localization.</p> * <blockquote> * <p> This parameter is returned only for instances that run PostgreSQL.</p> * </blockquote> * * <strong>example:</strong> * <p>C</p> */ public Builder collate(String collate) { this.collate = collate; return this; } /** * <p>The limit on the number of concurrent requests. The value -1 indicates that the number of concurrent requests is unlimited.</p> * <blockquote> * <p> This parameter is returned only for instances that run PostgreSQL.</p> * </blockquote> * * <strong>example:</strong> * <p>-1</p> */ public Builder connLimit(String connLimit) { this.connLimit = connLimit; return this; } /** * <p>The type of the character set.</p> * <blockquote> * <p> This parameter is returned only for instances that run PostgreSQL.</p> * </blockquote> * * <strong>example:</strong> * <p>en_US.utf8</p> */ public Builder ctype(String ctype) { this.ctype = ctype; return this; } /** * <p>The description of the database.</p> * * <strong>example:</strong> * <p>testdb</p> */ public Builder DBDescription(String DBDescription) { this.DBDescription = DBDescription; return this; } /** * <p>The ID of the instance to which the database belongs.</p> * * <strong>example:</strong> * <p>rm-uf6wjk5****</p> */ public Builder DBInstanceId(String DBInstanceId) { this.DBInstanceId = DBInstanceId; return this; } /** * <p>The database name.</p> * * <strong>example:</strong> * <p>testDB01</p> */ public Builder DBName(String DBName) { this.DBName = DBName; return this; } /** * <p>The database status. Valid values:</p> * <ul> * <li><strong>Creating</strong></li> * <li><strong>Running</strong></li> * <li><strong>Deleting</strong></li> * <li><strong>Cold</strong></li> * </ul> * * <strong>example:</strong> * <p>Creating</p> */ public Builder DBStatus(String DBStatus) { this.DBStatus = DBStatus; 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 page number of the page to return.</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>30</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The runtime information about the database.</p> * <blockquote> * <p> This parameter is returned only for instances that run SQL Server.</p> * </blockquote> */ public Builder runtimeInfo(RuntimeInfo runtimeInfo) { this.runtimeInfo = runtimeInfo; return this; } /** * <p>The database tablespace.</p> * <blockquote> * <p> This parameter is returned only for instances that run PostgreSQL.</p> * </blockquote> * * <strong>example:</strong> * <p>pg_default</p> */ public Builder tablespace(String tablespace) { this.tablespace = tablespace; return this; } /** * <p>The total number of entries returned.</p> * <blockquote> * <p> This parameter is returned only for instances that run SQL Server.</p> * </blockquote> * * <strong>example:</strong> * <p>100</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public Database build() { return new Database(this); } } } /** * * {@link DescribeDatabasesResponseBody} extends {@link TeaModel} * * <p>DescribeDatabasesResponseBody</p> */ public static class Databases extends TeaModel { @com.aliyun.core.annotation.NameInMap("Database") private java.util.List<Database> database; private Databases(Builder builder) { this.database = builder.database; } public static Builder builder() { return new Builder(); } public static Databases create() { return builder().build(); } /** * @return database */ public java.util.List<Database> getDatabase() { return this.database; } public static final class Builder { private java.util.List<Database> database; private Builder() { } private Builder(Databases model) { this.database = model.database; } /** * Database. */ public Builder database(java.util.List<Database> database) { this.database = database; return this; } public Databases build() { return new Databases(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/DescribeDedicatedHostGroupsRequest.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 DescribeDedicatedHostGroupsRequest} extends {@link RequestModel} * * <p>DescribeDedicatedHostGroupsRequest</p> */ public class DescribeDedicatedHostGroupsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DedicatedHostGroupId") private String dedicatedHostGroupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ImageCategory") private String imageCategory; @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("ResourceOwnerAccount") private String resourceOwnerAccount; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerId") private Long resourceOwnerId; private DescribeDedicatedHostGroupsRequest(Builder builder) { super(builder); this.dedicatedHostGroupId = builder.dedicatedHostGroupId; this.imageCategory = builder.imageCategory; 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 DescribeDedicatedHostGroupsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return dedicatedHostGroupId */ public String getDedicatedHostGroupId() { return this.dedicatedHostGroupId; } /** * @return imageCategory */ public String getImageCategory() { return this.imageCategory; } /** * @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<DescribeDedicatedHostGroupsRequest, Builder> { private String dedicatedHostGroupId; private String imageCategory; private Long ownerId; private String regionId; private String resourceOwnerAccount; private Long resourceOwnerId; private Builder() { super(); } private Builder(DescribeDedicatedHostGroupsRequest request) { super(request); this.dedicatedHostGroupId = request.dedicatedHostGroupId; this.imageCategory = request.imageCategory; this.ownerId = request.ownerId; this.regionId = request.regionId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; } /** * <p>The dedicated cluster ID.</p> * * <strong>example:</strong> * <p>dhg-7a9xxxxxxxx</p> */ public Builder dedicatedHostGroupId(String dedicatedHostGroupId) { this.putQueryParameter("DedicatedHostGroupId", dedicatedHostGroupId); this.dedicatedHostGroupId = dedicatedHostGroupId; return this; } /** * <p>The image based on which the hosts in the dedicated clusters are created. Valid values:</p> * <ul> * <li><strong>WindowsWithMssqlStdLicense</strong>: a Windows image that contains the licenses of SQL Server Standard Edition</li> * <li><strong>WindowsWithMssqlEntLisence</strong>: a Windows image that contains the licenses of SQL Server Enterprise Edition</li> * <li><strong>WindowsWithMssqlWebLisence</strong>: a Windows image that contains the licenses of SQL Server Web Edition</li> * <li><strong>AliLinux</strong>: a Linux image</li> * </ul> * * <strong>example:</strong> * <p>WindowsWithMssqlStdLicense</p> */ public Builder imageCategory(String imageCategory) { this.putQueryParameter("ImageCategory", imageCategory); this.imageCategory = imageCategory; 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; } /** * 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 DescribeDedicatedHostGroupsRequest build() { return new DescribeDedicatedHostGroupsRequest(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/DescribeDedicatedHostGroupsResponse.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 DescribeDedicatedHostGroupsResponse} extends {@link TeaModel} * * <p>DescribeDedicatedHostGroupsResponse</p> */ public class DescribeDedicatedHostGroupsResponse 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 DescribeDedicatedHostGroupsResponseBody body; private DescribeDedicatedHostGroupsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeDedicatedHostGroupsResponse 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 DescribeDedicatedHostGroupsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeDedicatedHostGroupsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeDedicatedHostGroupsResponseBody body); @Override DescribeDedicatedHostGroupsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeDedicatedHostGroupsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeDedicatedHostGroupsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeDedicatedHostGroupsResponse 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(DescribeDedicatedHostGroupsResponseBody body) { this.body = body; return this; } @Override public DescribeDedicatedHostGroupsResponse build() { return new DescribeDedicatedHostGroupsResponse(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/DescribeDedicatedHostGroupsResponseBody.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 DescribeDedicatedHostGroupsResponseBody} extends {@link TeaModel} * * <p>DescribeDedicatedHostGroupsResponseBody</p> */ public class DescribeDedicatedHostGroupsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("DedicatedHostGroups") private DedicatedHostGroups dedicatedHostGroups; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeDedicatedHostGroupsResponseBody(Builder builder) { this.dedicatedHostGroups = builder.dedicatedHostGroups; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeDedicatedHostGroupsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return dedicatedHostGroups */ public DedicatedHostGroups getDedicatedHostGroups() { return this.dedicatedHostGroups; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private DedicatedHostGroups dedicatedHostGroups; private String requestId; private Builder() { } private Builder(DescribeDedicatedHostGroupsResponseBody model) { this.dedicatedHostGroups = model.dedicatedHostGroups; this.requestId = model.requestId; } /** * <p>The information about dedicated clusters returned.</p> */ public Builder dedicatedHostGroups(DedicatedHostGroups dedicatedHostGroups) { this.dedicatedHostGroups = dedicatedHostGroups; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>AB44DC0A-7E77-442A-97A9-C6418694CB22</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeDedicatedHostGroupsResponseBody build() { return new DescribeDedicatedHostGroupsResponseBody(this); } } /** * * {@link DescribeDedicatedHostGroupsResponseBody} extends {@link TeaModel} * * <p>DescribeDedicatedHostGroupsResponseBody</p> */ public static class ZoneIDList extends TeaModel { @com.aliyun.core.annotation.NameInMap("ZoneIDList") private java.util.List<String> zoneIDList; private ZoneIDList(Builder builder) { this.zoneIDList = builder.zoneIDList; } public static Builder builder() { return new Builder(); } public static ZoneIDList create() { return builder().build(); } /** * @return zoneIDList */ public java.util.List<String> getZoneIDList() { return this.zoneIDList; } public static final class Builder { private java.util.List<String> zoneIDList; private Builder() { } private Builder(ZoneIDList model) { this.zoneIDList = model.zoneIDList; } /** * ZoneIDList. */ public Builder zoneIDList(java.util.List<String> zoneIDList) { this.zoneIDList = zoneIDList; return this; } public ZoneIDList build() { return new ZoneIDList(this); } } } /** * * {@link DescribeDedicatedHostGroupsResponseBody} extends {@link TeaModel} * * <p>DescribeDedicatedHostGroupsResponseBody</p> */ public static class DedicatedHostGroupsDedicatedHostGroups extends TeaModel { @com.aliyun.core.annotation.NameInMap("AllocationPolicy") private String allocationPolicy; @com.aliyun.core.annotation.NameInMap("BastionInstanceId") private String bastionInstanceId; @com.aliyun.core.annotation.NameInMap("CpuAllocateRation") private Float cpuAllocateRation; @com.aliyun.core.annotation.NameInMap("CpuAllocatedAmount") private Float cpuAllocatedAmount; @com.aliyun.core.annotation.NameInMap("CpuAllocationRatio") private Integer cpuAllocationRatio; @com.aliyun.core.annotation.NameInMap("CreateTime") private String createTime; @com.aliyun.core.annotation.NameInMap("DedicatedHostCountGroupByHostType") private java.util.Map<String, ?> dedicatedHostCountGroupByHostType; @com.aliyun.core.annotation.NameInMap("DedicatedHostGroupDesc") private String dedicatedHostGroupDesc; @com.aliyun.core.annotation.NameInMap("DedicatedHostGroupId") private String dedicatedHostGroupId; @com.aliyun.core.annotation.NameInMap("DiskAllocateRation") private Float diskAllocateRation; @com.aliyun.core.annotation.NameInMap("DiskAllocatedAmount") private Float diskAllocatedAmount; @com.aliyun.core.annotation.NameInMap("DiskAllocationRatio") private Integer diskAllocationRatio; @com.aliyun.core.annotation.NameInMap("DiskUsedAmount") private Float diskUsedAmount; @com.aliyun.core.annotation.NameInMap("DiskUtility") private Float diskUtility; @com.aliyun.core.annotation.NameInMap("Engine") private String engine; @com.aliyun.core.annotation.NameInMap("HostNumber") private Integer hostNumber; @com.aliyun.core.annotation.NameInMap("HostReplacePolicy") private String hostReplacePolicy; @com.aliyun.core.annotation.NameInMap("InstanceNumber") private Integer instanceNumber; @com.aliyun.core.annotation.NameInMap("MemAllocateRation") private Float memAllocateRation; @com.aliyun.core.annotation.NameInMap("MemAllocatedAmount") private Float memAllocatedAmount; @com.aliyun.core.annotation.NameInMap("MemAllocationRatio") private Integer memAllocationRatio; @com.aliyun.core.annotation.NameInMap("MemUsedAmount") private Float memUsedAmount; @com.aliyun.core.annotation.NameInMap("MemUtility") private Float memUtility; @com.aliyun.core.annotation.NameInMap("OpenPermission") private String openPermission; @com.aliyun.core.annotation.NameInMap("Text") private String text; @com.aliyun.core.annotation.NameInMap("VPCId") private String VPCId; @com.aliyun.core.annotation.NameInMap("ZoneIDList") private ZoneIDList zoneIDList; private DedicatedHostGroupsDedicatedHostGroups(Builder builder) { this.allocationPolicy = builder.allocationPolicy; this.bastionInstanceId = builder.bastionInstanceId; this.cpuAllocateRation = builder.cpuAllocateRation; this.cpuAllocatedAmount = builder.cpuAllocatedAmount; this.cpuAllocationRatio = builder.cpuAllocationRatio; this.createTime = builder.createTime; this.dedicatedHostCountGroupByHostType = builder.dedicatedHostCountGroupByHostType; this.dedicatedHostGroupDesc = builder.dedicatedHostGroupDesc; this.dedicatedHostGroupId = builder.dedicatedHostGroupId; this.diskAllocateRation = builder.diskAllocateRation; this.diskAllocatedAmount = builder.diskAllocatedAmount; this.diskAllocationRatio = builder.diskAllocationRatio; this.diskUsedAmount = builder.diskUsedAmount; this.diskUtility = builder.diskUtility; this.engine = builder.engine; this.hostNumber = builder.hostNumber; this.hostReplacePolicy = builder.hostReplacePolicy; this.instanceNumber = builder.instanceNumber; this.memAllocateRation = builder.memAllocateRation; this.memAllocatedAmount = builder.memAllocatedAmount; this.memAllocationRatio = builder.memAllocationRatio; this.memUsedAmount = builder.memUsedAmount; this.memUtility = builder.memUtility; this.openPermission = builder.openPermission; this.text = builder.text; this.VPCId = builder.VPCId; this.zoneIDList = builder.zoneIDList; } public static Builder builder() { return new Builder(); } public static DedicatedHostGroupsDedicatedHostGroups create() { return builder().build(); } /** * @return allocationPolicy */ public String getAllocationPolicy() { return this.allocationPolicy; } /** * @return bastionInstanceId */ public String getBastionInstanceId() { return this.bastionInstanceId; } /** * @return cpuAllocateRation */ public Float getCpuAllocateRation() { return this.cpuAllocateRation; } /** * @return cpuAllocatedAmount */ public Float getCpuAllocatedAmount() { return this.cpuAllocatedAmount; } /** * @return cpuAllocationRatio */ public Integer getCpuAllocationRatio() { return this.cpuAllocationRatio; } /** * @return createTime */ public String getCreateTime() { return this.createTime; } /** * @return dedicatedHostCountGroupByHostType */ public java.util.Map<String, ?> getDedicatedHostCountGroupByHostType() { return this.dedicatedHostCountGroupByHostType; } /** * @return dedicatedHostGroupDesc */ public String getDedicatedHostGroupDesc() { return this.dedicatedHostGroupDesc; } /** * @return dedicatedHostGroupId */ public String getDedicatedHostGroupId() { return this.dedicatedHostGroupId; } /** * @return diskAllocateRation */ public Float getDiskAllocateRation() { return this.diskAllocateRation; } /** * @return diskAllocatedAmount */ public Float getDiskAllocatedAmount() { return this.diskAllocatedAmount; } /** * @return diskAllocationRatio */ public Integer getDiskAllocationRatio() { return this.diskAllocationRatio; } /** * @return diskUsedAmount */ public Float getDiskUsedAmount() { return this.diskUsedAmount; } /** * @return diskUtility */ public Float getDiskUtility() { return this.diskUtility; } /** * @return engine */ public String getEngine() { return this.engine; } /** * @return hostNumber */ public Integer getHostNumber() { return this.hostNumber; } /** * @return hostReplacePolicy */ public String getHostReplacePolicy() { return this.hostReplacePolicy; } /** * @return instanceNumber */ public Integer getInstanceNumber() { return this.instanceNumber; } /** * @return memAllocateRation */ public Float getMemAllocateRation() { return this.memAllocateRation; } /** * @return memAllocatedAmount */ public Float getMemAllocatedAmount() { return this.memAllocatedAmount; } /** * @return memAllocationRatio */ public Integer getMemAllocationRatio() { return this.memAllocationRatio; } /** * @return memUsedAmount */ public Float getMemUsedAmount() { return this.memUsedAmount; } /** * @return memUtility */ public Float getMemUtility() { return this.memUtility; } /** * @return openPermission */ public String getOpenPermission() { return this.openPermission; } /** * @return text */ public String getText() { return this.text; } /** * @return VPCId */ public String getVPCId() { return this.VPCId; } /** * @return zoneIDList */ public ZoneIDList getZoneIDList() { return this.zoneIDList; } public static final class Builder { private String allocationPolicy; private String bastionInstanceId; private Float cpuAllocateRation; private Float cpuAllocatedAmount; private Integer cpuAllocationRatio; private String createTime; private java.util.Map<String, ?> dedicatedHostCountGroupByHostType; private String dedicatedHostGroupDesc; private String dedicatedHostGroupId; private Float diskAllocateRation; private Float diskAllocatedAmount; private Integer diskAllocationRatio; private Float diskUsedAmount; private Float diskUtility; private String engine; private Integer hostNumber; private String hostReplacePolicy; private Integer instanceNumber; private Float memAllocateRation; private Float memAllocatedAmount; private Integer memAllocationRatio; private Float memUsedAmount; private Float memUtility; private String openPermission; private String text; private String VPCId; private ZoneIDList zoneIDList; private Builder() { } private Builder(DedicatedHostGroupsDedicatedHostGroups model) { this.allocationPolicy = model.allocationPolicy; this.bastionInstanceId = model.bastionInstanceId; this.cpuAllocateRation = model.cpuAllocateRation; this.cpuAllocatedAmount = model.cpuAllocatedAmount; this.cpuAllocationRatio = model.cpuAllocationRatio; this.createTime = model.createTime; this.dedicatedHostCountGroupByHostType = model.dedicatedHostCountGroupByHostType; this.dedicatedHostGroupDesc = model.dedicatedHostGroupDesc; this.dedicatedHostGroupId = model.dedicatedHostGroupId; this.diskAllocateRation = model.diskAllocateRation; this.diskAllocatedAmount = model.diskAllocatedAmount; this.diskAllocationRatio = model.diskAllocationRatio; this.diskUsedAmount = model.diskUsedAmount; this.diskUtility = model.diskUtility; this.engine = model.engine; this.hostNumber = model.hostNumber; this.hostReplacePolicy = model.hostReplacePolicy; this.instanceNumber = model.instanceNumber; this.memAllocateRation = model.memAllocateRation; this.memAllocatedAmount = model.memAllocatedAmount; this.memAllocationRatio = model.memAllocationRatio; this.memUsedAmount = model.memUsedAmount; this.memUtility = model.memUtility; this.openPermission = model.openPermission; this.text = model.text; this.VPCId = model.VPCId; this.zoneIDList = model.zoneIDList; } /** * <p>The policy based on which the system allocates resources in the dedicated cluster. Valid values:</p> * <ul> * <li><strong>Evenly</strong>: The system evenly allocates the resources to all the hosts in the dedicated cluster.</li> * <li><strong>Intensively</strong>: The system preferentially allocates the resources to the heavily loaded hosts in the dedicated cluster.</li> * </ul> * * <strong>example:</strong> * <p>Evenly</p> */ public Builder allocationPolicy(String allocationPolicy) { this.allocationPolicy = allocationPolicy; return this; } /** * <p>The ID of the bastion host.</p> * * <strong>example:</strong> * <p>bastionhost-cn-m7xxxxxxxx</p> */ public Builder bastionInstanceId(String bastionInstanceId) { this.bastionInstanceId = bastionInstanceId; return this; } /** * <p>The percentage of allocated cores in the dedicated cluster. Unit: %.</p> * * <strong>example:</strong> * <p>25</p> */ public Builder cpuAllocateRation(Float cpuAllocateRation) { this.cpuAllocateRation = cpuAllocateRation; return this; } /** * <p>The number of allocated cores in the dedicated cluster.</p> * * <strong>example:</strong> * <p>8</p> */ public Builder cpuAllocatedAmount(Float cpuAllocatedAmount) { this.cpuAllocatedAmount = cpuAllocatedAmount; return this; } /** * <p>The core overcommitment ratio of the dedicated cluster. Unit: %. For more information about the core overcommitment ratio, see <a href="https://help.aliyun.com/document_detail/182328.html">Manage a dedicated cluster</a>.</p> * * <strong>example:</strong> * <p>200</p> */ public Builder cpuAllocationRatio(Integer cpuAllocationRatio) { this.cpuAllocationRatio = cpuAllocationRatio; return this; } /** * <p>The timestamp when the dedicated cluster was created.</p> * * <strong>example:</strong> * <p>1571125370000</p> */ public Builder createTime(String createTime) { this.createTime = createTime; return this; } /** * <p>The type of storage media that is used for the hosts in the dedicated cluster. Valid values:</p> * <ul> * <li><strong>dhg_cloud_ssd</strong>: cloud disks</li> * <li><strong>dhg_local_ssd</strong>: local disks</li> * </ul> * * <strong>example:</strong> * <p>dhg_cloud_ssd</p> */ public Builder dedicatedHostCountGroupByHostType(java.util.Map<String, ?> dedicatedHostCountGroupByHostType) { this.dedicatedHostCountGroupByHostType = dedicatedHostCountGroupByHostType; return this; } /** * <p>The name of the dedicated cluster.</p> * * <strong>example:</strong> * <p>testHostGroup</p> */ public Builder dedicatedHostGroupDesc(String dedicatedHostGroupDesc) { this.dedicatedHostGroupDesc = dedicatedHostGroupDesc; return this; } /** * <p>The ID of the dedicated cluster.</p> * * <strong>example:</strong> * <p>dhg-7a9xxxxxxxx</p> */ public Builder dedicatedHostGroupId(String dedicatedHostGroupId) { this.dedicatedHostGroupId = dedicatedHostGroupId; return this; } /** * <p>The percentage of allocated disk space in the dedicated cluster. Unit: %.</p> * * <strong>example:</strong> * <p>0.49</p> */ public Builder diskAllocateRation(Float diskAllocateRation) { this.diskAllocateRation = diskAllocateRation; return this; } /** * <p>The amount of allocated disk space in the dedicated cluster. Unit: GB.</p> * * <strong>example:</strong> * <p>200</p> */ public Builder diskAllocatedAmount(Float diskAllocatedAmount) { this.diskAllocatedAmount = diskAllocatedAmount; return this; } /** * <p>The disk overcommitment ratio of the dedicated cluster. Unit: %. For more information about the core overcommitment ratio, see <a href="https://help.aliyun.com/document_detail/182328.html">Manage a dedicated cluster</a>.</p> * * <strong>example:</strong> * <p>200</p> */ public Builder diskAllocationRatio(Integer diskAllocationRatio) { this.diskAllocationRatio = diskAllocationRatio; return this; } /** * <p>The amount of used disk space in the dedicated cluster. Unit: GB.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder diskUsedAmount(Float diskUsedAmount) { this.diskUsedAmount = diskUsedAmount; return this; } /** * <p>The disk usage of the dedicated cluster. Unit: %.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder diskUtility(Float diskUtility) { this.diskUtility = diskUtility; return this; } /** * <p>The database engine of the instances in the dedicated cluster.</p> * * <strong>example:</strong> * <p>MySQL</p> */ public Builder engine(String engine) { this.engine = engine; return this; } /** * <p>The total number of hosts in the dedicated cluster.</p> * * <strong>example:</strong> * <p>3</p> */ public Builder hostNumber(Integer hostNumber) { this.hostNumber = hostNumber; return this; } /** * <p>The policy that is used to handle host failures. Valid values:</p> * <ul> * <li><strong>Auto</strong>: The system automatically replaces faulty hosts.</li> * <li><strong>Manual</strong>: You must manually replace faulty hosts.</li> * </ul> * * <strong>example:</strong> * <p>Auto</p> */ public Builder hostReplacePolicy(String hostReplacePolicy) { this.hostReplacePolicy = hostReplacePolicy; return this; } /** * <p>The total number of instances in the dedicated cluster.</p> * * <strong>example:</strong> * <p>4</p> */ public Builder instanceNumber(Integer instanceNumber) { this.instanceNumber = instanceNumber; return this; } /** * <p>The percentage of allocated memory space in the dedicated cluster. Unit: %.</p> * * <strong>example:</strong> * <p>33.7</p> */ public Builder memAllocateRation(Float memAllocateRation) { this.memAllocateRation = memAllocateRation; return this; } /** * <p>The amount of allocated memory space in the dedicated cluster.</p> * * <strong>example:</strong> * <p>16384</p> */ public Builder memAllocatedAmount(Float memAllocatedAmount) { this.memAllocatedAmount = memAllocatedAmount; return this; } /** * <p>The memory overcommitment ratio of the dedicated cluster. Unit: %. For more information about the core overcommitment ratio, see <a href="https://help.aliyun.com/document_detail/182328.html">Manage a dedicated cluster</a>.</p> * * <strong>example:</strong> * <p>90</p> */ public Builder memAllocationRatio(Integer memAllocationRatio) { this.memAllocationRatio = memAllocationRatio; return this; } /** * <p>The amount of used memory space in the dedicated cluster. Unit: MB.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder memUsedAmount(Float memUsedAmount) { this.memUsedAmount = memUsedAmount; return this; } /** * <p>The memory usage of the dedicated cluster. Unit: %.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder memUtility(Float memUtility) { this.memUtility = memUtility; return this; } /** * <p>Indicates whether the feature that allows you to have the OS permissions on the host is enabled. Valid values:</p> * <ul> * <li><strong>0</strong> or <strong>null</strong>: The permissions cannot be granted.</li> * <li><strong>1</strong>: The permissions can be granted.</li> * <li><strong>3</strong>: The permissions have been granted.</li> * </ul> * * <strong>example:</strong> * <p>3</p> */ public Builder openPermission(String openPermission) { this.openPermission = openPermission; return this; } /** * <p>The name and ID of the dedicated cluster. The value consists of <strong>DedicatedHostGroupDesc</strong> and <strong>DedicatedHostGroupId</strong>. Format: DedicatedHostGroupDesc/DedicatedHostGroupId.</p> * * <strong>example:</strong> * <p>testHostGroup/dhg-7a9xxxxxxxx</p> */ public Builder text(String text) { this.text = text; return this; } /** * <p>The ID of the virtual private cloud (VPC) to which the dedicated cluster belongs.</p> * * <strong>example:</strong> * <p>vpc-bp1oxxxxxx</p> */ public Builder VPCId(String VPCId) { this.VPCId = VPCId; return this; } /** * <p>The zones to which the hosts of the dedicated cluster belong.</p> */ public Builder zoneIDList(ZoneIDList zoneIDList) { this.zoneIDList = zoneIDList; return this; } public DedicatedHostGroupsDedicatedHostGroups build() { return new DedicatedHostGroupsDedicatedHostGroups(this); } } } /** * * {@link DescribeDedicatedHostGroupsResponseBody} extends {@link TeaModel} * * <p>DescribeDedicatedHostGroupsResponseBody</p> */ public static class DedicatedHostGroups extends TeaModel { @com.aliyun.core.annotation.NameInMap("DedicatedHostGroups") private java.util.List<DedicatedHostGroupsDedicatedHostGroups> dedicatedHostGroups; private DedicatedHostGroups(Builder builder) { this.dedicatedHostGroups = builder.dedicatedHostGroups; } public static Builder builder() { return new Builder(); } public static DedicatedHostGroups create() { return builder().build(); } /** * @return dedicatedHostGroups */ public java.util.List<DedicatedHostGroupsDedicatedHostGroups> getDedicatedHostGroups() { return this.dedicatedHostGroups; } public static final class Builder { private java.util.List<DedicatedHostGroupsDedicatedHostGroups> dedicatedHostGroups; private Builder() { } private Builder(DedicatedHostGroups model) { this.dedicatedHostGroups = model.dedicatedHostGroups; } /** * <p>The information about dedicated clusters returned.</p> */ public Builder dedicatedHostGroups(java.util.List<DedicatedHostGroupsDedicatedHostGroups> dedicatedHostGroups) { this.dedicatedHostGroups = dedicatedHostGroups; return this; } public DedicatedHostGroups build() { return new DedicatedHostGroups(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/DescribeDedicatedHostsRequest.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 DescribeDedicatedHostsRequest} extends {@link RequestModel} * * <p>DescribeDedicatedHostsRequest</p> */ public class DescribeDedicatedHostsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AllocationStatus") private String allocationStatus; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DedicatedHostGroupId") private String dedicatedHostGroupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DedicatedHostId") private String dedicatedHostId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("HostStatus") private String hostStatus; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("HostType") private String hostType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OrderId") private Long orderId; @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; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ZoneId") private String zoneId; private DescribeDedicatedHostsRequest(Builder builder) { super(builder); this.allocationStatus = builder.allocationStatus; this.dedicatedHostGroupId = builder.dedicatedHostGroupId; this.dedicatedHostId = builder.dedicatedHostId; this.hostStatus = builder.hostStatus; this.hostType = builder.hostType; this.orderId = builder.orderId; this.ownerId = builder.ownerId; this.regionId = builder.regionId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.zoneId = builder.zoneId; } public static Builder builder() { return new Builder(); } public static DescribeDedicatedHostsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return allocationStatus */ public String getAllocationStatus() { return this.allocationStatus; } /** * @return dedicatedHostGroupId */ public String getDedicatedHostGroupId() { return this.dedicatedHostGroupId; } /** * @return dedicatedHostId */ public String getDedicatedHostId() { return this.dedicatedHostId; } /** * @return hostStatus */ public String getHostStatus() { return this.hostStatus; } /** * @return hostType */ public String getHostType() { return this.hostType; } /** * @return orderId */ public Long getOrderId() { return this.orderId; } /** * @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; } /** * @return zoneId */ public String getZoneId() { return this.zoneId; } public static final class Builder extends Request.Builder<DescribeDedicatedHostsRequest, Builder> { private String allocationStatus; private String dedicatedHostGroupId; private String dedicatedHostId; private String hostStatus; private String hostType; private Long orderId; private Long ownerId; private String regionId; private String resourceOwnerAccount; private Long resourceOwnerId; private String zoneId; private Builder() { super(); } private Builder(DescribeDedicatedHostsRequest request) { super(request); this.allocationStatus = request.allocationStatus; this.dedicatedHostGroupId = request.dedicatedHostGroupId; this.dedicatedHostId = request.dedicatedHostId; this.hostStatus = request.hostStatus; this.hostType = request.hostType; this.orderId = request.orderId; this.ownerId = request.ownerId; this.regionId = request.regionId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.zoneId = request.zoneId; } /** * <p>Specifies whether instances can be deployed on the host. Valid values:</p> * <ul> * <li><strong>0</strong>: Instances cannot be deployed on the host.</li> * <li><strong>1</strong>: Instances can be deployed on the host.</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder allocationStatus(String allocationStatus) { this.putQueryParameter("AllocationStatus", allocationStatus); this.allocationStatus = allocationStatus; return this; } /** * <p>The dedicated cluster ID. You can call the DescribeDedicatedHostGroups operation to query the dedicated cluster ID.</p> * * <strong>example:</strong> * <p>dhg-7a9xxxxxxxx</p> */ public Builder dedicatedHostGroupId(String dedicatedHostGroupId) { this.putQueryParameter("DedicatedHostGroupId", dedicatedHostGroupId); this.dedicatedHostGroupId = dedicatedHostGroupId; return this; } /** * <p>The ID of the host in the dedicated cluster.</p> * * <strong>example:</strong> * <p>ch-t4nn100ddxxxxxxxx</p> */ public Builder dedicatedHostId(String dedicatedHostId) { this.putQueryParameter("DedicatedHostId", dedicatedHostId); this.dedicatedHostId = dedicatedHostId; return this; } /** * <p>The status of the host. Valid values:</p> * <ul> * <li><strong>0</strong>: creating</li> * <li><strong>1</strong>: running</li> * <li><strong>2</strong>: faulty</li> * <li><strong>3</strong>: being replaced</li> * <li><strong>4</strong>: deprecated</li> * <li><strong>5</strong>: deleting</li> * <li><strong>6</strong>: restarting</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder hostStatus(String hostStatus) { this.putQueryParameter("HostStatus", hostStatus); this.hostStatus = hostStatus; return this; } /** * <p>The storage type of the host. Valid values:</p> * <ul> * <li><strong>dhg_cloud_ssd</strong>: enhanced SSD (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.putQueryParameter("HostType", hostType); this.hostType = hostType; return this; } /** * <p>The order ID.</p> * * <strong>example:</strong> * <p>102565235</p> */ public Builder orderId(Long orderId) { this.putQueryParameter("OrderId", orderId); this.orderId = orderId; 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; } /** * <p>The zone ID.</p> * * <strong>example:</strong> * <p>cn-hangzhou-i</p> */ public Builder zoneId(String zoneId) { this.putQueryParameter("ZoneId", zoneId); this.zoneId = zoneId; return this; } @Override public DescribeDedicatedHostsRequest build() { return new DescribeDedicatedHostsRequest(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/DescribeDedicatedHostsResponse.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 DescribeDedicatedHostsResponse} extends {@link TeaModel} * * <p>DescribeDedicatedHostsResponse</p> */ public class DescribeDedicatedHostsResponse 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 DescribeDedicatedHostsResponseBody body; private DescribeDedicatedHostsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeDedicatedHostsResponse 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 DescribeDedicatedHostsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeDedicatedHostsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeDedicatedHostsResponseBody body); @Override DescribeDedicatedHostsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeDedicatedHostsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeDedicatedHostsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeDedicatedHostsResponse 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(DescribeDedicatedHostsResponseBody body) { this.body = body; return this; } @Override public DescribeDedicatedHostsResponse build() { return new DescribeDedicatedHostsResponse(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/DescribeDedicatedHostsResponseBody.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 DescribeDedicatedHostsResponseBody} extends {@link TeaModel} * * <p>DescribeDedicatedHostsResponseBody</p> */ public class DescribeDedicatedHostsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("DedicatedHostGroupId") private String dedicatedHostGroupId; @com.aliyun.core.annotation.NameInMap("DedicatedHosts") private DedicatedHosts dedicatedHosts; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeDedicatedHostsResponseBody(Builder builder) { this.dedicatedHostGroupId = builder.dedicatedHostGroupId; this.dedicatedHosts = builder.dedicatedHosts; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeDedicatedHostsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return dedicatedHostGroupId */ public String getDedicatedHostGroupId() { return this.dedicatedHostGroupId; } /** * @return dedicatedHosts */ public DedicatedHosts getDedicatedHosts() { return this.dedicatedHosts; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String dedicatedHostGroupId; private DedicatedHosts dedicatedHosts; private String requestId; private Builder() { } private Builder(DescribeDedicatedHostsResponseBody model) { this.dedicatedHostGroupId = model.dedicatedHostGroupId; this.dedicatedHosts = model.dedicatedHosts; this.requestId = model.requestId; } /** * <p>The host group ID.</p> * * <strong>example:</strong> * <p>dhg-7a9xxxxxxxx</p> */ public Builder dedicatedHostGroupId(String dedicatedHostGroupId) { this.dedicatedHostGroupId = dedicatedHostGroupId; return this; } /** * <p>The host information.</p> */ public Builder dedicatedHosts(DedicatedHosts dedicatedHosts) { this.dedicatedHosts = dedicatedHosts; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>C860658E-68A6-46C1-AF6E-3AE7C4D3CACF</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeDedicatedHostsResponseBody build() { return new DescribeDedicatedHostsResponseBody(this); } } /** * * {@link DescribeDedicatedHostsResponseBody} extends {@link TeaModel} * * <p>DescribeDedicatedHostsResponseBody</p> */ public static class DedicatedHostsDedicatedHosts extends TeaModel { @com.aliyun.core.annotation.NameInMap("AccountName") private String accountName; @com.aliyun.core.annotation.NameInMap("AllocationStatus") private String allocationStatus; @com.aliyun.core.annotation.NameInMap("BastionInstanceId") private String bastionInstanceId; @com.aliyun.core.annotation.NameInMap("CPUAllocationRatio") private String CPUAllocationRatio; @com.aliyun.core.annotation.NameInMap("CpuUsed") private String cpuUsed; @com.aliyun.core.annotation.NameInMap("CreatedTime") private String createdTime; @com.aliyun.core.annotation.NameInMap("DedicatedHostGroupId") private String dedicatedHostGroupId; @com.aliyun.core.annotation.NameInMap("DedicatedHostId") private String dedicatedHostId; @com.aliyun.core.annotation.NameInMap("DiskAllocationRatio") private String diskAllocationRatio; @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @com.aliyun.core.annotation.NameInMap("Engine") private String engine; @com.aliyun.core.annotation.NameInMap("HostCPU") private String hostCPU; @com.aliyun.core.annotation.NameInMap("HostClass") private String hostClass; @com.aliyun.core.annotation.NameInMap("HostMem") private String hostMem; @com.aliyun.core.annotation.NameInMap("HostName") private String hostName; @com.aliyun.core.annotation.NameInMap("HostStatus") private String hostStatus; @com.aliyun.core.annotation.NameInMap("HostStorage") private String hostStorage; @com.aliyun.core.annotation.NameInMap("HostType") private String hostType; @com.aliyun.core.annotation.NameInMap("IPAddress") private String IPAddress; @com.aliyun.core.annotation.NameInMap("ImageCategory") private String imageCategory; @com.aliyun.core.annotation.NameInMap("InstanceNumber") private String instanceNumber; @com.aliyun.core.annotation.NameInMap("MemAllocationRatio") private String memAllocationRatio; @com.aliyun.core.annotation.NameInMap("MemoryUsed") private String memoryUsed; @com.aliyun.core.annotation.NameInMap("OpenPermission") private String openPermission; @com.aliyun.core.annotation.NameInMap("StorageUsed") private String storageUsed; @com.aliyun.core.annotation.NameInMap("VPCId") private String VPCId; @com.aliyun.core.annotation.NameInMap("VSwitchId") private String vSwitchId; @com.aliyun.core.annotation.NameInMap("ZoneId") private String zoneId; private DedicatedHostsDedicatedHosts(Builder builder) { this.accountName = builder.accountName; this.allocationStatus = builder.allocationStatus; this.bastionInstanceId = builder.bastionInstanceId; this.CPUAllocationRatio = builder.CPUAllocationRatio; this.cpuUsed = builder.cpuUsed; this.createdTime = builder.createdTime; this.dedicatedHostGroupId = builder.dedicatedHostGroupId; this.dedicatedHostId = builder.dedicatedHostId; this.diskAllocationRatio = builder.diskAllocationRatio; this.endTime = builder.endTime; this.engine = builder.engine; this.hostCPU = builder.hostCPU; this.hostClass = builder.hostClass; this.hostMem = builder.hostMem; this.hostName = builder.hostName; this.hostStatus = builder.hostStatus; this.hostStorage = builder.hostStorage; this.hostType = builder.hostType; this.IPAddress = builder.IPAddress; this.imageCategory = builder.imageCategory; this.instanceNumber = builder.instanceNumber; this.memAllocationRatio = builder.memAllocationRatio; this.memoryUsed = builder.memoryUsed; this.openPermission = builder.openPermission; this.storageUsed = builder.storageUsed; this.VPCId = builder.VPCId; this.vSwitchId = builder.vSwitchId; this.zoneId = builder.zoneId; } public static Builder builder() { return new Builder(); } public static DedicatedHostsDedicatedHosts create() { return builder().build(); } /** * @return accountName */ public String getAccountName() { return this.accountName; } /** * @return allocationStatus */ public String getAllocationStatus() { return this.allocationStatus; } /** * @return bastionInstanceId */ public String getBastionInstanceId() { return this.bastionInstanceId; } /** * @return CPUAllocationRatio */ public String getCPUAllocationRatio() { return this.CPUAllocationRatio; } /** * @return cpuUsed */ public String getCpuUsed() { return this.cpuUsed; } /** * @return createdTime */ public String getCreatedTime() { return this.createdTime; } /** * @return dedicatedHostGroupId */ public String getDedicatedHostGroupId() { return this.dedicatedHostGroupId; } /** * @return dedicatedHostId */ public String getDedicatedHostId() { return this.dedicatedHostId; } /** * @return diskAllocationRatio */ public String getDiskAllocationRatio() { return this.diskAllocationRatio; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return engine */ public String getEngine() { return this.engine; } /** * @return hostCPU */ public String getHostCPU() { return this.hostCPU; } /** * @return hostClass */ public String getHostClass() { return this.hostClass; } /** * @return hostMem */ public String getHostMem() { return this.hostMem; } /** * @return hostName */ public String getHostName() { return this.hostName; } /** * @return hostStatus */ public String getHostStatus() { return this.hostStatus; } /** * @return hostStorage */ public String getHostStorage() { return this.hostStorage; } /** * @return hostType */ public String getHostType() { return this.hostType; } /** * @return IPAddress */ public String getIPAddress() { return this.IPAddress; } /** * @return imageCategory */ public String getImageCategory() { return this.imageCategory; } /** * @return instanceNumber */ public String getInstanceNumber() { return this.instanceNumber; } /** * @return memAllocationRatio */ public String getMemAllocationRatio() { return this.memAllocationRatio; } /** * @return memoryUsed */ public String getMemoryUsed() { return this.memoryUsed; } /** * @return openPermission */ public String getOpenPermission() { return this.openPermission; } /** * @return storageUsed */ public String getStorageUsed() { return this.storageUsed; } /** * @return VPCId */ public String getVPCId() { return this.VPCId; } /** * @return vSwitchId */ public String getVSwitchId() { return this.vSwitchId; } /** * @return zoneId */ public String getZoneId() { return this.zoneId; } public static final class Builder { private String accountName; private String allocationStatus; private String bastionInstanceId; private String CPUAllocationRatio; private String cpuUsed; private String createdTime; private String dedicatedHostGroupId; private String dedicatedHostId; private String diskAllocationRatio; private String endTime; private String engine; private String hostCPU; private String hostClass; private String hostMem; private String hostName; private String hostStatus; private String hostStorage; private String hostType; private String IPAddress; private String imageCategory; private String instanceNumber; private String memAllocationRatio; private String memoryUsed; private String openPermission; private String storageUsed; private String VPCId; private String vSwitchId; private String zoneId; private Builder() { } private Builder(DedicatedHostsDedicatedHosts model) { this.accountName = model.accountName; this.allocationStatus = model.allocationStatus; this.bastionInstanceId = model.bastionInstanceId; this.CPUAllocationRatio = model.CPUAllocationRatio; this.cpuUsed = model.cpuUsed; this.createdTime = model.createdTime; this.dedicatedHostGroupId = model.dedicatedHostGroupId; this.dedicatedHostId = model.dedicatedHostId; this.diskAllocationRatio = model.diskAllocationRatio; this.endTime = model.endTime; this.engine = model.engine; this.hostCPU = model.hostCPU; this.hostClass = model.hostClass; this.hostMem = model.hostMem; this.hostName = model.hostName; this.hostStatus = model.hostStatus; this.hostStorage = model.hostStorage; this.hostType = model.hostType; this.IPAddress = model.IPAddress; this.imageCategory = model.imageCategory; this.instanceNumber = model.instanceNumber; this.memAllocationRatio = model.memAllocationRatio; this.memoryUsed = model.memoryUsed; this.openPermission = model.openPermission; this.storageUsed = model.storageUsed; this.VPCId = model.VPCId; this.vSwitchId = model.vSwitchId; this.zoneId = model.zoneId; } /** * <p>The host account. You can call the <a href="https://help.aliyun.com/document_detail/196877.html">CreateDedicatedHostAccount</a> operation to create a host account.</p> * * <strong>example:</strong> * <p>test123</p> */ public Builder accountName(String accountName) { this.accountName = accountName; return this; } /** * <p>Specifies whether instances can be deployed on the host. Valid values:</p> * <ul> * <li><strong>0</strong>: Instances cannot be deployed on the host.</li> * <li><strong>1</strong>: Instances can be deployed on the host.</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder allocationStatus(String allocationStatus) { this.allocationStatus = allocationStatus; return this; } /** * <p>The bastion host ID.</p> * * <strong>example:</strong> * <p>bastionhost-cn-m7xxxxxxxx</p> */ public Builder bastionInstanceId(String bastionInstanceId) { this.bastionInstanceId = bastionInstanceId; return this; } /** * <p>The core overcommitment ratio of the dedicated cluster. Unit: percentage. For more information about the core overcommitment ratio, see <a href="https://help.aliyun.com/document_detail/182328.html">Manage a dedicated cluster</a>.</p> * * <strong>example:</strong> * <p>200</p> */ public Builder CPUAllocationRatio(String CPUAllocationRatio) { this.CPUAllocationRatio = CPUAllocationRatio; return this; } /** * <p>The number of used CPU cores on the host. Unit: cores.</p> * * <strong>example:</strong> * <p>4</p> */ public Builder cpuUsed(String cpuUsed) { this.cpuUsed = cpuUsed; return this; } /** * <p>The time when the host was created.</p> * * <strong>example:</strong> * <p>2021-03-25 17:29:06.0</p> */ public Builder createdTime(String createdTime) { this.createdTime = createdTime; return this; } /** * <p>The dedicated cluster ID.</p> * * <strong>example:</strong> * <p>dhg-7a9xxxxxxxx</p> */ public Builder dedicatedHostGroupId(String dedicatedHostGroupId) { this.dedicatedHostGroupId = dedicatedHostGroupId; return this; } /** * <p>The host ID.</p> * * <strong>example:</strong> * <p>i-bpxxxxxxx</p> */ public Builder dedicatedHostId(String dedicatedHostId) { this.dedicatedHostId = dedicatedHostId; return this; } /** * <p>The disk overcommitment ratio of the dedicated cluster. Unit: percentage. For more information about the core overcommitment ratio, see <a href="https://help.aliyun.com/document_detail/182328.html">Manage a dedicated cluster</a>.</p> * * <strong>example:</strong> * <p>200</p> */ public Builder diskAllocationRatio(String diskAllocationRatio) { this.diskAllocationRatio = diskAllocationRatio; return this; } /** * <p>The time when the host expires.</p> * * <strong>example:</strong> * <p>2021-04-25T16:00:00Z</p> */ public Builder endTime(String endTime) { this.endTime = endTime; return this; } /** * <p>The database engine of instances that are created on the host.</p> * * <strong>example:</strong> * <p>mysql</p> */ public Builder engine(String engine) { this.engine = engine; return this; } /** * <p>The total number of CPU cores that are configured for the host. Unit: cores.</p> * * <strong>example:</strong> * <p>8</p> */ public Builder hostCPU(String hostCPU) { this.hostCPU = hostCPU; return this; } /** * <p>The instance type of the host.</p> * * <strong>example:</strong> * <p>ecs.i2.16xlarge</p> */ public Builder hostClass(String hostClass) { this.hostClass = hostClass; return this; } /** * <p>The total memory space of the host. Unit: MB.</p> * * <strong>example:</strong> * <p>32238</p> */ public Builder hostMem(String hostMem) { this.hostMem = hostMem; return this; } /** * <p>The host name.</p> * * <strong>example:</strong> * <p>testHost1</p> */ public Builder hostName(String hostName) { this.hostName = hostName; return this; } /** * <p>The status of the host. Valid values:</p> * <ul> * <li><strong>0</strong>: creating</li> * <li><strong>1</strong>: running</li> * <li><strong>2</strong>: faulty</li> * <li><strong>3</strong>: being replaced</li> * <li><strong>4</strong>: deprecated</li> * <li><strong>5</strong>: deleting</li> * <li><strong>6</strong>: restarting</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder hostStatus(String hostStatus) { this.hostStatus = hostStatus; return this; } /** * <p>The storage capacity of the host. Unit: MB.</p> * * <strong>example:</strong> * <p>2097152</p> */ public Builder hostStorage(String hostStorage) { this.hostStorage = hostStorage; 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 internal IP address of the host.</p> * * <strong>example:</strong> * <p>192.xx.xx.xx</p> */ public Builder IPAddress(String IPAddress) { this.IPAddress = IPAddress; return this; } /** * <p>The host image. This parameter is returned only when the <strong>Engine</strong> parameter is set to <strong>mssql</strong>. Valid values:</p> * <ul> * <li><strong>WindowsWithMssqlStdLicense</strong>: a Windows image that contains the licenses of SQL Server Standard Edition</li> * <li><strong>WindowsWithMssqlEntLisence</strong>: a Windows image that contains the licenses of SQL Server Enterprise Edition</li> * <li><strong>WindowsWithMssqlWebLisence</strong>: a Windows image that contains the licenses of SQL Server Web Edition</li> * </ul> * * <strong>example:</strong> * <p>WindowsWithMssqlStdLicense</p> */ public Builder imageCategory(String imageCategory) { this.imageCategory = imageCategory; return this; } /** * <p>The total number of instances that are created on the host.</p> * * <strong>example:</strong> * <p>4</p> */ public Builder instanceNumber(String instanceNumber) { this.instanceNumber = instanceNumber; return this; } /** * <p>The maximum memory usage per host in the dedicated cluster.</p> * * <strong>example:</strong> * <p>90</p> */ public Builder memAllocationRatio(String memAllocationRatio) { this.memAllocationRatio = memAllocationRatio; return this; } /** * <p>The size of the used memory. Unit: MB.</p> * * <strong>example:</strong> * <p>16384</p> */ public Builder memoryUsed(String memoryUsed) { this.memoryUsed = memoryUsed; return this; } /** * <p>Indicates whether the feature that allows you to have the OS permissions on the host is enabled. Valid values:</p> * <ul> * <li><strong>0</strong> or <strong>null</strong>: The permissions cannot be granted.</li> * <li><strong>1</strong>: The permissions can be granted.</li> * <li><strong>3</strong>: The permissions have been granted.</li> * </ul> * * <strong>example:</strong> * <p>3</p> */ public Builder openPermission(String openPermission) { this.openPermission = openPermission; return this; } /** * <p>The amount of used storage space on the host.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder storageUsed(String storageUsed) { this.storageUsed = storageUsed; return this; } /** * <p>The ID of the virtual private cloud (VPC) to which the host belongs.</p> * * <strong>example:</strong> * <p>vpc-bpxxxxxxx</p> */ public Builder VPCId(String VPCId) { this.VPCId = VPCId; return this; } /** * <p>The ID of the vSwitch associated with the specified VPC.</p> * * <strong>example:</strong> * <p>vsw-bpxxxxxxx</p> */ public Builder vSwitchId(String vSwitchId) { this.vSwitchId = vSwitchId; return this; } /** * <p>The zone ID of the host.</p> * * <strong>example:</strong> * <p>cn-hangzhou-i</p> */ public Builder zoneId(String zoneId) { this.zoneId = zoneId; return this; } public DedicatedHostsDedicatedHosts build() { return new DedicatedHostsDedicatedHosts(this); } } } /** * * {@link DescribeDedicatedHostsResponseBody} extends {@link TeaModel} * * <p>DescribeDedicatedHostsResponseBody</p> */ public static class DedicatedHosts extends TeaModel { @com.aliyun.core.annotation.NameInMap("DedicatedHosts") private java.util.List<DedicatedHostsDedicatedHosts> dedicatedHosts; private DedicatedHosts(Builder builder) { this.dedicatedHosts = builder.dedicatedHosts; } public static Builder builder() { return new Builder(); } public static DedicatedHosts create() { return builder().build(); } /** * @return dedicatedHosts */ public java.util.List<DedicatedHostsDedicatedHosts> getDedicatedHosts() { return this.dedicatedHosts; } public static final class Builder { private java.util.List<DedicatedHostsDedicatedHosts> dedicatedHosts; private Builder() { } private Builder(DedicatedHosts model) { this.dedicatedHosts = model.dedicatedHosts; } /** * <p>The host information.</p> */ public Builder dedicatedHosts(java.util.List<DedicatedHostsDedicatedHosts> dedicatedHosts) { this.dedicatedHosts = dedicatedHosts; return this; } public DedicatedHosts build() { return new DedicatedHosts(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/DescribeDetachedBackupsRequest.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 DescribeDetachedBackupsRequest} extends {@link RequestModel} * * <p>DescribeDetachedBackupsRequest</p> */ public class DescribeDetachedBackupsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("BackupId") private String backupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("BackupMode") private String backupMode; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("BackupStatus") private String backupStatus; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DBInstanceId") 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("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("Region") @com.aliyun.core.annotation.Validation(required = true) private String region; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceGroupId") private String resourceGroupId; @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 DescribeDetachedBackupsRequest(Builder builder) { super(builder); this.backupId = builder.backupId; this.backupMode = builder.backupMode; this.backupStatus = builder.backupStatus; this.DBInstanceId = builder.DBInstanceId; this.endTime = builder.endTime; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.region = builder.region; this.resourceGroupId = builder.resourceGroupId; this.resourceOwnerId = builder.resourceOwnerId; this.startTime = builder.startTime; } public static Builder builder() { return new Builder(); } public static DescribeDetachedBackupsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return backupId */ public String getBackupId() { return this.backupId; } /** * @return backupMode */ public String getBackupMode() { return this.backupMode; } /** * @return backupStatus */ public String getBackupStatus() { return this.backupStatus; } /** * @return DBInstanceId */ public String getDBInstanceId() { return this.DBInstanceId; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return region */ public String getRegion() { return this.region; } /** * @return resourceGroupId */ public String getResourceGroupId() { return this.resourceGroupId; } /** * @return resourceOwnerId */ public Long getResourceOwnerId() { return this.resourceOwnerId; } /** * @return startTime */ public String getStartTime() { return this.startTime; } public static final class Builder extends Request.Builder<DescribeDetachedBackupsRequest, Builder> { private String backupId; private String backupMode; private String backupStatus; private String DBInstanceId; private String endTime; private Integer pageNumber; private Integer pageSize; private String region; private String resourceGroupId; private Long resourceOwnerId; private String startTime; private Builder() { super(); } private Builder(DescribeDetachedBackupsRequest request) { super(request); this.backupId = request.backupId; this.backupMode = request.backupMode; this.backupStatus = request.backupStatus; this.DBInstanceId = request.DBInstanceId; this.endTime = request.endTime; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.region = request.region; this.resourceGroupId = request.resourceGroupId; this.resourceOwnerId = request.resourceOwnerId; this.startTime = request.startTime; } /** * <p>The ID of the backup set.</p> * * <strong>example:</strong> * <p>327xxxxx3</p> */ public Builder backupId(String backupId) { this.putQueryParameter("BackupId", backupId); this.backupId = backupId; return this; } /** * <p>The backup method. Valid values:</p> * <ul> * <li><strong>Automated</strong></li> * <li><strong>Manual</strong></li> * </ul> * * <strong>example:</strong> * <p>Automated</p> */ public Builder backupMode(String backupMode) { this.putQueryParameter("BackupMode", backupMode); this.backupMode = backupMode; return this; } /** * <p>The status of the backup set. Valid values:</p> * <ul> * <li><strong>Success</strong></li> * <li><strong>Failed</strong></li> * </ul> * * <strong>example:</strong> * <p>Success</p> */ public Builder backupStatus(String backupStatus) { this.putQueryParameter("BackupStatus", backupStatus); this.backupStatus = backupStatus; return this; } /** * <p>The instance ID. You can call the DescribeDBInstances operation to query the instance ID.</p> * * <strong>example:</strong> * <p>rm-uf6wjk5xxxxxxx</p> */ public Builder DBInstanceId(String DBInstanceId) { this.putQueryParameter("DBInstanceId", DBInstanceId); this.DBInstanceId = DBInstanceId; return this; } /** * <p>The end of the time range to query. The end time must be later than the start time.</p> * <p>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> * * <strong>example:</strong> * <p>2021-03-15T16:00Z</p> */ public Builder endTime(String endTime) { this.putQueryParameter("EndTime", endTime); this.endTime = endTime; return this; } /** * <p>The page number. Pages start from page 1.</p> * <blockquote> * <p>The default value is 1.</p> * </blockquote> * * <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> * <blockquote> * <p>The default value is <strong>30</strong>.</p> * </blockquote> * * <strong>example:</strong> * <p>30</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The region ID of the instance.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder region(String region) { this.putQueryParameter("Region", region); this.region = region; 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; } /** * ResourceOwnerId. */ public Builder resourceOwnerId(Long resourceOwnerId) { this.putQueryParameter("ResourceOwnerId", resourceOwnerId); this.resourceOwnerId = resourceOwnerId; return this; } /** * <p>The beginning of the time range to query.</p> * <p>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> * * <strong>example:</strong> * <p>2021-03-01T16:00Z</p> */ public Builder startTime(String startTime) { this.putQueryParameter("StartTime", startTime); this.startTime = startTime; return this; } @Override public DescribeDetachedBackupsRequest build() { return new DescribeDetachedBackupsRequest(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/DescribeDetachedBackupsResponse.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 DescribeDetachedBackupsResponse} extends {@link TeaModel} * * <p>DescribeDetachedBackupsResponse</p> */ public class DescribeDetachedBackupsResponse 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 DescribeDetachedBackupsResponseBody body; private DescribeDetachedBackupsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeDetachedBackupsResponse 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 DescribeDetachedBackupsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeDetachedBackupsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeDetachedBackupsResponseBody body); @Override DescribeDetachedBackupsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeDetachedBackupsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeDetachedBackupsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeDetachedBackupsResponse 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(DescribeDetachedBackupsResponseBody body) { this.body = body; return this; } @Override public DescribeDetachedBackupsResponse build() { return new DescribeDetachedBackupsResponse(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/DescribeDetachedBackupsResponseBody.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 DescribeDetachedBackupsResponseBody} extends {@link TeaModel} * * <p>DescribeDetachedBackupsResponseBody</p> */ public class DescribeDetachedBackupsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Items") private Items items; @com.aliyun.core.annotation.NameInMap("PageNumber") private String pageNumber; @com.aliyun.core.annotation.NameInMap("PageRecordCount") private String pageRecordCount; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TotalRecordCount") private String totalRecordCount; private DescribeDetachedBackupsResponseBody(Builder builder) { 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 DescribeDetachedBackupsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return items */ public Items getItems() { return this.items; } /** * @return pageNumber */ public String getPageNumber() { return this.pageNumber; } /** * @return pageRecordCount */ public String getPageRecordCount() { return this.pageRecordCount; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return totalRecordCount */ public String getTotalRecordCount() { return this.totalRecordCount; } public static final class Builder { private Items items; private String pageNumber; private String pageRecordCount; private String requestId; private String totalRecordCount; private Builder() { } private Builder(DescribeDetachedBackupsResponseBody model) { this.items = model.items; this.pageNumber = model.pageNumber; this.pageRecordCount = model.pageRecordCount; this.requestId = model.requestId; this.totalRecordCount = model.totalRecordCount; } /** * <p>The queried backup sets.</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(String pageNumber) { this.pageNumber = pageNumber; return this; } /** * <p>The number of entries per page.</p> * * <strong>example:</strong> * <p>30</p> */ public Builder pageRecordCount(String pageRecordCount) { this.pageRecordCount = pageRecordCount; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>1A6D328C-84B8-40DC-BF49-6C73984D7494</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder totalRecordCount(String totalRecordCount) { this.totalRecordCount = totalRecordCount; return this; } public DescribeDetachedBackupsResponseBody build() { return new DescribeDetachedBackupsResponseBody(this); } } /** * * {@link DescribeDetachedBackupsResponseBody} extends {@link TeaModel} * * <p>DescribeDetachedBackupsResponseBody</p> */ public static class Backup extends TeaModel { @com.aliyun.core.annotation.NameInMap("BackupDownloadURL") private String backupDownloadURL; @com.aliyun.core.annotation.NameInMap("BackupEndTime") private String backupEndTime; @com.aliyun.core.annotation.NameInMap("BackupId") private String backupId; @com.aliyun.core.annotation.NameInMap("BackupIntranetDownloadURL") private String backupIntranetDownloadURL; @com.aliyun.core.annotation.NameInMap("BackupMethod") private String backupMethod; @com.aliyun.core.annotation.NameInMap("BackupMode") private String backupMode; @com.aliyun.core.annotation.NameInMap("BackupSize") private Long backupSize; @com.aliyun.core.annotation.NameInMap("BackupStartTime") private String backupStartTime; @com.aliyun.core.annotation.NameInMap("BackupStatus") private String backupStatus; @com.aliyun.core.annotation.NameInMap("BackupType") private String backupType; @com.aliyun.core.annotation.NameInMap("ConsistentTime") private Long consistentTime; @com.aliyun.core.annotation.NameInMap("DBInstanceComment") private String DBInstanceComment; @com.aliyun.core.annotation.NameInMap("DBInstanceId") private String DBInstanceId; @com.aliyun.core.annotation.NameInMap("HostInstanceID") private String hostInstanceID; @com.aliyun.core.annotation.NameInMap("IsAvail") private Integer isAvail; @com.aliyun.core.annotation.NameInMap("MetaStatus") private String metaStatus; @com.aliyun.core.annotation.NameInMap("StoreStatus") private String storeStatus; private Backup(Builder builder) { this.backupDownloadURL = builder.backupDownloadURL; this.backupEndTime = builder.backupEndTime; this.backupId = builder.backupId; this.backupIntranetDownloadURL = builder.backupIntranetDownloadURL; this.backupMethod = builder.backupMethod; this.backupMode = builder.backupMode; this.backupSize = builder.backupSize; this.backupStartTime = builder.backupStartTime; this.backupStatus = builder.backupStatus; this.backupType = builder.backupType; this.consistentTime = builder.consistentTime; this.DBInstanceComment = builder.DBInstanceComment; this.DBInstanceId = builder.DBInstanceId; this.hostInstanceID = builder.hostInstanceID; this.isAvail = builder.isAvail; this.metaStatus = builder.metaStatus; this.storeStatus = builder.storeStatus; } public static Builder builder() { return new Builder(); } public static Backup create() { return builder().build(); } /** * @return backupDownloadURL */ public String getBackupDownloadURL() { return this.backupDownloadURL; } /** * @return backupEndTime */ public String getBackupEndTime() { return this.backupEndTime; } /** * @return backupId */ public String getBackupId() { return this.backupId; } /** * @return backupIntranetDownloadURL */ public String getBackupIntranetDownloadURL() { return this.backupIntranetDownloadURL; } /** * @return backupMethod */ public String getBackupMethod() { return this.backupMethod; } /** * @return backupMode */ public String getBackupMode() { return this.backupMode; } /** * @return backupSize */ public Long getBackupSize() { return this.backupSize; } /** * @return backupStartTime */ public String getBackupStartTime() { return this.backupStartTime; } /** * @return backupStatus */ public String getBackupStatus() { return this.backupStatus; } /** * @return backupType */ public String getBackupType() { return this.backupType; } /** * @return consistentTime */ public Long getConsistentTime() { return this.consistentTime; } /** * @return DBInstanceComment */ public String getDBInstanceComment() { return this.DBInstanceComment; } /** * @return DBInstanceId */ public String getDBInstanceId() { return this.DBInstanceId; } /** * @return hostInstanceID */ public String getHostInstanceID() { return this.hostInstanceID; } /** * @return isAvail */ public Integer getIsAvail() { return this.isAvail; } /** * @return metaStatus */ public String getMetaStatus() { return this.metaStatus; } /** * @return storeStatus */ public String getStoreStatus() { return this.storeStatus; } public static final class Builder { private String backupDownloadURL; private String backupEndTime; private String backupId; private String backupIntranetDownloadURL; private String backupMethod; private String backupMode; private Long backupSize; private String backupStartTime; private String backupStatus; private String backupType; private Long consistentTime; private String DBInstanceComment; private String DBInstanceId; private String hostInstanceID; private Integer isAvail; private String metaStatus; private String storeStatus; private Builder() { } private Builder(Backup model) { this.backupDownloadURL = model.backupDownloadURL; this.backupEndTime = model.backupEndTime; this.backupId = model.backupId; this.backupIntranetDownloadURL = model.backupIntranetDownloadURL; this.backupMethod = model.backupMethod; this.backupMode = model.backupMode; this.backupSize = model.backupSize; this.backupStartTime = model.backupStartTime; this.backupStatus = model.backupStatus; this.backupType = model.backupType; this.consistentTime = model.consistentTime; this.DBInstanceComment = model.DBInstanceComment; this.DBInstanceId = model.DBInstanceId; this.hostInstanceID = model.hostInstanceID; this.isAvail = model.isAvail; this.metaStatus = model.metaStatus; this.storeStatus = model.storeStatus; } /** * <p>The URL that is used to download the diagnostic report over the Internet. If the diagnostic report cannot be downloaded, an empty string is returned.</p> * * <strong>example:</strong> * <p><a href="http://rdsbak-hz-v3.oss-cn-hangzhou.aliyuncs.com/xxxxx">http://rdsbak-hz-v3.oss-cn-hangzhou.aliyuncs.com/xxxxx</a></p> */ public Builder backupDownloadURL(String backupDownloadURL) { this.backupDownloadURL = backupDownloadURL; return this; } /** * <p>The end time of the backup task.</p> * <p>The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm</em>Z format. The time is displayed in UTC.</p> * * <strong>example:</strong> * <p>2019-02-13T12:20:00Z</p> */ public Builder backupEndTime(String backupEndTime) { this.backupEndTime = backupEndTime; return this; } /** * <p>The ID of the backup set.</p> * * <strong>example:</strong> * <p>321020562</p> */ public Builder backupId(String backupId) { this.backupId = backupId; return this; } /** * <p>The URL that is used to download the log file over an internal network. If the log file cannot be downloaded, an empty string is returned.</p> * * <strong>example:</strong> * <p><a href="http://rdsbak-hz-v3.oss-cn-hangzhou-internal.aliyuncs.com/xxxxx">http://rdsbak-hz-v3.oss-cn-hangzhou-internal.aliyuncs.com/xxxxx</a></p> */ public Builder backupIntranetDownloadURL(String backupIntranetDownloadURL) { this.backupIntranetDownloadURL = backupIntranetDownloadURL; return this; } /** * <p>The method that is used to generate the data backup file. Valid values:</p> * <ul> * <li><strong>Logical</strong>: logical backup</li> * <li><strong>Physical</strong>: physical backup</li> * </ul> * * <strong>example:</strong> * <p>Physical</p> */ public Builder backupMethod(String backupMethod) { this.backupMethod = backupMethod; return this; } /** * <p>The backup method. Valid values:</p> * <ul> * <li><strong>Automated</strong></li> * <li><strong>Manual</strong></li> * </ul> * * <strong>example:</strong> * <p>Automated</p> */ public Builder backupMode(String backupMode) { this.backupMode = backupMode; return this; } /** * <p>The backup size. Unit: bytes.</p> * * <strong>example:</strong> * <p>2167808</p> */ public Builder backupSize(Long backupSize) { this.backupSize = backupSize; return this; } /** * <p>The start time of the backup task.</p> * <p>The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm</em>Z format. The time is displayed in UTC.</p> * * <strong>example:</strong> * <p>2019-02-03T12:20:00Z</p> */ public Builder backupStartTime(String backupStartTime) { this.backupStartTime = backupStartTime; return this; } /** * <p>The status of the backup set. Valid values:</p> * <ul> * <li><strong>Success</strong></li> * <li><strong>Failed</strong></li> * </ul> * * <strong>example:</strong> * <p>Success</p> */ public Builder backupStatus(String backupStatus) { this.backupStatus = backupStatus; return this; } /** * <p>The backup type of the backup file. Valid values:</p> * <ul> * <li><strong>FullBackup</strong></li> * <li><strong>IncrementalBackup</strong></li> * </ul> * * <strong>example:</strong> * <p>FullBackup</p> */ public Builder backupType(String backupType) { this.backupType = backupType; return this; } /** * <p>The point in time at which the data in the backup set is consistent. The return value of this parameter is a timestamp.</p> * <blockquote> * <p> If the instance runs MySQL 5.6, a timestamp is returned. Otherwise, the value 0 is returned.</p> * </blockquote> * * <strong>example:</strong> * <p>1576506856</p> */ public Builder consistentTime(Long consistentTime) { this.consistentTime = consistentTime; return this; } /** * <p>The description of the instance.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder DBInstanceComment(String DBInstanceComment) { this.DBInstanceComment = DBInstanceComment; return this; } /** * <p>The instance ID.</p> * * <strong>example:</strong> * <p>rm-uf6wjk5xxxxxxx</p> */ public Builder DBInstanceId(String DBInstanceId) { this.DBInstanceId = DBInstanceId; return this; } /** * <p>The ID of the instance that generates the backup set. This parameter is used to indicate whether the instance that generates the backup set is a primary instance or a secondary instance.</p> * * <strong>example:</strong> * <p>5882781</p> */ public Builder hostInstanceID(String hostInstanceID) { this.hostInstanceID = hostInstanceID; return this; } /** * <p>Indicates whether the backup set is available. Valid values:</p> * <ul> * <li><strong>0</strong>: The backup set is unavailable.</li> * <li><strong>1</strong>: The backup set is available.</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder isAvail(Integer isAvail) { this.isAvail = isAvail; return this; } /** * <p>The status of the backup set that is used to restore individual databases or tables. Valid values:</p> * <ul> * <li><strong>OK</strong>: The backup set is normal.</li> * <li><strong>LARGE</strong>: The backup set contains an abnormally large number of tables. It cannot be used to restore individual databases or tables.</li> * <li><strong>EMPTY</strong>: The backup set is generated from a failed backup task.</li> * </ul> * * <strong>example:</strong> * <p>OK</p> */ public Builder metaStatus(String metaStatus) { this.metaStatus = metaStatus; return this; } /** * <p>Indicates whether the data backup file can be deleted. Valid values:</p> * <ul> * <li><strong>Enabled</strong></li> * <li><strong>Disabled</strong></li> * </ul> * * <strong>example:</strong> * <p>Disabled</p> */ public Builder storeStatus(String storeStatus) { this.storeStatus = storeStatus; return this; } public Backup build() { return new Backup(this); } } } /** * * {@link DescribeDetachedBackupsResponseBody} extends {@link TeaModel} * * <p>DescribeDetachedBackupsResponseBody</p> */ public static class Items extends TeaModel { @com.aliyun.core.annotation.NameInMap("Backup") private java.util.List<Backup> backup; private Items(Builder builder) { this.backup = builder.backup; } public static Builder builder() { return new Builder(); } public static Items create() { return builder().build(); } /** * @return backup */ public java.util.List<Backup> getBackup() { return this.backup; } public static final class Builder { private java.util.List<Backup> backup; private Builder() { } private Builder(Items model) { this.backup = model.backup; } /** * Backup. */ public Builder backup(java.util.List<Backup> backup) { this.backup = backup; 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/DescribeDiagnosticReportListRequest.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 DescribeDiagnosticReportListRequest} extends {@link RequestModel} * * <p>DescribeDiagnosticReportListRequest</p> */ public class DescribeDiagnosticReportListRequest 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("ResourceGroupId") private String resourceGroupId; private DescribeDiagnosticReportListRequest(Builder builder) { super(builder); this.DBInstanceId = builder.DBInstanceId; this.resourceGroupId = builder.resourceGroupId; } public static Builder builder() { return new Builder(); } public static DescribeDiagnosticReportListRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return DBInstanceId */ public String getDBInstanceId() { return this.DBInstanceId; } /** * @return resourceGroupId */ public String getResourceGroupId() { return this.resourceGroupId; } public static final class Builder extends Request.Builder<DescribeDiagnosticReportListRequest, Builder> { private String DBInstanceId; private String resourceGroupId; private Builder() { super(); } private Builder(DescribeDiagnosticReportListRequest request) { super(request); this.DBInstanceId = request.DBInstanceId; this.resourceGroupId = request.resourceGroupId; } /** * <p>The ID of the instance. You can call the <a href="https://help.aliyun.com/document_detail/610396.html">DescribeDBInstances</a> operation to query the ID of the instance.</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 resource group ID.</p> * * <strong>example:</strong> * <p>rg-acfmy*****</p> */ public Builder resourceGroupId(String resourceGroupId) { this.putQueryParameter("ResourceGroupId", resourceGroupId); this.resourceGroupId = resourceGroupId; return this; } @Override public DescribeDiagnosticReportListRequest build() { return new DescribeDiagnosticReportListRequest(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/DescribeDiagnosticReportListResponse.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 DescribeDiagnosticReportListResponse} extends {@link TeaModel} * * <p>DescribeDiagnosticReportListResponse</p> */ public class DescribeDiagnosticReportListResponse 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 DescribeDiagnosticReportListResponseBody body; private DescribeDiagnosticReportListResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeDiagnosticReportListResponse 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 DescribeDiagnosticReportListResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeDiagnosticReportListResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeDiagnosticReportListResponseBody body); @Override DescribeDiagnosticReportListResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeDiagnosticReportListResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeDiagnosticReportListResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeDiagnosticReportListResponse 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(DescribeDiagnosticReportListResponseBody body) { this.body = body; return this; } @Override public DescribeDiagnosticReportListResponse build() { return new DescribeDiagnosticReportListResponse(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/DescribeDiagnosticReportListResponseBody.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 DescribeDiagnosticReportListResponseBody} extends {@link TeaModel} * * <p>DescribeDiagnosticReportListResponseBody</p> */ public class DescribeDiagnosticReportListResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("DBInstanceId") private String DBInstanceId; @com.aliyun.core.annotation.NameInMap("ReportList") private java.util.List<ReportList> reportList; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeDiagnosticReportListResponseBody(Builder builder) { this.DBInstanceId = builder.DBInstanceId; this.reportList = builder.reportList; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeDiagnosticReportListResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return DBInstanceId */ public String getDBInstanceId() { return this.DBInstanceId; } /** * @return reportList */ public java.util.List<ReportList> getReportList() { return this.reportList; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String DBInstanceId; private java.util.List<ReportList> reportList; private String requestId; private Builder() { } private Builder(DescribeDiagnosticReportListResponseBody model) { this.DBInstanceId = model.DBInstanceId; this.reportList = model.reportList; this.requestId = model.requestId; } /** * <p>The ID of the instance.</p> * * <strong>example:</strong> * <p>rm-uf6wjk5*****</p> */ public Builder DBInstanceId(String DBInstanceId) { this.DBInstanceId = DBInstanceId; return this; } /** * <p>The details of a diagnostic report.</p> */ public Builder reportList(java.util.List<ReportList> reportList) { this.reportList = reportList; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>B7E9A79C-DE1B-4398-845F-D654FC0958BD</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeDiagnosticReportListResponseBody build() { return new DescribeDiagnosticReportListResponseBody(this); } } /** * * {@link DescribeDiagnosticReportListResponseBody} extends {@link TeaModel} * * <p>DescribeDiagnosticReportListResponseBody</p> */ public static class ReportList extends TeaModel { @com.aliyun.core.annotation.NameInMap("DiagnosticTime") private String diagnosticTime; @com.aliyun.core.annotation.NameInMap("DownloadURL") private String downloadURL; @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @com.aliyun.core.annotation.NameInMap("Score") private Integer score; @com.aliyun.core.annotation.NameInMap("StartTime") private String startTime; private ReportList(Builder builder) { this.diagnosticTime = builder.diagnosticTime; this.downloadURL = builder.downloadURL; this.endTime = builder.endTime; this.score = builder.score; this.startTime = builder.startTime; } public static Builder builder() { return new Builder(); } public static ReportList create() { return builder().build(); } /** * @return diagnosticTime */ public String getDiagnosticTime() { return this.diagnosticTime; } /** * @return downloadURL */ public String getDownloadURL() { return this.downloadURL; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return score */ public Integer getScore() { return this.score; } /** * @return startTime */ public String getStartTime() { return this.startTime; } public static final class Builder { private String diagnosticTime; private String downloadURL; private String endTime; private Integer score; private String startTime; private Builder() { } private Builder(ReportList model) { this.diagnosticTime = model.diagnosticTime; this.downloadURL = model.downloadURL; this.endTime = model.endTime; this.score = model.score; this.startTime = model.startTime; } /** * <p>The time when the diagnosis was performed.</p> * * <strong>example:</strong> * <p>2018-01-17T12:46:09Z</p> */ public Builder diagnosticTime(String diagnosticTime) { this.diagnosticTime = diagnosticTime; return this; } /** * <p>The URL that is used to download the backup set over the Internet. If the backup set cannot be downloaded, an empty string is returned.</p> * * <strong>example:</strong> * <p><a href="http://rdsreport-hz-v3.oss-cn-hangzhou.aliyuncs.com/xxxxx">http://rdsreport-hz-v3.oss-cn-hangzhou.aliyuncs.com/xxxxx</a></p> */ public Builder downloadURL(String downloadURL) { this.downloadURL = downloadURL; return this; } /** * <p>The end time of the monitoring data.</p> * * <strong>example:</strong> * <p>2018-01-10T15:31:00Z</p> */ public Builder endTime(String endTime) { this.endTime = endTime; return this; } /** * <p>The diagnostic score.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder score(Integer score) { this.score = score; return this; } /** * <p>The start time of the monitoring data.</p> * * <strong>example:</strong> * <p>2018-01-10T15:30:00Z</p> */ public Builder startTime(String startTime) { this.startTime = startTime; return this; } public ReportList build() { return new ReportList(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/DescribeErrorLogsRequest.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 DescribeErrorLogsRequest} extends {@link RequestModel} * * <p>DescribeErrorLogsRequest</p> */ public class DescribeErrorLogsRequest 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 DescribeErrorLogsRequest(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 DescribeErrorLogsRequest 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<DescribeErrorLogsRequest, 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(DescribeErrorLogsRequest 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. 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 end of the time range to query. The end time must be later than the start time. The time span between the start time and the end time must be less than 31 days. 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>2011-05-30T20:10Z</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 page 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: <strong>30</strong> to <strong>100</strong>. 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>2011-05-01T20:10Z</p> */ public Builder startTime(String startTime) { this.putQueryParameter("StartTime", startTime); this.startTime = startTime; return this; } @Override public DescribeErrorLogsRequest build() { return new DescribeErrorLogsRequest(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/DescribeErrorLogsResponse.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 DescribeErrorLogsResponse} extends {@link TeaModel} * * <p>DescribeErrorLogsResponse</p> */ public class DescribeErrorLogsResponse 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 DescribeErrorLogsResponseBody body; private DescribeErrorLogsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeErrorLogsResponse 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 DescribeErrorLogsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeErrorLogsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeErrorLogsResponseBody body); @Override DescribeErrorLogsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeErrorLogsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeErrorLogsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeErrorLogsResponse 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(DescribeErrorLogsResponseBody body) { this.body = body; return this; } @Override public DescribeErrorLogsResponse build() { return new DescribeErrorLogsResponse(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/DescribeErrorLogsResponseBody.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 DescribeErrorLogsResponseBody} extends {@link TeaModel} * * <p>DescribeErrorLogsResponseBody</p> */ public class DescribeErrorLogsResponseBody extends TeaModel { @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 DescribeErrorLogsResponseBody(Builder builder) { 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 DescribeErrorLogsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @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 Items items; private Integer pageNumber; private Integer pageRecordCount; private String requestId; private Integer totalRecordCount; private Builder() { } private Builder(DescribeErrorLogsResponseBody model) { this.items = model.items; this.pageNumber = model.pageNumber; this.pageRecordCount = model.pageRecordCount; this.requestId = model.requestId; this.totalRecordCount = model.totalRecordCount; } /** * <p>Details about the log entries returned.</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 error logs on the current page.</p> * * <strong>example:</strong> * <p>30</p> */ public Builder pageRecordCount(Integer pageRecordCount) { this.pageRecordCount = pageRecordCount; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>98504E07-BB0E-40FC-B152-E4882615812C</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder totalRecordCount(Integer totalRecordCount) { this.totalRecordCount = totalRecordCount; return this; } public DescribeErrorLogsResponseBody build() { return new DescribeErrorLogsResponseBody(this); } } /** * * {@link DescribeErrorLogsResponseBody} extends {@link TeaModel} * * <p>DescribeErrorLogsResponseBody</p> */ public static class ErrorLog extends TeaModel { @com.aliyun.core.annotation.NameInMap("CreateTime") private String createTime; @com.aliyun.core.annotation.NameInMap("ErrorInfo") private String errorInfo; private ErrorLog(Builder builder) { this.createTime = builder.createTime; this.errorInfo = builder.errorInfo; } public static Builder builder() { return new Builder(); } public static ErrorLog create() { return builder().build(); } /** * @return createTime */ public String getCreateTime() { return this.createTime; } /** * @return errorInfo */ public String getErrorInfo() { return this.errorInfo; } public static final class Builder { private String createTime; private String errorInfo; private Builder() { } private Builder(ErrorLog model) { this.createTime = model.createTime; this.errorInfo = model.errorInfo; } /** * <p>The time when the error log entry was generated. 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>2011-05-30T12:11:04Z</p> */ public Builder createTime(String createTime) { this.createTime = createTime; return this; } /** * <p>The error log information.</p> * * <strong>example:</strong> * <p>spid52 DBCC TRACEON 3499, server process ID (SPID) 52. This is an informational message only; no user action is required</p> */ public Builder errorInfo(String errorInfo) { this.errorInfo = errorInfo; return this; } public ErrorLog build() { return new ErrorLog(this); } } } /** * * {@link DescribeErrorLogsResponseBody} extends {@link TeaModel} * * <p>DescribeErrorLogsResponseBody</p> */ public static class Items extends TeaModel { @com.aliyun.core.annotation.NameInMap("ErrorLog") private java.util.List<ErrorLog> errorLog; private Items(Builder builder) { this.errorLog = builder.errorLog; } public static Builder builder() { return new Builder(); } public static Items create() { return builder().build(); } /** * @return errorLog */ public java.util.List<ErrorLog> getErrorLog() { return this.errorLog; } public static final class Builder { private java.util.List<ErrorLog> errorLog; private Builder() { } private Builder(Items model) { this.errorLog = model.errorLog; } /** * ErrorLog. */ public Builder errorLog(java.util.List<ErrorLog> errorLog) { this.errorLog = errorLog; 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/DescribeEventsRequest.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 DescribeEventsRequest} extends {@link RequestModel} * * <p>DescribeEventsRequest</p> */ public class DescribeEventsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @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") 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("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 DescribeEventsRequest(Builder builder) { super(builder); this.endTime = builder.endTime; this.ownerId = builder.ownerId; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.regionId = builder.regionId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.startTime = builder.startTime; } public static Builder builder() { return new Builder(); } public static DescribeEventsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @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 regionId */ public String getRegionId() { return this.regionId; } /** * @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<DescribeEventsRequest, Builder> { private String endTime; private Long ownerId; private Integer pageNumber; private Integer pageSize; private String regionId; private String resourceOwnerAccount; private Long resourceOwnerId; private String startTime; private Builder() { super(); } private Builder(DescribeEventsRequest request) { super(request); this.endTime = request.endTime; this.ownerId = request.ownerId; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.regionId = request.regionId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.startTime = request.startTime; } /** * <p>The end of the time range to query. The end time must be later than the start time. Specify the time in the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time must be in UTC.</p> * * <strong>example:</strong> * <p>2019-06-12T15:00:00Z</p> */ public Builder endTime(String endTime) { this.putQueryParameter("EndTime", endTime); this.endTime = endTime; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * <p>The page number. Pages start from page 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; } /** * <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; } /** * <p>The start 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:ss</em>Z format. The time must be in UTC.</p> * * <strong>example:</strong> * <p>2019-06-11T15:00:00Z</p> */ public Builder startTime(String startTime) { this.putQueryParameter("StartTime", startTime); this.startTime = startTime; return this; } @Override public DescribeEventsRequest build() { return new DescribeEventsRequest(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/DescribeEventsResponse.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 DescribeEventsResponse} extends {@link TeaModel} * * <p>DescribeEventsResponse</p> */ public class DescribeEventsResponse 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 DescribeEventsResponseBody body; private DescribeEventsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeEventsResponse 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 DescribeEventsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeEventsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeEventsResponseBody body); @Override DescribeEventsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeEventsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeEventsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeEventsResponse 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(DescribeEventsResponseBody body) { this.body = body; return this; } @Override public DescribeEventsResponse build() { return new DescribeEventsResponse(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/DescribeEventsResponseBody.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 DescribeEventsResponseBody} extends {@link TeaModel} * * <p>DescribeEventsResponseBody</p> */ public class DescribeEventsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("EventItems") private EventItems eventItems; @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("TotalRecordCount") private Integer totalRecordCount; private DescribeEventsResponseBody(Builder builder) { this.eventItems = builder.eventItems; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.requestId = builder.requestId; this.totalRecordCount = builder.totalRecordCount; } public static Builder builder() { return new Builder(); } public static DescribeEventsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return eventItems */ public EventItems getEventItems() { return this.eventItems; } /** * @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 totalRecordCount */ public Integer getTotalRecordCount() { return this.totalRecordCount; } public static final class Builder { private EventItems eventItems; private Integer pageNumber; private Integer pageSize; private String requestId; private Integer totalRecordCount; private Builder() { } private Builder(DescribeEventsResponseBody model) { this.eventItems = model.eventItems; this.pageNumber = model.pageNumber; this.pageSize = model.pageSize; this.requestId = model.requestId; this.totalRecordCount = model.totalRecordCount; } /** * <p>The events.</p> */ public Builder eventItems(EventItems eventItems) { this.eventItems = eventItems; 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>30</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>A103039D-B1B2-4C57-B989-7D7C0DA95426</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>40</p> */ public Builder totalRecordCount(Integer totalRecordCount) { this.totalRecordCount = totalRecordCount; return this; } public DescribeEventsResponseBody build() { return new DescribeEventsResponseBody(this); } } /** * * {@link DescribeEventsResponseBody} extends {@link TeaModel} * * <p>DescribeEventsResponseBody</p> */ public static class EventItemsEventItems extends TeaModel { @com.aliyun.core.annotation.NameInMap("CallerUid") private Long callerUid; @com.aliyun.core.annotation.NameInMap("EventId") private Integer eventId; @com.aliyun.core.annotation.NameInMap("EventName") private String eventName; @com.aliyun.core.annotation.NameInMap("EventPayload") private String eventPayload; @com.aliyun.core.annotation.NameInMap("EventReason") private String eventReason; @com.aliyun.core.annotation.NameInMap("EventRecordTime") private String eventRecordTime; @com.aliyun.core.annotation.NameInMap("EventTime") private String eventTime; @com.aliyun.core.annotation.NameInMap("EventType") private String eventType; @com.aliyun.core.annotation.NameInMap("EventUserType") private String eventUserType; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("ResourceName") private String resourceName; @com.aliyun.core.annotation.NameInMap("ResourceType") private String resourceType; private EventItemsEventItems(Builder builder) { this.callerUid = builder.callerUid; this.eventId = builder.eventId; this.eventName = builder.eventName; this.eventPayload = builder.eventPayload; this.eventReason = builder.eventReason; this.eventRecordTime = builder.eventRecordTime; this.eventTime = builder.eventTime; this.eventType = builder.eventType; this.eventUserType = builder.eventUserType; this.regionId = builder.regionId; this.resourceName = builder.resourceName; this.resourceType = builder.resourceType; } public static Builder builder() { return new Builder(); } public static EventItemsEventItems create() { return builder().build(); } /** * @return callerUid */ public Long getCallerUid() { return this.callerUid; } /** * @return eventId */ public Integer getEventId() { return this.eventId; } /** * @return eventName */ public String getEventName() { return this.eventName; } /** * @return eventPayload */ public String getEventPayload() { return this.eventPayload; } /** * @return eventReason */ public String getEventReason() { return this.eventReason; } /** * @return eventRecordTime */ public String getEventRecordTime() { return this.eventRecordTime; } /** * @return eventTime */ public String getEventTime() { return this.eventTime; } /** * @return eventType */ public String getEventType() { return this.eventType; } /** * @return eventUserType */ public String getEventUserType() { return this.eventUserType; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return resourceName */ public String getResourceName() { return this.resourceName; } /** * @return resourceType */ public String getResourceType() { return this.resourceType; } public static final class Builder { private Long callerUid; private Integer eventId; private String eventName; private String eventPayload; private String eventReason; private String eventRecordTime; private String eventTime; private String eventType; private String eventUserType; private String regionId; private String resourceName; private String resourceType; private Builder() { } private Builder(EventItemsEventItems model) { this.callerUid = model.callerUid; this.eventId = model.eventId; this.eventName = model.eventName; this.eventPayload = model.eventPayload; this.eventReason = model.eventReason; this.eventRecordTime = model.eventRecordTime; this.eventTime = model.eventTime; this.eventType = model.eventType; this.eventUserType = model.eventUserType; this.regionId = model.regionId; this.resourceName = model.resourceName; this.resourceType = model.resourceType; } /** * <p>The ID of the user who executed the event.</p> * * <strong>example:</strong> * <p>22973492**********</p> */ public Builder callerUid(Long callerUid) { this.callerUid = callerUid; return this; } /** * <p>The event ID.</p> * * <strong>example:</strong> * <p>11000053</p> */ public Builder eventId(Integer eventId) { this.eventId = eventId; return this; } /** * <p>The event name.</p> * * <strong>example:</strong> * <p>ModifySecurityIPList</p> */ public Builder eventName(String eventName) { this.eventName = eventName; return this; } /** * <p>The request or context parameters of the event.</p> * * <strong>example:</strong> * <p>{&quot;Domain&quot;: &quot;rds-inc-share.aliyuncs.com&quot;, &quot;Api&quot;: &quot;ReleaseInstancePublicConnection&quot;}</p> */ public Builder eventPayload(String eventPayload) { this.eventPayload = eventPayload; return this; } /** * <p>The source of the event.</p> * * <strong>example:</strong> * <p>FROM_USER</p> */ public Builder eventReason(String eventReason) { this.eventReason = eventReason; return this; } /** * <p>The time when the event was recorded. The time is slightly later than the time the event occurred.</p> * * <strong>example:</strong> * <p>2019-08-20T01:12:49Z</p> */ public Builder eventRecordTime(String eventRecordTime) { this.eventRecordTime = eventRecordTime; return this; } /** * <p>The time when the event occurred.</p> * * <strong>example:</strong> * <p>2019-08-20T01:08:22Z</p> */ public Builder eventTime(String eventTime) { this.eventTime = eventTime; return this; } /** * <p>The event type.</p> * * <strong>example:</strong> * <p>NetworkManagement</p> */ public Builder eventType(String eventType) { this.eventType = eventType; return this; } /** * <p>The type of the user who executed the event.</p> * * <strong>example:</strong> * <p>SYSTEM</p> */ public Builder eventUserType(String eventUserType) { this.eventUserType = eventUserType; 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 name of the resource associated with the event. Only instance IDs are supported for this parameter.</p> * * <strong>example:</strong> * <p>rm-bp1z3065m9976ix8a</p> */ public Builder resourceName(String resourceName) { this.resourceName = resourceName; return this; } /** * <p>The type of the resource associated with the event. Only instances are supported for this parameter.</p> * * <strong>example:</strong> * <p>instance</p> */ public Builder resourceType(String resourceType) { this.resourceType = resourceType; return this; } public EventItemsEventItems build() { return new EventItemsEventItems(this); } } } /** * * {@link DescribeEventsResponseBody} extends {@link TeaModel} * * <p>DescribeEventsResponseBody</p> */ public static class EventItems extends TeaModel { @com.aliyun.core.annotation.NameInMap("EventItems") private java.util.List<EventItemsEventItems> eventItems; private EventItems(Builder builder) { this.eventItems = builder.eventItems; } public static Builder builder() { return new Builder(); } public static EventItems create() { return builder().build(); } /** * @return eventItems */ public java.util.List<EventItemsEventItems> getEventItems() { return this.eventItems; } public static final class Builder { private java.util.List<EventItemsEventItems> eventItems; private Builder() { } private Builder(EventItems model) { this.eventItems = model.eventItems; } /** * <p>The events.</p> */ public Builder eventItems(java.util.List<EventItemsEventItems> eventItems) { this.eventItems = eventItems; return this; } public EventItems build() { return new EventItems(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/DescribeGadInstancesRequest.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 DescribeGadInstancesRequest} extends {@link RequestModel} * * <p>DescribeGadInstancesRequest</p> */ public class DescribeGadInstancesRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("GadInstanceName") private String gadInstanceName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceGroupId") private String resourceGroupId; private DescribeGadInstancesRequest(Builder builder) { super(builder); this.gadInstanceName = builder.gadInstanceName; this.regionId = builder.regionId; this.resourceGroupId = builder.resourceGroupId; } public static Builder builder() { return new Builder(); } public static DescribeGadInstancesRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return gadInstanceName */ public String getGadInstanceName() { return this.gadInstanceName; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return resourceGroupId */ public String getResourceGroupId() { return this.resourceGroupId; } public static final class Builder extends Request.Builder<DescribeGadInstancesRequest, Builder> { private String gadInstanceName; private String regionId; private String resourceGroupId; private Builder() { super(); } private Builder(DescribeGadInstancesRequest request) { super(request); this.gadInstanceName = request.gadInstanceName; this.regionId = request.regionId; this.resourceGroupId = request.resourceGroupId; } /** * <p>The ID of the global active database cluster.</p> * <ul> * <li>If you leave this parameter empty, this operation returns the details about all global active database clusters that are created within your Alibaba Cloud account.</li> * <li>If you specify this parameter, this operation returns the details about the global active database cluster that you specify.</li> * </ul> * <blockquote> * <p> If you do not specify this parameter when you call this operation for the first time, the IDs of all clusters that are created by using the current account are returned. Then, you can specify the cluster ID to view the cluster details.</p> * </blockquote> * * <strong>example:</strong> * <p>gad-rm-bp1npi2j8********</p> */ public Builder gadInstanceName(String gadInstanceName) { this.putQueryParameter("GadInstanceName", gadInstanceName); this.gadInstanceName = gadInstanceName; 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; } /** * <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; } @Override public DescribeGadInstancesRequest build() { return new DescribeGadInstancesRequest(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/DescribeGadInstancesResponse.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 DescribeGadInstancesResponse} extends {@link TeaModel} * * <p>DescribeGadInstancesResponse</p> */ public class DescribeGadInstancesResponse 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 DescribeGadInstancesResponseBody body; private DescribeGadInstancesResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeGadInstancesResponse 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 DescribeGadInstancesResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeGadInstancesResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeGadInstancesResponseBody body); @Override DescribeGadInstancesResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeGadInstancesResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeGadInstancesResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeGadInstancesResponse 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(DescribeGadInstancesResponseBody body) { this.body = body; return this; } @Override public DescribeGadInstancesResponse build() { return new DescribeGadInstancesResponse(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/DescribeGadInstancesResponseBody.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 DescribeGadInstancesResponseBody} extends {@link TeaModel} * * <p>DescribeGadInstancesResponseBody</p> */ public class DescribeGadInstancesResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("GadInstances") private java.util.List<GadInstances> gadInstances; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeGadInstancesResponseBody(Builder builder) { this.gadInstances = builder.gadInstances; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeGadInstancesResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return gadInstances */ public java.util.List<GadInstances> getGadInstances() { return this.gadInstances; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<GadInstances> gadInstances; private String requestId; private Builder() { } private Builder(DescribeGadInstancesResponseBody model) { this.gadInstances = model.gadInstances; this.requestId = model.requestId; } /** * <p>The details about the global active database cluster.</p> */ public Builder gadInstances(java.util.List<GadInstances> gadInstances) { this.gadInstances = gadInstances; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>76AF0609-4195-5DFC-BC78-3AD76FF872BB</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeGadInstancesResponseBody build() { return new DescribeGadInstancesResponseBody(this); } } /** * * {@link DescribeGadInstancesResponseBody} extends {@link TeaModel} * * <p>DescribeGadInstancesResponseBody</p> */ public static class GadInstanceMembers extends TeaModel { @com.aliyun.core.annotation.NameInMap("DBInstanceID") private String DBInstanceID; @com.aliyun.core.annotation.NameInMap("DtsInstance") private String dtsInstance; @com.aliyun.core.annotation.NameInMap("Engine") private String engine; @com.aliyun.core.annotation.NameInMap("EngineVersion") private String engineVersion; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("ResourceGroupId") private String resourceGroupId; @com.aliyun.core.annotation.NameInMap("Role") private String role; @com.aliyun.core.annotation.NameInMap("Status") private String status; private GadInstanceMembers(Builder builder) { this.DBInstanceID = builder.DBInstanceID; this.dtsInstance = builder.dtsInstance; this.engine = builder.engine; this.engineVersion = builder.engineVersion; this.regionId = builder.regionId; this.resourceGroupId = builder.resourceGroupId; this.role = builder.role; this.status = builder.status; } public static Builder builder() { return new Builder(); } public static GadInstanceMembers create() { return builder().build(); } /** * @return DBInstanceID */ public String getDBInstanceID() { return this.DBInstanceID; } /** * @return dtsInstance */ public String getDtsInstance() { return this.dtsInstance; } /** * @return engine */ public String getEngine() { return this.engine; } /** * @return engineVersion */ public String getEngineVersion() { return this.engineVersion; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return resourceGroupId */ public String getResourceGroupId() { return this.resourceGroupId; } /** * @return role */ public String getRole() { return this.role; } /** * @return status */ public String getStatus() { return this.status; } public static final class Builder { private String DBInstanceID; private String dtsInstance; private String engine; private String engineVersion; private String regionId; private String resourceGroupId; private String role; private String status; private Builder() { } private Builder(GadInstanceMembers model) { this.DBInstanceID = model.DBInstanceID; this.dtsInstance = model.dtsInstance; this.engine = model.engine; this.engineVersion = model.engineVersion; this.regionId = model.regionId; this.resourceGroupId = model.resourceGroupId; this.role = model.role; this.status = model.status; } /** * <p>The ID of the node.</p> * * <strong>example:</strong> * <p>rm-bp1npi2j8********</p> */ public Builder DBInstanceID(String DBInstanceID) { this.DBInstanceID = DBInstanceID; return this; } /** * <p>A JSON array that consists of the details about the Data Transmission Service (DTS) synchronization task.</p> * <blockquote> * <p> Each unit node (secondary node) synchronizes data from the central node (primary node) by using DTS. This parameter contains the synchronization link ID and request ID of DTS.</p> * </blockquote> * * <strong>example:</strong> * <p>{&quot;dtsInstanceId&quot;:&quot;dtsm9t107c********&quot;,&quot;dtsRequestId&quot;:&quot;190F0C6C-4BE6-5676-989B-DBDE6D34CD9C&quot;}</p> */ public Builder dtsInstance(String dtsInstance) { this.dtsInstance = dtsInstance; return this; } /** * <p>The database engine that is run by the node.</p> * <blockquote> * <p> The value of this parameter is fixed as <strong>mysql</strong>.</p> * </blockquote> * * <strong>example:</strong> * <p>mysql</p> */ public Builder engine(String engine) { this.engine = engine; return this; } /** * <p>The database engine version that is run by the node.</p> * * <strong>example:</strong> * <p>8.0</p> */ public Builder engineVersion(String engineVersion) { this.engineVersion = engineVersion; return this; } /** * <p>The ID of the region where the node resides.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * <p>The resource group ID.</p> * * <strong>example:</strong> * <p>rg-acfmy*****</p> */ public Builder resourceGroupId(String resourceGroupId) { this.resourceGroupId = resourceGroupId; return this; } /** * <p>The type of the node. Valid values:</p> * <ul> * <li><strong>CENTRAL</strong>: The node is a central node. Each global active database cluster has only one central node. All unit nodes synchronize data from the central node.</li> * <li><strong>UNIT</strong>: The node is a unit node. Each global active database cluster can have up to 10 unit nodes. All unit nodes synchronize data from the central node.</li> * </ul> * * <strong>example:</strong> * <p>CENTRAL</p> */ public Builder role(String role) { this.role = role; return this; } /** * <p>The node status. Valid values:</p> * <ul> * <li><strong>activation</strong>: The node is running.</li> * <li><strong>creating</strong>: The node is being created.</li> * </ul> * * <strong>example:</strong> * <p>activation</p> */ public Builder status(String status) { this.status = status; return this; } public GadInstanceMembers build() { return new GadInstanceMembers(this); } } } /** * * {@link DescribeGadInstancesResponseBody} extends {@link TeaModel} * * <p>DescribeGadInstancesResponseBody</p> */ public static class GadInstances extends TeaModel { @com.aliyun.core.annotation.NameInMap("CreationTime") private String creationTime; @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.NameInMap("GadInstanceMembers") private java.util.List<GadInstanceMembers> gadInstanceMembers; @com.aliyun.core.annotation.NameInMap("GadInstanceName") private String gadInstanceName; @com.aliyun.core.annotation.NameInMap("ModificationTime") private String modificationTime; @com.aliyun.core.annotation.NameInMap("Service") private String service; @com.aliyun.core.annotation.NameInMap("Status") private String status; private GadInstances(Builder builder) { this.creationTime = builder.creationTime; this.description = builder.description; this.gadInstanceMembers = builder.gadInstanceMembers; this.gadInstanceName = builder.gadInstanceName; this.modificationTime = builder.modificationTime; this.service = builder.service; this.status = builder.status; } public static Builder builder() { return new Builder(); } public static GadInstances create() { return builder().build(); } /** * @return creationTime */ public String getCreationTime() { return this.creationTime; } /** * @return description */ public String getDescription() { return this.description; } /** * @return gadInstanceMembers */ public java.util.List<GadInstanceMembers> getGadInstanceMembers() { return this.gadInstanceMembers; } /** * @return gadInstanceName */ public String getGadInstanceName() { return this.gadInstanceName; } /** * @return modificationTime */ public String getModificationTime() { return this.modificationTime; } /** * @return service */ public String getService() { return this.service; } /** * @return status */ public String getStatus() { return this.status; } public static final class Builder { private String creationTime; private String description; private java.util.List<GadInstanceMembers> gadInstanceMembers; private String gadInstanceName; private String modificationTime; private String service; private String status; private Builder() { } private Builder(GadInstances model) { this.creationTime = model.creationTime; this.description = model.description; this.gadInstanceMembers = model.gadInstanceMembers; this.gadInstanceName = model.gadInstanceName; this.modificationTime = model.modificationTime; this.service = model.service; this.status = model.status; } /** * <p>The time when the global active database cluster 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>2021-10-21T02:57:08Z</p> */ public Builder creationTime(String creationTime) { this.creationTime = creationTime; return this; } /** * <p>The name of the cluster.</p> * * <strong>example:</strong> * <p>GadTest</p> */ public Builder description(String description) { this.description = description; return this; } /** * <p>The information about each node in the cluster.</p> */ public Builder gadInstanceMembers(java.util.List<GadInstanceMembers> gadInstanceMembers) { this.gadInstanceMembers = gadInstanceMembers; return this; } /** * <p>The ID of the global active database cluster.</p> * * <strong>example:</strong> * <p>gad-rm-bp1npi2j8********</p> */ public Builder gadInstanceName(String gadInstanceName) { this.gadInstanceName = gadInstanceName; return this; } /** * <p>The time when the most recent modification was made to the global active database cluster. 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>2021-10-21T03:01:20Z</p> */ public Builder modificationTime(String modificationTime) { this.modificationTime = modificationTime; return this; } /** * <p>The database engine that is run by the global active database cluster.</p> * <blockquote> * <p> The value of this parameter is fixed as <strong>mysql</strong>.</p> * </blockquote> * * <strong>example:</strong> * <p>mysql</p> */ public Builder service(String service) { this.service = service; return this; } /** * <p>The status of the cluster. Valid values:</p> * <ul> * <li><strong>activation</strong>: The cluster is running.</li> * <li><strong>creating</strong>: The cluster is being created.</li> * <li><strong>replica_adding</strong>: Nodes are being added to the cluster.</li> * </ul> * * <strong>example:</strong> * <p>activation</p> */ public Builder status(String status) { this.status = status; return this; } public GadInstances build() { return new GadInstances(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/DescribeHADiagnoseConfigRequest.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 DescribeHADiagnoseConfigRequest} extends {@link RequestModel} * * <p>DescribeHADiagnoseConfigRequest</p> */ public class DescribeHADiagnoseConfigRequest 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("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("ResourceOwnerAccount") private String resourceOwnerAccount; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerId") private Long resourceOwnerId; private DescribeHADiagnoseConfigRequest(Builder builder) { super(builder); this.DBInstanceId = builder.DBInstanceId; 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 DescribeHADiagnoseConfigRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return DBInstanceId */ public String getDBInstanceId() { return this.DBInstanceId; } /** * @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<DescribeHADiagnoseConfigRequest, Builder> { private String DBInstanceId; private Long ownerId; private String regionId; private String resourceOwnerAccount; private Long resourceOwnerId; private Builder() { super(); } private Builder(DescribeHADiagnoseConfigRequest request) { super(request); this.DBInstanceId = request.DBInstanceId; this.ownerId = request.ownerId; this.regionId = request.regionId; 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-uf6wjk5xxxxxxxxxx</p> */ public Builder DBInstanceId(String DBInstanceId) { this.putQueryParameter("DBInstanceId", DBInstanceId); this.DBInstanceId = DBInstanceId; 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; } /** * 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 DescribeHADiagnoseConfigRequest build() { return new DescribeHADiagnoseConfigRequest(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/DescribeHADiagnoseConfigResponse.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 DescribeHADiagnoseConfigResponse} extends {@link TeaModel} * * <p>DescribeHADiagnoseConfigResponse</p> */ public class DescribeHADiagnoseConfigResponse 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 DescribeHADiagnoseConfigResponseBody body; private DescribeHADiagnoseConfigResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeHADiagnoseConfigResponse 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 DescribeHADiagnoseConfigResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeHADiagnoseConfigResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeHADiagnoseConfigResponseBody body); @Override DescribeHADiagnoseConfigResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeHADiagnoseConfigResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeHADiagnoseConfigResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeHADiagnoseConfigResponse 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(DescribeHADiagnoseConfigResponseBody body) { this.body = body; return this; } @Override public DescribeHADiagnoseConfigResponse build() { return new DescribeHADiagnoseConfigResponse(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/DescribeHADiagnoseConfigResponseBody.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 DescribeHADiagnoseConfigResponseBody} extends {@link TeaModel} * * <p>DescribeHADiagnoseConfigResponseBody</p> */ public class DescribeHADiagnoseConfigResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TcpConnectionType") private String tcpConnectionType; private DescribeHADiagnoseConfigResponseBody(Builder builder) { this.requestId = builder.requestId; this.tcpConnectionType = builder.tcpConnectionType; } public static Builder builder() { return new Builder(); } public static DescribeHADiagnoseConfigResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return tcpConnectionType */ public String getTcpConnectionType() { return this.tcpConnectionType; } public static final class Builder { private String requestId; private String tcpConnectionType; private Builder() { } private Builder(DescribeHADiagnoseConfigResponseBody model) { this.requestId = model.requestId; this.tcpConnectionType = model.tcpConnectionType; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>06B220E2-EAC5-4DBE-A1FC-1B62DB6A****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The availability check method of the instance. Valid values:</p> * <ul> * <li><strong>LONG</strong>: Alibaba Cloud uses persistent connections to check the availability of the instance.</li> * <li><strong>SHORT</strong>: Alibaba Cloud uses short-lived connections to check the availability of the instance.</li> * </ul> * * <strong>example:</strong> * <p>LONG</p> */ public Builder tcpConnectionType(String tcpConnectionType) { this.tcpConnectionType = tcpConnectionType; return this; } public DescribeHADiagnoseConfigResponseBody build() { return new DescribeHADiagnoseConfigResponseBody(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/DescribeHASwitchConfigRequest.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 DescribeHASwitchConfigRequest} extends {@link RequestModel} * * <p>DescribeHASwitchConfigRequest</p> */ public class DescribeHASwitchConfigRequest 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("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("ResourceOwnerAccount") private String resourceOwnerAccount; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerId") private Long resourceOwnerId; private DescribeHASwitchConfigRequest(Builder builder) { super(builder); this.DBInstanceId = builder.DBInstanceId; 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 DescribeHASwitchConfigRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return DBInstanceId */ public String getDBInstanceId() { return this.DBInstanceId; } /** * @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<DescribeHASwitchConfigRequest, Builder> { private String DBInstanceId; private Long ownerId; private String regionId; private String resourceOwnerAccount; private Long resourceOwnerId; private Builder() { super(); } private Builder(DescribeHASwitchConfigRequest request) { super(request); this.DBInstanceId = request.DBInstanceId; this.ownerId = request.ownerId; this.regionId = request.regionId; 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-uf6wjk5xxxxxxxxxx</p> */ public Builder DBInstanceId(String DBInstanceId) { this.putQueryParameter("DBInstanceId", DBInstanceId); this.DBInstanceId = DBInstanceId; 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; } /** * 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 DescribeHASwitchConfigRequest build() { return new DescribeHASwitchConfigRequest(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/DescribeHASwitchConfigResponse.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 DescribeHASwitchConfigResponse} extends {@link TeaModel} * * <p>DescribeHASwitchConfigResponse</p> */ public class DescribeHASwitchConfigResponse 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 DescribeHASwitchConfigResponseBody body; private DescribeHASwitchConfigResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeHASwitchConfigResponse 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 DescribeHASwitchConfigResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeHASwitchConfigResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeHASwitchConfigResponseBody body); @Override DescribeHASwitchConfigResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeHASwitchConfigResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeHASwitchConfigResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeHASwitchConfigResponse 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(DescribeHASwitchConfigResponseBody body) { this.body = body; return this; } @Override public DescribeHASwitchConfigResponse build() { return new DescribeHASwitchConfigResponse(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/DescribeHASwitchConfigResponseBody.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 DescribeHASwitchConfigResponseBody} extends {@link TeaModel} * * <p>DescribeHASwitchConfigResponseBody</p> */ public class DescribeHASwitchConfigResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("HAConfig") private String HAConfig; @com.aliyun.core.annotation.NameInMap("ManualHATime") private String manualHATime; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeHASwitchConfigResponseBody(Builder builder) { this.HAConfig = builder.HAConfig; this.manualHATime = builder.manualHATime; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeHASwitchConfigResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return HAConfig */ public String getHAConfig() { return this.HAConfig; } /** * @return manualHATime */ public String getManualHATime() { return this.manualHATime; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String HAConfig; private String manualHATime; private String requestId; private Builder() { } private Builder(DescribeHASwitchConfigResponseBody model) { this.HAConfig = model.HAConfig; this.manualHATime = model.manualHATime; this.requestId = model.requestId; } /** * <p>The status of the automatic primary/secondary switchover feature. Valid values:</p> * <ul> * <li><strong>Auto:</strong> The automatic primary/secondary switchover feature is enabled. The system automatically switches your workloads over from the instance to its secondary instance in the event of a fault.</li> * <li><strong>Manual:</strong> The automatic primary/secondary switchover feature is temporarily disabled.</li> * </ul> * * <strong>example:</strong> * <p>Manual</p> */ public Builder HAConfig(String HAConfig) { this.HAConfig = HAConfig; return this; } /** * <p>The time when the automatic primary/secondary switchover feature is enabled again. 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-08-29T15:00:00Z</p> */ public Builder manualHATime(String manualHATime) { this.manualHATime = manualHATime; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>4FDF4B79-2741-4C5F-8C76-4B953FC5C2B1</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeHASwitchConfigResponseBody build() { return new DescribeHASwitchConfigResponseBody(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/DescribeHistoryEventsRequest.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 DescribeHistoryEventsRequest} extends {@link RequestModel} * * <p>DescribeHistoryEventsRequest</p> */ public class DescribeHistoryEventsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ArchiveStatus") private String archiveStatus; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EventCategory") private String eventCategory; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EventId") private String eventId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EventLevel") private String eventLevel; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EventStatus") private String eventStatus; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("EventType") private String eventType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("FromStartTime") @com.aliyun.core.annotation.Validation(required = true) private String fromStartTime; @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") @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 = 10) 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("ResourceGroupId") private String resourceGroupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceType") private String resourceType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SecurityToken") private String securityToken; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TaskId") private String taskId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ToStartTime") @com.aliyun.core.annotation.Validation(required = true) private String toStartTime; private DescribeHistoryEventsRequest(Builder builder) { super(builder); this.archiveStatus = builder.archiveStatus; this.eventCategory = builder.eventCategory; this.eventId = builder.eventId; this.eventLevel = builder.eventLevel; this.eventStatus = builder.eventStatus; this.eventType = builder.eventType; this.fromStartTime = builder.fromStartTime; this.instanceId = builder.instanceId; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.regionId = builder.regionId; this.resourceGroupId = builder.resourceGroupId; this.resourceType = builder.resourceType; this.securityToken = builder.securityToken; this.taskId = builder.taskId; this.toStartTime = builder.toStartTime; } public static Builder builder() { return new Builder(); } public static DescribeHistoryEventsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return archiveStatus */ public String getArchiveStatus() { return this.archiveStatus; } /** * @return eventCategory */ public String getEventCategory() { return this.eventCategory; } /** * @return eventId */ public String getEventId() { return this.eventId; } /** * @return eventLevel */ public String getEventLevel() { return this.eventLevel; } /** * @return eventStatus */ public String getEventStatus() { return this.eventStatus; } /** * @return eventType */ public String getEventType() { return this.eventType; } /** * @return fromStartTime */ public String getFromStartTime() { return this.fromStartTime; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @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 resourceType */ public String getResourceType() { return this.resourceType; } /** * @return securityToken */ public String getSecurityToken() { return this.securityToken; } /** * @return taskId */ public String getTaskId() { return this.taskId; } /** * @return toStartTime */ public String getToStartTime() { return this.toStartTime; } public static final class Builder extends Request.Builder<DescribeHistoryEventsRequest, Builder> { private String archiveStatus; private String eventCategory; private String eventId; private String eventLevel; private String eventStatus; private String eventType; private String fromStartTime; private String instanceId; private Integer pageNumber; private Integer pageSize; private String regionId; private String resourceGroupId; private String resourceType; private String securityToken; private String taskId; private String toStartTime; private Builder() { super(); } private Builder(DescribeHistoryEventsRequest request) { super(request); this.archiveStatus = request.archiveStatus; this.eventCategory = request.eventCategory; this.eventId = request.eventId; this.eventLevel = request.eventLevel; this.eventStatus = request.eventStatus; this.eventType = request.eventType; this.fromStartTime = request.fromStartTime; this.instanceId = request.instanceId; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.regionId = request.regionId; this.resourceGroupId = request.resourceGroupId; this.resourceType = request.resourceType; this.securityToken = request.securityToken; this.taskId = request.taskId; this.toStartTime = request.toStartTime; } /** * <p>The resource status. Valid values: <strong>importing</strong>, failed, checksuccess, and deleted.</p> * * <strong>example:</strong> * <p>deleted</p> */ public Builder archiveStatus(String archiveStatus) { this.putQueryParameter("ArchiveStatus", archiveStatus); this.archiveStatus = archiveStatus; return this; } /** * <p>The system event category. For more information, see <a href="https://help.aliyun.com/document_detail/129759.html">View the event history of an ApsaraDB RDS instance</a>.</p> * * <strong>example:</strong> * <p>Exception</p> */ public Builder eventCategory(String eventCategory) { this.putQueryParameter("EventCategory", eventCategory); this.eventCategory = eventCategory; return this; } /** * <p>The event ID.</p> * * <strong>example:</strong> * <p>5345398</p> */ public Builder eventId(String eventId) { this.putQueryParameter("EventId", eventId); this.eventId = eventId; return this; } /** * <p>The event level. Valid values: <em><strong>high</strong></em>, <strong>medium</strong>, and <strong>low</strong>.</p> * * <strong>example:</strong> * <p>high</p> */ public Builder eventLevel(String eventLevel) { this.putQueryParameter("EventLevel", eventLevel); this.eventLevel = eventLevel; return this; } /** * <p>The status of the exception. Valid values:</p> * <ul> * <li>1: pending</li> * <li>2: ignored</li> * <li>4: confirmed</li> * <li>8: marked as false positive</li> * <li>16: handling</li> * <li>32: handled</li> * <li>64: expired</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder eventStatus(String eventStatus) { this.putQueryParameter("EventStatus", eventStatus); this.eventStatus = eventStatus; return this; } /** * <p>The system event type. This parameter takes effect only when InstanceEventType.N is not specified. Valid values:</p> * <ul> * <li>SystemMaintenance.Reboot: The instance is restarted due to system maintenance.</li> * <li>SystemMaintenance.Redeploy: The instance is redeployed due to system maintenance.</li> * <li>SystemFailure.Reboot: The instance is restarted due to a system error.</li> * <li>SystemFailure.Redeploy: The instance is redeployed due to a system error.</li> * <li>SystemFailure.Delete: The instance is released due to an instance creation failure.</li> * <li>InstanceFailure.Reboot: The instance is restarted due to an instance error.</li> * <li>InstanceExpiration.Stop: The subscription instance is stopped due to expiration.</li> * <li>InstanceExpiration.Delete: The subscription instance is released due to expiration.</li> * <li>AccountUnbalanced.Stop: The pay-as-you-go instance is stopped due to an overdue payment.</li> * <li>AccountUnbalanced.Delete: The pay-as-you-go instance is released due to an overdue payment.</li> * </ul> * <blockquote> * <p> For more information, see Overview. The values of this parameter are applicable only to instance system events, but not to disk system events.</p> * </blockquote> * * <strong>example:</strong> * <p>SystemFailure.Reboot</p> */ public Builder eventType(String eventType) { this.putQueryParameter("EventType", eventType); this.eventType = eventType; return this; } /** * <p>The beginning of the time range to query. Only tasks that have a start time later than or equal to the time specified by this parameter are queried. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. The start time can be up to 30 days earlier than the current time. If you set this parameter to a time more than 30 days earlier than the current time, this time is automatically converted to a time that is exactly 30 days earlier than the current time.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>2022-01-02T11:31:03Z</p> */ public Builder fromStartTime(String fromStartTime) { this.putQueryParameter("FromStartTime", fromStartTime); this.fromStartTime = fromStartTime; return this; } /** * <p>The instance ID.</p> * * <strong>example:</strong> * <p>rm-uf62br2491p5l****</p> */ public Builder instanceId(String instanceId) { this.putQueryParameter("InstanceId", instanceId); this.instanceId = instanceId; return this; } /** * <p>The page number. Pages start from page 1. 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. Default value: 30.</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. You can call the <a href="https://help.aliyun.com/document_detail/610399.html">DescribeRegions</a> operation to query the most recent region list.</p> * * <strong>example:</strong> * <p>cn-beijing</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * <p>The resource group ID.</p> * * <strong>example:</strong> * <p>rg-acfmy****</p> */ public Builder resourceGroupId(String resourceGroupId) { this.putQueryParameter("ResourceGroupId", resourceGroupId); this.resourceGroupId = resourceGroupId; return this; } /** * <p>The resource type. Set the value to <strong>INSTANCE</strong>.</p> * * <strong>example:</strong> * <p>INSTANCE</p> */ public Builder resourceType(String resourceType) { this.putQueryParameter("ResourceType", resourceType); this.resourceType = resourceType; return this; } /** * SecurityToken. */ public Builder securityToken(String securityToken) { this.putQueryParameter("SecurityToken", securityToken); this.securityToken = securityToken; return this; } /** * <p>The task ID. This value is used to query the data of a specific task.</p> * * <strong>example:</strong> * <p>241535739</p> */ public Builder taskId(String taskId) { this.putQueryParameter("TaskId", taskId); this.taskId = taskId; return this; } /** * <p>The end of the time range to query. Only tasks that have a start time earlier than or equal to the time specified by this parameter are queried. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>2023-01-12T07:06:19Z</p> */ public Builder toStartTime(String toStartTime) { this.putQueryParameter("ToStartTime", toStartTime); this.toStartTime = toStartTime; return this; } @Override public DescribeHistoryEventsRequest build() { return new DescribeHistoryEventsRequest(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/DescribeHistoryEventsResponse.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 DescribeHistoryEventsResponse} extends {@link TeaModel} * * <p>DescribeHistoryEventsResponse</p> */ public class DescribeHistoryEventsResponse 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 DescribeHistoryEventsResponseBody body; private DescribeHistoryEventsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeHistoryEventsResponse 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 DescribeHistoryEventsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeHistoryEventsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeHistoryEventsResponseBody body); @Override DescribeHistoryEventsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeHistoryEventsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeHistoryEventsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeHistoryEventsResponse 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(DescribeHistoryEventsResponseBody body) { this.body = body; return this; } @Override public DescribeHistoryEventsResponse build() { return new DescribeHistoryEventsResponse(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/DescribeHistoryEventsResponseBody.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 DescribeHistoryEventsResponseBody} extends {@link TeaModel} * * <p>DescribeHistoryEventsResponseBody</p> */ public class DescribeHistoryEventsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Items") private java.util.List<Items> items; @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 DescribeHistoryEventsResponseBody(Builder builder) { this.items = builder.items; 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 DescribeHistoryEventsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return items */ public java.util.List<Items> getItems() { return this.items; } /** * @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<Items> items; private Integer pageNumber; private Integer pageSize; private String requestId; private Integer totalCount; private Builder() { } private Builder(DescribeHistoryEventsResponseBody model) { this.items = model.items; this.pageNumber = model.pageNumber; this.pageSize = model.pageSize; this.requestId = model.requestId; this.totalCount = model.totalCount; } /** * <p>The events.</p> */ public Builder items(java.util.List<Items> items) { this.items = items; return this; } /** * <p>The page number. Valid values: any non-zero positive integer. Default value: <strong>1</strong>.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageNumber(Integer pageNumber) { this.pageNumber = pageNumber; return this; } /** * <p>The number of entries per page. Default value: 30.</p> * * <strong>example:</strong> * <p>30</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>7A41C147-C8D0-4DAE-A1A2-17EBCD60DFA1</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The total number of entries.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public DescribeHistoryEventsResponseBody build() { return new DescribeHistoryEventsResponseBody(this); } } /** * * {@link DescribeHistoryEventsResponseBody} extends {@link TeaModel} * * <p>DescribeHistoryEventsResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("CmsProduct") private String cmsProduct; @com.aliyun.core.annotation.NameInMap("DbType") private String dbType; @com.aliyun.core.annotation.NameInMap("DetailImpact") private String detailImpact; @com.aliyun.core.annotation.NameInMap("DetailReason") private String detailReason; @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @com.aliyun.core.annotation.NameInMap("EventCategory") private String eventCategory; @com.aliyun.core.annotation.NameInMap("EventCode") private String eventCode; @com.aliyun.core.annotation.NameInMap("EventDetail") private String eventDetail; @com.aliyun.core.annotation.NameInMap("EventId") private String eventId; @com.aliyun.core.annotation.NameInMap("EventImpact") private String eventImpact; @com.aliyun.core.annotation.NameInMap("EventLevel") private String eventLevel; @com.aliyun.core.annotation.NameInMap("EventReason") private String eventReason; @com.aliyun.core.annotation.NameInMap("EventStatus") private String eventStatus; @com.aliyun.core.annotation.NameInMap("EventType") private String eventType; @com.aliyun.core.annotation.NameInMap("GmtCreated") private String gmtCreated; @com.aliyun.core.annotation.NameInMap("GmtModified") private String gmtModified; @com.aliyun.core.annotation.NameInMap("HandleStatus") private String handleStatus; @com.aliyun.core.annotation.NameInMap("HasLifeCycle") private Integer hasLifeCycle; @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("InstanceName") private String instanceName; @com.aliyun.core.annotation.NameInMap("IsClosed") private Integer isClosed; @com.aliyun.core.annotation.NameInMap("Product") private String product; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("ResourceType") private String resourceType; @com.aliyun.core.annotation.NameInMap("SourceType") private String sourceType; @com.aliyun.core.annotation.NameInMap("StartTime") private String startTime; @com.aliyun.core.annotation.NameInMap("Uid") private String uid; private Data(Builder builder) { this.cmsProduct = builder.cmsProduct; this.dbType = builder.dbType; this.detailImpact = builder.detailImpact; this.detailReason = builder.detailReason; this.endTime = builder.endTime; this.eventCategory = builder.eventCategory; this.eventCode = builder.eventCode; this.eventDetail = builder.eventDetail; this.eventId = builder.eventId; this.eventImpact = builder.eventImpact; this.eventLevel = builder.eventLevel; this.eventReason = builder.eventReason; this.eventStatus = builder.eventStatus; this.eventType = builder.eventType; this.gmtCreated = builder.gmtCreated; this.gmtModified = builder.gmtModified; this.handleStatus = builder.handleStatus; this.hasLifeCycle = builder.hasLifeCycle; this.instanceId = builder.instanceId; this.instanceName = builder.instanceName; this.isClosed = builder.isClosed; this.product = builder.product; this.regionId = builder.regionId; this.resourceType = builder.resourceType; this.sourceType = builder.sourceType; this.startTime = builder.startTime; this.uid = builder.uid; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return cmsProduct */ public String getCmsProduct() { return this.cmsProduct; } /** * @return dbType */ public String getDbType() { return this.dbType; } /** * @return detailImpact */ public String getDetailImpact() { return this.detailImpact; } /** * @return detailReason */ public String getDetailReason() { return this.detailReason; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return eventCategory */ public String getEventCategory() { return this.eventCategory; } /** * @return eventCode */ public String getEventCode() { return this.eventCode; } /** * @return eventDetail */ public String getEventDetail() { return this.eventDetail; } /** * @return eventId */ public String getEventId() { return this.eventId; } /** * @return eventImpact */ public String getEventImpact() { return this.eventImpact; } /** * @return eventLevel */ public String getEventLevel() { return this.eventLevel; } /** * @return eventReason */ public String getEventReason() { return this.eventReason; } /** * @return eventStatus */ public String getEventStatus() { return this.eventStatus; } /** * @return eventType */ public String getEventType() { return this.eventType; } /** * @return gmtCreated */ public String getGmtCreated() { return this.gmtCreated; } /** * @return gmtModified */ public String getGmtModified() { return this.gmtModified; } /** * @return handleStatus */ public String getHandleStatus() { return this.handleStatus; } /** * @return hasLifeCycle */ public Integer getHasLifeCycle() { return this.hasLifeCycle; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return instanceName */ public String getInstanceName() { return this.instanceName; } /** * @return isClosed */ public Integer getIsClosed() { return this.isClosed; } /** * @return product */ public String getProduct() { return this.product; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return resourceType */ public String getResourceType() { return this.resourceType; } /** * @return sourceType */ public String getSourceType() { return this.sourceType; } /** * @return startTime */ public String getStartTime() { return this.startTime; } /** * @return uid */ public String getUid() { return this.uid; } public static final class Builder { private String cmsProduct; private String dbType; private String detailImpact; private String detailReason; private String endTime; private String eventCategory; private String eventCode; private String eventDetail; private String eventId; private String eventImpact; private String eventLevel; private String eventReason; private String eventStatus; private String eventType; private String gmtCreated; private String gmtModified; private String handleStatus; private Integer hasLifeCycle; private String instanceId; private String instanceName; private Integer isClosed; private String product; private String regionId; private String resourceType; private String sourceType; private String startTime; private String uid; private Builder() { } private Builder(Data model) { this.cmsProduct = model.cmsProduct; this.dbType = model.dbType; this.detailImpact = model.detailImpact; this.detailReason = model.detailReason; this.endTime = model.endTime; this.eventCategory = model.eventCategory; this.eventCode = model.eventCode; this.eventDetail = model.eventDetail; this.eventId = model.eventId; this.eventImpact = model.eventImpact; this.eventLevel = model.eventLevel; this.eventReason = model.eventReason; this.eventStatus = model.eventStatus; this.eventType = model.eventType; this.gmtCreated = model.gmtCreated; this.gmtModified = model.gmtModified; this.handleStatus = model.handleStatus; this.hasLifeCycle = model.hasLifeCycle; this.instanceId = model.instanceId; this.instanceName = model.instanceName; this.isClosed = model.isClosed; this.product = model.product; this.regionId = model.regionId; this.resourceType = model.resourceType; this.sourceType = model.sourceType; this.startTime = model.startTime; this.uid = model.uid; } /** * <p>The cloud service type of the application group. Valid values: <strong>web</strong> and native. The value web indicates a web application. The value <strong>native</strong> indicates a local application.</p> * * <strong>example:</strong> * <p>web</p> */ public Builder cmsProduct(String cmsProduct) { this.cmsProduct = cmsProduct; return this; } /** * <p>The database engine.</p> * * <strong>example:</strong> * <p>mysql</p> */ public Builder dbType(String dbType) { this.dbType = dbType; return this; } /** * <p>The pagination parameter.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder detailImpact(String detailImpact) { this.detailImpact = detailImpact; return this; } /** * <p>The details of the instance operation.</p> * * <strong>example:</strong> * <p>xxxx</p> */ public Builder detailReason(String detailReason) { this.detailReason = detailReason; return this; } /** * <p>The time when the alert was closed. The time follows the ISO 8601 standard in the <em>yyyy-mm-dd</em>t<em>hh:mm</em>z format. The time is displayed in UTC.</p> * * <strong>example:</strong> * <p>2023-03-06T11:46:01Z</p> */ public Builder endTime(String endTime) { this.endTime = endTime; return this; } /** * <p>The system event category. For more information, see <a href="https://help.aliyun.com/document_detail/129759.html">View the event history of an ApsaraDB RDS instance</a>.</p> * * <strong>example:</strong> * <p>Exception</p> */ public Builder eventCategory(String eventCategory) { this.eventCategory = eventCategory; return this; } /** * <p>The event code.</p> * * <strong>example:</strong> * <p>ENT000014</p> */ public Builder eventCode(String eventCode) { this.eventCode = eventCode; return this; } /** * <p>The event details.</p> * * <strong>example:</strong> * <p>xxxxx</p> */ public Builder eventDetail(String eventDetail) { this.eventDetail = eventDetail; return this; } /** * <p>The event ID.</p> * * <strong>example:</strong> * <p>669036</p> */ public Builder eventId(String eventId) { this.eventId = eventId; return this; } /** * <p>The event impact.</p> * * <strong>example:</strong> * <p>xxxxx</p> */ public Builder eventImpact(String eventImpact) { this.eventImpact = eventImpact; return this; } /** * <p>The event level. For more information, see <a href="https://help.aliyun.com/document_detail/129759.html">View the event history of an ApsaraDB RDS instance</a>.</p> * * <strong>example:</strong> * <p>high</p> */ public Builder eventLevel(String eventLevel) { this.eventLevel = eventLevel; return this; } /** * <p>The event source.</p> * * <strong>example:</strong> * <p>xxxxx</p> */ public Builder eventReason(String eventReason) { this.eventReason = eventReason; return this; } /** * <p>The status of the alert event. Valid values:</p> * <ul> * <li><strong>1</strong>: pending</li> * <li><strong>2</strong>: ignored</li> * <li><strong>4</strong>: confirmed</li> * <li><strong>8</strong>: marked as false positive</li> * <li><strong>16</strong>: handling</li> * <li><strong>32</strong>: handled</li> * <li><strong>64</strong>: expired</li> * </ul> * * <strong>example:</strong> * <p>1</p> */ public Builder eventStatus(String eventStatus) { this.eventStatus = eventStatus; return this; } /** * <p>The event type. Valid values:</p> * * <strong>example:</strong> * <p>StatusNotification</p> */ public Builder eventType(String eventType) { this.eventType = eventType; return this; } /** * <p>The creation time. The time follows the ISO 8601 standard in the <em>yyyy-mm-dd</em>t<em>hh:mm</em>z format. The time is displayed in UTC.</p> * * <strong>example:</strong> * <p>2023-03-17T16:05:40Z</p> */ public Builder gmtCreated(String gmtCreated) { this.gmtCreated = gmtCreated; return this; } /** * <p>The update time. The time follows the ISO 8601 standard in the <em>yyyy-mm-dd</em>t<em>hh:mm</em>z format. The time is displayed in UTC.</p> * * <strong>example:</strong> * <p>2022-12-14T09:44:39.000+0000</p> */ public Builder gmtModified(String gmtModified) { this.gmtModified = gmtModified; return this; } /** * <p>The handling status.</p> * * <strong>example:</strong> * <p>done</p> */ public Builder handleStatus(String handleStatus) { this.handleStatus = handleStatus; return this; } /** * <p>Indicates whether the event has a lifecycle.</p> * * <strong>example:</strong> * <p>false</p> */ public Builder hasLifeCycle(Integer hasLifeCycle) { this.hasLifeCycle = hasLifeCycle; return this; } /** * <p>The instance ID.</p> * * <strong>example:</strong> * <p>rg-acfmy****</p> */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * <p>The instance name.</p> * * <strong>example:</strong> * <p>dhimgsearch</p> */ public Builder instanceName(String instanceName) { this.instanceName = instanceName; return this; } /** * <p>Indicates whether the alert is closed. Valid values: <strong>0</strong>: closed. <strong>1</strong>: not closed.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder isClosed(Integer isClosed) { this.isClosed = isClosed; return this; } /** * <p>The service name.</p> * * <strong>example:</strong> * <p>rds</p> */ public Builder product(String product) { this.product = product; 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-guangzhou</p> */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * <p>The resource type. The value is fixed as <strong>INSTANCE</strong>.</p> * * <strong>example:</strong> * <p>INSTANCE</p> */ public Builder resourceType(String resourceType) { this.resourceType = resourceType; return this; } /** * <p>The type of the source data.</p> * * <strong>example:</strong> * <p>MSE</p> */ public Builder sourceType(String sourceType) { this.sourceType = sourceType; return this; } /** * <p>The start time. The time follows the ISO 8601 standard in the <em>yyyy-mm-dd</em>t<em>hh:mm</em>z format. The time is displayed in UTC.</p> * * <strong>example:</strong> * <p>2022-11-29T07:23Z</p> */ public Builder startTime(String startTime) { this.startTime = startTime; return this; } /** * <p>The ID of the resource owner.</p> * * <strong>example:</strong> * <p>16986832xxxxx</p> */ public Builder uid(String uid) { this.uid = uid; return this; } public Data build() { return new Data(this); } } } /** * * {@link DescribeHistoryEventsResponseBody} extends {@link TeaModel} * * <p>DescribeHistoryEventsResponseBody</p> */ public static class Items extends TeaModel { @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("Id") private String id; @com.aliyun.core.annotation.NameInMap("Region") private String region; @com.aliyun.core.annotation.NameInMap("Source") private String source; @com.aliyun.core.annotation.NameInMap("Specversion") private String specversion; @com.aliyun.core.annotation.NameInMap("Subject") private String subject; @com.aliyun.core.annotation.NameInMap("Time") private String time; @com.aliyun.core.annotation.NameInMap("Type") private String type; private Items(Builder builder) { this.data = builder.data; this.id = builder.id; this.region = builder.region; this.source = builder.source; this.specversion = builder.specversion; this.subject = builder.subject; this.time = builder.time; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static Items create() { return builder().build(); } /** * @return data */ public Data getData() { return this.data; } /** * @return id */ public String getId() { return this.id; } /** * @return region */ public String getRegion() { return this.region; } /** * @return source */ public String getSource() { return this.source; } /** * @return specversion */ public String getSpecversion() { return this.specversion; } /** * @return subject */ public String getSubject() { return this.subject; } /** * @return time */ public String getTime() { return this.time; } /** * @return type */ public String getType() { return this.type; } public static final class Builder { private Data data; private String id; private String region; private String source; private String specversion; private String subject; private String time; private String type; private Builder() { } private Builder(Items model) { this.data = model.data; this.id = model.id; this.region = model.region; this.source = model.source; this.specversion = model.specversion; this.subject = model.subject; this.time = model.time; this.type = model.type; } /** * <p>The details of the data.</p> */ public Builder data(Data data) { this.data = data; return this; } /** * <p>The task ID</p> * * <strong>example:</strong> * <p>4309</p> */ public Builder id(String id) { this.id = id; return this; } /** * <p>The region ID.</p> * * <strong>example:</strong> * <p>cn-beijing</p> */ public Builder region(String region) { this.region = region; return this; } /** * <p>The event source.</p> * * <strong>example:</strong> * <p>loanBill</p> */ public Builder source(String source) { this.source = source; return this; } /** * <p>The database engine version.</p> * * <strong>example:</strong> * <p>8.0</p> */ public Builder specversion(String specversion) { this.specversion = specversion; return this; } /** * <p>The name of the pending event.</p> * * <strong>example:</strong> * <p>QiTian</p> */ public Builder subject(String subject) { this.subject = subject; return this; } /** * <p>The amount of time that has elapsed from the start time of the query. Unit: seconds.</p> * * <strong>example:</strong> * <p>1675232573125</p> */ public Builder time(String time) { this.time = time; return this; } /** * <p>The event type. For more information, see <a href="https://help.aliyun.com/document_detail/129759.html">View the event history of an ApsaraDB RDS instance</a>.</p> * * <strong>example:</strong> * <p>host</p> */ public Builder type(String type) { this.type = type; 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/DescribeHistoryEventsStatRequest.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 DescribeHistoryEventsStatRequest} extends {@link RequestModel} * * <p>DescribeHistoryEventsStatRequest</p> */ public class DescribeHistoryEventsStatRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ArchiveStatus") private String archiveStatus; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("FromStartTime") private String fromStartTime; @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("SecurityToken") private String securityToken; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ToStartTime") private String toStartTime; private DescribeHistoryEventsStatRequest(Builder builder) { super(builder); this.archiveStatus = builder.archiveStatus; this.fromStartTime = builder.fromStartTime; this.regionId = builder.regionId; this.securityToken = builder.securityToken; this.toStartTime = builder.toStartTime; } public static Builder builder() { return new Builder(); } public static DescribeHistoryEventsStatRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return archiveStatus */ public String getArchiveStatus() { return this.archiveStatus; } /** * @return fromStartTime */ public String getFromStartTime() { return this.fromStartTime; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return securityToken */ public String getSecurityToken() { return this.securityToken; } /** * @return toStartTime */ public String getToStartTime() { return this.toStartTime; } public static final class Builder extends Request.Builder<DescribeHistoryEventsStatRequest, Builder> { private String archiveStatus; private String fromStartTime; private String regionId; private String securityToken; private String toStartTime; private Builder() { super(); } private Builder(DescribeHistoryEventsStatRequest request) { super(request); this.archiveStatus = request.archiveStatus; this.fromStartTime = request.fromStartTime; this.regionId = request.regionId; this.securityToken = request.securityToken; this.toStartTime = request.toStartTime; } /** * <p>The status of the asset instance. Valid values: <strong>starting</strong>, <strong>running</strong>, <strong>stopping</strong>, and <strong>stopped</strong>.</p> * * <strong>example:</strong> * <p>starting</p> */ public Builder archiveStatus(String archiveStatus) { this.putQueryParameter("ArchiveStatus", archiveStatus); this.archiveStatus = archiveStatus; return this; } /** * <p>The beginning of the time range to query. Only tasks that have a start time later than or equal to the time specified by this parameter are queried. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. The start time can be up to 30 days earlier than the current time. If you set this parameter to a time more than 30 days earlier than the current time, this time is automatically converted to a time that is exactly 30 days earlier than the current time.</p> * * <strong>example:</strong> * <p>2022-01-02T11:31:03Z</p> */ public Builder fromStartTime(String fromStartTime) { this.putQueryParameter("FromStartTime", fromStartTime); this.fromStartTime = fromStartTime; 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-beijing</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * SecurityToken. */ public Builder securityToken(String securityToken) { this.putQueryParameter("SecurityToken", securityToken); this.securityToken = securityToken; return this; } /** * <p>The end of the time range to query. Only tasks that have a start time earlier than or equal to the time specified by this parameter are queried. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.</p> * * <strong>example:</strong> * <p>2022-03-02T11:31:03Z</p> */ public Builder toStartTime(String toStartTime) { this.putQueryParameter("ToStartTime", toStartTime); this.toStartTime = toStartTime; return this; } @Override public DescribeHistoryEventsStatRequest build() { return new DescribeHistoryEventsStatRequest(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/DescribeHistoryEventsStatResponse.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 DescribeHistoryEventsStatResponse} extends {@link TeaModel} * * <p>DescribeHistoryEventsStatResponse</p> */ public class DescribeHistoryEventsStatResponse 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 DescribeHistoryEventsStatResponseBody body; private DescribeHistoryEventsStatResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeHistoryEventsStatResponse 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 DescribeHistoryEventsStatResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeHistoryEventsStatResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeHistoryEventsStatResponseBody body); @Override DescribeHistoryEventsStatResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeHistoryEventsStatResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeHistoryEventsStatResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeHistoryEventsStatResponse 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(DescribeHistoryEventsStatResponseBody body) { this.body = body; return this; } @Override public DescribeHistoryEventsStatResponse build() { return new DescribeHistoryEventsStatResponse(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/DescribeHistoryEventsStatResponseBody.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 DescribeHistoryEventsStatResponseBody} extends {@link TeaModel} * * <p>DescribeHistoryEventsStatResponseBody</p> */ public class DescribeHistoryEventsStatResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Items") private java.util.List<Items> items; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeHistoryEventsStatResponseBody(Builder builder) { this.items = builder.items; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeHistoryEventsStatResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return items */ public java.util.List<Items> getItems() { return this.items; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<Items> items; private String requestId; private Builder() { } private Builder(DescribeHistoryEventsStatResponseBody model) { this.items = model.items; this.requestId = model.requestId; } /** * <p>The event.</p> */ public Builder items(java.util.List<Items> items) { this.items = items; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>E52666CC-330E-418A-8E5B-A19E3FB42D13</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeHistoryEventsStatResponseBody build() { return new DescribeHistoryEventsStatResponseBody(this); } } /** * * {@link DescribeHistoryEventsStatResponseBody} extends {@link TeaModel} * * <p>DescribeHistoryEventsStatResponseBody</p> */ public static class Items extends TeaModel { @com.aliyun.core.annotation.NameInMap("EventCategory") private String eventCategory; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private Items(Builder builder) { this.eventCategory = builder.eventCategory; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static Items create() { return builder().build(); } /** * @return eventCategory */ public String getEventCategory() { return this.eventCategory; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private String eventCategory; private Integer totalCount; private Builder() { } private Builder(Items model) { this.eventCategory = model.eventCategory; this.totalCount = model.totalCount; } /** * <p>The system event category. For more information, see <a href="https://help.aliyun.com/document_detail/129759.html">View the event history of an ApsaraDB RDS instance</a>.</p> * * <strong>example:</strong> * <p>Exception</p> */ public Builder eventCategory(String eventCategory) { this.eventCategory = eventCategory; return this; } /** * <p>The total number of entries returned.</p> * * <strong>example:</strong> * <p>31</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; 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/DescribeHistoryTasksRequest.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 DescribeHistoryTasksRequest} extends {@link RequestModel} * * <p>DescribeHistoryTasksRequest</p> */ public class DescribeHistoryTasksRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("FromExecTime") private Integer fromExecTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("FromStartTime") @com.aliyun.core.annotation.Validation(required = true) private String fromStartTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceType") private String instanceType; @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 = 10) 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("ResourceGroupId") private String resourceGroupId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount") private Long 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("SecurityToken") private String securityToken; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Status") private String status; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TaskId") private String taskId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TaskType") private String taskType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ToExecTime") private Integer toExecTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ToStartTime") @com.aliyun.core.annotation.Validation(required = true) private String toStartTime; private DescribeHistoryTasksRequest(Builder builder) { super(builder); this.fromExecTime = builder.fromExecTime; this.fromStartTime = builder.fromStartTime; this.instanceId = builder.instanceId; this.instanceType = builder.instanceType; this.ownerId = builder.ownerId; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.regionId = builder.regionId; this.resourceGroupId = builder.resourceGroupId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.securityToken = builder.securityToken; this.status = builder.status; this.taskId = builder.taskId; this.taskType = builder.taskType; this.toExecTime = builder.toExecTime; this.toStartTime = builder.toStartTime; } public static Builder builder() { return new Builder(); } public static DescribeHistoryTasksRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return fromExecTime */ public Integer getFromExecTime() { return this.fromExecTime; } /** * @return fromStartTime */ public String getFromStartTime() { return this.fromStartTime; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return instanceType */ public String getInstanceType() { return this.instanceType; } /** * @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 regionId */ public String getRegionId() { return this.regionId; } /** * @return resourceGroupId */ public String getResourceGroupId() { return this.resourceGroupId; } /** * @return resourceOwnerAccount */ public Long getResourceOwnerAccount() { return this.resourceOwnerAccount; } /** * @return resourceOwnerId */ public Long getResourceOwnerId() { return this.resourceOwnerId; } /** * @return securityToken */ public String getSecurityToken() { return this.securityToken; } /** * @return status */ public String getStatus() { return this.status; } /** * @return taskId */ public String getTaskId() { return this.taskId; } /** * @return taskType */ public String getTaskType() { return this.taskType; } /** * @return toExecTime */ public Integer getToExecTime() { return this.toExecTime; } /** * @return toStartTime */ public String getToStartTime() { return this.toStartTime; } public static final class Builder extends Request.Builder<DescribeHistoryTasksRequest, Builder> { private Integer fromExecTime; private String fromStartTime; private String instanceId; private String instanceType; private Long ownerId; private Integer pageNumber; private Integer pageSize; private String regionId; private String resourceGroupId; private Long resourceOwnerAccount; private Long resourceOwnerId; private String securityToken; private String status; private String taskId; private String taskType; private Integer toExecTime; private String toStartTime; private Builder() { super(); } private Builder(DescribeHistoryTasksRequest request) { super(request); this.fromExecTime = request.fromExecTime; this.fromStartTime = request.fromStartTime; this.instanceId = request.instanceId; this.instanceType = request.instanceType; this.ownerId = request.ownerId; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.regionId = request.regionId; this.resourceGroupId = request.resourceGroupId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.securityToken = request.securityToken; this.status = request.status; this.taskId = request.taskId; this.taskType = request.taskType; this.toExecTime = request.toExecTime; this.toStartTime = request.toStartTime; } /** * <p>The minimum execution duration of the task. This parameter is used to filter tasks whose execution duration is longer than the minimum execution duration. Unit: seconds. The default value is 0, which indicates that no limit is imposed.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder fromExecTime(Integer fromExecTime) { this.putQueryParameter("FromExecTime", fromExecTime); this.fromExecTime = fromExecTime; return this; } /** * <p>The beginning of the time range to query. Only tasks that have a start time later than or equal to the time specified by this parameter are queried. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. The start time can be up to 30 days earlier than the current time. If you set this parameter to a time more than 30 days earlier than the current time, the specified time is automatically converted to a time that is exactly 30 days earlier than the current time.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>2022-01-02T11:31:03Z</p> */ public Builder fromStartTime(String fromStartTime) { this.putQueryParameter("FromStartTime", fromStartTime); this.fromStartTime = fromStartTime; return this; } /** * <p>The instance ID. Separate multiple instance IDs with commas (,). You can specify up to 30 instance IDs. This parameter is empty by default, which indicates that you can specify an unlimited number of instance IDs.</p> * * <strong>example:</strong> * <p>rm-uf62br2491p5l****</p> */ public Builder instanceId(String instanceId) { this.putQueryParameter("InstanceId", instanceId); this.instanceId = instanceId; return this; } /** * <p>Only Instance is supported.</p> * * <strong>example:</strong> * <p>Instance</p> */ public Builder instanceType(String instanceType) { this.putQueryParameter("InstanceType", instanceType); this.instanceType = instanceType; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * <p>The page number. Pages start from page 1. 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: <strong>10 to 100</strong>. Default value: <strong>10</strong>.</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 of the pending event. You can call the DescribeRegions operation to query the most recent region list.</p> * * <strong>example:</strong> * <p>cn-beijing</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-aekzbvctytru7ua</p> */ public Builder resourceGroupId(String resourceGroupId) { this.putQueryParameter("ResourceGroupId", resourceGroupId); this.resourceGroupId = resourceGroupId; return this; } /** * ResourceOwnerAccount. */ public Builder resourceOwnerAccount(Long 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; } /** * SecurityToken. */ public Builder securityToken(String securityToken) { this.putQueryParameter("SecurityToken", securityToken); this.securityToken = securityToken; return this; } /** * <p>The task status. Valid values:</p> * <ul> * <li><strong>Scheduled</strong></li> * <li><strong>Running</strong></li> * <li><strong>Succeed</strong></li> * <li><strong>Failed</strong></li> * <li><strong>Cancelling</strong></li> * <li><strong>Canceled</strong></li> * <li><strong>Waiting</strong></li> * </ul> * <p>Separate multiple values with commas (,). By default, this parameter is left empty, which indicates that tasks in all statuses are queried.</p> * * <strong>example:</strong> * <p>Scheduled</p> */ public Builder status(String status) { this.putQueryParameter("Status", status); this.status = status; return this; } /** * <p>The task ID. You can call the DescribeTasks operation to query the task ID. If multiple task IDs exist, separate them with commas (,). You can specify up to 30 task IDs. By default, this parameter is left empty, which indicates that all tasks are queried.</p> * * <strong>example:</strong> * <p>t-83br18hloy3faf****</p> */ public Builder taskId(String taskId) { this.putQueryParameter("TaskId", taskId); this.taskId = taskId; return this; } /** * <p>The task type. Separate multiple task types with commas (,). You can specify up to 30 task types. This parameter is empty by default, which indicates that you can specify an unlimited number of task types.</p> * * <strong>example:</strong> * <p>autotest_dispatch_cases</p> */ public Builder taskType(String taskType) { this.putQueryParameter("TaskType", taskType); this.taskType = taskType; return this; } /** * <p>The maximum execution duration of a task. This parameter is used to filter tasks whose execution duration is shorter than or equal to the maximum execution duration. Unit: seconds. The default value is 0, which indicates that no limit is imposed.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder toExecTime(Integer toExecTime) { this.putQueryParameter("ToExecTime", toExecTime); this.toExecTime = toExecTime; return this; } /** * <p>The end of the time range to query. Only tasks that have a start time earlier than or equal to the time specified by this parameter are queried. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>2022-03-02T11:31:03Z</p> */ public Builder toStartTime(String toStartTime) { this.putQueryParameter("ToStartTime", toStartTime); this.toStartTime = toStartTime; return this; } @Override public DescribeHistoryTasksRequest build() { return new DescribeHistoryTasksRequest(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/DescribeHistoryTasksResponse.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 DescribeHistoryTasksResponse} extends {@link TeaModel} * * <p>DescribeHistoryTasksResponse</p> */ public class DescribeHistoryTasksResponse 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 DescribeHistoryTasksResponseBody body; private DescribeHistoryTasksResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeHistoryTasksResponse 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 DescribeHistoryTasksResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeHistoryTasksResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeHistoryTasksResponseBody body); @Override DescribeHistoryTasksResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeHistoryTasksResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeHistoryTasksResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeHistoryTasksResponse 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(DescribeHistoryTasksResponseBody body) { this.body = body; return this; } @Override public DescribeHistoryTasksResponse build() { return new DescribeHistoryTasksResponse(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/DescribeHistoryTasksResponseBody.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 DescribeHistoryTasksResponseBody} extends {@link TeaModel} * * <p>DescribeHistoryTasksResponseBody</p> */ public class DescribeHistoryTasksResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Items") private java.util.List<Items> items; @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 DescribeHistoryTasksResponseBody(Builder builder) { this.items = builder.items; 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 DescribeHistoryTasksResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return items */ public java.util.List<Items> getItems() { return this.items; } /** * @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<Items> items; private Integer pageNumber; private Integer pageSize; private String requestId; private Integer totalCount; private Builder() { } private Builder(DescribeHistoryTasksResponseBody model) { this.items = model.items; this.pageNumber = model.pageNumber; this.pageSize = model.pageSize; this.requestId = model.requestId; this.totalCount = model.totalCount; } /** * <p>The tasks.</p> */ public Builder items(java.util.List<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>10</p> */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * <p>The unique ID of the request. If the request fails, provide this ID for technical support to troubleshoot the failure.</p> * * <strong>example:</strong> * <p>5CD61041-35F7-10F7-BE94-33A48B22****</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The total number of tasks that meet these constraints without taking pagination into account.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public DescribeHistoryTasksResponseBody build() { return new DescribeHistoryTasksResponseBody(this); } } /** * * {@link DescribeHistoryTasksResponseBody} extends {@link TeaModel} * * <p>DescribeHistoryTasksResponseBody</p> */ public static class Items extends TeaModel { @com.aliyun.core.annotation.NameInMap("ActionInfo") private String actionInfo; @com.aliyun.core.annotation.NameInMap("CallerSource") private String callerSource; @com.aliyun.core.annotation.NameInMap("CallerUid") private String callerUid; @com.aliyun.core.annotation.NameInMap("CurrentStepName") private String currentStepName; @com.aliyun.core.annotation.NameInMap("DbType") private String dbType; @com.aliyun.core.annotation.NameInMap("EndTime") private String endTime; @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("InstanceName") private String instanceName; @com.aliyun.core.annotation.NameInMap("InstanceType") private String instanceType; @com.aliyun.core.annotation.NameInMap("Product") private String product; @com.aliyun.core.annotation.NameInMap("Progress") private Float progress; @com.aliyun.core.annotation.NameInMap("ReasonCode") private String reasonCode; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("RemainTime") private Integer remainTime; @com.aliyun.core.annotation.NameInMap("StartTime") private String startTime; @com.aliyun.core.annotation.NameInMap("Status") private String status; @com.aliyun.core.annotation.NameInMap("TaskDetail") private String taskDetail; @com.aliyun.core.annotation.NameInMap("TaskId") private String taskId; @com.aliyun.core.annotation.NameInMap("TaskType") private String taskType; @com.aliyun.core.annotation.NameInMap("Uid") private String uid; private Items(Builder builder) { this.actionInfo = builder.actionInfo; this.callerSource = builder.callerSource; this.callerUid = builder.callerUid; this.currentStepName = builder.currentStepName; this.dbType = builder.dbType; this.endTime = builder.endTime; this.instanceId = builder.instanceId; this.instanceName = builder.instanceName; this.instanceType = builder.instanceType; this.product = builder.product; this.progress = builder.progress; this.reasonCode = builder.reasonCode; this.regionId = builder.regionId; this.remainTime = builder.remainTime; this.startTime = builder.startTime; this.status = builder.status; this.taskDetail = builder.taskDetail; this.taskId = builder.taskId; this.taskType = builder.taskType; this.uid = builder.uid; } public static Builder builder() { return new Builder(); } public static Items create() { return builder().build(); } /** * @return actionInfo */ public String getActionInfo() { return this.actionInfo; } /** * @return callerSource */ public String getCallerSource() { return this.callerSource; } /** * @return callerUid */ public String getCallerUid() { return this.callerUid; } /** * @return currentStepName */ public String getCurrentStepName() { return this.currentStepName; } /** * @return dbType */ public String getDbType() { return this.dbType; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return instanceName */ public String getInstanceName() { return this.instanceName; } /** * @return instanceType */ public String getInstanceType() { return this.instanceType; } /** * @return product */ public String getProduct() { return this.product; } /** * @return progress */ public Float getProgress() { return this.progress; } /** * @return reasonCode */ public String getReasonCode() { return this.reasonCode; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return remainTime */ public Integer getRemainTime() { return this.remainTime; } /** * @return startTime */ public String getStartTime() { return this.startTime; } /** * @return status */ public String getStatus() { return this.status; } /** * @return taskDetail */ public String getTaskDetail() { return this.taskDetail; } /** * @return taskId */ public String getTaskId() { return this.taskId; } /** * @return taskType */ public String getTaskType() { return this.taskType; } /** * @return uid */ public String getUid() { return this.uid; } public static final class Builder { private String actionInfo; private String callerSource; private String callerUid; private String currentStepName; private String dbType; private String endTime; private String instanceId; private String instanceName; private String instanceType; private String product; private Float progress; private String reasonCode; private String regionId; private Integer remainTime; private String startTime; private String status; private String taskDetail; private String taskId; private String taskType; private String uid; private Builder() { } private Builder(Items model) { this.actionInfo = model.actionInfo; this.callerSource = model.callerSource; this.callerUid = model.callerUid; this.currentStepName = model.currentStepName; this.dbType = model.dbType; this.endTime = model.endTime; this.instanceId = model.instanceId; this.instanceName = model.instanceName; this.instanceType = model.instanceType; this.product = model.product; this.progress = model.progress; this.reasonCode = model.reasonCode; this.regionId = model.regionId; this.remainTime = model.remainTime; this.startTime = model.startTime; this.status = model.status; this.taskDetail = model.taskDetail; this.taskId = model.taskId; this.taskType = model.taskType; this.uid = model.uid; } /** * <p>A set of allowed actions that can be taken on the task. The system matches the current step name and status of the task to the available actions specified by ActionInfo. If no matching action is found, the current status of the task does not support any action. Example:</p> * <pre><code> &quot;steps&quot;: [ * { * &quot;step_name&quot;: &quot;exec_task&quot;, // The name of the step, which matches CurrentStepName. &quot;action_info&quot;: { // The actions supported for this step. &quot;Waiting&quot;: [ // The status, which matches Status. &quot;modifySwitchTime&quot; // The action. Multiple actions are supported. ] * } * }, * { * &quot;step_name&quot;: &quot;init_task&quot;, // The name of the step. &quot;action_info&quot;: { // The actions supported for this step. &quot;Running&quot;: [ // The status. &quot;cancel&quot;, // The action. &quot;pause&quot; * ] * } * } * ] * } * </code></pre> * <p>The system may support the following actions:</p> * <ul> * <li><strong>retry</strong>: retries the action.</li> * <li><strong>cancel</strong>: cancels the action.</li> * <li><strong>modifySwitchTime</strong>: changes the switching time or restoration time.</li> * </ul> * * <strong>example:</strong> * <p>{&quot;steps&quot;:[{&quot;action_info&quot;:{&quot;Waiting&quot;:[&quot;modifySwitchTime&quot;]},&quot;step_name&quot;:&quot;exec_task&quot;}]}</p> */ public Builder actionInfo(String actionInfo) { this.actionInfo = actionInfo; return this; } /** * <p>The ID of the user who made the request. If CallerSource is set to User, CallerUid indicates the unique ID (UID) of the user.</p> * * <strong>example:</strong> * <p>141345906006****</p> */ public Builder callerSource(String callerSource) { this.callerSource = callerSource; return this; } /** * <p>The source of the request. Valid values:</p> * <ul> * <li><strong>System</strong></li> * <li><strong>User</strong></li> * </ul> * * <strong>example:</strong> * <p>User</p> */ public Builder callerUid(String callerUid) { this.callerUid = callerUid; return this; } /** * <p>The name of the current step. If this parameter is left empty, the task is not started.</p> * * <strong>example:</strong> * <p>exec_task</p> */ public Builder currentStepName(String currentStepName) { this.currentStepName = currentStepName; return this; } /** * <p>The database type.</p> * * <strong>example:</strong> * <p>mysql</p> */ public Builder dbType(String dbType) { this.dbType = dbType; return this; } /** * <p>The end time of the task.</p> * * <strong>example:</strong> * <p>2022-02-03T12:06:17Z</p> */ public Builder endTime(String endTime) { this.endTime = endTime; return this; } /** * <p>The instance ID.</p> * * <strong>example:</strong> * <p>rm-uf62br2491p5l****</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 instance category.</p> * * <strong>example:</strong> * <p>Instance</p> */ public Builder instanceType(String instanceType) { this.instanceType = instanceType; return this; } /** * <p>The service name.</p> * * <strong>example:</strong> * <p>rds</p> */ public Builder product(String product) { this.product = product; return this; } /** * <p>Indicates the task progress.</p> * * <strong>example:</strong> * <p>79.0</p> */ public Builder progress(Float progress) { this.progress = progress; return this; } /** * <p>The reason why the current task was initiated.</p> * * <strong>example:</strong> * <hr> */ public Builder reasonCode(String reasonCode) { this.reasonCode = reasonCode; return this; } /** * <p>The region ID.</p> * * <strong>example:</strong> * <p>cn-shanghai</p> */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * <p>The estimated amount of time remaining to complete the task. Unit: seconds.</p> * * <strong>example:</strong> * <p>1000</p> */ public Builder remainTime(Integer remainTime) { this.remainTime = remainTime; return this; } /** * <p>The start time of the task.</p> * * <strong>example:</strong> * <p>2022-02-03T11:31:03Z</p> */ public Builder startTime(String startTime) { this.startTime = startTime; return this; } /** * <p>The task status. Valid values:</p> * <ul> * <li>Scheduled</li> * <li>Running</li> * <li>Succeed</li> * <li>Failed</li> * <li>Cancelling</li> * <li>Canceled</li> * <li>Waiting</li> * </ul> * * <strong>example:</strong> * <p>Running</p> */ public Builder status(String status) { this.status = status; return this; } /** * <p>The task details.</p> * * <strong>example:</strong> * <p>{&quot;callerUid&quot;:&quot;test&quot;}</p> */ public Builder taskDetail(String taskDetail) { this.taskDetail = taskDetail; return this; } /** * <p>The task ID.</p> * * <strong>example:</strong> * <p>t-83br18hloy3faf****</p> */ public Builder taskId(String taskId) { this.taskId = taskId; return this; } /** * <p>The task type.</p> * * <strong>example:</strong> * <p>autotest_dispatch_cases</p> */ public Builder taskType(String taskType) { this.taskType = taskType; return this; } /** * <p>The ID of the user to which the resources belong.</p> * * <strong>example:</strong> * <p>141345906006****</p> */ public Builder uid(String uid) { this.uid = uid; 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/DescribeHistoryTasksStatRequest.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 DescribeHistoryTasksStatRequest} extends {@link RequestModel} * * <p>DescribeHistoryTasksStatRequest</p> */ public class DescribeHistoryTasksStatRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("FromExecTime") private Integer fromExecTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("FromStartTime") @com.aliyun.core.annotation.Validation(required = true) private String fromStartTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @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 Long 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("SecurityToken") private String securityToken; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Status") private String status; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TaskId") private String taskId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TaskType") private String taskType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ToExecTime") private Integer toExecTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ToStartTime") @com.aliyun.core.annotation.Validation(required = true) private String toStartTime; private DescribeHistoryTasksStatRequest(Builder builder) { super(builder); this.fromExecTime = builder.fromExecTime; this.fromStartTime = builder.fromStartTime; this.instanceId = builder.instanceId; this.ownerId = builder.ownerId; this.regionId = builder.regionId; this.resourceGroupId = builder.resourceGroupId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.securityToken = builder.securityToken; this.status = builder.status; this.taskId = builder.taskId; this.taskType = builder.taskType; this.toExecTime = builder.toExecTime; this.toStartTime = builder.toStartTime; } public static Builder builder() { return new Builder(); } public static DescribeHistoryTasksStatRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return fromExecTime */ public Integer getFromExecTime() { return this.fromExecTime; } /** * @return fromStartTime */ public String getFromStartTime() { return this.fromStartTime; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @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 Long getResourceOwnerAccount() { return this.resourceOwnerAccount; } /** * @return resourceOwnerId */ public Long getResourceOwnerId() { return this.resourceOwnerId; } /** * @return securityToken */ public String getSecurityToken() { return this.securityToken; } /** * @return status */ public String getStatus() { return this.status; } /** * @return taskId */ public String getTaskId() { return this.taskId; } /** * @return taskType */ public String getTaskType() { return this.taskType; } /** * @return toExecTime */ public Integer getToExecTime() { return this.toExecTime; } /** * @return toStartTime */ public String getToStartTime() { return this.toStartTime; } public static final class Builder extends Request.Builder<DescribeHistoryTasksStatRequest, Builder> { private Integer fromExecTime; private String fromStartTime; private String instanceId; private Long ownerId; private String regionId; private String resourceGroupId; private Long resourceOwnerAccount; private Long resourceOwnerId; private String securityToken; private String status; private String taskId; private String taskType; private Integer toExecTime; private String toStartTime; private Builder() { super(); } private Builder(DescribeHistoryTasksStatRequest request) { super(request); this.fromExecTime = request.fromExecTime; this.fromStartTime = request.fromStartTime; this.instanceId = request.instanceId; this.ownerId = request.ownerId; this.regionId = request.regionId; this.resourceGroupId = request.resourceGroupId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.securityToken = request.securityToken; this.status = request.status; this.taskId = request.taskId; this.taskType = request.taskType; this.toExecTime = request.toExecTime; this.toStartTime = request.toStartTime; } /** * <p>The minimum execution duration of a task. This parameter is used to filter tasks whose execution duration is longer than the minimum execution duration. Unit: seconds. The default value is 0, which indicates that no limit is imposed.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder fromExecTime(Integer fromExecTime) { this.putQueryParameter("FromExecTime", fromExecTime); this.fromExecTime = fromExecTime; return this; } /** * <p>The beginning of the time range to query. 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> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>2023-05-08T07:04:17Z</p> */ public Builder fromStartTime(String fromStartTime) { this.putQueryParameter("FromStartTime", fromStartTime); this.fromStartTime = fromStartTime; 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; } /** * 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-beijing</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * <p>The resource group ID.</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(Long 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; } /** * SecurityToken. */ public Builder securityToken(String securityToken) { this.putQueryParameter("SecurityToken", securityToken); this.securityToken = securityToken; return this; } /** * <p>The status of the task. Valid values:</p> * <ul> * <li><strong>Scheduled</strong></li> * <li><strong>Running</strong></li> * <li><strong>Succeed</strong></li> * <li><strong>Failed</strong></li> * <li><strong>Cancelling</strong></li> * <li><strong>Canceled</strong></li> * <li><strong>Waiting</strong></li> * </ul> * <p>Separate multiple statuses with commas (,). By default, this parameter is left empty. This indicates that tasks in all statuses are queried.</p> * * <strong>example:</strong> * <p>Scheduled</p> */ public Builder status(String status) { this.putQueryParameter("Status", status); this.status = status; return this; } /** * <p>The task ID.</p> * * <strong>example:</strong> * <p>12221</p> */ public Builder taskId(String taskId) { this.putQueryParameter("TaskId", taskId); this.taskId = taskId; return this; } /** * <p>The task type.</p> * * <strong>example:</strong> * <p>all</p> */ public Builder taskType(String taskType) { this.putQueryParameter("TaskType", taskType); this.taskType = taskType; return this; } /** * <p>The maximum execution duration of a task. This parameter is used to filter tasks whose execution duration is shorter than or equal to the maximum execution duration. Unit: seconds. The default value is 0, which indicates that no limit is imposed.</p> * * <strong>example:</strong> * <p>0</p> */ public Builder toExecTime(Integer toExecTime) { this.putQueryParameter("ToExecTime", toExecTime); this.toExecTime = toExecTime; return this; } /** * <p>The end of the time range to query. Only tasks that have a start time earlier than or equal to the time specified by this parameter are queried. 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> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>2023-02-24T10:01:37Z</p> */ public Builder toStartTime(String toStartTime) { this.putQueryParameter("ToStartTime", toStartTime); this.toStartTime = toStartTime; return this; } @Override public DescribeHistoryTasksStatRequest build() { return new DescribeHistoryTasksStatRequest(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/DescribeHistoryTasksStatResponse.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 DescribeHistoryTasksStatResponse} extends {@link TeaModel} * * <p>DescribeHistoryTasksStatResponse</p> */ public class DescribeHistoryTasksStatResponse 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 DescribeHistoryTasksStatResponseBody body; private DescribeHistoryTasksStatResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeHistoryTasksStatResponse 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 DescribeHistoryTasksStatResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeHistoryTasksStatResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeHistoryTasksStatResponseBody body); @Override DescribeHistoryTasksStatResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeHistoryTasksStatResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeHistoryTasksStatResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeHistoryTasksStatResponse 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(DescribeHistoryTasksStatResponseBody body) { this.body = body; return this; } @Override public DescribeHistoryTasksStatResponse build() { return new DescribeHistoryTasksStatResponse(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/DescribeHistoryTasksStatResponseBody.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 DescribeHistoryTasksStatResponseBody} extends {@link TeaModel} * * <p>DescribeHistoryTasksStatResponseBody</p> */ public class DescribeHistoryTasksStatResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Items") private java.util.List<Items> items; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeHistoryTasksStatResponseBody(Builder builder) { this.items = builder.items; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeHistoryTasksStatResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return items */ public java.util.List<Items> getItems() { return this.items; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<Items> items; private String requestId; private Builder() { } private Builder(DescribeHistoryTasksStatResponseBody model) { this.items = model.items; this.requestId = model.requestId; } /** * <p>The queried tasks.</p> */ public Builder items(java.util.List<Items> items) { this.items = items; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>1AD222E9-E606-4A42-BF6D-8A4442913CEF</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeHistoryTasksStatResponseBody build() { return new DescribeHistoryTasksStatResponseBody(this); } } /** * * {@link DescribeHistoryTasksStatResponseBody} extends {@link TeaModel} * * <p>DescribeHistoryTasksStatResponseBody</p> */ public static class Items extends TeaModel { @com.aliyun.core.annotation.NameInMap("Status") private String status; @com.aliyun.core.annotation.NameInMap("TotalCount") private Integer totalCount; private Items(Builder builder) { this.status = builder.status; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static Items create() { return builder().build(); } /** * @return status */ public String getStatus() { return this.status; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private String status; private Integer totalCount; private Builder() { } private Builder(Items model) { this.status = model.status; this.totalCount = model.totalCount; } /** * <p>The status of the task. Valid values:</p> * <ul> * <li><strong>Scheduled</strong></li> * <li><strong>Running</strong></li> * <li><strong>Succeed</strong></li> * <li><strong>Failed</strong></li> * <li><strong>Cancelling</strong></li> * <li><strong>Canceled</strong></li> * <li><strong>Waiting</strong></li> * </ul> * * <strong>example:</strong> * <p>Succeed,Waiting</p> */ public Builder status(String status) { this.status = status; return this; } /** * <p>The total number of tasks.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; 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/DescribeHostGroupElasticStrategyParametersRequest.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 DescribeHostGroupElasticStrategyParametersRequest} extends {@link RequestModel} * * <p>DescribeHostGroupElasticStrategyParametersRequest</p> */ public class DescribeHostGroupElasticStrategyParametersRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DedicatedHostGroupName") @com.aliyun.core.annotation.Validation(required = true) private String dedicatedHostGroupName; @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("ResourceOwnerId") private Long resourceOwnerId; private DescribeHostGroupElasticStrategyParametersRequest(Builder builder) { super(builder); this.dedicatedHostGroupName = builder.dedicatedHostGroupName; this.regionId = builder.regionId; this.resourceGroupId = builder.resourceGroupId; this.resourceOwnerId = builder.resourceOwnerId; } public static Builder builder() { return new Builder(); } public static DescribeHostGroupElasticStrategyParametersRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return dedicatedHostGroupName */ public String getDedicatedHostGroupName() { return this.dedicatedHostGroupName; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return resourceGroupId */ public String getResourceGroupId() { return this.resourceGroupId; } /** * @return resourceOwnerId */ public Long getResourceOwnerId() { return this.resourceOwnerId; } public static final class Builder extends Request.Builder<DescribeHostGroupElasticStrategyParametersRequest, Builder> { private String dedicatedHostGroupName; private String regionId; private String resourceGroupId; private Long resourceOwnerId; private Builder() { super(); } private Builder(DescribeHostGroupElasticStrategyParametersRequest request) { super(request); this.dedicatedHostGroupName = request.dedicatedHostGroupName; this.regionId = request.regionId; this.resourceGroupId = request.resourceGroupId; this.resourceOwnerId = request.resourceOwnerId; } /** * <p>The name of the dedicated cluster.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>dhg-d0dwi82293b2w9t5</p> */ public Builder dedicatedHostGroupName(String dedicatedHostGroupName) { this.putQueryParameter("DedicatedHostGroupName", dedicatedHostGroupName); this.dedicatedHostGroupName = dedicatedHostGroupName; 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> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>cn-shanghai</p> */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * <p>The resource group ID.</p> * * <strong>example:</strong> * <p>rg-acfmy****</p> */ public Builder resourceGroupId(String resourceGroupId) { this.putQueryParameter("ResourceGroupId", resourceGroupId); this.resourceGroupId = resourceGroupId; return this; } /** * ResourceOwnerId. */ public Builder resourceOwnerId(Long resourceOwnerId) { this.putQueryParameter("ResourceOwnerId", resourceOwnerId); this.resourceOwnerId = resourceOwnerId; return this; } @Override public DescribeHostGroupElasticStrategyParametersRequest build() { return new DescribeHostGroupElasticStrategyParametersRequest(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/DescribeHostGroupElasticStrategyParametersResponse.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 DescribeHostGroupElasticStrategyParametersResponse} extends {@link TeaModel} * * <p>DescribeHostGroupElasticStrategyParametersResponse</p> */ public class DescribeHostGroupElasticStrategyParametersResponse 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 DescribeHostGroupElasticStrategyParametersResponseBody body; private DescribeHostGroupElasticStrategyParametersResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeHostGroupElasticStrategyParametersResponse 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 DescribeHostGroupElasticStrategyParametersResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeHostGroupElasticStrategyParametersResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeHostGroupElasticStrategyParametersResponseBody body); @Override DescribeHostGroupElasticStrategyParametersResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeHostGroupElasticStrategyParametersResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeHostGroupElasticStrategyParametersResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeHostGroupElasticStrategyParametersResponse 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(DescribeHostGroupElasticStrategyParametersResponseBody body) { this.body = body; return this; } @Override public DescribeHostGroupElasticStrategyParametersResponse build() { return new DescribeHostGroupElasticStrategyParametersResponse(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/DescribeHostGroupElasticStrategyParametersResponseBody.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 DescribeHostGroupElasticStrategyParametersResponseBody} extends {@link TeaModel} * * <p>DescribeHostGroupElasticStrategyParametersResponseBody</p> */ public class DescribeHostGroupElasticStrategyParametersResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("CpuShar") private Integer cpuShar; @com.aliyun.core.annotation.NameInMap("CpuZoom") private Integer cpuZoom; @com.aliyun.core.annotation.NameInMap("IopsZoom") private Integer iopsZoom; @com.aliyun.core.annotation.NameInMap("MaxConnZoom") private Integer maxConnZoom; @com.aliyun.core.annotation.NameInMap("MemoryZoom") private Integer memoryZoom; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeHostGroupElasticStrategyParametersResponseBody(Builder builder) { this.cpuShar = builder.cpuShar; this.cpuZoom = builder.cpuZoom; this.iopsZoom = builder.iopsZoom; this.maxConnZoom = builder.maxConnZoom; this.memoryZoom = builder.memoryZoom; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeHostGroupElasticStrategyParametersResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return cpuShar */ public Integer getCpuShar() { return this.cpuShar; } /** * @return cpuZoom */ public Integer getCpuZoom() { return this.cpuZoom; } /** * @return iopsZoom */ public Integer getIopsZoom() { return this.iopsZoom; } /** * @return maxConnZoom */ public Integer getMaxConnZoom() { return this.maxConnZoom; } /** * @return memoryZoom */ public Integer getMemoryZoom() { return this.memoryZoom; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private Integer cpuShar; private Integer cpuZoom; private Integer iopsZoom; private Integer maxConnZoom; private Integer memoryZoom; private String requestId; private Builder() { } private Builder(DescribeHostGroupElasticStrategyParametersResponseBody model) { this.cpuShar = model.cpuShar; this.cpuZoom = model.cpuZoom; this.iopsZoom = model.iopsZoom; this.maxConnZoom = model.maxConnZoom; this.memoryZoom = model.memoryZoom; this.requestId = model.requestId; } /** * <p>The CPU utilization of the instance. Unit: percentage.</p> * * <strong>example:</strong> * <p>20</p> */ public Builder cpuShar(Integer cpuShar) { this.cpuShar = cpuShar; return this; } /** * <p>The number of CPU cores used by the instance. Unit: cores.</p> * * <strong>example:</strong> * <p>4</p> */ public Builder cpuZoom(Integer cpuZoom) { this.cpuZoom = cpuZoom; return this; } /** * <p>The number of I/O requests.</p> * * <strong>example:</strong> * <p>10</p> */ public Builder iopsZoom(Integer iopsZoom) { this.iopsZoom = iopsZoom; return this; } /** * <p>The maximum number of concurrent connections supported by the instance type.</p> * * <strong>example:</strong> * <p>30</p> */ public Builder maxConnZoom(Integer maxConnZoom) { this.maxConnZoom = maxConnZoom; return this; } /** * <p>The total memory size of the instance in the dedicated cluster. Unit: MB.</p> * * <strong>example:</strong> * <p>1000</p> */ public Builder memoryZoom(Integer memoryZoom) { this.memoryZoom = memoryZoom; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>60F9A12A-16B8-4728-B099-4CA38D32C31C</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeHostGroupElasticStrategyParametersResponseBody build() { return new DescribeHostGroupElasticStrategyParametersResponseBody(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/DescribeHostWebShellRequest.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 DescribeHostWebShellRequest} extends {@link RequestModel} * * <p>DescribeHostWebShellRequest</p> */ public class DescribeHostWebShellRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AccountName") @com.aliyun.core.annotation.Validation(required = true) private String accountName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AccountPassword") @com.aliyun.core.annotation.Validation(required = true) private String accountPassword; @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("HostName") @com.aliyun.core.annotation.Validation(required = true) private String hostName; @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("ResourceOwnerAccount") private String resourceOwnerAccount; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerId") private Long resourceOwnerId; private DescribeHostWebShellRequest(Builder builder) { super(builder); this.accountName = builder.accountName; this.accountPassword = builder.accountPassword; this.DBInstanceId = builder.DBInstanceId; this.hostName = builder.hostName; 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 DescribeHostWebShellRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return accountName */ public String getAccountName() { return this.accountName; } /** * @return accountPassword */ public String getAccountPassword() { return this.accountPassword; } /** * @return DBInstanceId */ public String getDBInstanceId() { return this.DBInstanceId; } /** * @return hostName */ public String getHostName() { return this.hostName; } /** * @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<DescribeHostWebShellRequest, Builder> { private String accountName; private String accountPassword; private String DBInstanceId; private String hostName; private Long ownerId; private String regionID; private String resourceOwnerAccount; private Long resourceOwnerId; private Builder() { super(); } private Builder(DescribeHostWebShellRequest request) { super(request); this.accountName = request.accountName; this.accountPassword = request.accountPassword; this.DBInstanceId = request.DBInstanceId; this.hostName = request.hostName; this.ownerId = request.ownerId; this.regionID = request.regionID; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; } /** * <p>The username of the account that is used to log on to the host of the instance.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>testOsAccount1</p> */ public Builder accountName(String accountName) { this.putQueryParameter("AccountName", accountName); this.accountName = accountName; return this; } /** * <p>The password of the host account.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <hr> */ public Builder accountPassword(String accountPassword) { this.putQueryParameter("AccountPassword", accountPassword); this.accountPassword = accountPassword; return this; } /** * <p>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 instance hostname. You can call the DescribeDBInstanceIpHostname operation to query the hostname.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>testHost1</p> */ public Builder hostName(String hostName) { this.putQueryParameter("HostName", hostName); this.hostName = hostName; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * <p>The region ID of the instance. You can call the DescribeDBInstanceAttribute operation to query 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; } /** * 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 DescribeHostWebShellRequest build() { return new DescribeHostWebShellRequest(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/DescribeHostWebShellResponse.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 DescribeHostWebShellResponse} extends {@link TeaModel} * * <p>DescribeHostWebShellResponse</p> */ public class DescribeHostWebShellResponse 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 DescribeHostWebShellResponseBody body; private DescribeHostWebShellResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeHostWebShellResponse 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 DescribeHostWebShellResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeHostWebShellResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeHostWebShellResponseBody body); @Override DescribeHostWebShellResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeHostWebShellResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeHostWebShellResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeHostWebShellResponse 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(DescribeHostWebShellResponseBody body) { this.body = body; return this; } @Override public DescribeHostWebShellResponse build() { return new DescribeHostWebShellResponse(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/DescribeHostWebShellResponseBody.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 DescribeHostWebShellResponseBody} extends {@link TeaModel} * * <p>DescribeHostWebShellResponseBody</p> */ public class DescribeHostWebShellResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("LoginUrl") private String loginUrl; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeHostWebShellResponseBody(Builder builder) { this.loginUrl = builder.loginUrl; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeHostWebShellResponseBody 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(DescribeHostWebShellResponseBody model) { this.loginUrl = model.loginUrl; this.requestId = model.requestId; } /** * <p>The webshell URL.</p> * * <strong>example:</strong> * <hr> */ public Builder loginUrl(String loginUrl) { this.loginUrl = loginUrl; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>842B73C8-5776-4BD9-9872-69C8C46DD7D3</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeHostWebShellResponseBody build() { return new DescribeHostWebShellResponseBody(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/DescribeInstanceAutoRenewalAttributeRequest.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 DescribeInstanceAutoRenewalAttributeRequest} extends {@link RequestModel} * * <p>DescribeInstanceAutoRenewalAttributeRequest</p> */ public class DescribeInstanceAutoRenewalAttributeRequest 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") 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("PageNumber") @com.aliyun.core.annotation.Validation(maximum = 50, 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("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; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("proxyId") private String proxyId; private DescribeInstanceAutoRenewalAttributeRequest(Builder builder) { super(builder); this.clientToken = builder.clientToken; this.DBInstanceId = builder.DBInstanceId; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.regionId = builder.regionId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.proxyId = builder.proxyId; } public static Builder builder() { return new Builder(); } public static DescribeInstanceAutoRenewalAttributeRequest 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 pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @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 proxyId */ public String getProxyId() { return this.proxyId; } public static final class Builder extends Request.Builder<DescribeInstanceAutoRenewalAttributeRequest, Builder> { private String clientToken; private String DBInstanceId; private String ownerAccount; private Long ownerId; private Integer pageNumber; private Integer pageSize; private String regionId; private String resourceOwnerAccount; private Long resourceOwnerId; private String proxyId; private Builder() { super(); } private Builder(DescribeInstanceAutoRenewalAttributeRequest request) { super(request); this.clientToken = request.clientToken; this.DBInstanceId = request.DBInstanceId; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.regionId = request.regionId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.proxyId = request.proxyId; } /** * <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. You can call the DescribeDBInstances operation to query the instance ID.</p> * * <strong>example:</strong> * <p>rm-bpxxxxxxx</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 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. Valid values:</p> * <ul> * <li><strong>30 (default value)</strong></li> * <li><strong>50</strong></li> * <li><strong>100</strong></li> * </ul> * * <strong>example:</strong> * <p>30</p> */ public Builder pageSize(Integer 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; } /** * 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>This parameter is reserved. You do not need to specify this parameter.</p> * * <strong>example:</strong> * <p>API</p> */ public Builder proxyId(String proxyId) { this.putQueryParameter("proxyId", proxyId); this.proxyId = proxyId; return this; } @Override public DescribeInstanceAutoRenewalAttributeRequest build() { return new DescribeInstanceAutoRenewalAttributeRequest(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/DescribeInstanceAutoRenewalAttributeResponse.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 DescribeInstanceAutoRenewalAttributeResponse} extends {@link TeaModel} * * <p>DescribeInstanceAutoRenewalAttributeResponse</p> */ public class DescribeInstanceAutoRenewalAttributeResponse 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 DescribeInstanceAutoRenewalAttributeResponseBody body; private DescribeInstanceAutoRenewalAttributeResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeInstanceAutoRenewalAttributeResponse 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 DescribeInstanceAutoRenewalAttributeResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeInstanceAutoRenewalAttributeResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeInstanceAutoRenewalAttributeResponseBody body); @Override DescribeInstanceAutoRenewalAttributeResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeInstanceAutoRenewalAttributeResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeInstanceAutoRenewalAttributeResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeInstanceAutoRenewalAttributeResponse 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(DescribeInstanceAutoRenewalAttributeResponseBody body) { this.body = body; return this; } @Override public DescribeInstanceAutoRenewalAttributeResponse build() { return new DescribeInstanceAutoRenewalAttributeResponse(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/DescribeInstanceAutoRenewalAttributeResponseBody.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 DescribeInstanceAutoRenewalAttributeResponseBody} extends {@link TeaModel} * * <p>DescribeInstanceAutoRenewalAttributeResponseBody</p> */ public class DescribeInstanceAutoRenewalAttributeResponseBody extends TeaModel { @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 DescribeInstanceAutoRenewalAttributeResponseBody(Builder builder) { 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 DescribeInstanceAutoRenewalAttributeResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @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 Items items; private Integer pageNumber; private Integer pageRecordCount; private String requestId; private Integer totalRecordCount; private Builder() { } private Builder(DescribeInstanceAutoRenewalAttributeResponseBody model) { this.items = model.items; this.pageNumber = model.pageNumber; this.pageRecordCount = model.pageRecordCount; this.requestId = model.requestId; this.totalRecordCount = model.totalRecordCount; } /** * <p>The renewal information about the instance.</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>4182309D-CD29-49B1-B4A5-D7CB4D56C31F</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 DescribeInstanceAutoRenewalAttributeResponseBody build() { return new DescribeInstanceAutoRenewalAttributeResponseBody(this); } } /** * * {@link DescribeInstanceAutoRenewalAttributeResponseBody} extends {@link TeaModel} * * <p>DescribeInstanceAutoRenewalAttributeResponseBody</p> */ public static class Item extends TeaModel { @com.aliyun.core.annotation.NameInMap("AutoRenew") private String autoRenew; @com.aliyun.core.annotation.NameInMap("DBInstanceId") private String DBInstanceId; @com.aliyun.core.annotation.NameInMap("Duration") private Integer duration; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("Status") private String status; private Item(Builder builder) { this.autoRenew = builder.autoRenew; this.DBInstanceId = builder.DBInstanceId; this.duration = builder.duration; this.regionId = builder.regionId; this.status = builder.status; } public static Builder builder() { return new Builder(); } public static Item create() { return builder().build(); } /** * @return autoRenew */ public String getAutoRenew() { return this.autoRenew; } /** * @return DBInstanceId */ public String getDBInstanceId() { return this.DBInstanceId; } /** * @return duration */ public Integer getDuration() { return this.duration; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return status */ public String getStatus() { return this.status; } public static final class Builder { private String autoRenew; private String DBInstanceId; private Integer duration; private String regionId; private String status; private Builder() { } private Builder(Item model) { this.autoRenew = model.autoRenew; this.DBInstanceId = model.DBInstanceId; this.duration = model.duration; this.regionId = model.regionId; this.status = model.status; } /** * <p>Indicates whether to enable auto-renewal for the instance.</p> * * <strong>example:</strong> * <p>True</p> */ public Builder autoRenew(String autoRenew) { this.autoRenew = autoRenew; return this; } /** * <p>The instance ID.</p> * * <strong>example:</strong> * <p>rm-bpxxxxxxx</p> */ public Builder DBInstanceId(String DBInstanceId) { this.DBInstanceId = DBInstanceId; return this; } /** * <p>The renewal period.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder duration(Integer duration) { this.duration = duration; 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 instance status.</p> * * <strong>example:</strong> * <p>Normal</p> */ public Builder status(String status) { this.status = status; return this; } public Item build() { return new Item(this); } } } /** * * {@link DescribeInstanceAutoRenewalAttributeResponseBody} extends {@link TeaModel} * * <p>DescribeInstanceAutoRenewalAttributeResponseBody</p> */ public static class Items extends TeaModel { @com.aliyun.core.annotation.NameInMap("Item") private java.util.List<Item> item; private Items(Builder builder) { this.item = builder.item; } public static Builder builder() { return new Builder(); } public static Items create() { return builder().build(); } /** * @return item */ public java.util.List<Item> getItem() { return this.item; } public static final class Builder { private java.util.List<Item> item; private Builder() { } private Builder(Items model) { this.item = model.item; } /** * Item. */ public Builder item(java.util.List<Item> item) { this.item = item; 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/DescribeInstanceCrossBackupPolicyRequest.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 DescribeInstanceCrossBackupPolicyRequest} extends {@link RequestModel} * * <p>DescribeInstanceCrossBackupPolicyRequest</p> */ public class DescribeInstanceCrossBackupPolicyRequest 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("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("ResourceOwnerAccount") private String resourceOwnerAccount; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerId") private Long resourceOwnerId; private DescribeInstanceCrossBackupPolicyRequest(Builder builder) { super(builder); this.DBInstanceId = builder.DBInstanceId; 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 DescribeInstanceCrossBackupPolicyRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return DBInstanceId */ public String getDBInstanceId() { return this.DBInstanceId; } /** * @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<DescribeInstanceCrossBackupPolicyRequest, Builder> { private String DBInstanceId; private Long ownerId; private String regionId; private String resourceOwnerAccount; private Long resourceOwnerId; private Builder() { super(); } private Builder(DescribeInstanceCrossBackupPolicyRequest request) { super(request); this.DBInstanceId = request.DBInstanceId; this.ownerId = request.ownerId; this.regionId = request.regionId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; } /** * <p>The instance ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>rm-uf6wjk5xxxxxxxxxx</p> */ public Builder DBInstanceId(String DBInstanceId) { this.putQueryParameter("DBInstanceId", DBInstanceId); this.DBInstanceId = DBInstanceId; 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; } /** * 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 DescribeInstanceCrossBackupPolicyRequest build() { return new DescribeInstanceCrossBackupPolicyRequest(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/DescribeInstanceCrossBackupPolicyResponse.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 DescribeInstanceCrossBackupPolicyResponse} extends {@link TeaModel} * * <p>DescribeInstanceCrossBackupPolicyResponse</p> */ public class DescribeInstanceCrossBackupPolicyResponse 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 DescribeInstanceCrossBackupPolicyResponseBody body; private DescribeInstanceCrossBackupPolicyResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeInstanceCrossBackupPolicyResponse 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 DescribeInstanceCrossBackupPolicyResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeInstanceCrossBackupPolicyResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeInstanceCrossBackupPolicyResponseBody body); @Override DescribeInstanceCrossBackupPolicyResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeInstanceCrossBackupPolicyResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeInstanceCrossBackupPolicyResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeInstanceCrossBackupPolicyResponse 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(DescribeInstanceCrossBackupPolicyResponseBody body) { this.body = body; return this; } @Override public DescribeInstanceCrossBackupPolicyResponse build() { return new DescribeInstanceCrossBackupPolicyResponse(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/DescribeInstanceCrossBackupPolicyResponseBody.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 DescribeInstanceCrossBackupPolicyResponseBody} extends {@link TeaModel} * * <p>DescribeInstanceCrossBackupPolicyResponseBody</p> */ public class DescribeInstanceCrossBackupPolicyResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("BackupEnabled") private String backupEnabled; @com.aliyun.core.annotation.NameInMap("BackupEnabledTime") private String backupEnabledTime; @com.aliyun.core.annotation.NameInMap("CrossBackupRegion") private String crossBackupRegion; @com.aliyun.core.annotation.NameInMap("CrossBackupType") private String crossBackupType; @com.aliyun.core.annotation.NameInMap("DBInstanceDescription") private String DBInstanceDescription; @com.aliyun.core.annotation.NameInMap("DBInstanceId") private String DBInstanceId; @com.aliyun.core.annotation.NameInMap("DBInstanceStatus") private String DBInstanceStatus; @com.aliyun.core.annotation.NameInMap("Engine") private String engine; @com.aliyun.core.annotation.NameInMap("EngineVersion") private String engineVersion; @com.aliyun.core.annotation.NameInMap("LockMode") private String lockMode; @com.aliyun.core.annotation.NameInMap("LogBackupEnabled") private String logBackupEnabled; @com.aliyun.core.annotation.NameInMap("LogBackupEnabledTime") private String logBackupEnabledTime; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("RetentType") private Integer retentType; @com.aliyun.core.annotation.NameInMap("Retention") private Integer retention; private DescribeInstanceCrossBackupPolicyResponseBody(Builder builder) { this.backupEnabled = builder.backupEnabled; this.backupEnabledTime = builder.backupEnabledTime; this.crossBackupRegion = builder.crossBackupRegion; this.crossBackupType = builder.crossBackupType; this.DBInstanceDescription = builder.DBInstanceDescription; this.DBInstanceId = builder.DBInstanceId; this.DBInstanceStatus = builder.DBInstanceStatus; this.engine = builder.engine; this.engineVersion = builder.engineVersion; this.lockMode = builder.lockMode; this.logBackupEnabled = builder.logBackupEnabled; this.logBackupEnabledTime = builder.logBackupEnabledTime; this.regionId = builder.regionId; this.requestId = builder.requestId; this.retentType = builder.retentType; this.retention = builder.retention; } public static Builder builder() { return new Builder(); } public static DescribeInstanceCrossBackupPolicyResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return backupEnabled */ public String getBackupEnabled() { return this.backupEnabled; } /** * @return backupEnabledTime */ public String getBackupEnabledTime() { return this.backupEnabledTime; } /** * @return crossBackupRegion */ public String getCrossBackupRegion() { return this.crossBackupRegion; } /** * @return crossBackupType */ public String getCrossBackupType() { return this.crossBackupType; } /** * @return DBInstanceDescription */ public String getDBInstanceDescription() { return this.DBInstanceDescription; } /** * @return DBInstanceId */ public String getDBInstanceId() { return this.DBInstanceId; } /** * @return DBInstanceStatus */ public String getDBInstanceStatus() { return this.DBInstanceStatus; } /** * @return engine */ public String getEngine() { return this.engine; } /** * @return engineVersion */ public String getEngineVersion() { return this.engineVersion; } /** * @return lockMode */ public String getLockMode() { return this.lockMode; } /** * @return logBackupEnabled */ public String getLogBackupEnabled() { return this.logBackupEnabled; } /** * @return logBackupEnabledTime */ public String getLogBackupEnabledTime() { return this.logBackupEnabledTime; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return retentType */ public Integer getRetentType() { return this.retentType; } /** * @return retention */ public Integer getRetention() { return this.retention; } public static final class Builder { private String backupEnabled; private String backupEnabledTime; private String crossBackupRegion; private String crossBackupType; private String DBInstanceDescription; private String DBInstanceId; private String DBInstanceStatus; private String engine; private String engineVersion; private String lockMode; private String logBackupEnabled; private String logBackupEnabledTime; private String regionId; private String requestId; private Integer retentType; private Integer retention; private Builder() { } private Builder(DescribeInstanceCrossBackupPolicyResponseBody model) { this.backupEnabled = model.backupEnabled; this.backupEnabledTime = model.backupEnabledTime; this.crossBackupRegion = model.crossBackupRegion; this.crossBackupType = model.crossBackupType; this.DBInstanceDescription = model.DBInstanceDescription; this.DBInstanceId = model.DBInstanceId; this.DBInstanceStatus = model.DBInstanceStatus; this.engine = model.engine; this.engineVersion = model.engineVersion; this.lockMode = model.lockMode; this.logBackupEnabled = model.logBackupEnabled; this.logBackupEnabledTime = model.logBackupEnabledTime; this.regionId = model.regionId; this.requestId = model.requestId; this.retentType = model.retentType; this.retention = model.retention; } /** * <p>The status of the cross-region backup feature on the instance. Valid values:</p> * <ul> * <li><strong>Disable</strong></li> * <li><strong>Enable</strong></li> * </ul> * * <strong>example:</strong> * <p>Enable</p> */ public Builder backupEnabled(String backupEnabled) { this.backupEnabled = backupEnabled; return this; } /** * <p>The point in time at which the cross-region backup feature is enabled. 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-06-12T05:44:21Z</p> */ public Builder backupEnabledTime(String backupEnabledTime) { this.backupEnabledTime = backupEnabledTime; return this; } /** * <p>The ID of the destination region where the cross-region backup files of the instance are stored.</p> * * <strong>example:</strong> * <p>cn-shanghai</p> */ public Builder crossBackupRegion(String crossBackupRegion) { this.crossBackupRegion = crossBackupRegion; return this; } /** * <p>The policy that is used to save the cross-region backup files of the instance. Default value: <strong>1</strong>. The value 1 indicates that all cross-region backup files are saved.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder crossBackupType(String crossBackupType) { this.crossBackupType = crossBackupType; return this; } /** * <p>The name of the instance. It must be 2 to 256 characters in length. The value can contain letters, digits, underscores (_), and hyphens (-), and must start with a letter.</p> * <blockquote> * <p> The value cannot start with http:// or https://.</p> * </blockquote> * * <strong>example:</strong> * <p>Test database</p> */ public Builder DBInstanceDescription(String DBInstanceDescription) { this.DBInstanceDescription = DBInstanceDescription; return this; } /** * <p>The instance ID.</p> * * <strong>example:</strong> * <p>rm-uf6wjk5xxxxxxxxxx</p> */ public Builder DBInstanceId(String DBInstanceId) { this.DBInstanceId = DBInstanceId; return this; } /** * <p>The status of the instance. For more information, see <a href="https://help.aliyun.com/document_detail/26315.html">Instance state table</a>.</p> * * <strong>example:</strong> * <p>Running</p> */ public Builder DBInstanceStatus(String DBInstanceStatus) { this.DBInstanceStatus = DBInstanceStatus; 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.6</p> */ public Builder engineVersion(String engineVersion) { this.engineVersion = engineVersion; return this; } /** * <p>The lock status of the instance. Valid values:</p> * <ul> * <li><strong>Unlock</strong>: The instance is not locked.</li> * <li><strong>ManualLock</strong>: The instance is manually locked.</li> * <li><strong>LockByExpiration</strong>: The instance is automatically locked due to instance expiration.</li> * <li><strong>LockByRestoration</strong>: The instance is automatically locked before a rollback.</li> * <li><strong>LockByDiskQuota</strong>: The instance is automatically locked because its storage capacity is exhausted and the instance is inaccessible.</li> * </ul> * * <strong>example:</strong> * <p>Unlock</p> */ public Builder lockMode(String lockMode) { this.lockMode = lockMode; return this; } /** * <p>The status of the cross-region log backup feature on the instance. Valid values:</p> * <ul> * <li><strong>Disable</strong></li> * <li><strong>Enable</strong></li> * </ul> * * <strong>example:</strong> * <p>Enable</p> */ public Builder logBackupEnabled(String logBackupEnabled) { this.logBackupEnabled = logBackupEnabled; return this; } /** * <p>The time when cross-region log backup was enabled on the instance. 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-06-12T05:44:21Z</p> */ public Builder logBackupEnabledTime(String logBackupEnabledTime) { this.logBackupEnabledTime = logBackupEnabledTime; 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 request ID.</p> * * <strong>example:</strong> * <p>CB7667B2-72C8-497B-9BD8-3B343CEF51AB</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The policy that is used to retain the cross-region backup files of the instance. Default value: <strong>1</strong>. The value 1 indicates that the cross-region backup files of the instance are retained based on the specified retention period.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder retentType(Integer retentType) { this.retentType = retentType; return this; } /** * <p>The number of days for which the cross-region backup files of the instance are retained. Valid values: <strong>7 to 1825</strong>.</p> * * <strong>example:</strong> * <p>15</p> */ public Builder retention(Integer retention) { this.retention = retention; return this; } public DescribeInstanceCrossBackupPolicyResponseBody build() { return new DescribeInstanceCrossBackupPolicyResponseBody(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/DescribeInstanceKeywordsRequest.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 DescribeInstanceKeywordsRequest} extends {@link RequestModel} * * <p>DescribeInstanceKeywordsRequest</p> */ public class DescribeInstanceKeywordsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Key") private String key; @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 DescribeInstanceKeywordsRequest(Builder builder) { super(builder); this.key = builder.key; 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 DescribeInstanceKeywordsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return key */ public String getKey() { return this.key; } /** * @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<DescribeInstanceKeywordsRequest, Builder> { private String key; private String ownerAccount; private Long ownerId; private String resourceOwnerAccount; private Long resourceOwnerId; private Builder() { super(); } private Builder(DescribeInstanceKeywordsRequest request) { super(request); this.key = request.key; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; } /** * <p>The type of reserved keyword to query. Valid values:</p> * <ul> * <li><strong>account</strong></li> * <li><strong>database</strong></li> * </ul> * <blockquote> * <p> This parameter is required.</p> * </blockquote> * * <strong>example:</strong> * <p>account</p> */ public Builder key(String key) { this.putQueryParameter("Key", key); this.key = key; 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 DescribeInstanceKeywordsRequest build() { return new DescribeInstanceKeywordsRequest(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/DescribeInstanceKeywordsResponse.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 DescribeInstanceKeywordsResponse} extends {@link TeaModel} * * <p>DescribeInstanceKeywordsResponse</p> */ public class DescribeInstanceKeywordsResponse 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 DescribeInstanceKeywordsResponseBody body; private DescribeInstanceKeywordsResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeInstanceKeywordsResponse 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 DescribeInstanceKeywordsResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeInstanceKeywordsResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeInstanceKeywordsResponseBody body); @Override DescribeInstanceKeywordsResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeInstanceKeywordsResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeInstanceKeywordsResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeInstanceKeywordsResponse 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(DescribeInstanceKeywordsResponseBody body) { this.body = body; return this; } @Override public DescribeInstanceKeywordsResponse build() { return new DescribeInstanceKeywordsResponse(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/DescribeInstanceKeywordsResponseBody.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 DescribeInstanceKeywordsResponseBody} extends {@link TeaModel} * * <p>DescribeInstanceKeywordsResponseBody</p> */ public class DescribeInstanceKeywordsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Key") private String key; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Words") private Words words; private DescribeInstanceKeywordsResponseBody(Builder builder) { this.key = builder.key; this.requestId = builder.requestId; this.words = builder.words; } public static Builder builder() { return new Builder(); } public static DescribeInstanceKeywordsResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return key */ public String getKey() { return this.key; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return words */ public Words getWords() { return this.words; } public static final class Builder { private String key; private String requestId; private Words words; private Builder() { } private Builder(DescribeInstanceKeywordsResponseBody model) { this.key = model.key; this.requestId = model.requestId; this.words = model.words; } /** * <p>The type of reserved keyword returned.</p> * * <strong>example:</strong> * <p>account</p> */ public Builder key(String key) { this.key = key; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>1E43AAE0-BEE8-43DA-860D-EAF2AA0724DC</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The reserved keywords.</p> */ public Builder words(Words words) { this.words = words; return this; } public DescribeInstanceKeywordsResponseBody build() { return new DescribeInstanceKeywordsResponseBody(this); } } /** * * {@link DescribeInstanceKeywordsResponseBody} extends {@link TeaModel} * * <p>DescribeInstanceKeywordsResponseBody</p> */ public static class Words extends TeaModel { @com.aliyun.core.annotation.NameInMap("word") private java.util.List<String> word; private Words(Builder builder) { this.word = builder.word; } public static Builder builder() { return new Builder(); } public static Words create() { return builder().build(); } /** * @return word */ public java.util.List<String> getWord() { return this.word; } public static final class Builder { private java.util.List<String> word; private Builder() { } private Builder(Words model) { this.word = model.word; } /** * word. */ public Builder word(java.util.List<String> word) { this.word = word; return this; } public Words build() { return new Words(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/DescribeInstanceLinkedWhitelistTemplateRequest.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 DescribeInstanceLinkedWhitelistTemplateRequest} extends {@link RequestModel} * * <p>DescribeInstanceLinkedWhitelistTemplateRequest</p> */ public class DescribeInstanceLinkedWhitelistTemplateRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InsName") @com.aliyun.core.annotation.Validation(required = true) private String insName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") 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 DescribeInstanceLinkedWhitelistTemplateRequest(Builder builder) { super(builder); this.insName = builder.insName; 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 DescribeInstanceLinkedWhitelistTemplateRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return insName */ public String getInsName() { return this.insName; } /** * @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<DescribeInstanceLinkedWhitelistTemplateRequest, Builder> { private String insName; private String regionId; private String resourceGroupId; private String resourceOwnerAccount; private Long resourceOwnerId; private Builder() { super(); } private Builder(DescribeInstanceLinkedWhitelistTemplateRequest request) { super(request); this.insName = request.insName; this.regionId = request.regionId; this.resourceGroupId = request.resourceGroupId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; } /** * <p>The instance name.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>rm-bp191w771kd3****</p> */ public Builder insName(String insName) { this.putQueryParameter("InsName", insName); this.insName = insName; 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; } /** * <p>The resource group ID. You can leave this parameter empty.</p> * * <strong>example:</strong> * <p>rg-aek3dbzqbh6****</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 DescribeInstanceLinkedWhitelistTemplateRequest build() { return new DescribeInstanceLinkedWhitelistTemplateRequest(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/DescribeInstanceLinkedWhitelistTemplateResponse.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 DescribeInstanceLinkedWhitelistTemplateResponse} extends {@link TeaModel} * * <p>DescribeInstanceLinkedWhitelistTemplateResponse</p> */ public class DescribeInstanceLinkedWhitelistTemplateResponse 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 DescribeInstanceLinkedWhitelistTemplateResponseBody body; private DescribeInstanceLinkedWhitelistTemplateResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeInstanceLinkedWhitelistTemplateResponse 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 DescribeInstanceLinkedWhitelistTemplateResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeInstanceLinkedWhitelistTemplateResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeInstanceLinkedWhitelistTemplateResponseBody body); @Override DescribeInstanceLinkedWhitelistTemplateResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeInstanceLinkedWhitelistTemplateResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeInstanceLinkedWhitelistTemplateResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeInstanceLinkedWhitelistTemplateResponse 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(DescribeInstanceLinkedWhitelistTemplateResponseBody body) { this.body = body; return this; } @Override public DescribeInstanceLinkedWhitelistTemplateResponse build() { return new DescribeInstanceLinkedWhitelistTemplateResponse(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/DescribeInstanceLinkedWhitelistTemplateResponseBody.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 DescribeInstanceLinkedWhitelistTemplateResponseBody} extends {@link TeaModel} * * <p>DescribeInstanceLinkedWhitelistTemplateResponseBody</p> */ public class DescribeInstanceLinkedWhitelistTemplateResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Code") private String code; @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("HttpStatusCode") private Integer httpStatusCode; @com.aliyun.core.annotation.NameInMap("Message") private String message; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Success") private Boolean success; private DescribeInstanceLinkedWhitelistTemplateResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.httpStatusCode = builder.httpStatusCode; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static DescribeInstanceLinkedWhitelistTemplateResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return code */ public String getCode() { return this.code; } /** * @return data */ public Data getData() { return this.data; } /** * @return httpStatusCode */ public Integer getHttpStatusCode() { return this.httpStatusCode; } /** * @return message */ public String getMessage() { return this.message; } /** * @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 Data data; private Integer httpStatusCode; private String message; private String requestId; private Boolean success; private Builder() { } private Builder(DescribeInstanceLinkedWhitelistTemplateResponseBody model) { this.code = model.code; this.data = model.data; this.httpStatusCode = model.httpStatusCode; this.message = model.message; this.requestId = model.requestId; this.success = model.success; } /** * <p>The response code returned. Valid values:</p> * <ul> * <li><strong>200</strong>: success</li> * <li><strong>400</strong>: client error</li> * <li><strong>401</strong>: identity authentication failed</li> * <li><strong>404</strong>: request page not found</li> * <li><strong>500</strong>: server error</li> * </ul> * * <strong>example:</strong> * <p>200</p> */ public Builder code(String code) { this.code = code; return this; } /** * <p>The data returned.</p> */ public Builder data(Data data) { this.data = data; return this; } /** * <p>The HTTP status code returned. Valid values:</p> * <ul> * <li><strong>200</strong>: success</li> * <li><strong>400</strong>: client error</li> * <li><strong>500</strong>: server error</li> * </ul> * * <strong>example:</strong> * <p>200</p> */ public Builder httpStatusCode(Integer httpStatusCode) { this.httpStatusCode = httpStatusCode; return this; } /** * <p>The returned message.</p> * * <strong>example:</strong> * <p>Successful</p> */ public Builder message(String message) { this.message = message; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>1E43AAE0-BEE8-43DA-860D-EAF2AA0724DC</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>Indicates whether the request is 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 DescribeInstanceLinkedWhitelistTemplateResponseBody build() { return new DescribeInstanceLinkedWhitelistTemplateResponseBody(this); } } /** * * {@link DescribeInstanceLinkedWhitelistTemplateResponseBody} extends {@link TeaModel} * * <p>DescribeInstanceLinkedWhitelistTemplateResponseBody</p> */ public static class Templates extends TeaModel { @com.aliyun.core.annotation.NameInMap("Id") private Integer id; @com.aliyun.core.annotation.NameInMap("Ips") private String ips; @com.aliyun.core.annotation.NameInMap("TemplateId") private Integer templateId; @com.aliyun.core.annotation.NameInMap("TemplateName") private String templateName; @com.aliyun.core.annotation.NameInMap("UserId") private Integer userId; private Templates(Builder builder) { this.id = builder.id; this.ips = builder.ips; this.templateId = builder.templateId; this.templateName = builder.templateName; this.userId = builder.userId; } public static Builder builder() { return new Builder(); } public static Templates create() { return builder().build(); } /** * @return id */ public Integer getId() { return this.id; } /** * @return ips */ public String getIps() { return this.ips; } /** * @return templateId */ public Integer getTemplateId() { return this.templateId; } /** * @return templateName */ public String getTemplateName() { return this.templateName; } /** * @return userId */ public Integer getUserId() { return this.userId; } public static final class Builder { private Integer id; private String ips; private Integer templateId; private String templateName; private Integer userId; private Builder() { } private Builder(Templates model) { this.id = model.id; this.ips = model.ips; this.templateId = model.templateId; this.templateName = model.templateName; this.userId = model.userId; } /** * <p>The primary key of the data table.</p> * * <strong>example:</strong> * <p>1884</p> */ public Builder id(Integer id) { this.id = id; return this; } /** * <p>The IP addresses.</p> * * <strong>example:</strong> * <p>12.0.X.X,10.2.X.X</p> */ public Builder ips(String ips) { this.ips = ips; return this; } /** * <p>The whitelist template ID.</p> * * <strong>example:</strong> * <p>412</p> */ public Builder templateId(Integer templateId) { this.templateId = templateId; return this; } /** * <p>The whitelist template name.</p> * * <strong>example:</strong> * <p>template_123</p> */ public Builder templateName(String templateName) { this.templateName = templateName; return this; } /** * <p>The user ID.</p> * * <strong>example:</strong> * <p>16****</p> */ public Builder userId(Integer userId) { this.userId = userId; return this; } public Templates build() { return new Templates(this); } } } /** * * {@link DescribeInstanceLinkedWhitelistTemplateResponseBody} extends {@link TeaModel} * * <p>DescribeInstanceLinkedWhitelistTemplateResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("InsName") private String insName; @com.aliyun.core.annotation.NameInMap("Templates") private java.util.List<Templates> templates; private Data(Builder builder) { this.insName = builder.insName; this.templates = builder.templates; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return insName */ public String getInsName() { return this.insName; } /** * @return templates */ public java.util.List<Templates> getTemplates() { return this.templates; } public static final class Builder { private String insName; private java.util.List<Templates> templates; private Builder() { } private Builder(Data model) { this.insName = model.insName; this.templates = model.templates; } /** * <p>The instance name.</p> * * <strong>example:</strong> * <p>rm-bp191w771kd3****</p> */ public Builder insName(String insName) { this.insName = insName; return this; } /** * <p>The information about whitelists that are returned by page.</p> */ public Builder templates(java.util.List<Templates> templates) { this.templates = templates; return this; } public Data build() { return new Data(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/DescribeKmsAssociateResourcesRequest.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 DescribeKmsAssociateResourcesRequest} extends {@link RequestModel} * * <p>DescribeKmsAssociateResourcesRequest</p> */ public class DescribeKmsAssociateResourcesRequest 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("KmsResourceId") @com.aliyun.core.annotation.Validation(required = true) private String kmsResourceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("KmsResourceRegionId") private String kmsResourceRegionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("KmsResourceType") @com.aliyun.core.annotation.Validation(required = true) private String kmsResourceType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("KmsResourceUser") @com.aliyun.core.annotation.Validation(required = true) private String kmsResourceUser; @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 String 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("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 DescribeKmsAssociateResourcesRequest(Builder builder) { super(builder); this.clientToken = builder.clientToken; this.kmsResourceId = builder.kmsResourceId; this.kmsResourceRegionId = builder.kmsResourceRegionId; this.kmsResourceType = builder.kmsResourceType; this.kmsResourceUser = builder.kmsResourceUser; this.ownerAccount = builder.ownerAccount; 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 DescribeKmsAssociateResourcesRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return clientToken */ public String getClientToken() { return this.clientToken; } /** * @return kmsResourceId */ public String getKmsResourceId() { return this.kmsResourceId; } /** * @return kmsResourceRegionId */ public String getKmsResourceRegionId() { return this.kmsResourceRegionId; } /** * @return kmsResourceType */ public String getKmsResourceType() { return this.kmsResourceType; } /** * @return kmsResourceUser */ public String getKmsResourceUser() { return this.kmsResourceUser; } /** * @return ownerAccount */ public String getOwnerAccount() { return this.ownerAccount; } /** * @return ownerId */ public String 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<DescribeKmsAssociateResourcesRequest, Builder> { private String clientToken; private String kmsResourceId; private String kmsResourceRegionId; private String kmsResourceType; private String kmsResourceUser; private String ownerAccount; private String ownerId; private String regionId; private String resourceGroupId; private String resourceOwnerAccount; private Long resourceOwnerId; private Builder() { super(); } private Builder(DescribeKmsAssociateResourcesRequest request) { super(request); this.clientToken = request.clientToken; this.kmsResourceId = request.kmsResourceId; this.kmsResourceRegionId = request.kmsResourceRegionId; this.kmsResourceType = request.kmsResourceType; this.kmsResourceUser = request.kmsResourceUser; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.regionId = request.regionId; 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.</p> * <p>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 ID of the KMS resource. Only key IDs are supported.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>494c98ce-f2b5-48ab-96ab-36c986b6****</p> */ public Builder kmsResourceId(String kmsResourceId) { this.putQueryParameter("KmsResourceId", kmsResourceId); this.kmsResourceId = kmsResourceId; return this; } /** * <p>The ID of the region to which the KMS resource belongs.</p> * * <strong>example:</strong> * <p>cn-hangzhou</p> */ public Builder kmsResourceRegionId(String kmsResourceRegionId) { this.putQueryParameter("KmsResourceRegionId", kmsResourceRegionId); this.kmsResourceRegionId = kmsResourceRegionId; return this; } /** * <p>The type of the KMS resource. Only key is supported.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>key</p> */ public Builder kmsResourceType(String kmsResourceType) { this.putQueryParameter("KmsResourceType", kmsResourceType); this.kmsResourceType = kmsResourceType; return this; } /** * <p>The ID of the Alibaba Cloud account to which the KMS resource belongs.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>164882191396****</p> */ public Builder kmsResourceUser(String kmsResourceUser) { this.putQueryParameter("KmsResourceUser", kmsResourceUser); this.kmsResourceUser = kmsResourceUser; return this; } /** * OwnerAccount. */ public Builder ownerAccount(String ownerAccount) { this.putQueryParameter("OwnerAccount", ownerAccount); this.ownerAccount = ownerAccount; return this; } /** * OwnerId. */ public Builder ownerId(String 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; } /** * <p>The resource group ID.</p> * * <strong>example:</strong> * <p>rg-bp67acfmxazb4p****</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 DescribeKmsAssociateResourcesRequest build() { return new DescribeKmsAssociateResourcesRequest(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/DescribeKmsAssociateResourcesResponse.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 DescribeKmsAssociateResourcesResponse} extends {@link TeaModel} * * <p>DescribeKmsAssociateResourcesResponse</p> */ public class DescribeKmsAssociateResourcesResponse 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 DescribeKmsAssociateResourcesResponseBody body; private DescribeKmsAssociateResourcesResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeKmsAssociateResourcesResponse 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 DescribeKmsAssociateResourcesResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeKmsAssociateResourcesResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeKmsAssociateResourcesResponseBody body); @Override DescribeKmsAssociateResourcesResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeKmsAssociateResourcesResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeKmsAssociateResourcesResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeKmsAssociateResourcesResponse 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(DescribeKmsAssociateResourcesResponseBody body) { this.body = body; return this; } @Override public DescribeKmsAssociateResourcesResponse build() { return new DescribeKmsAssociateResourcesResponse(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/DescribeKmsAssociateResourcesResponseBody.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 DescribeKmsAssociateResourcesResponseBody} extends {@link TeaModel} * * <p>DescribeKmsAssociateResourcesResponseBody</p> */ public class DescribeKmsAssociateResourcesResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("AssociateDBInstances") private java.util.List<AssociateDBInstances> associateDBInstances; @com.aliyun.core.annotation.NameInMap("AssociateStatus") private Boolean associateStatus; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeKmsAssociateResourcesResponseBody(Builder builder) { this.associateDBInstances = builder.associateDBInstances; this.associateStatus = builder.associateStatus; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeKmsAssociateResourcesResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return associateDBInstances */ public java.util.List<AssociateDBInstances> getAssociateDBInstances() { return this.associateDBInstances; } /** * @return associateStatus */ public Boolean getAssociateStatus() { return this.associateStatus; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List<AssociateDBInstances> associateDBInstances; private Boolean associateStatus; private String requestId; private Builder() { } private Builder(DescribeKmsAssociateResourcesResponseBody model) { this.associateDBInstances = model.associateDBInstances; this.associateStatus = model.associateStatus; this.requestId = model.requestId; } /** * <p>The information about the associated ApsaraDB RDS instances.</p> */ public Builder associateDBInstances(java.util.List<AssociateDBInstances> associateDBInstances) { this.associateDBInstances = associateDBInstances; return this; } /** * <p>Indicates whether an associated RDS instance exists.</p> * <ul> * <li><strong>true</strong>: Yes</li> * <li><strong>false</strong>: No</li> * </ul> * * <strong>example:</strong> * <p>true</p> */ public Builder associateStatus(Boolean associateStatus) { this.associateStatus = associateStatus; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>1AD222E9-E606-4A42-BF6D-8A4442913CEF</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeKmsAssociateResourcesResponseBody build() { return new DescribeKmsAssociateResourcesResponseBody(this); } } /** * * {@link DescribeKmsAssociateResourcesResponseBody} extends {@link TeaModel} * * <p>DescribeKmsAssociateResourcesResponseBody</p> */ public static class AssociateDBInstances extends TeaModel { @com.aliyun.core.annotation.NameInMap("DBInstanceName") private String DBInstanceName; @com.aliyun.core.annotation.NameInMap("Engine") private String engine; @com.aliyun.core.annotation.NameInMap("KeyUsedBy") private String keyUsedBy; @com.aliyun.core.annotation.NameInMap("Status") private String status; private AssociateDBInstances(Builder builder) { this.DBInstanceName = builder.DBInstanceName; this.engine = builder.engine; this.keyUsedBy = builder.keyUsedBy; this.status = builder.status; } public static Builder builder() { return new Builder(); } public static AssociateDBInstances create() { return builder().build(); } /** * @return DBInstanceName */ public String getDBInstanceName() { return this.DBInstanceName; } /** * @return engine */ public String getEngine() { return this.engine; } /** * @return keyUsedBy */ public String getKeyUsedBy() { return this.keyUsedBy; } /** * @return status */ public String getStatus() { return this.status; } public static final class Builder { private String DBInstanceName; private String engine; private String keyUsedBy; private String status; private Builder() { } private Builder(AssociateDBInstances model) { this.DBInstanceName = model.DBInstanceName; this.engine = model.engine; this.keyUsedBy = model.keyUsedBy; this.status = model.status; } /** * <p>The instance ID.</p> * * <strong>example:</strong> * <p>pgm-bp16p6f68130****</p> */ public Builder DBInstanceName(String DBInstanceName) { this.DBInstanceName = DBInstanceName; return this; } /** * <p>The database engine. Valid values:</p> * <ul> * <li><strong>MySQL</strong></li> * <li><strong>SQLServer</strong></li> * <li><strong>PostgreSQL</strong></li> * </ul> * * <strong>example:</strong> * <p>PostgreSQL</p> */ public Builder engine(String engine) { this.engine = engine; return this; } /** * <p>The purpose of the key. Valid values:</p> * <ul> * <li><strong>DiskEncryption</strong>: cloud disk encryption</li> * <li><strong>TDE</strong>: transparent data encryption</li> * </ul> * * <strong>example:</strong> * <p>DiskEncryption</p> */ public Builder keyUsedBy(String keyUsedBy) { this.keyUsedBy = keyUsedBy; return this; } /** * <p>The state of the instance. Valid values:</p> * <ul> * <li><strong>CREATING</strong>: The instance is being created.</li> * <li><strong>ACTIVATION</strong>: The instance is running.</li> * <li><strong>DELETING</strong>: The instance is being deleted.</li> * <li><strong>RESTARTING</strong>: The instance is being restarted.</li> * <li><strong>INS_MAINTAINING</strong>: The configuration of the instance is being changed.</li> * <li><strong>INS_MAINTAINING</strong>: The instance is being maintained.</li> * <li><strong>BACKUP_RECOVERING</strong>: The instance is being restored.</li> * <li><strong>NET_MODIFYING</strong>: The network type of the instance is being changed.</li> * </ul> * * <strong>example:</strong> * <p>ACTIVATION</p> */ public Builder status(String status) { this.status = status; return this; } public AssociateDBInstances build() { return new AssociateDBInstances(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/DescribeLocalAvailableRecoveryTimeRequest.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 DescribeLocalAvailableRecoveryTimeRequest} extends {@link RequestModel} * * <p>DescribeLocalAvailableRecoveryTimeRequest</p> */ public class DescribeLocalAvailableRecoveryTimeRequest 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("OwnerId") private Long ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Region") private String region; @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 DescribeLocalAvailableRecoveryTimeRequest(Builder builder) { super(builder); this.DBInstanceId = builder.DBInstanceId; this.ownerId = builder.ownerId; this.region = builder.region; this.resourceGroupId = builder.resourceGroupId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; } public static Builder builder() { return new Builder(); } public static DescribeLocalAvailableRecoveryTimeRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return DBInstanceId */ public String getDBInstanceId() { return this.DBInstanceId; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return region */ public String getRegion() { return this.region; } /** * @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<DescribeLocalAvailableRecoveryTimeRequest, Builder> { private String DBInstanceId; private Long ownerId; private String region; private String resourceGroupId; private String resourceOwnerAccount; private Long resourceOwnerId; private Builder() { super(); } private Builder(DescribeLocalAvailableRecoveryTimeRequest request) { super(request); this.DBInstanceId = request.DBInstanceId; this.ownerId = request.ownerId; this.region = request.region; this.resourceGroupId = request.resourceGroupId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; } /** * <p>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; } /** * 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 region(String region) { this.putQueryParameter("Region", region); this.region = region; return this; } /** * <p>The resource group ID.</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 DescribeLocalAvailableRecoveryTimeRequest build() { return new DescribeLocalAvailableRecoveryTimeRequest(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/DescribeLocalAvailableRecoveryTimeResponse.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 DescribeLocalAvailableRecoveryTimeResponse} extends {@link TeaModel} * * <p>DescribeLocalAvailableRecoveryTimeResponse</p> */ public class DescribeLocalAvailableRecoveryTimeResponse 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 DescribeLocalAvailableRecoveryTimeResponseBody body; private DescribeLocalAvailableRecoveryTimeResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeLocalAvailableRecoveryTimeResponse 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 DescribeLocalAvailableRecoveryTimeResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeLocalAvailableRecoveryTimeResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeLocalAvailableRecoveryTimeResponseBody body); @Override DescribeLocalAvailableRecoveryTimeResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeLocalAvailableRecoveryTimeResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeLocalAvailableRecoveryTimeResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeLocalAvailableRecoveryTimeResponse 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(DescribeLocalAvailableRecoveryTimeResponseBody body) { this.body = body; return this; } @Override public DescribeLocalAvailableRecoveryTimeResponse build() { return new DescribeLocalAvailableRecoveryTimeResponse(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/DescribeLocalAvailableRecoveryTimeResponseBody.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 DescribeLocalAvailableRecoveryTimeResponseBody} extends {@link TeaModel} * * <p>DescribeLocalAvailableRecoveryTimeResponseBody</p> */ public class DescribeLocalAvailableRecoveryTimeResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("DBInstanceId") private String DBInstanceId; @com.aliyun.core.annotation.NameInMap("RecoveryBeginTime") private String recoveryBeginTime; @com.aliyun.core.annotation.NameInMap("RecoveryEndTime") private String recoveryEndTime; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeLocalAvailableRecoveryTimeResponseBody(Builder builder) { this.DBInstanceId = builder.DBInstanceId; this.recoveryBeginTime = builder.recoveryBeginTime; this.recoveryEndTime = builder.recoveryEndTime; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeLocalAvailableRecoveryTimeResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return DBInstanceId */ public String getDBInstanceId() { return this.DBInstanceId; } /** * @return recoveryBeginTime */ public String getRecoveryBeginTime() { return this.recoveryBeginTime; } /** * @return recoveryEndTime */ public String getRecoveryEndTime() { return this.recoveryEndTime; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String DBInstanceId; private String recoveryBeginTime; private String recoveryEndTime; private String requestId; private Builder() { } private Builder(DescribeLocalAvailableRecoveryTimeResponseBody model) { this.DBInstanceId = model.DBInstanceId; this.recoveryBeginTime = model.recoveryBeginTime; this.recoveryEndTime = model.recoveryEndTime; 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>The start of the time range to which the instance can be restored.</p> * * <strong>example:</strong> * <p>2020-03-16T07:59:18Z</p> */ public Builder recoveryBeginTime(String recoveryBeginTime) { this.recoveryBeginTime = recoveryBeginTime; return this; } /** * <p>The end of the time range to which the instance can be restored.</p> * * <strong>example:</strong> * <p>2020-03-20T08:41:29Z</p> */ public Builder recoveryEndTime(String recoveryEndTime) { this.recoveryEndTime = recoveryEndTime; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>14E986AC-0F27-4FFB-8EED-9A8A3A2A0309</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeLocalAvailableRecoveryTimeResponseBody build() { return new DescribeLocalAvailableRecoveryTimeResponseBody(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/DescribeLogBackupFilesRequest.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 DescribeLogBackupFilesRequest} extends {@link RequestModel} * * <p>DescribeLogBackupFilesRequest</p> */ public class DescribeLogBackupFilesRequest 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 = 1000, 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 DescribeLogBackupFilesRequest(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 DescribeLogBackupFilesRequest 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<DescribeLogBackupFilesRequest, 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(DescribeLogBackupFilesRequest 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. 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 end of the time range to query. The end time must be later than the start time. 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>2018-10-31T08: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 page number. Valid values: any non-zero positive integer.</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 to return on each page. Valid values: <strong>30</strong> to <strong>1000</strong>. 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>2018-10-01T08:40Z</p> */ public Builder startTime(String startTime) { this.putQueryParameter("StartTime", startTime); this.startTime = startTime; return this; } @Override public DescribeLogBackupFilesRequest build() { return new DescribeLogBackupFilesRequest(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/DescribeLogBackupFilesResponse.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 DescribeLogBackupFilesResponse} extends {@link TeaModel} * * <p>DescribeLogBackupFilesResponse</p> */ public class DescribeLogBackupFilesResponse 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 DescribeLogBackupFilesResponseBody body; private DescribeLogBackupFilesResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeLogBackupFilesResponse 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 DescribeLogBackupFilesResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeLogBackupFilesResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeLogBackupFilesResponseBody body); @Override DescribeLogBackupFilesResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeLogBackupFilesResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeLogBackupFilesResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeLogBackupFilesResponse 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(DescribeLogBackupFilesResponseBody body) { this.body = body; return this; } @Override public DescribeLogBackupFilesResponse build() { return new DescribeLogBackupFilesResponse(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/DescribeLogBackupFilesResponseBody.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 DescribeLogBackupFilesResponseBody} extends {@link TeaModel} * * <p>DescribeLogBackupFilesResponseBody</p> */ public class DescribeLogBackupFilesResponseBody extends TeaModel { @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("TotalFileSize") private Long totalFileSize; @com.aliyun.core.annotation.NameInMap("TotalRecordCount") private Integer totalRecordCount; private DescribeLogBackupFilesResponseBody(Builder builder) { this.items = builder.items; this.pageNumber = builder.pageNumber; this.pageRecordCount = builder.pageRecordCount; this.requestId = builder.requestId; this.totalFileSize = builder.totalFileSize; this.totalRecordCount = builder.totalRecordCount; } public static Builder builder() { return new Builder(); } public static DescribeLogBackupFilesResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @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 totalFileSize */ public Long getTotalFileSize() { return this.totalFileSize; } /** * @return totalRecordCount */ public Integer getTotalRecordCount() { return this.totalRecordCount; } public static final class Builder { private Items items; private Integer pageNumber; private Integer pageRecordCount; private String requestId; private Long totalFileSize; private Integer totalRecordCount; private Builder() { } private Builder(DescribeLogBackupFilesResponseBody model) { this.items = model.items; this.pageNumber = model.pageNumber; this.pageRecordCount = model.pageRecordCount; this.requestId = model.requestId; this.totalFileSize = model.totalFileSize; this.totalRecordCount = model.totalRecordCount; } /** * <p>The details of log files.</p> */ public Builder items(Items items) { this.items = items; return this; } /** * <p>The page number of the page returned.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder pageNumber(Integer pageNumber) { this.pageNumber = pageNumber; return this; } /** * <p>The number of log files on the current page.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder pageRecordCount(Integer pageRecordCount) { this.pageRecordCount = pageRecordCount; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>F8EC669C-FC85-43D7-AF06-C3641626B37E</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The total size of log files. Unit: bytes.</p> * * <strong>example:</strong> * <p>2300</p> */ public Builder totalFileSize(Long totalFileSize) { this.totalFileSize = totalFileSize; return this; } /** * <p>The total number of log files.</p> * * <strong>example:</strong> * <p>17</p> */ public Builder totalRecordCount(Integer totalRecordCount) { this.totalRecordCount = totalRecordCount; return this; } public DescribeLogBackupFilesResponseBody build() { return new DescribeLogBackupFilesResponseBody(this); } } /** * * {@link DescribeLogBackupFilesResponseBody} extends {@link TeaModel} * * <p>DescribeLogBackupFilesResponseBody</p> */ public static class BinLogFile extends TeaModel { @com.aliyun.core.annotation.NameInMap("DownloadLink") private String downloadLink; @com.aliyun.core.annotation.NameInMap("FileSize") private Long fileSize; @com.aliyun.core.annotation.NameInMap("IntranetDownloadLink") private String intranetDownloadLink; @com.aliyun.core.annotation.NameInMap("LinkExpiredTime") private String linkExpiredTime; @com.aliyun.core.annotation.NameInMap("LogBeginTime") private String logBeginTime; @com.aliyun.core.annotation.NameInMap("LogEndTime") private String logEndTime; private BinLogFile(Builder builder) { this.downloadLink = builder.downloadLink; this.fileSize = builder.fileSize; this.intranetDownloadLink = builder.intranetDownloadLink; this.linkExpiredTime = builder.linkExpiredTime; this.logBeginTime = builder.logBeginTime; this.logEndTime = builder.logEndTime; } public static Builder builder() { return new Builder(); } public static BinLogFile create() { return builder().build(); } /** * @return downloadLink */ public String getDownloadLink() { return this.downloadLink; } /** * @return fileSize */ public Long getFileSize() { return this.fileSize; } /** * @return intranetDownloadLink */ public String getIntranetDownloadLink() { return this.intranetDownloadLink; } /** * @return linkExpiredTime */ public String getLinkExpiredTime() { return this.linkExpiredTime; } /** * @return logBeginTime */ public String getLogBeginTime() { return this.logBeginTime; } /** * @return logEndTime */ public String getLogEndTime() { return this.logEndTime; } public static final class Builder { private String downloadLink; private Long fileSize; private String intranetDownloadLink; private String linkExpiredTime; private String logBeginTime; private String logEndTime; private Builder() { } private Builder(BinLogFile model) { this.downloadLink = model.downloadLink; this.fileSize = model.fileSize; this.intranetDownloadLink = model.intranetDownloadLink; this.linkExpiredTime = model.linkExpiredTime; this.logBeginTime = model.logBeginTime; this.logEndTime = model.logEndTime; } /** * <p>The HTTP-based download URL of the log file. If the log file cannot be downloaded, an empty string is returned.</p> * * <strong>example:</strong> * <p><a href="http://rdsbak-hz-v3.oss-cn-hangzhou.aliyuncs.com/xxxxx">http://rdsbak-hz-v3.oss-cn-hangzhou.aliyuncs.com/xxxxx</a></p> */ public Builder downloadLink(String downloadLink) { this.downloadLink = downloadLink; return this; } /** * <p>The size of the log file. Unit: bytes.</p> * * <strong>example:</strong> * <p>788480</p> */ public Builder fileSize(Long fileSize) { this.fileSize = fileSize; return this; } /** * <p>The URL that is used to download the log file over an internal network. If the log file cannot be downloaded, an empty string is returned. This URL is valid for one hour.</p> * * <strong>example:</strong> * <p><a href="http://rdsbak-hz-v3.oss-cn-hangzhou.aliyuncs.com/xxxxx">http://rdsbak-hz-v3.oss-cn-hangzhou.aliyuncs.com/xxxxx</a></p> */ public Builder intranetDownloadLink(String intranetDownloadLink) { this.intranetDownloadLink = intranetDownloadLink; return this; } /** * <p>The expiration time of the URL. 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-03-01T15:04:13Z</p> */ public Builder linkExpiredTime(String linkExpiredTime) { this.linkExpiredTime = linkExpiredTime; return this; } /** * <p>The start time of the log file. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm</em>Z format. The time is displayed in UTC.</p> * * <strong>example:</strong> * <p>2018-10-31T08:40Z</p> */ public Builder logBeginTime(String logBeginTime) { this.logBeginTime = logBeginTime; return this; } /** * <p>The end time of the log file. The time follows the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm</em>Z format. The time is displayed in UTC.</p> * * <strong>example:</strong> * <p>2018-10-31T08:40Z</p> */ public Builder logEndTime(String logEndTime) { this.logEndTime = logEndTime; return this; } public BinLogFile build() { return new BinLogFile(this); } } } /** * * {@link DescribeLogBackupFilesResponseBody} extends {@link TeaModel} * * <p>DescribeLogBackupFilesResponseBody</p> */ public static class Items extends TeaModel { @com.aliyun.core.annotation.NameInMap("BinLogFile") private java.util.List<BinLogFile> binLogFile; private Items(Builder builder) { this.binLogFile = builder.binLogFile; } public static Builder builder() { return new Builder(); } public static Items create() { return builder().build(); } /** * @return binLogFile */ public java.util.List<BinLogFile> getBinLogFile() { return this.binLogFile; } public static final class Builder { private java.util.List<BinLogFile> binLogFile; private Builder() { } private Builder(Items model) { this.binLogFile = model.binLogFile; } /** * BinLogFile. */ public Builder binLogFile(java.util.List<BinLogFile> binLogFile) { this.binLogFile = binLogFile; 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/DescribeMarketingActivityRequest.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 DescribeMarketingActivityRequest} extends {@link RequestModel} * * <p>DescribeMarketingActivityRequest</p> */ public class DescribeMarketingActivityRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("AliUid") @com.aliyun.core.annotation.Validation(required = true) private Long aliUid; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Bid") private String bid; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ClientToken") private String clientToken; @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; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("UpgradeCode") @com.aliyun.core.annotation.Validation(required = true) private String upgradeCode; private DescribeMarketingActivityRequest(Builder builder) { super(builder); this.aliUid = builder.aliUid; this.bid = builder.bid; this.clientToken = builder.clientToken; this.ownerId = builder.ownerId; this.regionId = builder.regionId; this.resourceGroupId = builder.resourceGroupId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.upgradeCode = builder.upgradeCode; } public static Builder builder() { return new Builder(); } public static DescribeMarketingActivityRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return aliUid */ public Long getAliUid() { return this.aliUid; } /** * @return bid */ public String getBid() { return this.bid; } /** * @return clientToken */ public String getClientToken() { return this.clientToken; } /** * @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; } /** * @return upgradeCode */ public String getUpgradeCode() { return this.upgradeCode; } public static final class Builder extends Request.Builder<DescribeMarketingActivityRequest, Builder> { private Long aliUid; private String bid; private String clientToken; private Long ownerId; private String regionId; private String resourceGroupId; private String resourceOwnerAccount; private Long resourceOwnerId; private String upgradeCode; private Builder() { super(); } private Builder(DescribeMarketingActivityRequest request) { super(request); this.aliUid = request.aliUid; this.bid = request.bid; this.clientToken = request.clientToken; this.ownerId = request.ownerId; this.regionId = request.regionId; this.resourceGroupId = request.resourceGroupId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.upgradeCode = request.upgradeCode; } /** * <p>The ID of the Alibaba Cloud account.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>20725049</p> */ public Builder aliUid(Long aliUid) { this.putQueryParameter("AliUid", aliUid); this.aliUid = aliUid; return this; } /** * <ul> * <li>China site: 26842</li> * <li>International site: 26888</li> * </ul> * * <strong>example:</strong> * <p>26842</p> */ public Builder bid(String bid) { this.putQueryParameter("Bid", bid); this.bid = bid; 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; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; 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> * <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 resource group ID.</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 service name.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>series</p> */ public Builder upgradeCode(String upgradeCode) { this.putQueryParameter("UpgradeCode", upgradeCode); this.upgradeCode = upgradeCode; return this; } @Override public DescribeMarketingActivityRequest build() { return new DescribeMarketingActivityRequest(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/DescribeMarketingActivityResponse.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 DescribeMarketingActivityResponse} extends {@link TeaModel} * * <p>DescribeMarketingActivityResponse</p> */ public class DescribeMarketingActivityResponse 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 DescribeMarketingActivityResponseBody body; private DescribeMarketingActivityResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeMarketingActivityResponse 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 DescribeMarketingActivityResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeMarketingActivityResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeMarketingActivityResponseBody body); @Override DescribeMarketingActivityResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeMarketingActivityResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeMarketingActivityResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeMarketingActivityResponse 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(DescribeMarketingActivityResponseBody body) { this.body = body; return this; } @Override public DescribeMarketingActivityResponse build() { return new DescribeMarketingActivityResponse(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/DescribeMarketingActivityResponseBody.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 DescribeMarketingActivityResponseBody} extends {@link TeaModel} * * <p>DescribeMarketingActivityResponseBody</p> */ public class DescribeMarketingActivityResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("AliUid") private Long aliUid; @com.aliyun.core.annotation.NameInMap("Bid") private String bid; @com.aliyun.core.annotation.NameInMap("Items") private java.util.List<Items> items; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("RequestId") @com.aliyun.core.annotation.Validation(required = true) private String requestId; private DescribeMarketingActivityResponseBody(Builder builder) { this.aliUid = builder.aliUid; this.bid = builder.bid; this.items = builder.items; this.regionId = builder.regionId; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeMarketingActivityResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return aliUid */ public Long getAliUid() { return this.aliUid; } /** * @return bid */ public String getBid() { return this.bid; } /** * @return items */ public java.util.List<Items> getItems() { return this.items; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private Long aliUid; private String bid; private java.util.List<Items> items; private String regionId; private String requestId; private Builder() { } private Builder(DescribeMarketingActivityResponseBody model) { this.aliUid = model.aliUid; this.bid = model.bid; this.items = model.items; this.regionId = model.regionId; this.requestId = model.requestId; } /** * <p>The ID of the Alibaba Cloud account.</p> * * <strong>example:</strong> * <p>1979008652307170</p> */ public Builder aliUid(Long aliUid) { this.aliUid = aliUid; return this; } /** * <ul> * <li>China site: 26842</li> * <li>International site: 26888</li> * </ul> * * <strong>example:</strong> * <p>26842</p> */ public Builder bid(String bid) { this.bid = bid; return this; } /** * <p>The activity parameters</p> */ public Builder items(java.util.List<Items> items) { this.items = items; return this; } /** * <p>The region ID.</p> * * <strong>example:</strong> * <p>cn-shenzhen</p> */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * <p>The request ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>7D8F09DB-1124-5D78-A520-FF88FAF4351B</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeMarketingActivityResponseBody build() { return new DescribeMarketingActivityResponseBody(this); } } /** * * {@link DescribeMarketingActivityResponseBody} extends {@link TeaModel} * * <p>DescribeMarketingActivityResponseBody</p> */ public static class Items extends TeaModel { @com.aliyun.core.annotation.NameInMap("Category") private String category; @com.aliyun.core.annotation.NameInMap("ChargeType") private String chargeType; @com.aliyun.core.annotation.NameInMap("ClassCode") private String classCode; @com.aliyun.core.annotation.NameInMap("ClassGroup") private String classGroup; @com.aliyun.core.annotation.NameInMap("Cpu") private String cpu; @com.aliyun.core.annotation.NameInMap("DiskSize") private Integer diskSize; @com.aliyun.core.annotation.NameInMap("Engine") private String engine; @com.aliyun.core.annotation.NameInMap("EngineVersion") private String engineVersion; @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("InstanceName") private String instanceName; @com.aliyun.core.annotation.NameInMap("MaxConnections") private Integer maxConnections; @com.aliyun.core.annotation.NameInMap("MaxIombps") private Integer maxIombps; @com.aliyun.core.annotation.NameInMap("MaxIops") private Integer maxIops; @com.aliyun.core.annotation.NameInMap("Memory") private Long memory; @com.aliyun.core.annotation.NameInMap("StorageType") private String storageType; @com.aliyun.core.annotation.NameInMap("UpgradeCategory") private String upgradeCategory; @com.aliyun.core.annotation.NameInMap("UpgradeClassCode") private String upgradeClassCode; @com.aliyun.core.annotation.NameInMap("UpgradeClassGroup") private String upgradeClassGroup; @com.aliyun.core.annotation.NameInMap("UpgradeCpu") private String upgradeCpu; @com.aliyun.core.annotation.NameInMap("UpgradeDescContent") private String upgradeDescContent; @com.aliyun.core.annotation.NameInMap("UpgradeDiskSize") private Integer upgradeDiskSize; @com.aliyun.core.annotation.NameInMap("UpgradeMaxConnections") private Integer upgradeMaxConnections; @com.aliyun.core.annotation.NameInMap("UpgradeMaxIombps") private Integer upgradeMaxIombps; @com.aliyun.core.annotation.NameInMap("UpgradeMaxIops") private Integer upgradeMaxIops; @com.aliyun.core.annotation.NameInMap("UpgradeMemory") private Long upgradeMemory; @com.aliyun.core.annotation.NameInMap("UpgradeReferencePrice") private String upgradeReferencePrice; @com.aliyun.core.annotation.NameInMap("UpgradeStorageType") private String upgradeStorageType; private Items(Builder builder) { this.category = builder.category; this.chargeType = builder.chargeType; this.classCode = builder.classCode; this.classGroup = builder.classGroup; this.cpu = builder.cpu; this.diskSize = builder.diskSize; this.engine = builder.engine; this.engineVersion = builder.engineVersion; this.instanceId = builder.instanceId; this.instanceName = builder.instanceName; this.maxConnections = builder.maxConnections; this.maxIombps = builder.maxIombps; this.maxIops = builder.maxIops; this.memory = builder.memory; this.storageType = builder.storageType; this.upgradeCategory = builder.upgradeCategory; this.upgradeClassCode = builder.upgradeClassCode; this.upgradeClassGroup = builder.upgradeClassGroup; this.upgradeCpu = builder.upgradeCpu; this.upgradeDescContent = builder.upgradeDescContent; this.upgradeDiskSize = builder.upgradeDiskSize; this.upgradeMaxConnections = builder.upgradeMaxConnections; this.upgradeMaxIombps = builder.upgradeMaxIombps; this.upgradeMaxIops = builder.upgradeMaxIops; this.upgradeMemory = builder.upgradeMemory; this.upgradeReferencePrice = builder.upgradeReferencePrice; this.upgradeStorageType = builder.upgradeStorageType; } public static Builder builder() { return new Builder(); } public static Items create() { return builder().build(); } /** * @return category */ public String getCategory() { return this.category; } /** * @return chargeType */ public String getChargeType() { return this.chargeType; } /** * @return classCode */ public String getClassCode() { return this.classCode; } /** * @return classGroup */ public String getClassGroup() { return this.classGroup; } /** * @return cpu */ public String getCpu() { return this.cpu; } /** * @return diskSize */ public Integer getDiskSize() { return this.diskSize; } /** * @return engine */ public String getEngine() { return this.engine; } /** * @return engineVersion */ public String getEngineVersion() { return this.engineVersion; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return instanceName */ public String getInstanceName() { return this.instanceName; } /** * @return maxConnections */ public Integer getMaxConnections() { return this.maxConnections; } /** * @return maxIombps */ public Integer getMaxIombps() { return this.maxIombps; } /** * @return maxIops */ public Integer getMaxIops() { return this.maxIops; } /** * @return memory */ public Long getMemory() { return this.memory; } /** * @return storageType */ public String getStorageType() { return this.storageType; } /** * @return upgradeCategory */ public String getUpgradeCategory() { return this.upgradeCategory; } /** * @return upgradeClassCode */ public String getUpgradeClassCode() { return this.upgradeClassCode; } /** * @return upgradeClassGroup */ public String getUpgradeClassGroup() { return this.upgradeClassGroup; } /** * @return upgradeCpu */ public String getUpgradeCpu() { return this.upgradeCpu; } /** * @return upgradeDescContent */ public String getUpgradeDescContent() { return this.upgradeDescContent; } /** * @return upgradeDiskSize */ public Integer getUpgradeDiskSize() { return this.upgradeDiskSize; } /** * @return upgradeMaxConnections */ public Integer getUpgradeMaxConnections() { return this.upgradeMaxConnections; } /** * @return upgradeMaxIombps */ public Integer getUpgradeMaxIombps() { return this.upgradeMaxIombps; } /** * @return upgradeMaxIops */ public Integer getUpgradeMaxIops() { return this.upgradeMaxIops; } /** * @return upgradeMemory */ public Long getUpgradeMemory() { return this.upgradeMemory; } /** * @return upgradeReferencePrice */ public String getUpgradeReferencePrice() { return this.upgradeReferencePrice; } /** * @return upgradeStorageType */ public String getUpgradeStorageType() { return this.upgradeStorageType; } public static final class Builder { private String category; private String chargeType; private String classCode; private String classGroup; private String cpu; private Integer diskSize; private String engine; private String engineVersion; private String instanceId; private String instanceName; private Integer maxConnections; private Integer maxIombps; private Integer maxIops; private Long memory; private String storageType; private String upgradeCategory; private String upgradeClassCode; private String upgradeClassGroup; private String upgradeCpu; private String upgradeDescContent; private Integer upgradeDiskSize; private Integer upgradeMaxConnections; private Integer upgradeMaxIombps; private Integer upgradeMaxIops; private Long upgradeMemory; private String upgradeReferencePrice; private String upgradeStorageType; private Builder() { } private Builder(Items model) { this.category = model.category; this.chargeType = model.chargeType; this.classCode = model.classCode; this.classGroup = model.classGroup; this.cpu = model.cpu; this.diskSize = model.diskSize; this.engine = model.engine; this.engineVersion = model.engineVersion; this.instanceId = model.instanceId; this.instanceName = model.instanceName; this.maxConnections = model.maxConnections; this.maxIombps = model.maxIombps; this.maxIops = model.maxIops; this.memory = model.memory; this.storageType = model.storageType; this.upgradeCategory = model.upgradeCategory; this.upgradeClassCode = model.upgradeClassCode; this.upgradeClassGroup = model.upgradeClassGroup; this.upgradeCpu = model.upgradeCpu; this.upgradeDescContent = model.upgradeDescContent; this.upgradeDiskSize = model.upgradeDiskSize; this.upgradeMaxConnections = model.upgradeMaxConnections; this.upgradeMaxIombps = model.upgradeMaxIombps; this.upgradeMaxIops = model.upgradeMaxIops; this.upgradeMemory = model.upgradeMemory; this.upgradeReferencePrice = model.upgradeReferencePrice; this.upgradeStorageType = model.upgradeStorageType; } /** * <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>AlwaysOn</strong>: RDS Cluster Edition</li> * <li><strong>Finance</strong>: RDS Enterprise Edition</li> * </ul> * * <strong>example:</strong> * <p>Basic</p> */ public Builder category(String category) { this.category = category; return this; } /** * <p>The payment type. Valid values:</p> * <ul> * <li>POSTPAY: pay-as-you-go</li> * <li>PREPAY: subscription</li> * </ul> * * <strong>example:</strong> * <p>POSTPAY</p> */ public Builder chargeType(String chargeType) { this.chargeType = chargeType; return this; } /** * <p>The instance type. For more information, see <a href="https://help.aliyun.com/document_detail/26312.html">Primary ApsaraDB RDS instance types</a> and <a href="https://help.aliyun.com/document_detail/145759.html">Read-only ApsaraDB RDS instance types</a>.</p> * * <strong>example:</strong> * <p>rds.mysql.s3.large</p> */ public Builder classCode(String classCode) { this.classCode = classCode; return this; } /** * <p>The instance family. For more information, see <a href="https://help.aliyun.com/document_detail/57184.html">Overview of instance families</a>.</p> * * <strong>example:</strong> * <p>x</p> */ public Builder classGroup(String classGroup) { this.classGroup = classGroup; return this; } /** * <p>The number of CPU cores that are supported by the instance type. Unit: cores.</p> * * <strong>example:</strong> * <p>2</p> */ public Builder cpu(String cpu) { this.cpu = cpu; return this; } /** * <p>The disk capacity per node. Unit: GB.</p> * * <strong>example:</strong> * <p>900</p> */ public Builder diskSize(Integer diskSize) { this.diskSize = diskSize; return this; } /** * <p>The database engine of the instance. Valid values:</p> * <ul> * <li>MySQL</li> * <li>SQLServer</li> * <li>PostgreSQL</li> * <li>PPAS</li> * <li>MariaDB</li> * </ul> * * <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 instance ID.</p> * * <strong>example:</strong> * <p>rm-uf62br2491p5l****</p> */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * <p>The instance name.</p> * * <strong>example:</strong> * <p>rm-uf62br2491p5l****</p> */ public Builder instanceName(String instanceName) { this.instanceName = instanceName; return this; } /** * <p>The maximum number of concurrent connections.</p> * * <strong>example:</strong> * <p>60</p> */ public Builder maxConnections(Integer maxConnections) { this.maxConnections = maxConnections; return this; } /** * <p>The maximum I/O throughput. Unit: Mbit/s.</p> * * <strong>example:</strong> * <p>100</p> */ public Builder maxIombps(Integer maxIombps) { this.maxIombps = maxIombps; return this; } /** * <p>The maximum IOPS.</p> * * <strong>example:</strong> * <p>30</p> */ public Builder maxIops(Integer maxIops) { this.maxIops = maxIops; return this; } /** * <p>The memory size.</p> * * <strong>example:</strong> * <p>1024</p> */ public Builder memory(Long memory) { this.memory = memory; return this; } /** * <p>The storage type of the instance. Valid values:</p> * <ul> * <li><strong>local_ssd</strong>: local SSD</li> * <li><strong>cloud_ssd</strong>: standard SSD</li> * <li><strong>cloud_essd</strong>: performance level 1 (PL1) enhanced SSD (ESSD)</li> * <li><strong>cloud_essd2</strong>: PL2 ESSD</li> * <li><strong>cloud_essd3</strong>: PL3 ESSD</li> * </ul> * * <strong>example:</strong> * <p>cloud_essd</p> */ public Builder storageType(String storageType) { this.storageType = storageType; return this; } /** * <p>The RDS edition after the upgrade.</p> * * <strong>example:</strong> * <p>HighAvailability</p> */ public Builder upgradeCategory(String upgradeCategory) { this.upgradeCategory = upgradeCategory; return this; } /** * <p>The instance type after the upgrade.</p> * * <strong>example:</strong> * <p>rds.mysql.s3.large</p> */ public Builder upgradeClassCode(String upgradeClassCode) { this.upgradeClassCode = upgradeClassCode; return this; } /** * <p>The instance family after the upgrade.</p> * * <strong>example:</strong> * <p>d</p> */ public Builder upgradeClassGroup(String upgradeClassGroup) { this.upgradeClassGroup = upgradeClassGroup; return this; } /** * <p>The number of CPU cores after the upgrade.</p> * * <strong>example:</strong> * <p>8</p> */ public Builder upgradeCpu(String upgradeCpu) { this.upgradeCpu = upgradeCpu; return this; } /** * <p>The description of the upgrade.</p> * * <strong>example:</strong> * <p>test</p> */ public Builder upgradeDescContent(String upgradeDescContent) { this.upgradeDescContent = upgradeDescContent; return this; } /** * <p>The disk capacity after the upgrade.</p> * * <strong>example:</strong> * <p>1024</p> */ public Builder upgradeDiskSize(Integer upgradeDiskSize) { this.upgradeDiskSize = upgradeDiskSize; return this; } /** * <p>The maximum number of concurrent connections after the upgrade.</p> * * <strong>example:</strong> * <p>70</p> */ public Builder upgradeMaxConnections(Integer upgradeMaxConnections) { this.upgradeMaxConnections = upgradeMaxConnections; return this; } /** * <p>The maximum I/O throughput after the upgrade. Unit: Mbit/s.</p> * * <strong>example:</strong> * <p>200</p> */ public Builder upgradeMaxIombps(Integer upgradeMaxIombps) { this.upgradeMaxIombps = upgradeMaxIombps; return this; } /** * <p>The maximum IOPS after the upgrade.</p> * * <strong>example:</strong> * <p>70</p> */ public Builder upgradeMaxIops(Integer upgradeMaxIops) { this.upgradeMaxIops = upgradeMaxIops; return this; } /** * <p>The memory size after the upgrade.</p> * * <strong>example:</strong> * <p>1024</p> */ public Builder upgradeMemory(Long upgradeMemory) { this.upgradeMemory = upgradeMemory; return this; } /** * <p>The reference price of the upgrade.</p> * * <strong>example:</strong> * <p>23333.1</p> */ public Builder upgradeReferencePrice(String upgradeReferencePrice) { this.upgradeReferencePrice = upgradeReferencePrice; return this; } /** * <p>The storage type after the upgrade.</p> * * <strong>example:</strong> * <p>cloud_essd</p> */ public Builder upgradeStorageType(String upgradeStorageType) { this.upgradeStorageType = upgradeStorageType; 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/DescribeMaskingRulesRequest.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 DescribeMaskingRulesRequest} extends {@link RequestModel} * * <p>DescribeMaskingRulesRequest</p> */ public class DescribeMaskingRulesRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DBInstanceName") @com.aliyun.core.annotation.Validation(required = true) private String DBInstanceName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DBName") private String DBName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private String 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; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RuleName") private String ruleName; private DescribeMaskingRulesRequest(Builder builder) { super(builder); this.DBInstanceName = builder.DBInstanceName; this.DBName = builder.DBName; this.ownerId = builder.ownerId; this.regionId = builder.regionId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.ruleName = builder.ruleName; } public static Builder builder() { return new Builder(); } public static DescribeMaskingRulesRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return DBInstanceName */ public String getDBInstanceName() { return this.DBInstanceName; } /** * @return DBName */ public String getDBName() { return this.DBName; } /** * @return ownerId */ public String 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; } /** * @return ruleName */ public String getRuleName() { return this.ruleName; } public static final class Builder extends Request.Builder<DescribeMaskingRulesRequest, Builder> { private String DBInstanceName; private String DBName; private String ownerId; private String regionId; private String resourceOwnerAccount; private Long resourceOwnerId; private String ruleName; private Builder() { super(); } private Builder(DescribeMaskingRulesRequest request) { super(request); this.DBInstanceName = request.DBInstanceName; this.DBName = request.DBName; this.ownerId = request.ownerId; this.regionId = request.regionId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.ruleName = request.ruleName; } /** * <p>This parameter is required.</p> */ public Builder DBInstanceName(String DBInstanceName) { this.putQueryParameter("DBInstanceName", DBInstanceName); this.DBInstanceName = DBInstanceName; return this; } /** * DBName. */ public Builder DBName(String DBName) { this.putQueryParameter("DBName", DBName); this.DBName = DBName; return this; } /** * OwnerId. */ public Builder ownerId(String ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * RegionId. */ 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; } /** * RuleName. */ public Builder ruleName(String ruleName) { this.putQueryParameter("RuleName", ruleName); this.ruleName = ruleName; return this; } @Override public DescribeMaskingRulesRequest build() { return new DescribeMaskingRulesRequest(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/DescribeMaskingRulesResponse.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 DescribeMaskingRulesResponse} extends {@link TeaModel} * * <p>DescribeMaskingRulesResponse</p> */ public class DescribeMaskingRulesResponse 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 DescribeMaskingRulesResponseBody body; private DescribeMaskingRulesResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeMaskingRulesResponse 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 DescribeMaskingRulesResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeMaskingRulesResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeMaskingRulesResponseBody body); @Override DescribeMaskingRulesResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeMaskingRulesResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeMaskingRulesResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeMaskingRulesResponse 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(DescribeMaskingRulesResponseBody body) { this.body = body; return this; } @Override public DescribeMaskingRulesResponse build() { return new DescribeMaskingRulesResponse(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/DescribeMaskingRulesResponseBody.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 DescribeMaskingRulesResponseBody} extends {@link TeaModel} * * <p>DescribeMaskingRulesResponseBody</p> */ public class DescribeMaskingRulesResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Data") private Data data; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeMaskingRulesResponseBody(Builder builder) { this.data = builder.data; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeMaskingRulesResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return data */ public Data getData() { return this.data; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private Data data; private String requestId; private Builder() { } private Builder(DescribeMaskingRulesResponseBody model) { this.data = model.data; this.requestId = model.requestId; } /** * Data. */ public Builder data(Data data) { this.data = data; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeMaskingRulesResponseBody build() { return new DescribeMaskingRulesResponseBody(this); } } /** * * {@link DescribeMaskingRulesResponseBody} extends {@link TeaModel} * * <p>DescribeMaskingRulesResponseBody</p> */ public static class RuleConfig extends TeaModel { @com.aliyun.core.annotation.NameInMap("Columns") private java.util.List<String> columns; @com.aliyun.core.annotation.NameInMap("Databases") private java.util.List<String> databases; @com.aliyun.core.annotation.NameInMap("Tables") private java.util.List<String> tables; private RuleConfig(Builder builder) { this.columns = builder.columns; this.databases = builder.databases; this.tables = builder.tables; } public static Builder builder() { return new Builder(); } public static RuleConfig create() { return builder().build(); } /** * @return columns */ public java.util.List<String> getColumns() { return this.columns; } /** * @return databases */ public java.util.List<String> getDatabases() { return this.databases; } /** * @return tables */ public java.util.List<String> getTables() { return this.tables; } public static final class Builder { private java.util.List<String> columns; private java.util.List<String> databases; private java.util.List<String> tables; private Builder() { } private Builder(RuleConfig model) { this.columns = model.columns; this.databases = model.databases; this.tables = model.tables; } /** * Columns. */ public Builder columns(java.util.List<String> columns) { this.columns = columns; return this; } /** * Databases. */ public Builder databases(java.util.List<String> databases) { this.databases = databases; return this; } /** * Tables. */ public Builder tables(java.util.List<String> tables) { this.tables = tables; return this; } public RuleConfig build() { return new RuleConfig(this); } } } /** * * {@link DescribeMaskingRulesResponseBody} extends {@link TeaModel} * * <p>DescribeMaskingRulesResponseBody</p> */ public static class Rules extends TeaModel { @com.aliyun.core.annotation.NameInMap("DefaultAlgo") private String defaultAlgo; @com.aliyun.core.annotation.NameInMap("Enabled") private String enabled; @com.aliyun.core.annotation.NameInMap("MaskingAlgo") private String maskingAlgo; @com.aliyun.core.annotation.NameInMap("RuleConfig") private RuleConfig ruleConfig; @com.aliyun.core.annotation.NameInMap("RuleName") private String ruleName; private Rules(Builder builder) { this.defaultAlgo = builder.defaultAlgo; this.enabled = builder.enabled; this.maskingAlgo = builder.maskingAlgo; this.ruleConfig = builder.ruleConfig; this.ruleName = builder.ruleName; } public static Builder builder() { return new Builder(); } public static Rules create() { return builder().build(); } /** * @return defaultAlgo */ public String getDefaultAlgo() { return this.defaultAlgo; } /** * @return enabled */ public String getEnabled() { return this.enabled; } /** * @return maskingAlgo */ public String getMaskingAlgo() { return this.maskingAlgo; } /** * @return ruleConfig */ public RuleConfig getRuleConfig() { return this.ruleConfig; } /** * @return ruleName */ public String getRuleName() { return this.ruleName; } public static final class Builder { private String defaultAlgo; private String enabled; private String maskingAlgo; private RuleConfig ruleConfig; private String ruleName; private Builder() { } private Builder(Rules model) { this.defaultAlgo = model.defaultAlgo; this.enabled = model.enabled; this.maskingAlgo = model.maskingAlgo; this.ruleConfig = model.ruleConfig; this.ruleName = model.ruleName; } /** * DefaultAlgo. */ public Builder defaultAlgo(String defaultAlgo) { this.defaultAlgo = defaultAlgo; return this; } /** * Enabled. */ public Builder enabled(String enabled) { this.enabled = enabled; return this; } /** * MaskingAlgo. */ public Builder maskingAlgo(String maskingAlgo) { this.maskingAlgo = maskingAlgo; return this; } /** * RuleConfig. */ public Builder ruleConfig(RuleConfig ruleConfig) { this.ruleConfig = ruleConfig; return this; } /** * RuleName. */ public Builder ruleName(String ruleName) { this.ruleName = ruleName; return this; } public Rules build() { return new Rules(this); } } } /** * * {@link DescribeMaskingRulesResponseBody} extends {@link TeaModel} * * <p>DescribeMaskingRulesResponseBody</p> */ public static class Data extends TeaModel { @com.aliyun.core.annotation.NameInMap("Rules") private java.util.List<Rules> rules; private Data(Builder builder) { this.rules = builder.rules; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return rules */ public java.util.List<Rules> getRules() { return this.rules; } public static final class Builder { private java.util.List<Rules> rules; private Builder() { } private Builder(Data model) { this.rules = model.rules; } /** * Rules. */ public Builder rules(java.util.List<Rules> rules) { this.rules = rules; return this; } public Data build() { return new Data(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/DescribeMetaListRequest.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 DescribeMetaListRequest} extends {@link RequestModel} * * <p>DescribeMetaListRequest</p> */ public class DescribeMetaListRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("BackupSetID") private Long backupSetID; @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("GetDbName") private String getDbName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("OwnerId") private Long ownerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageIndex") private Integer pageIndex; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Pattern") private String pattern; @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("RestoreTime") private String restoreTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RestoreType") private String restoreType; private DescribeMetaListRequest(Builder builder) { super(builder); this.backupSetID = builder.backupSetID; this.clientToken = builder.clientToken; this.DBInstanceId = builder.DBInstanceId; this.getDbName = builder.getDbName; this.ownerId = builder.ownerId; this.pageIndex = builder.pageIndex; this.pageSize = builder.pageSize; this.pattern = builder.pattern; this.resourceGroupId = builder.resourceGroupId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.restoreTime = builder.restoreTime; this.restoreType = builder.restoreType; } public static Builder builder() { return new Builder(); } public static DescribeMetaListRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return backupSetID */ public Long getBackupSetID() { return this.backupSetID; } /** * @return clientToken */ public String getClientToken() { return this.clientToken; } /** * @return DBInstanceId */ public String getDBInstanceId() { return this.DBInstanceId; } /** * @return getDbName */ public String getGetDbName() { return this.getDbName; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return pageIndex */ public Integer getPageIndex() { return this.pageIndex; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return pattern */ public String getPattern() { return this.pattern; } /** * @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 restoreTime */ public String getRestoreTime() { return this.restoreTime; } /** * @return restoreType */ public String getRestoreType() { return this.restoreType; } public static final class Builder extends Request.Builder<DescribeMetaListRequest, Builder> { private Long backupSetID; private String clientToken; private String DBInstanceId; private String getDbName; private Long ownerId; private Integer pageIndex; private Integer pageSize; private String pattern; private String resourceGroupId; private String resourceOwnerAccount; private Long resourceOwnerId; private String restoreTime; private String restoreType; private Builder() { super(); } private Builder(DescribeMetaListRequest request) { super(request); this.backupSetID = request.backupSetID; this.clientToken = request.clientToken; this.DBInstanceId = request.DBInstanceId; this.getDbName = request.getDbName; this.ownerId = request.ownerId; this.pageIndex = request.pageIndex; this.pageSize = request.pageSize; this.pattern = request.pattern; this.resourceGroupId = request.resourceGroupId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.restoreTime = request.restoreTime; this.restoreType = request.restoreType; } /** * <p>The ID of the backup set from which you want to restore data. You can call the DescribeBackups operation to query the IDs of data backup files.</p> * <blockquote> * <p> This parameter is required when you set the <strong>RestoreType</strong> parameter to <strong>BackupSetID</strong>.</p> * </blockquote> * * <strong>example:</strong> * <p>14358</p> */ public Builder backupSetID(Long backupSetID) { this.putQueryParameter("BackupSetID", backupSetID); this.backupSetID = backupSetID; 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 generated 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>ETnLKlblzczshOTUbOCzxxxxxxxxxx</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; } /** * <p>The name of the database to query. The system implements exact match based on the value of this parameter and returns the name of the matched database and the names of all tables contained in the database.</p> * <blockquote> * <p>If you leave this parameter empty, the system returns all databases that are created on the instance.</p> * </blockquote> * * <strong>example:</strong> * <p>testdb1</p> */ public Builder getDbName(String getDbName) { this.putQueryParameter("GetDbName", getDbName); this.getDbName = getDbName; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * <p>The number of the page to return. Valid values: any non-zero positive integer.**** Default value: <strong>1</strong>.</p> * <blockquote> * <p>This parameter only takes effect when you specify the <strong>PageSize</strong> parameter.</p> * </blockquote> * * <strong>example:</strong> * <p>1</p> */ public Builder pageIndex(Integer pageIndex) { this.putQueryParameter("PageIndex", pageIndex); this.pageIndex = pageIndex; return this; } /** * <p>The number of entries to return on each page. Default value: <strong>1</strong>.</p> * <blockquote> * <p>This parameter only takes effect when you specify the <strong>PageIndex</strong> parameter.</p> * </blockquote> * * <strong>example:</strong> * <p>1</p> */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The name of the database to query. The system implements fuzzy match based on the value of this parameter and returns only the name of the matched database.</p> * <blockquote> * <p>For example, if you set the value to <code>test</code>, the system returns <code>testdb1</code> and <code>testdb2</code>. Then, you can specify the <strong>GetDbName</strong> parameter to query tables in the required database.</p> * </blockquote> * * <strong>example:</strong> * <p>test</p> */ public Builder pattern(String pattern) { this.putQueryParameter("Pattern", pattern); this.pattern = pattern; return this; } /** * <p>The resource group ID.</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 point in time to which you want to restore data. The specified point in time must be earlier than the current time. Specify the time in the ISO 8601 standard in the <em>yyyy-MM-dd</em>T<em>HH:mm:ss</em>Z format. The time must be in UTC. You can call the DescribeBackups operation to query the restorable time range.</p> * <blockquote> * <p> This parameter must be specified when the <strong>RestoreType</strong> parameter is set to <strong>RestoreTime</strong>.</p> * </blockquote> * * <strong>example:</strong> * <p>2019-05-30T03:29:10Z</p> */ public Builder restoreTime(String restoreTime) { this.putQueryParameter("RestoreTime", restoreTime); this.restoreTime = restoreTime; return this; } /** * <p>The restoration method that you want to use. Valid values:</p> * <ul> * <li><strong>BackupSetID</strong>: Data is restored from the backup set. If you use this value, you must also specify the <strong>BackupSetID</strong> parameter.</li> * <li><strong>RestoreTime</strong>: Data is restored to a specific point in time. If you use this value, you must also specify the <strong>RestoreTime</strong> parameter.</li> * </ul> * <p>Default value: <strong>BackupSetID</strong>.</p> * * <strong>example:</strong> * <p>BackupSetID</p> */ public Builder restoreType(String restoreType) { this.putQueryParameter("RestoreType", restoreType); this.restoreType = restoreType; return this; } @Override public DescribeMetaListRequest build() { return new DescribeMetaListRequest(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/DescribeMetaListResponse.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 DescribeMetaListResponse} extends {@link TeaModel} * * <p>DescribeMetaListResponse</p> */ public class DescribeMetaListResponse 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 DescribeMetaListResponseBody body; private DescribeMetaListResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeMetaListResponse 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 DescribeMetaListResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeMetaListResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeMetaListResponseBody body); @Override DescribeMetaListResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeMetaListResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeMetaListResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeMetaListResponse 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(DescribeMetaListResponseBody body) { this.body = body; return this; } @Override public DescribeMetaListResponse build() { return new DescribeMetaListResponse(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/DescribeMetaListResponseBody.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 DescribeMetaListResponseBody} extends {@link TeaModel} * * <p>DescribeMetaListResponseBody</p> */ public class DescribeMetaListResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("DBInstanceName") private String DBInstanceName; @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("TotalPageCount") private Integer totalPageCount; @com.aliyun.core.annotation.NameInMap("TotalRecordCount") private Integer totalRecordCount; private DescribeMetaListResponseBody(Builder builder) { this.DBInstanceName = builder.DBInstanceName; this.items = builder.items; this.pageNumber = builder.pageNumber; this.pageRecordCount = builder.pageRecordCount; this.requestId = builder.requestId; this.totalPageCount = builder.totalPageCount; this.totalRecordCount = builder.totalRecordCount; } public static Builder builder() { return new Builder(); } public static DescribeMetaListResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return DBInstanceName */ public String getDBInstanceName() { return this.DBInstanceName; } /** * @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 totalPageCount */ public Integer getTotalPageCount() { return this.totalPageCount; } /** * @return totalRecordCount */ public Integer getTotalRecordCount() { return this.totalRecordCount; } public static final class Builder { private String DBInstanceName; private Items items; private Integer pageNumber; private Integer pageRecordCount; private String requestId; private Integer totalPageCount; private Integer totalRecordCount; private Builder() { } private Builder(DescribeMetaListResponseBody model) { this.DBInstanceName = model.DBInstanceName; this.items = model.items; this.pageNumber = model.pageNumber; this.pageRecordCount = model.pageRecordCount; this.requestId = model.requestId; this.totalPageCount = model.totalPageCount; this.totalRecordCount = model.totalRecordCount; } /** * <p>The instance name.</p> * * <strong>example:</strong> * <p>rm-uf6wjk5xxxxxxx</p> */ public Builder DBInstanceName(String DBInstanceName) { this.DBInstanceName = DBInstanceName; return this; } /** * <p>The information about the databases and tables whose data is included in the backup set.</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>1</p> */ public Builder pageRecordCount(Integer pageRecordCount) { this.pageRecordCount = pageRecordCount; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>60F9A12A-16B8-4728-B099-4CA38D32C31C</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The total number of pages returned.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder totalPageCount(Integer totalPageCount) { this.totalPageCount = totalPageCount; return this; } /** * <p>The total number of returned entries.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder totalRecordCount(Integer totalRecordCount) { this.totalRecordCount = totalRecordCount; return this; } public DescribeMetaListResponseBody build() { return new DescribeMetaListResponseBody(this); } } /** * * {@link DescribeMetaListResponseBody} extends {@link TeaModel} * * <p>DescribeMetaListResponseBody</p> */ public static class Meta extends TeaModel { @com.aliyun.core.annotation.NameInMap("Database") private String database; @com.aliyun.core.annotation.NameInMap("Size") private String size; @com.aliyun.core.annotation.NameInMap("Tables") private String tables; private Meta(Builder builder) { this.database = builder.database; this.size = builder.size; this.tables = builder.tables; } public static Builder builder() { return new Builder(); } public static Meta create() { return builder().build(); } /** * @return database */ public String getDatabase() { return this.database; } /** * @return size */ public String getSize() { return this.size; } /** * @return tables */ public String getTables() { return this.tables; } public static final class Builder { private String database; private String size; private String tables; private Builder() { } private Builder(Meta model) { this.database = model.database; this.size = model.size; this.tables = model.tables; } /** * <p>The database name.</p> * * <strong>example:</strong> * <p>testdb1</p> */ public Builder database(String database) { this.database = database; return this; } /** * <p>The table size. Unit: KB.</p> * * <strong>example:</strong> * <p>64</p> */ public Builder size(String size) { this.size = size; return this; } /** * <p>The table name.</p> * * <strong>example:</strong> * <p>test1</p> */ public Builder tables(String tables) { this.tables = tables; return this; } public Meta build() { return new Meta(this); } } } /** * * {@link DescribeMetaListResponseBody} extends {@link TeaModel} * * <p>DescribeMetaListResponseBody</p> */ public static class Items extends TeaModel { @com.aliyun.core.annotation.NameInMap("Meta") private java.util.List<Meta> meta; private Items(Builder builder) { this.meta = builder.meta; } public static Builder builder() { return new Builder(); } public static Items create() { return builder().build(); } /** * @return meta */ public java.util.List<Meta> getMeta() { return this.meta; } public static final class Builder { private java.util.List<Meta> meta; private Builder() { } private Builder(Items model) { this.meta = model.meta; } /** * Meta. */ public Builder meta(java.util.List<Meta> meta) { this.meta = meta; 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/DescribeMigrateTaskByIdRequest.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 DescribeMigrateTaskByIdRequest} extends {@link RequestModel} * * <p>DescribeMigrateTaskByIdRequest</p> */ public class DescribeMigrateTaskByIdRequest 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 DescribeMigrateTaskByIdRequest(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 DescribeMigrateTaskByIdRequest 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<DescribeMigrateTaskByIdRequest, Builder> { private String DBInstanceId; private String migrateTaskId; private Long ownerId; private String resourceGroupId; private String resourceOwnerAccount; private Long resourceOwnerId; private Builder() { super(); } private Builder(DescribeMigrateTaskByIdRequest 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-bp11e1tzgxxxx4ox</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>235943</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 DescribeMigrateTaskByIdRequest build() { return new DescribeMigrateTaskByIdRequest(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/DescribeMigrateTaskByIdResponse.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 DescribeMigrateTaskByIdResponse} extends {@link TeaModel} * * <p>DescribeMigrateTaskByIdResponse</p> */ public class DescribeMigrateTaskByIdResponse 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 DescribeMigrateTaskByIdResponseBody body; private DescribeMigrateTaskByIdResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeMigrateTaskByIdResponse 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 DescribeMigrateTaskByIdResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeMigrateTaskByIdResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeMigrateTaskByIdResponseBody body); @Override DescribeMigrateTaskByIdResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeMigrateTaskByIdResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeMigrateTaskByIdResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeMigrateTaskByIdResponse 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(DescribeMigrateTaskByIdResponseBody body) { this.body = body; return this; } @Override public DescribeMigrateTaskByIdResponse build() { return new DescribeMigrateTaskByIdResponse(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/DescribeMigrateTaskByIdResponseBody.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 DescribeMigrateTaskByIdResponseBody} extends {@link TeaModel} * * <p>DescribeMigrateTaskByIdResponseBody</p> */ public class DescribeMigrateTaskByIdResponseBody 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("DBInstanceName") private String DBInstanceName; @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("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("Status") private String status; private DescribeMigrateTaskByIdResponseBody(Builder builder) { this.backupMode = builder.backupMode; this.createTime = builder.createTime; this.DBInstanceName = builder.DBInstanceName; this.DBName = builder.DBName; this.description = builder.description; this.endTime = builder.endTime; this.isDBReplaced = builder.isDBReplaced; this.migrateTaskId = builder.migrateTaskId; this.requestId = builder.requestId; this.status = builder.status; } public static Builder builder() { return new Builder(); } public static DescribeMigrateTaskByIdResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return backupMode */ public String getBackupMode() { return this.backupMode; } /** * @return createTime */ public String getCreateTime() { return this.createTime; } /** * @return DBInstanceName */ public String getDBInstanceName() { return this.DBInstanceName; } /** * @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 requestId */ public String getRequestId() { return this.requestId; } /** * @return status */ public String getStatus() { return this.status; } public static final class Builder { private String backupMode; private String createTime; private String DBInstanceName; private String DBName; private String description; private String endTime; private String isDBReplaced; private String migrateTaskId; private String requestId; private String status; private Builder() { } private Builder(DescribeMigrateTaskByIdResponseBody model) { this.backupMode = model.backupMode; this.createTime = model.createTime; this.DBInstanceName = model.DBInstanceName; this.DBName = model.DBName; this.description = model.description; this.endTime = model.endTime; this.isDBReplaced = model.isDBReplaced; this.migrateTaskId = model.migrateTaskId; this.requestId = model.requestId; this.status = model.status; } /** * <p>The type of the migration task. 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>2020-05-30T12:11:04Z</p> */ public Builder createTime(String createTime) { this.createTime = createTime; return this; } /** * <p>The instance ID.</p> * * <strong>example:</strong> * <p>rm-uf6wjk5xxxxxxxxxx</p> */ public Builder DBInstanceName(String DBInstanceName) { this.DBInstanceName = DBInstanceName; return this; } /** * <p>The name of the database.</p> * * <strong>example:</strong> * <p>mytestdb</p> */ public Builder DBName(String DBName) { this.DBName = DBName; return this; } /** * <p>The description of the migration task.</p> * * <strong>example:</strong> * <p>Success to DBCC checkdb asynchronously</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>2021-05-30T15:15:05Z</p> */ public Builder endTime(String endTime) { this.endTime = endTime; return this; } /** * <p>Indicates whether the imported data overwrites the existing data. Valid values:</p> * <ul> * <li><strong>False</strong>: The imported data does not overwrite the existing data.</li> * <li><strong>True</strong>: The imported data overwrites the existing data.</li> * </ul> * * <strong>example:</strong> * <p>False</p> */ public Builder isDBReplaced(String isDBReplaced) { this.isDBReplaced = isDBReplaced; return this; } /** * <p>The ID of the migration task.</p> * * <strong>example:</strong> * <p>235943</p> */ public Builder migrateTaskId(String migrateTaskId) { this.migrateTaskId = migrateTaskId; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>6ED3635A-01F9-47BD-B9C8-CB3FD70A336E</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The status of the migration task. Valid values:</p> * <ul> * <li><strong>NoStart</strong>: The task has 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 DescribeMigrateTaskByIdResponseBody build() { return new DescribeMigrateTaskByIdResponseBody(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/DescribeMigrateTasksRequest.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 DescribeMigrateTasksRequest} extends {@link RequestModel} * * <p>DescribeMigrateTasksRequest</p> */ public class DescribeMigrateTasksRequest 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("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("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") @com.aliyun.core.annotation.Validation(required = true) private String startTime; private DescribeMigrateTasksRequest(Builder builder) { super(builder); this.DBInstanceId = builder.DBInstanceId; this.endTime = builder.endTime; this.ownerId = builder.ownerId; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; 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 DescribeMigrateTasksRequest 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 ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @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<DescribeMigrateTasksRequest, Builder> { private String DBInstanceId; private String endTime; private Long ownerId; private Integer pageNumber; private Integer pageSize; private String resourceGroupId; private String resourceOwnerAccount; private Long resourceOwnerId; private String startTime; private Builder() { super(); } private Builder(DescribeMigrateTasksRequest request) { super(request); this.DBInstanceId = request.DBInstanceId; this.endTime = request.endTime; this.ownerId = request.ownerId; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.resourceGroupId = request.resourceGroupId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.startTime = request.startTime; } /** * <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 end of the time range to query. The end time must be later than the start time. 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>2017-10-25T01:00Z</p> */ public Builder endTime(String endTime) { this.putQueryParameter("EndTime", endTime); this.endTime = endTime; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * <p>The page number. Valid values: any non-zero positive integer.</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 to return on each 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(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * <p>The resource group ID.</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 <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>2017-10-20T01:00Z</p> */ public Builder startTime(String startTime) { this.putQueryParameter("StartTime", startTime); this.startTime = startTime; return this; } @Override public DescribeMigrateTasksRequest build() { return new DescribeMigrateTasksRequest(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/DescribeMigrateTasksResponse.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 DescribeMigrateTasksResponse} extends {@link TeaModel} * * <p>DescribeMigrateTasksResponse</p> */ public class DescribeMigrateTasksResponse 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 DescribeMigrateTasksResponseBody body; private DescribeMigrateTasksResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DescribeMigrateTasksResponse 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 DescribeMigrateTasksResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DescribeMigrateTasksResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DescribeMigrateTasksResponseBody body); @Override DescribeMigrateTasksResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DescribeMigrateTasksResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DescribeMigrateTasksResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DescribeMigrateTasksResponse 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(DescribeMigrateTasksResponseBody body) { this.body = body; return this; } @Override public DescribeMigrateTasksResponse build() { return new DescribeMigrateTasksResponse(this); } } }