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/UpgradeDBInstanceKernelVersionResponseBody.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 UpgradeDBInstanceKernelVersionResponseBody} extends {@link TeaModel} * * <p>UpgradeDBInstanceKernelVersionResponseBody</p> */ public class UpgradeDBInstanceKernelVersionResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("DBInstanceName") private String DBInstanceName; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TargetMinorVersion") private String targetMinorVersion; @com.aliyun.core.annotation.NameInMap("TaskId") private String taskId; private UpgradeDBInstanceKernelVersionResponseBody(Builder builder) { this.DBInstanceName = builder.DBInstanceName; this.requestId = builder.requestId; this.targetMinorVersion = builder.targetMinorVersion; this.taskId = builder.taskId; } public static Builder builder() { return new Builder(); } public static UpgradeDBInstanceKernelVersionResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return DBInstanceName */ public String getDBInstanceName() { return this.DBInstanceName; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return targetMinorVersion */ public String getTargetMinorVersion() { return this.targetMinorVersion; } /** * @return taskId */ public String getTaskId() { return this.taskId; } public static final class Builder { private String DBInstanceName; private String requestId; private String targetMinorVersion; private String taskId; private Builder() { } private Builder(UpgradeDBInstanceKernelVersionResponseBody model) { this.DBInstanceName = model.DBInstanceName; this.requestId = model.requestId; this.targetMinorVersion = model.targetMinorVersion; this.taskId = model.taskId; } /** * <p>The ID of the instance.</p> * * <strong>example:</strong> * <p>rm-bpxxxxx</p> */ public Builder DBInstanceName(String DBInstanceName) { this.DBInstanceName = DBInstanceName; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>DA2ECBA0-4745-4491-9166-799FF8984AC9</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The new minor engine version of the instance.</p> * * <strong>example:</strong> * <p>xcluster80_20210305</p> */ public Builder targetMinorVersion(String targetMinorVersion) { this.targetMinorVersion = targetMinorVersion; return this; } /** * <p>The ID of the task.</p> * * <strong>example:</strong> * <p>226917****</p> */ public Builder taskId(String taskId) { this.taskId = taskId; return this; } public UpgradeDBInstanceKernelVersionResponseBody build() { return new UpgradeDBInstanceKernelVersionResponseBody(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/UpgradeDBInstanceMajorVersionPrecheckRequest.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 UpgradeDBInstanceMajorVersionPrecheckRequest} extends {@link RequestModel} * * <p>UpgradeDBInstanceMajorVersionPrecheckRequest</p> */ public class UpgradeDBInstanceMajorVersionPrecheckRequest 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("ResourceOwnerId") private Long resourceOwnerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TargetMajorVersion") @com.aliyun.core.annotation.Validation(required = true) private String targetMajorVersion; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("UpgradeMode") private String upgradeMode; private UpgradeDBInstanceMajorVersionPrecheckRequest(Builder builder) { super(builder); this.DBInstanceId = builder.DBInstanceId; this.resourceOwnerId = builder.resourceOwnerId; this.targetMajorVersion = builder.targetMajorVersion; this.upgradeMode = builder.upgradeMode; } public static Builder builder() { return new Builder(); } public static UpgradeDBInstanceMajorVersionPrecheckRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return DBInstanceId */ public String getDBInstanceId() { return this.DBInstanceId; } /** * @return resourceOwnerId */ public Long getResourceOwnerId() { return this.resourceOwnerId; } /** * @return targetMajorVersion */ public String getTargetMajorVersion() { return this.targetMajorVersion; } /** * @return upgradeMode */ public String getUpgradeMode() { return this.upgradeMode; } public static final class Builder extends Request.Builder<UpgradeDBInstanceMajorVersionPrecheckRequest, Builder> { private String DBInstanceId; private Long resourceOwnerId; private String targetMajorVersion; private String upgradeMode; private Builder() { super(); } private Builder(UpgradeDBInstanceMajorVersionPrecheckRequest request) { super(request); this.DBInstanceId = request.DBInstanceId; this.resourceOwnerId = request.resourceOwnerId; this.targetMajorVersion = request.targetMajorVersion; this.upgradeMode = request.upgradeMode; } /** * <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>pgm-bp1c808s731l****</p> */ public Builder DBInstanceId(String DBInstanceId) { this.putQueryParameter("DBInstanceId", DBInstanceId); this.DBInstanceId = DBInstanceId; return this; } /** * ResourceOwnerId. */ public Builder resourceOwnerId(Long resourceOwnerId) { this.putQueryParameter("ResourceOwnerId", resourceOwnerId); this.resourceOwnerId = resourceOwnerId; return this; } /** * <p>The new major engine version of the instance. The new major engine version must be later than the original major engine version.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>12.0</p> */ public Builder targetMajorVersion(String targetMajorVersion) { this.putQueryParameter("TargetMajorVersion", targetMajorVersion); this.targetMajorVersion = targetMajorVersion; return this; } /** * UpgradeMode. */ public Builder upgradeMode(String upgradeMode) { this.putQueryParameter("UpgradeMode", upgradeMode); this.upgradeMode = upgradeMode; return this; } @Override public UpgradeDBInstanceMajorVersionPrecheckRequest build() { return new UpgradeDBInstanceMajorVersionPrecheckRequest(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/UpgradeDBInstanceMajorVersionPrecheckResponse.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 UpgradeDBInstanceMajorVersionPrecheckResponse} extends {@link TeaModel} * * <p>UpgradeDBInstanceMajorVersionPrecheckResponse</p> */ public class UpgradeDBInstanceMajorVersionPrecheckResponse 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 UpgradeDBInstanceMajorVersionPrecheckResponseBody body; private UpgradeDBInstanceMajorVersionPrecheckResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static UpgradeDBInstanceMajorVersionPrecheckResponse 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 UpgradeDBInstanceMajorVersionPrecheckResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<UpgradeDBInstanceMajorVersionPrecheckResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(UpgradeDBInstanceMajorVersionPrecheckResponseBody body); @Override UpgradeDBInstanceMajorVersionPrecheckResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<UpgradeDBInstanceMajorVersionPrecheckResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private UpgradeDBInstanceMajorVersionPrecheckResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(UpgradeDBInstanceMajorVersionPrecheckResponse 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(UpgradeDBInstanceMajorVersionPrecheckResponseBody body) { this.body = body; return this; } @Override public UpgradeDBInstanceMajorVersionPrecheckResponse build() { return new UpgradeDBInstanceMajorVersionPrecheckResponse(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/UpgradeDBInstanceMajorVersionPrecheckResponseBody.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 UpgradeDBInstanceMajorVersionPrecheckResponseBody} extends {@link TeaModel} * * <p>UpgradeDBInstanceMajorVersionPrecheckResponseBody</p> */ public class UpgradeDBInstanceMajorVersionPrecheckResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("DBInstanceName") private String DBInstanceName; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TargetMajorVersion") private String targetMajorVersion; @com.aliyun.core.annotation.NameInMap("TaskId") private String taskId; private UpgradeDBInstanceMajorVersionPrecheckResponseBody(Builder builder) { this.DBInstanceName = builder.DBInstanceName; this.requestId = builder.requestId; this.targetMajorVersion = builder.targetMajorVersion; this.taskId = builder.taskId; } public static Builder builder() { return new Builder(); } public static UpgradeDBInstanceMajorVersionPrecheckResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return DBInstanceName */ public String getDBInstanceName() { return this.DBInstanceName; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return targetMajorVersion */ public String getTargetMajorVersion() { return this.targetMajorVersion; } /** * @return taskId */ public String getTaskId() { return this.taskId; } public static final class Builder { private String DBInstanceName; private String requestId; private String targetMajorVersion; private String taskId; private Builder() { } private Builder(UpgradeDBInstanceMajorVersionPrecheckResponseBody model) { this.DBInstanceName = model.DBInstanceName; this.requestId = model.requestId; this.targetMajorVersion = model.targetMajorVersion; this.taskId = model.taskId; } /** * <p>The instance name.</p> * * <strong>example:</strong> * <p>pgm-bp1c808s731l****</p> */ public Builder DBInstanceName(String DBInstanceName) { this.DBInstanceName = DBInstanceName; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>99C1FEEE-FB44-5342-8EBA-DC1E1A1557A4</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The new major engine version of the instance.</p> * * <strong>example:</strong> * <p>12.0</p> */ public Builder targetMajorVersion(String targetMajorVersion) { this.targetMajorVersion = targetMajorVersion; return this; } /** * <p>The task ID.</p> * * <strong>example:</strong> * <p>41698****</p> */ public Builder taskId(String taskId) { this.taskId = taskId; return this; } public UpgradeDBInstanceMajorVersionPrecheckResponseBody build() { return new UpgradeDBInstanceMajorVersionPrecheckResponseBody(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/UpgradeDBInstanceMajorVersionRequest.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 UpgradeDBInstanceMajorVersionRequest} extends {@link RequestModel} * * <p>UpgradeDBInstanceMajorVersionRequest</p> */ public class UpgradeDBInstanceMajorVersionRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("CollectStatMode") private String collectStatMode; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DBInstanceClass") private String DBInstanceClass; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DBInstanceId") private String DBInstanceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DBInstanceStorage") private Integer DBInstanceStorage; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DBInstanceStorageType") private String DBInstanceStorageType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceNetworkType") private String instanceNetworkType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PayType") @com.aliyun.core.annotation.Validation(required = true) private String payType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Period") private String period; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PrivateIpAddress") private String privateIpAddress; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceOwnerId") private Long resourceOwnerId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SwitchOver") private String switchOver; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SwitchTime") private String switchTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("SwitchTimeMode") private String switchTimeMode; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("TargetMajorVersion") private String targetMajorVersion; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("UpgradeMode") private String upgradeMode; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("UsedTime") private String usedTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("VPCId") private String VPCId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("VSwitchId") private String vSwitchId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ZoneId") private String zoneId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ZoneIdSlave1") private String zoneIdSlave1; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ZoneIdSlave2") private String zoneIdSlave2; private UpgradeDBInstanceMajorVersionRequest(Builder builder) { super(builder); this.collectStatMode = builder.collectStatMode; this.DBInstanceClass = builder.DBInstanceClass; this.DBInstanceId = builder.DBInstanceId; this.DBInstanceStorage = builder.DBInstanceStorage; this.DBInstanceStorageType = builder.DBInstanceStorageType; this.instanceNetworkType = builder.instanceNetworkType; this.payType = builder.payType; this.period = builder.period; this.privateIpAddress = builder.privateIpAddress; this.resourceOwnerId = builder.resourceOwnerId; this.switchOver = builder.switchOver; this.switchTime = builder.switchTime; this.switchTimeMode = builder.switchTimeMode; this.targetMajorVersion = builder.targetMajorVersion; this.upgradeMode = builder.upgradeMode; this.usedTime = builder.usedTime; this.VPCId = builder.VPCId; this.vSwitchId = builder.vSwitchId; this.zoneId = builder.zoneId; this.zoneIdSlave1 = builder.zoneIdSlave1; this.zoneIdSlave2 = builder.zoneIdSlave2; } public static Builder builder() { return new Builder(); } public static UpgradeDBInstanceMajorVersionRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return collectStatMode */ public String getCollectStatMode() { return this.collectStatMode; } /** * @return DBInstanceClass */ public String getDBInstanceClass() { return this.DBInstanceClass; } /** * @return DBInstanceId */ public String getDBInstanceId() { return this.DBInstanceId; } /** * @return DBInstanceStorage */ public Integer getDBInstanceStorage() { return this.DBInstanceStorage; } /** * @return DBInstanceStorageType */ public String getDBInstanceStorageType() { return this.DBInstanceStorageType; } /** * @return instanceNetworkType */ public String getInstanceNetworkType() { return this.instanceNetworkType; } /** * @return payType */ public String getPayType() { return this.payType; } /** * @return period */ public String getPeriod() { return this.period; } /** * @return privateIpAddress */ public String getPrivateIpAddress() { return this.privateIpAddress; } /** * @return resourceOwnerId */ public Long getResourceOwnerId() { return this.resourceOwnerId; } /** * @return switchOver */ public String getSwitchOver() { return this.switchOver; } /** * @return switchTime */ public String getSwitchTime() { return this.switchTime; } /** * @return switchTimeMode */ public String getSwitchTimeMode() { return this.switchTimeMode; } /** * @return targetMajorVersion */ public String getTargetMajorVersion() { return this.targetMajorVersion; } /** * @return upgradeMode */ public String getUpgradeMode() { return this.upgradeMode; } /** * @return usedTime */ public String getUsedTime() { return this.usedTime; } /** * @return VPCId */ public String getVPCId() { return this.VPCId; } /** * @return vSwitchId */ public String getVSwitchId() { return this.vSwitchId; } /** * @return zoneId */ public String getZoneId() { return this.zoneId; } /** * @return zoneIdSlave1 */ public String getZoneIdSlave1() { return this.zoneIdSlave1; } /** * @return zoneIdSlave2 */ public String getZoneIdSlave2() { return this.zoneIdSlave2; } public static final class Builder extends Request.Builder<UpgradeDBInstanceMajorVersionRequest, Builder> { private String collectStatMode; private String DBInstanceClass; private String DBInstanceId; private Integer DBInstanceStorage; private String DBInstanceStorageType; private String instanceNetworkType; private String payType; private String period; private String privateIpAddress; private Long resourceOwnerId; private String switchOver; private String switchTime; private String switchTimeMode; private String targetMajorVersion; private String upgradeMode; private String usedTime; private String VPCId; private String vSwitchId; private String zoneId; private String zoneIdSlave1; private String zoneIdSlave2; private Builder() { super(); } private Builder(UpgradeDBInstanceMajorVersionRequest request) { super(request); this.collectStatMode = request.collectStatMode; this.DBInstanceClass = request.DBInstanceClass; this.DBInstanceId = request.DBInstanceId; this.DBInstanceStorage = request.DBInstanceStorage; this.DBInstanceStorageType = request.DBInstanceStorageType; this.instanceNetworkType = request.instanceNetworkType; this.payType = request.payType; this.period = request.period; this.privateIpAddress = request.privateIpAddress; this.resourceOwnerId = request.resourceOwnerId; this.switchOver = request.switchOver; this.switchTime = request.switchTime; this.switchTimeMode = request.switchTimeMode; this.targetMajorVersion = request.targetMajorVersion; this.upgradeMode = request.upgradeMode; this.usedTime = request.usedTime; this.VPCId = request.VPCId; this.vSwitchId = request.vSwitchId; this.zoneId = request.zoneId; this.zoneIdSlave1 = request.zoneIdSlave1; this.zoneIdSlave2 = request.zoneIdSlave2; } /** * <p>Specify the point in time at which the system collects the statistics of the instance.</p> * <ul> * <li><strong>Before</strong>: The system collects the statistics of the instance before the switchover to ensure service stability. If the instance contains a large amount of data, the upgrade may require a long period of time.</li> * <li><strong>After</strong>: The system collects the statistics of the instance after the switchover to accelerate the upgrade. After the upgrade, if you access tables for which no statistics are generated, the query plans may be inaccurate, and your database service may be unavailable during peak hours.</li> * </ul> * <blockquote> * <p> If you set the SwitchOver parameter to false, the value Before specifies that the system collects the statistics of the instance before the instance starts to process read and write requests, and the value After specifies that the system collects the statistics of the instance after the instance starts to process read and write requests.</p> * </blockquote> * * <strong>example:</strong> * <p>After</p> */ public Builder collectStatMode(String collectStatMode) { this.putQueryParameter("CollectStatMode", collectStatMode); this.collectStatMode = collectStatMode; return this; } /** * <p>The new instance type of the instance. The new CPU and memory specifications of the instance must be higher than or equal to the original CPU and memory specifications. If you set the <strong>UpgradeMode</strong> parameter to <strong>inPlaceUpgrade</strong>, you <strong>do not need to configure</strong> this parameter.</p> * <p>For example, you can upgrade the instance type from <code>pg.n2.small.2c</code> to <code>pg.n2.medium.2c</code>. The pg.n2.small.2c instance type provides 1 CPU core and 2 GB of memory. The pg.n2.medium.2c instance type provides 2 CPU cores and 4 GB of memory.</p> * <blockquote> * <p> For more information about the instance types of ApsaraDB RDS for PostgreSQL instances, see <a href="https://help.aliyun.com/document_detail/276990.html">Instance types for primary ApsaraDB RDS for PostgreSQL instances</a>.</p> * </blockquote> * * <strong>example:</strong> * <p>pg.n2.medium.2c</p> */ public Builder DBInstanceClass(String DBInstanceClass) { this.putQueryParameter("DBInstanceClass", DBInstanceClass); this.DBInstanceClass = DBInstanceClass; return this; } /** * <p>The ID of the original instance.</p> * * <strong>example:</strong> * <p>pgm-bp1gm3yh0ht1****</p> */ public Builder DBInstanceId(String DBInstanceId) { this.putQueryParameter("DBInstanceId", DBInstanceId); this.DBInstanceId = DBInstanceId; return this; } /** * <p>The new storage capacity of the instance. Unit: GB If you set the <strong>UpgradeMode</strong> parameter to <strong>inPlaceUpgrade</strong>, you <strong>do not need to configure</strong> this parameter.</p> * <p>Valid values:</p> * <ul> * <li><strong>PL1 ESSD</strong>: 20 GB to 32,000 GB</li> * <li><strong>PL2 ESSD</strong>: 500 GB to 3,200 GB</li> * <li><strong>PL3 ESSD</strong>: 1,500 GB to 3,200 GB</li> * <li><strong>General ESSD</strong>: 40 GB to 2,000 GB</li> * </ul> * <blockquote> * <p> If the original instance uses local disks, you can reduce the storage capacity of the instance when you upgrade the major engine version of the instance. For more information about the minimum storage capacity, see <a href="https://help.aliyun.com/document_detail/203309.html">Upgrade the major engine version</a>.</p> * </blockquote> * * <strong>example:</strong> * <p>20</p> */ public Builder DBInstanceStorage(Integer DBInstanceStorage) { this.putQueryParameter("DBInstanceStorage", DBInstanceStorage); this.DBInstanceStorage = DBInstanceStorage; return this; } /** * <p>The storage type of the instance that runs the required major engine version.</p> * <p>Valid values:</p> * <ul> * <li><strong>cloud_ssd</strong>: standard SSD</li> * <li><strong>cloud_essd</strong>: performance level 1 (PL1) Enterprise SSD (ESSD)</li> * <li><strong>cloud_essd2</strong>: PL2 ESSD</li> * <li><strong>cloud_essd3</strong>: PL3 ESSD</li> * <li><strong>general_essd</strong>: general ESSD</li> * </ul> * <p>The major engine version upgrade feature is developed based on snapshots for cloud disks. You can select a storage type after the upgrade based on the following items:</p> * <ul> * <li>If the original instance uses standard SSDs, set this parameter to cloud_ssd.</li> * <li>If the original instance uses ESSDs, set this parameter to cloud_essd, cloud_essd2, cloud_essd3, or general_essd.</li> * <li>If the original instance uses local SSDs, set this parameter to cloud_essd, cloud_essd2, cloud_essd3, or general_essd.</li> * </ul> * * <strong>example:</strong> * <p>cloud_essd</p> */ public Builder DBInstanceStorageType(String DBInstanceStorageType) { this.putQueryParameter("DBInstanceStorageType", DBInstanceStorageType); this.DBInstanceStorageType = DBInstanceStorageType; return this; } /** * <p>The network type of the new instance. Set the value to VPC. The major engine version upgrade feature is supported only for instances that reside in VPCs.</p> * <p>If the original instance resides in the classic network, you must migrate the instance to a VPC before you call this operation. For more information about how to view or change the network type of an instance, see <a href="https://help.aliyun.com/document_detail/96761.html">Change the network type of an ApsaraDB RDS for PostgreSQL instance</a>.</p> * * <strong>example:</strong> * <p>VPC</p> */ public Builder instanceNetworkType(String instanceNetworkType) { this.putQueryParameter("InstanceNetworkType", instanceNetworkType); this.instanceNetworkType = instanceNetworkType; return this; } /** * <p>The billing method. Set the value to Postpaid.</p> * <blockquote> * <p> For more information about how to change the billing method of an instance after the upgrade, see <a href="https://help.aliyun.com/document_detail/96743.html">Change the billing method of an instance from pay-as-you-go to subscription</a>.</p> * </blockquote> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>Postpaid</p> */ public Builder payType(String payType) { this.putQueryParameter("PayType", payType); this.payType = payType; return this; } /** * <p>A reserved parameter. You do not need to specify this parameter.</p> * * <strong>example:</strong> * <p>Month</p> */ public Builder period(String period) { this.putQueryParameter("Period", period); this.period = period; return this; } /** * <p>The internal IP address of the new instance. You do not need to specify this parameter. The system automatically assigns an internal IP address based on the values of the VPCId and vSwitchId parameters.</p> * * <strong>example:</strong> * <p>172.16.XX.XX</p> */ public Builder privateIpAddress(String privateIpAddress) { this.putQueryParameter("PrivateIpAddress", privateIpAddress); this.privateIpAddress = privateIpAddress; return this; } /** * ResourceOwnerId. */ public Builder resourceOwnerId(Long resourceOwnerId) { this.putQueryParameter("ResourceOwnerId", resourceOwnerId); this.resourceOwnerId = resourceOwnerId; return this; } /** * <p>Specifies whether to switch your workloads over to the instance that runs the required major engine version based on your business requirements.</p> * <p>Valid values:</p> * <ul> * <li><strong>true</strong>: The system automatically switches workloads over to the instance. This configuration method is used to perform an upgrade after you verify that the new major engine version is compatible with your workloads.</li> * <li><strong>false</strong>: The system does not automatically switch your workloads over to the instance. In most cases, this configuration method is used to test whether the new major engine version is compatible with your workloads before you perform the upgrade.</li> * </ul> * <blockquote> * </blockquote> * <ul> * <li><p>If you set this parameter to true, you must take note of the following items:</p> * <ul> * <li>After the switchover is complete, you cannot roll your workloads back to the original instance. Proceed with caution.</li> * <li>During the switchover, the original instance processes only read requests. We recommend that you perform the switchover during off-peak hours.</li> * <li>If read-only instances are attached to the original instance, you can set this parameter only to false. In this case, the read-only instances that are attached to the original instance cannot be cloned. After the upgrade is complete, you must create read-only instances for the instance.</li> * </ul> * </li> * <li><p>If you set this parameter to false, you must take note of the following items:</p> * <ul> * <li>The data migration does not interrupt your workloads on the original instance.</li> * <li>After data is migrated to the instance that runs the required major engine version, you must update the endpoint configuration in your application. This update requires you to replace the endpoint of the original instance with the endpoint of the instance that runs the required major engine version. For more information about how to view the endpoint of an instance, see <a href="https://help.aliyun.com/document_detail/96788.html">Viewing and change of the internal and public endpoints and port numbers</a>.</li> * </ul> * </li> * </ul> * * <strong>example:</strong> * <p>false</p> */ public Builder switchOver(String switchOver) { this.putQueryParameter("SwitchOver", switchOver); this.switchOver = switchOver; return this; } /** * <p>A reserved parameter. You do not need to specify this parameter.</p> * * <strong>example:</strong> * <p>2021-07-10T13:15:12Z</p> */ public Builder switchTime(String switchTime) { this.putQueryParameter("SwitchTime", switchTime); this.switchTime = switchTime; return this; } /** * <p>The point in time at which the workloads are switched over. This parameter is used together with the SwitchOver parameter. This parameter is available only when you set the <strong>SwitchOver</strong> parameter to <strong>true</strong>.</p> * <p>Valid values:</p> * <ul> * <li><strong>Immediate</strong>: The workloads are immediately switched over.</li> * <li><strong>MaintainTime</strong>: The workloads are switched over within the maintenance window that you specify. You can call the ModifyDBInstanceMaintainTime operation to change the maintenance window of an instance.</li> * </ul> * * <strong>example:</strong> * <p>Immediate</p> */ public Builder switchTimeMode(String switchTimeMode) { this.putQueryParameter("SwitchTimeMode", switchTimeMode); this.switchTimeMode = switchTimeMode; return this; } /** * <p>The major engine version of the new instance. The value of this parameter must be the major engine version on which an upgrade check is performed.</p> * <blockquote> * <p> You can call the UpgradeDBInstanceMajorVersionPrecheck operation to perform an upgrade check.</p> * </blockquote> * * <strong>example:</strong> * <p>13.0</p> */ public Builder targetMajorVersion(String targetMajorVersion) { this.putQueryParameter("TargetMajorVersion", targetMajorVersion); this.targetMajorVersion = targetMajorVersion; return this; } /** * <p>The upgrade mode. This parameter is required when you set the <strong>SwitchOver</strong> parameter to <strong>true</strong>. Valid values:</p> * <ul> * <li><strong>inPlaceUpgrade</strong>: local upgrade. The major engine version upgrade is performed on the original instance, and no new instance is created. After the upgrade, the original instance runs the required major engine version and inherits the original orders, name, tags, alert rules in CloudMonitor, and backup settings.</li> * <li><strong>blueGreenDeployment</strong>: blue-green deployment. After the major engine version of the instance is upgraded, the original instance is retained and a new instance is created. Fees are generated for the new instance based on the billing method that you specified. However, no fees are generated for the creation of the new instance. After the upgrade is complete, fees are generated for both the original and new instances and the new instance cannot enjoy the discounts provided for the original instance.</li> * </ul> * * <strong>example:</strong> * <p>inPlaceUpgrade</p> */ public Builder upgradeMode(String upgradeMode) { this.putQueryParameter("UpgradeMode", upgradeMode); this.upgradeMode = upgradeMode; return this; } /** * <p>A reserved parameter. You do not need to specify this parameter.</p> * * <strong>example:</strong> * <p>1</p> */ public Builder usedTime(String usedTime) { this.putQueryParameter("UsedTime", usedTime); this.usedTime = usedTime; return this; } /** * <p>The virtual private cloud (VPC) ID of the instance. If you set the <strong>UpgradeMode</strong> parameter to <strong>inPlaceUpgrade</strong>, you <strong>do not need to configure</strong> this parameter.</p> * <p>You can call the DescribeDBInstanceAttribute operation to query the VPC ID of the original instance.</p> * * <strong>example:</strong> * <p>vpc-bp1opxu1zkhn00gzv****</p> */ public Builder VPCId(String VPCId) { this.putQueryParameter("VPCId", VPCId); this.VPCId = VPCId; return this; } /** * <p>The vSwitch ID of the instance that runs the required major engine version. If you set the <strong>UpgradeMode</strong> parameter to <strong>inPlaceUpgrade</strong>, you <strong>do not need to configure</strong> this parameter.</p> * <ul> * <li>If the original instance runs RDS Basic Edition, configure the vSwitch ID for the instance that runs the required major engine version.</li> * <li>If the original instance runs RDS High-availability Edition, configure the vSwitch IDs for the instance that runs the required major engine version and its secondary instance. Separate the vSwitch IDs with commas (,).</li> * </ul> * <blockquote> * <p> The vSwitches that you specify must reside in the same zone as the original instance. You can call the DescribeVSwitches operation to query the vSwitch IDs.</p> * </blockquote> * * <strong>example:</strong> * <p>vsw-bp10aqj6o4lclxdrm****,vsw-bp10aqj6o4lclxdrm****</p> */ public Builder vSwitchId(String vSwitchId) { this.putQueryParameter("VSwitchId", vSwitchId); this.vSwitchId = vSwitchId; return this; } /** * <p>The ID of the zone to which the primary instance that runs the required major engine version belongs. If you set the <strong>UpgradeMode</strong> parameter to <strong>inPlaceUpgrade</strong>, you <strong>do not need to configure</strong> this parameter.</p> * <p>You can call the DescribeRegions operation to query zone IDs.</p> * <p>You can select a zone that belongs to the region in which the original instance resides.</p> * * <strong>example:</strong> * <p>cn-hangzhou-h</p> */ public Builder zoneId(String zoneId) { this.putQueryParameter("ZoneId", zoneId); this.zoneId = zoneId; return this; } /** * <p>The ID of the zone to which the secondary instance runs the required major engine version belongs. This parameter is available only when the original instance runs RDS High-availability Edition. If you set the <strong>UpgradeMode</strong> parameter to <strong>inPlaceUpgrade</strong>, you <strong>do not need to configure</strong> this parameter.</p> * <p>You can select a zone that belongs to the region in which the original instance resides.</p> * <p>You can call the DescribeRegions operation to query zone IDs.</p> * * <strong>example:</strong> * <p>cn-hangzhou-h</p> */ public Builder zoneIdSlave1(String zoneIdSlave1) { this.putQueryParameter("ZoneIdSlave1", zoneIdSlave1); this.zoneIdSlave1 = zoneIdSlave1; return this; } /** * <p>A reserved parameter. You do not need to specify this parameter.</p> * * <strong>example:</strong> * <p>cn-hangzhou-h</p> */ public Builder zoneIdSlave2(String zoneIdSlave2) { this.putQueryParameter("ZoneIdSlave2", zoneIdSlave2); this.zoneIdSlave2 = zoneIdSlave2; return this; } @Override public UpgradeDBInstanceMajorVersionRequest build() { return new UpgradeDBInstanceMajorVersionRequest(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/UpgradeDBInstanceMajorVersionResponse.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 UpgradeDBInstanceMajorVersionResponse} extends {@link TeaModel} * * <p>UpgradeDBInstanceMajorVersionResponse</p> */ public class UpgradeDBInstanceMajorVersionResponse 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 UpgradeDBInstanceMajorVersionResponseBody body; private UpgradeDBInstanceMajorVersionResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static UpgradeDBInstanceMajorVersionResponse 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 UpgradeDBInstanceMajorVersionResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<UpgradeDBInstanceMajorVersionResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(UpgradeDBInstanceMajorVersionResponseBody body); @Override UpgradeDBInstanceMajorVersionResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<UpgradeDBInstanceMajorVersionResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private UpgradeDBInstanceMajorVersionResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(UpgradeDBInstanceMajorVersionResponse 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(UpgradeDBInstanceMajorVersionResponseBody body) { this.body = body; return this; } @Override public UpgradeDBInstanceMajorVersionResponse build() { return new UpgradeDBInstanceMajorVersionResponse(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/UpgradeDBInstanceMajorVersionResponseBody.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 UpgradeDBInstanceMajorVersionResponseBody} extends {@link TeaModel} * * <p>UpgradeDBInstanceMajorVersionResponseBody</p> */ public class UpgradeDBInstanceMajorVersionResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("DBInstanceId") private String DBInstanceId; @com.aliyun.core.annotation.NameInMap("OrderId") private String orderId; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TaskId") private Long taskId; private UpgradeDBInstanceMajorVersionResponseBody(Builder builder) { this.DBInstanceId = builder.DBInstanceId; this.orderId = builder.orderId; this.requestId = builder.requestId; this.taskId = builder.taskId; } public static Builder builder() { return new Builder(); } public static UpgradeDBInstanceMajorVersionResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return DBInstanceId */ public String getDBInstanceId() { return this.DBInstanceId; } /** * @return orderId */ public String getOrderId() { return this.orderId; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return taskId */ public Long getTaskId() { return this.taskId; } public static final class Builder { private String DBInstanceId; private String orderId; private String requestId; private Long taskId; private Builder() { } private Builder(UpgradeDBInstanceMajorVersionResponseBody model) { this.DBInstanceId = model.DBInstanceId; this.orderId = model.orderId; this.requestId = model.requestId; this.taskId = model.taskId; } /** * <p>The ID of the instance.</p> * * <strong>example:</strong> * <p>pgm-bp1gm3yh0ht1****</p> */ public Builder DBInstanceId(String DBInstanceId) { this.DBInstanceId = DBInstanceId; return this; } /** * <p>The ID of the order.</p> * * <strong>example:</strong> * <p>21128667463****</p> */ public Builder orderId(String orderId) { this.orderId = orderId; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>006729E5-2A33-5955-89E3-651D3F44EBE6</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>A reserved parameter.</p> * * <strong>example:</strong> * <p>416980000</p> */ public Builder taskId(Long taskId) { this.taskId = taskId; return this; } public UpgradeDBInstanceMajorVersionResponseBody build() { return new UpgradeDBInstanceMajorVersionResponseBody(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/UpgradeDBProxyInstanceKernelVersionRequest.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 UpgradeDBProxyInstanceKernelVersionRequest} extends {@link RequestModel} * * <p>UpgradeDBProxyInstanceKernelVersionRequest</p> */ public class UpgradeDBProxyInstanceKernelVersionRequest 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("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("SwitchTime") private String switchTime; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("UpgradeTime") private String upgradeTime; private UpgradeDBProxyInstanceKernelVersionRequest(Builder builder) { super(builder); this.DBInstanceId = builder.DBInstanceId; this.DBProxyEngineType = builder.DBProxyEngineType; this.ownerId = builder.ownerId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.switchTime = builder.switchTime; this.upgradeTime = builder.upgradeTime; } public static Builder builder() { return new Builder(); } public static UpgradeDBProxyInstanceKernelVersionRequest 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 resourceOwnerAccount */ public String getResourceOwnerAccount() { return this.resourceOwnerAccount; } /** * @return resourceOwnerId */ public Long getResourceOwnerId() { return this.resourceOwnerId; } /** * @return switchTime */ public String getSwitchTime() { return this.switchTime; } /** * @return upgradeTime */ public String getUpgradeTime() { return this.upgradeTime; } public static final class Builder extends Request.Builder<UpgradeDBProxyInstanceKernelVersionRequest, Builder> { private String DBInstanceId; private String DBProxyEngineType; private Long ownerId; private String resourceOwnerAccount; private Long resourceOwnerId; private String switchTime; private String upgradeTime; private Builder() { super(); } private Builder(UpgradeDBProxyInstanceKernelVersionRequest request) { super(request); this.DBInstanceId = request.DBInstanceId; this.DBProxyEngineType = request.DBProxyEngineType; this.ownerId = request.ownerId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.switchTime = request.switchTime; this.upgradeTime = request.upgradeTime; } /** * <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>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; } /** * 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 specific point in time when you want to perform the upgrade. 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> * <blockquote> * <p> If you set <strong>UpgradeTime</strong> to <strong>SpecifyTime</strong>, you must specify SwitchTime.</p> * </blockquote> * * <strong>example:</strong> * <p>2019-07-10T13:15:12Z</p> */ public Builder switchTime(String switchTime) { this.putQueryParameter("SwitchTime", switchTime); this.switchTime = switchTime; return this; } /** * <p>The time when you want to upgrade the database proxy version of the instance. Valid values:</p> * <ul> * <li><strong>MaintainTime</strong> (default): performs the upgrade during the maintenance window that you specified. For more information, see <a href="https://help.aliyun.com/document_detail/610402.html">Modify the maintenance window</a>.</li> * <li><strong>Immediate</strong>: performs the upgrade immediately.</li> * <li><strong>SpecifyTime</strong>: performs the upgrade at a specified point in time.</li> * </ul> * <blockquote> * <ul> * <li><strong>If the instance runs MySQL, you can set this parameter to <strong>MaintainTime</strong>, <strong>Immediate</strong>, or SpecifyTime</strong>.</li> * <li>If the instance runs PostgreSQL, you can set this parameter to <strong>MaintainTime</strong> or <strong>Immediate</strong>.</li> * </ul> * </blockquote> * * <strong>example:</strong> * <p>MaintainTime</p> */ public Builder upgradeTime(String upgradeTime) { this.putQueryParameter("UpgradeTime", upgradeTime); this.upgradeTime = upgradeTime; return this; } @Override public UpgradeDBProxyInstanceKernelVersionRequest build() { return new UpgradeDBProxyInstanceKernelVersionRequest(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/UpgradeDBProxyInstanceKernelVersionResponse.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 UpgradeDBProxyInstanceKernelVersionResponse} extends {@link TeaModel} * * <p>UpgradeDBProxyInstanceKernelVersionResponse</p> */ public class UpgradeDBProxyInstanceKernelVersionResponse 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 UpgradeDBProxyInstanceKernelVersionResponseBody body; private UpgradeDBProxyInstanceKernelVersionResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static UpgradeDBProxyInstanceKernelVersionResponse 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 UpgradeDBProxyInstanceKernelVersionResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<UpgradeDBProxyInstanceKernelVersionResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(UpgradeDBProxyInstanceKernelVersionResponseBody body); @Override UpgradeDBProxyInstanceKernelVersionResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<UpgradeDBProxyInstanceKernelVersionResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private UpgradeDBProxyInstanceKernelVersionResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(UpgradeDBProxyInstanceKernelVersionResponse 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(UpgradeDBProxyInstanceKernelVersionResponseBody body) { this.body = body; return this; } @Override public UpgradeDBProxyInstanceKernelVersionResponse build() { return new UpgradeDBProxyInstanceKernelVersionResponse(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/UpgradeDBProxyInstanceKernelVersionResponseBody.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 UpgradeDBProxyInstanceKernelVersionResponseBody} extends {@link TeaModel} * * <p>UpgradeDBProxyInstanceKernelVersionResponseBody</p> */ public class UpgradeDBProxyInstanceKernelVersionResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("DBInstanceName") private String DBInstanceName; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TaskId") private String taskId; private UpgradeDBProxyInstanceKernelVersionResponseBody(Builder builder) { this.DBInstanceName = builder.DBInstanceName; this.requestId = builder.requestId; this.taskId = builder.taskId; } public static Builder builder() { return new Builder(); } public static UpgradeDBProxyInstanceKernelVersionResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return DBInstanceName */ public String getDBInstanceName() { return this.DBInstanceName; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return taskId */ public String getTaskId() { return this.taskId; } public static final class Builder { private String DBInstanceName; private String requestId; private String taskId; private Builder() { } private Builder(UpgradeDBProxyInstanceKernelVersionResponseBody model) { this.DBInstanceName = model.DBInstanceName; this.requestId = model.requestId; this.taskId = model.taskId; } /** * <p>The ID of the database proxy of the instance.</p> * * <strong>example:</strong> * <p>bu9***</p> */ public Builder DBInstanceName(String DBInstanceName) { this.DBInstanceName = DBInstanceName; return this; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>44537EC8-DFA2-4745-B579-E733FF2C5B9A</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * <p>The task ID.</p> * * <strong>example:</strong> * <p>33436****</p> */ public Builder taskId(String taskId) { this.taskId = taskId; return this; } public UpgradeDBProxyInstanceKernelVersionResponseBody build() { return new UpgradeDBProxyInstanceKernelVersionResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227/AsyncClient.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resellertrade20191227; import com.aliyun.core.utils.SdkAutoCloseable; import com.aliyun.sdk.service.resellertrade20191227.models.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import java.util.concurrent.CompletableFuture; public interface AsyncClient extends SdkAutoCloseable { static DefaultAsyncClientBuilder builder() { return new DefaultAsyncClientBuilder(); } static AsyncClient create() { return builder().build(); } CompletableFuture<CreateCouponTemplateResponse> createCouponTemplate(CreateCouponTemplateRequest request); CompletableFuture<DiscardCouponListResponse> discardCouponList(DiscardCouponListRequest request); CompletableFuture<GetCouponPageResponse> getCouponPage(GetCouponPageRequest request); CompletableFuture<GetCustomerListResponse> getCustomerList(GetCustomerListRequest request); CompletableFuture<GetRelationResponse> getRelation(GetRelationRequest request); CompletableFuture<GetResellerPayOrderResponse> getResellerPayOrder(GetResellerPayOrderRequest request); CompletableFuture<LabelPartnerUserResponse> labelPartnerUser(LabelPartnerUserRequest request); CompletableFuture<MigrateResourceResponse> migrateResource(MigrateResourceRequest request); CompletableFuture<OfflineActivityResponse> offlineActivity(OfflineActivityRequest request); CompletableFuture<PayResultCallbackResponse> payResultCallback(PayResultCallbackRequest request); CompletableFuture<PublicActivityResponse> publicActivity(PublicActivityRequest request); CompletableFuture<QueryActivityResponse> queryActivity(QueryActivityRequest request); CompletableFuture<QueryEcoRelationResponse> queryEcoRelation(QueryEcoRelationRequest request); CompletableFuture<SaveActivityResponse> saveActivity(SaveActivityRequest request); CompletableFuture<SendCouponResponse> sendCoupon(SendCouponRequest request); CompletableFuture<TransferResourceResponse> transferResource(TransferResourceRequest request); }
0
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227/DefaultAsyncClient.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resellertrade20191227; import com.aliyun.core.http.*; import com.aliyun.sdk.service.resellertrade20191227.models.*; import darabonba.core.utils.*; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import java.util.concurrent.CompletableFuture; /** * <p>Main client.</p> */ public final class DefaultAsyncClient implements AsyncClient { protected final String product; protected final String version; protected final String endpointRule; protected final java.util.Map<String, String> endpointMap; protected final TeaRequest REQUEST; protected final TeaAsyncHandler handler; protected DefaultAsyncClient(ClientConfiguration configuration) { this.handler = new TeaAsyncHandler(configuration); this.product = "ResellerTrade"; this.version = "2019-12-27"; this.endpointRule = "regional"; this.endpointMap = CommonUtil.buildMap( new TeaPair("ap-northeast-1", "resellertrade.aliyuncs.com"), new TeaPair("ap-northeast-2-pop", "resellertrade.aliyuncs.com"), new TeaPair("ap-south-1", "resellertrade.aliyuncs.com"), new TeaPair("ap-southeast-1", "resellertrade.aliyuncs.com"), new TeaPair("ap-southeast-2", "resellertrade.aliyuncs.com"), new TeaPair("ap-southeast-3", "resellertrade.aliyuncs.com"), new TeaPair("ap-southeast-5", "resellertrade.aliyuncs.com"), new TeaPair("cn-beijing", "resellertrade.aliyuncs.com"), new TeaPair("cn-beijing-finance-1", "resellertrade.aliyuncs.com"), new TeaPair("cn-beijing-finance-pop", "resellertrade.aliyuncs.com"), new TeaPair("cn-beijing-gov-1", "resellertrade.aliyuncs.com"), new TeaPair("cn-beijing-nu16-b01", "resellertrade.aliyuncs.com"), new TeaPair("cn-chengdu", "resellertrade.aliyuncs.com"), new TeaPair("cn-edge-1", "resellertrade.aliyuncs.com"), new TeaPair("cn-fujian", "resellertrade.aliyuncs.com"), new TeaPair("cn-haidian-cm12-c01", "resellertrade.aliyuncs.com"), new TeaPair("cn-hangzhou", "resellertrade.aliyuncs.com"), new TeaPair("cn-hangzhou-bj-b01", "resellertrade.aliyuncs.com"), new TeaPair("cn-hangzhou-finance", "resellertrade.aliyuncs.com"), new TeaPair("cn-hangzhou-internal-prod-1", "resellertrade.aliyuncs.com"), new TeaPair("cn-hangzhou-internal-test-1", "resellertrade.aliyuncs.com"), new TeaPair("cn-hangzhou-internal-test-2", "resellertrade.aliyuncs.com"), new TeaPair("cn-hangzhou-internal-test-3", "resellertrade.aliyuncs.com"), new TeaPair("cn-hangzhou-test-306", "resellertrade.aliyuncs.com"), new TeaPair("cn-hongkong", "resellertrade.aliyuncs.com"), new TeaPair("cn-hongkong-finance-pop", "resellertrade.aliyuncs.com"), new TeaPair("cn-huhehaote", "resellertrade.aliyuncs.com"), new TeaPair("cn-north-2-gov-1", "resellertrade.aliyuncs.com"), new TeaPair("cn-qingdao", "resellertrade.aliyuncs.com"), new TeaPair("cn-qingdao-nebula", "resellertrade.aliyuncs.com"), new TeaPair("cn-shanghai", "resellertrade.aliyuncs.com"), new TeaPair("cn-shanghai-et15-b01", "resellertrade.aliyuncs.com"), new TeaPair("cn-shanghai-et2-b01", "resellertrade.aliyuncs.com"), new TeaPair("cn-shanghai-finance-1", "resellertrade.aliyuncs.com"), new TeaPair("cn-shanghai-inner", "resellertrade.aliyuncs.com"), new TeaPair("cn-shanghai-internal-test-1", "resellertrade.aliyuncs.com"), new TeaPair("cn-shenzhen", "resellertrade.aliyuncs.com"), new TeaPair("cn-shenzhen-finance-1", "resellertrade.aliyuncs.com"), new TeaPair("cn-shenzhen-inner", "resellertrade.aliyuncs.com"), new TeaPair("cn-shenzhen-st4-d01", "resellertrade.aliyuncs.com"), new TeaPair("cn-shenzhen-su18-b01", "resellertrade.aliyuncs.com"), new TeaPair("cn-wuhan", "resellertrade.aliyuncs.com"), new TeaPair("cn-yushanfang", "resellertrade.aliyuncs.com"), new TeaPair("cn-zhangbei-na61-b01", "resellertrade.aliyuncs.com"), new TeaPair("cn-zhangjiakou", "resellertrade.aliyuncs.com"), new TeaPair("cn-zhangjiakou-na62-a01", "resellertrade.aliyuncs.com"), new TeaPair("cn-zhengzhou-nebula-1", "resellertrade.aliyuncs.com"), new TeaPair("eu-central-1", "resellertrade.aliyuncs.com"), new TeaPair("eu-west-1", "resellertrade.aliyuncs.com"), new TeaPair("eu-west-1-oxs", "resellertrade.aliyuncs.com"), new TeaPair("me-east-1", "resellertrade.aliyuncs.com"), new TeaPair("rus-west-1-pop", "resellertrade.aliyuncs.com"), new TeaPair("us-east-1", "resellertrade.aliyuncs.com"), new TeaPair("us-west-1", "resellertrade.aliyuncs.com") ); this.REQUEST = TeaRequest.create().setProduct(product).setEndpointRule(endpointRule).setEndpointMap(endpointMap).setVersion(version); } @Override public void close() { this.handler.close(); } @Override public CompletableFuture<CreateCouponTemplateResponse> createCouponTemplate(CreateCouponTemplateRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateCouponTemplate").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateCouponTemplateResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<CreateCouponTemplateResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } @Override public CompletableFuture<DiscardCouponListResponse> discardCouponList(DiscardCouponListRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DiscardCouponList").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DiscardCouponListResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DiscardCouponListResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } @Override public CompletableFuture<GetCouponPageResponse> getCouponPage(GetCouponPageRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("GetCouponPage").setMethod(HttpMethod.GET).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetCouponPageResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<GetCouponPageResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } @Override public CompletableFuture<GetCustomerListResponse> getCustomerList(GetCustomerListRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("GetCustomerList").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetCustomerListResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<GetCustomerListResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } @Override public CompletableFuture<GetRelationResponse> getRelation(GetRelationRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("GetRelation").setMethod(HttpMethod.GET).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetRelationResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<GetRelationResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } @Override public CompletableFuture<GetResellerPayOrderResponse> getResellerPayOrder(GetResellerPayOrderRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("GetResellerPayOrder").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetResellerPayOrderResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<GetResellerPayOrderResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } @Override public CompletableFuture<LabelPartnerUserResponse> labelPartnerUser(LabelPartnerUserRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("LabelPartnerUser").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(LabelPartnerUserResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<LabelPartnerUserResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } @Override public CompletableFuture<MigrateResourceResponse> migrateResource(MigrateResourceRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("MigrateResource").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(MigrateResourceResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<MigrateResourceResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } @Override public CompletableFuture<OfflineActivityResponse> offlineActivity(OfflineActivityRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("OfflineActivity").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(OfflineActivityResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<OfflineActivityResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } @Override public CompletableFuture<PayResultCallbackResponse> payResultCallback(PayResultCallbackRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("PayResultCallback").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(PayResultCallbackResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<PayResultCallbackResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } @Override public CompletableFuture<PublicActivityResponse> publicActivity(PublicActivityRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("PublicActivity").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(PublicActivityResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<PublicActivityResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } @Override public CompletableFuture<QueryActivityResponse> queryActivity(QueryActivityRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("QueryActivity").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(QueryActivityResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<QueryActivityResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } @Override public CompletableFuture<QueryEcoRelationResponse> queryEcoRelation(QueryEcoRelationRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("QueryEcoRelation").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(QueryEcoRelationResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<QueryEcoRelationResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } @Override public CompletableFuture<SaveActivityResponse> saveActivity(SaveActivityRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("SaveActivity").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(SaveActivityResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<SaveActivityResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } @Override public CompletableFuture<SendCouponResponse> sendCoupon(SendCouponRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("SendCoupon").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(SendCouponResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<SendCouponResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } @Override public CompletableFuture<TransferResourceResponse> transferResource(TransferResourceRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("TransferResource").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(true).setReqBodyType(BodyType.FORM).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(TransferResourceResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<TransferResourceResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } }
0
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227/DefaultAsyncClientBuilder.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resellertrade20191227; import com.aliyun.sdk.gateway.pop.BaseClientBuilder; public final class DefaultAsyncClientBuilder extends BaseClientBuilder<DefaultAsyncClientBuilder, AsyncClient> { @Override protected String serviceName() { return "resellertrade20191227"; } @Override protected final AsyncClient buildClient() { return new DefaultAsyncClient(super.applyClientConfiguration()); } }
0
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227/models/CreateCouponTemplateRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resellertrade20191227.models; import com.aliyun.core.annotation.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * {@link CreateCouponTemplateRequest} extends {@link RequestModel} * * <p>CreateCouponTemplateRequest</p> */ public class CreateCouponTemplateRequest extends Request { @Body @NameInMap("ActivitySite") private Integer activitySite; @Body @NameInMap("Bid") private Long bid; @Body @NameInMap("CertainMoney") private Double certainMoney; @Body @NameInMap("ClientType") private String clientType; @Body @NameInMap("CommodityType") private String commodityType; @Body @NameInMap("ControlType") private String controlType; @Body @NameInMap("CouponAmount") private Double couponAmount; @Body @NameInMap("CouponEndTime") private String couponEndTime; @Body @NameInMap("CouponFixedType") private String couponFixedType; @Body @NameInMap("CouponStartTime") private String couponStartTime; @Body @NameInMap("CouponType") private String couponType; @Body @NameInMap("Currency") private Currency currency; @Body @NameInMap("Description") private String description; @Body @NameInMap("DiscountRate") private Double discountRate; @Body @NameInMap("EndTime") private String endTime; @Body @NameInMap("ExtendsMap") private java.util.Map < String, String > extendsMap; @Body @NameInMap("FromApp") private String fromApp; @Body @NameInMap("ItemCodeSet") private java.util.List < String > itemCodeSet; @Body @NameInMap("Market") private String market; @Body @NameInMap("MarketType") private Long marketType; @Body @NameInMap("MaxRelease") private Double maxRelease; @Body @NameInMap("MessageId") private String messageId; @Body @NameInMap("Name") private String name; @Body @NameInMap("Operator") private String operator; @Body @NameInMap("OrderTypeSet") private java.util.List < String > orderTypeSet; @Body @NameInMap("PerLimitNum") private Integer perLimitNum; @Body @NameInMap("PromotionId") private Long promotionId; @Body @NameInMap("Reason") private String reason; @Body @NameInMap("RelativeSecond") private Integer relativeSecond; @Body @NameInMap("RequestId") private String requestId; @Body @NameInMap("SelectionIdSet") private java.util.List < String > selectionIdSet; @Body @NameInMap("SellerId") private Long sellerId; @Body @NameInMap("Site") private String site; @Body @NameInMap("SpId") private Long spId; @Body @NameInMap("StartTime") private String startTime; @Body @NameInMap("Type") private String type; @Body @NameInMap("UniversalType") private String universalType; @Body @NameInMap("UpperLimit") private Double upperLimit; @Body @NameInMap("UsageCount") private Integer usageCount; @Body @NameInMap("UseScene") private String useScene; @Body @NameInMap("UserPkAmount") private String userPkAmount; @Body @NameInMap("ValidityType") private String validityType; private CreateCouponTemplateRequest(Builder builder) { super(builder); this.activitySite = builder.activitySite; this.bid = builder.bid; this.certainMoney = builder.certainMoney; this.clientType = builder.clientType; this.commodityType = builder.commodityType; this.controlType = builder.controlType; this.couponAmount = builder.couponAmount; this.couponEndTime = builder.couponEndTime; this.couponFixedType = builder.couponFixedType; this.couponStartTime = builder.couponStartTime; this.couponType = builder.couponType; this.currency = builder.currency; this.description = builder.description; this.discountRate = builder.discountRate; this.endTime = builder.endTime; this.extendsMap = builder.extendsMap; this.fromApp = builder.fromApp; this.itemCodeSet = builder.itemCodeSet; this.market = builder.market; this.marketType = builder.marketType; this.maxRelease = builder.maxRelease; this.messageId = builder.messageId; this.name = builder.name; this.operator = builder.operator; this.orderTypeSet = builder.orderTypeSet; this.perLimitNum = builder.perLimitNum; this.promotionId = builder.promotionId; this.reason = builder.reason; this.relativeSecond = builder.relativeSecond; this.requestId = builder.requestId; this.selectionIdSet = builder.selectionIdSet; this.sellerId = builder.sellerId; this.site = builder.site; this.spId = builder.spId; this.startTime = builder.startTime; this.type = builder.type; this.universalType = builder.universalType; this.upperLimit = builder.upperLimit; this.usageCount = builder.usageCount; this.useScene = builder.useScene; this.userPkAmount = builder.userPkAmount; this.validityType = builder.validityType; } public static Builder builder() { return new Builder(); } public static CreateCouponTemplateRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return activitySite */ public Integer getActivitySite() { return this.activitySite; } /** * @return bid */ public Long getBid() { return this.bid; } /** * @return certainMoney */ public Double getCertainMoney() { return this.certainMoney; } /** * @return clientType */ public String getClientType() { return this.clientType; } /** * @return commodityType */ public String getCommodityType() { return this.commodityType; } /** * @return controlType */ public String getControlType() { return this.controlType; } /** * @return couponAmount */ public Double getCouponAmount() { return this.couponAmount; } /** * @return couponEndTime */ public String getCouponEndTime() { return this.couponEndTime; } /** * @return couponFixedType */ public String getCouponFixedType() { return this.couponFixedType; } /** * @return couponStartTime */ public String getCouponStartTime() { return this.couponStartTime; } /** * @return couponType */ public String getCouponType() { return this.couponType; } /** * @return currency */ public Currency getCurrency() { return this.currency; } /** * @return description */ public String getDescription() { return this.description; } /** * @return discountRate */ public Double getDiscountRate() { return this.discountRate; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return extendsMap */ public java.util.Map < String, String > getExtendsMap() { return this.extendsMap; } /** * @return fromApp */ public String getFromApp() { return this.fromApp; } /** * @return itemCodeSet */ public java.util.List < String > getItemCodeSet() { return this.itemCodeSet; } /** * @return market */ public String getMarket() { return this.market; } /** * @return marketType */ public Long getMarketType() { return this.marketType; } /** * @return maxRelease */ public Double getMaxRelease() { return this.maxRelease; } /** * @return messageId */ public String getMessageId() { return this.messageId; } /** * @return name */ public String getName() { return this.name; } /** * @return operator */ public String getOperator() { return this.operator; } /** * @return orderTypeSet */ public java.util.List < String > getOrderTypeSet() { return this.orderTypeSet; } /** * @return perLimitNum */ public Integer getPerLimitNum() { return this.perLimitNum; } /** * @return promotionId */ public Long getPromotionId() { return this.promotionId; } /** * @return reason */ public String getReason() { return this.reason; } /** * @return relativeSecond */ public Integer getRelativeSecond() { return this.relativeSecond; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return selectionIdSet */ public java.util.List < String > getSelectionIdSet() { return this.selectionIdSet; } /** * @return sellerId */ public Long getSellerId() { return this.sellerId; } /** * @return site */ public String getSite() { return this.site; } /** * @return spId */ public Long getSpId() { return this.spId; } /** * @return startTime */ public String getStartTime() { return this.startTime; } /** * @return type */ public String getType() { return this.type; } /** * @return universalType */ public String getUniversalType() { return this.universalType; } /** * @return upperLimit */ public Double getUpperLimit() { return this.upperLimit; } /** * @return usageCount */ public Integer getUsageCount() { return this.usageCount; } /** * @return useScene */ public String getUseScene() { return this.useScene; } /** * @return userPkAmount */ public String getUserPkAmount() { return this.userPkAmount; } /** * @return validityType */ public String getValidityType() { return this.validityType; } public static final class Builder extends Request.Builder<CreateCouponTemplateRequest, Builder> { private Integer activitySite; private Long bid; private Double certainMoney; private String clientType; private String commodityType; private String controlType; private Double couponAmount; private String couponEndTime; private String couponFixedType; private String couponStartTime; private String couponType; private Currency currency; private String description; private Double discountRate; private String endTime; private java.util.Map < String, String > extendsMap; private String fromApp; private java.util.List < String > itemCodeSet; private String market; private Long marketType; private Double maxRelease; private String messageId; private String name; private String operator; private java.util.List < String > orderTypeSet; private Integer perLimitNum; private Long promotionId; private String reason; private Integer relativeSecond; private String requestId; private java.util.List < String > selectionIdSet; private Long sellerId; private String site; private Long spId; private String startTime; private String type; private String universalType; private Double upperLimit; private Integer usageCount; private String useScene; private String userPkAmount; private String validityType; private Builder() { super(); } private Builder(CreateCouponTemplateRequest request) { super(request); this.activitySite = request.activitySite; this.bid = request.bid; this.certainMoney = request.certainMoney; this.clientType = request.clientType; this.commodityType = request.commodityType; this.controlType = request.controlType; this.couponAmount = request.couponAmount; this.couponEndTime = request.couponEndTime; this.couponFixedType = request.couponFixedType; this.couponStartTime = request.couponStartTime; this.couponType = request.couponType; this.currency = request.currency; this.description = request.description; this.discountRate = request.discountRate; this.endTime = request.endTime; this.extendsMap = request.extendsMap; this.fromApp = request.fromApp; this.itemCodeSet = request.itemCodeSet; this.market = request.market; this.marketType = request.marketType; this.maxRelease = request.maxRelease; this.messageId = request.messageId; this.name = request.name; this.operator = request.operator; this.orderTypeSet = request.orderTypeSet; this.perLimitNum = request.perLimitNum; this.promotionId = request.promotionId; this.reason = request.reason; this.relativeSecond = request.relativeSecond; this.requestId = request.requestId; this.selectionIdSet = request.selectionIdSet; this.sellerId = request.sellerId; this.site = request.site; this.spId = request.spId; this.startTime = request.startTime; this.type = request.type; this.universalType = request.universalType; this.upperLimit = request.upperLimit; this.usageCount = request.usageCount; this.useScene = request.useScene; this.userPkAmount = request.userPkAmount; this.validityType = request.validityType; } /** * ActivitySite. */ public Builder activitySite(Integer activitySite) { this.putBodyParameter("ActivitySite", activitySite); this.activitySite = activitySite; return this; } /** * Bid. */ public Builder bid(Long bid) { this.putBodyParameter("Bid", bid); this.bid = bid; return this; } /** * CertainMoney. */ public Builder certainMoney(Double certainMoney) { this.putBodyParameter("CertainMoney", certainMoney); this.certainMoney = certainMoney; return this; } /** * ClientType. */ public Builder clientType(String clientType) { this.putBodyParameter("ClientType", clientType); this.clientType = clientType; return this; } /** * CommodityType. */ public Builder commodityType(String commodityType) { this.putBodyParameter("CommodityType", commodityType); this.commodityType = commodityType; return this; } /** * ControlType. */ public Builder controlType(String controlType) { this.putBodyParameter("ControlType", controlType); this.controlType = controlType; return this; } /** * CouponAmount. */ public Builder couponAmount(Double couponAmount) { this.putBodyParameter("CouponAmount", couponAmount); this.couponAmount = couponAmount; return this; } /** * CouponEndTime. */ public Builder couponEndTime(String couponEndTime) { this.putBodyParameter("CouponEndTime", couponEndTime); this.couponEndTime = couponEndTime; return this; } /** * CouponFixedType. */ public Builder couponFixedType(String couponFixedType) { this.putBodyParameter("CouponFixedType", couponFixedType); this.couponFixedType = couponFixedType; return this; } /** * CouponStartTime. */ public Builder couponStartTime(String couponStartTime) { this.putBodyParameter("CouponStartTime", couponStartTime); this.couponStartTime = couponStartTime; return this; } /** * CouponType. */ public Builder couponType(String couponType) { this.putBodyParameter("CouponType", couponType); this.couponType = couponType; return this; } /** * Currency. */ public Builder currency(Currency currency) { this.putBodyParameter("Currency", currency); this.currency = currency; return this; } /** * Description. */ public Builder description(String description) { this.putBodyParameter("Description", description); this.description = description; return this; } /** * DiscountRate. */ public Builder discountRate(Double discountRate) { this.putBodyParameter("DiscountRate", discountRate); this.discountRate = discountRate; return this; } /** * EndTime. */ public Builder endTime(String endTime) { this.putBodyParameter("EndTime", endTime); this.endTime = endTime; return this; } /** * ExtendsMap. */ public Builder extendsMap(java.util.Map < String, String > extendsMap) { this.putBodyParameter("ExtendsMap", extendsMap); this.extendsMap = extendsMap; return this; } /** * FromApp. */ public Builder fromApp(String fromApp) { this.putBodyParameter("FromApp", fromApp); this.fromApp = fromApp; return this; } /** * ItemCodeSet. */ public Builder itemCodeSet(java.util.List < String > itemCodeSet) { this.putBodyParameter("ItemCodeSet", itemCodeSet); this.itemCodeSet = itemCodeSet; return this; } /** * Market. */ public Builder market(String market) { this.putBodyParameter("Market", market); this.market = market; return this; } /** * MarketType. */ public Builder marketType(Long marketType) { this.putBodyParameter("MarketType", marketType); this.marketType = marketType; return this; } /** * MaxRelease. */ public Builder maxRelease(Double maxRelease) { this.putBodyParameter("MaxRelease", maxRelease); this.maxRelease = maxRelease; return this; } /** * MessageId. */ public Builder messageId(String messageId) { this.putBodyParameter("MessageId", messageId); this.messageId = messageId; return this; } /** * Name. */ public Builder name(String name) { this.putBodyParameter("Name", name); this.name = name; return this; } /** * Operator. */ public Builder operator(String operator) { this.putBodyParameter("Operator", operator); this.operator = operator; return this; } /** * OrderTypeSet. */ public Builder orderTypeSet(java.util.List < String > orderTypeSet) { this.putBodyParameter("OrderTypeSet", orderTypeSet); this.orderTypeSet = orderTypeSet; return this; } /** * PerLimitNum. */ public Builder perLimitNum(Integer perLimitNum) { this.putBodyParameter("PerLimitNum", perLimitNum); this.perLimitNum = perLimitNum; return this; } /** * PromotionId. */ public Builder promotionId(Long promotionId) { this.putBodyParameter("PromotionId", promotionId); this.promotionId = promotionId; return this; } /** * Reason. */ public Builder reason(String reason) { this.putBodyParameter("Reason", reason); this.reason = reason; return this; } /** * RelativeSecond. */ public Builder relativeSecond(Integer relativeSecond) { this.putBodyParameter("RelativeSecond", relativeSecond); this.relativeSecond = relativeSecond; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.putBodyParameter("RequestId", requestId); this.requestId = requestId; return this; } /** * SelectionIdSet. */ public Builder selectionIdSet(java.util.List < String > selectionIdSet) { this.putBodyParameter("SelectionIdSet", selectionIdSet); this.selectionIdSet = selectionIdSet; return this; } /** * SellerId. */ public Builder sellerId(Long sellerId) { this.putBodyParameter("SellerId", sellerId); this.sellerId = sellerId; return this; } /** * Site. */ public Builder site(String site) { this.putBodyParameter("Site", site); this.site = site; return this; } /** * SpId. */ public Builder spId(Long spId) { this.putBodyParameter("SpId", spId); this.spId = spId; return this; } /** * StartTime. */ public Builder startTime(String startTime) { this.putBodyParameter("StartTime", startTime); this.startTime = startTime; return this; } /** * Type. */ public Builder type(String type) { this.putBodyParameter("Type", type); this.type = type; return this; } /** * UniversalType. */ public Builder universalType(String universalType) { this.putBodyParameter("UniversalType", universalType); this.universalType = universalType; return this; } /** * UpperLimit. */ public Builder upperLimit(Double upperLimit) { this.putBodyParameter("UpperLimit", upperLimit); this.upperLimit = upperLimit; return this; } /** * UsageCount. */ public Builder usageCount(Integer usageCount) { this.putBodyParameter("UsageCount", usageCount); this.usageCount = usageCount; return this; } /** * UseScene. */ public Builder useScene(String useScene) { this.putBodyParameter("UseScene", useScene); this.useScene = useScene; return this; } /** * UserPkAmount. */ public Builder userPkAmount(String userPkAmount) { this.putBodyParameter("UserPkAmount", userPkAmount); this.userPkAmount = userPkAmount; return this; } /** * ValidityType. */ public Builder validityType(String validityType) { this.putBodyParameter("ValidityType", validityType); this.validityType = validityType; return this; } @Override public CreateCouponTemplateRequest build() { return new CreateCouponTemplateRequest(this); } } public static class Currency extends TeaModel { @NameInMap("CurrencyCode") private String currencyCode; @NameInMap("DefaultFractionDigits") private Integer defaultFractionDigits; @NameInMap("NumericCode") private Integer numericCode; private Currency(Builder builder) { this.currencyCode = builder.currencyCode; this.defaultFractionDigits = builder.defaultFractionDigits; this.numericCode = builder.numericCode; } public static Builder builder() { return new Builder(); } public static Currency create() { return builder().build(); } /** * @return currencyCode */ public String getCurrencyCode() { return this.currencyCode; } /** * @return defaultFractionDigits */ public Integer getDefaultFractionDigits() { return this.defaultFractionDigits; } /** * @return numericCode */ public Integer getNumericCode() { return this.numericCode; } public static final class Builder { private String currencyCode; private Integer defaultFractionDigits; private Integer numericCode; /** * CurrencyCode. */ public Builder currencyCode(String currencyCode) { this.currencyCode = currencyCode; return this; } /** * DefaultFractionDigits. */ public Builder defaultFractionDigits(Integer defaultFractionDigits) { this.defaultFractionDigits = defaultFractionDigits; return this; } /** * NumericCode. */ public Builder numericCode(Integer numericCode) { this.numericCode = numericCode; return this; } public Currency build() { return new Currency(this); } } } }
0
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227/models/CreateCouponTemplateResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resellertrade20191227.models; import com.aliyun.core.annotation.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * {@link CreateCouponTemplateResponse} extends {@link TeaModel} * * <p>CreateCouponTemplateResponse</p> */ public class CreateCouponTemplateResponse extends Response { @NameInMap("headers") private java.util.Map < String, String > headers; @NameInMap("statusCode") private Integer statusCode; @NameInMap("body") private CreateCouponTemplateResponseBody body; private CreateCouponTemplateResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static CreateCouponTemplateResponse 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 CreateCouponTemplateResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<CreateCouponTemplateResponse, Builder> { Builder headers(java.util.Map < String, String > headers); Builder statusCode(Integer statusCode); Builder body(CreateCouponTemplateResponseBody body); @Override CreateCouponTemplateResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<CreateCouponTemplateResponse, Builder> implements Builder { private java.util.Map < String, String > headers; private Integer statusCode; private CreateCouponTemplateResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(CreateCouponTemplateResponse 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(CreateCouponTemplateResponseBody body) { this.body = body; return this; } @Override public CreateCouponTemplateResponse build() { return new CreateCouponTemplateResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227/models/CreateCouponTemplateResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resellertrade20191227.models; import com.aliyun.core.annotation.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * {@link CreateCouponTemplateResponseBody} extends {@link TeaModel} * * <p>CreateCouponTemplateResponseBody</p> */ public class CreateCouponTemplateResponseBody extends TeaModel { @NameInMap("Code") private String code; @NameInMap("ContextMap") private java.util.Map < String, ? > contextMap; @NameInMap("Data") private Long data; @NameInMap("Message") private String message; @NameInMap("RequestId") private String requestId; @NameInMap("Success") private Boolean success; private CreateCouponTemplateResponseBody(Builder builder) { this.code = builder.code; this.contextMap = builder.contextMap; this.data = builder.data; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static CreateCouponTemplateResponseBody create() { return builder().build(); } /** * @return code */ public String getCode() { return this.code; } /** * @return contextMap */ public java.util.Map < String, ? > getContextMap() { return this.contextMap; } /** * @return data */ public Long getData() { return this.data; } /** * @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 java.util.Map < String, ? > contextMap; private Long data; private String message; private String requestId; private Boolean success; /** * Code. */ public Builder code(String code) { this.code = code; return this; } /** * ContextMap. */ public Builder contextMap(java.util.Map < String, ? > contextMap) { this.contextMap = contextMap; return this; } /** * result data */ public Builder data(Long data) { this.data = data; return this; } /** * Message. */ public Builder message(String message) { this.message = message; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * Success. */ public Builder success(Boolean success) { this.success = success; return this; } public CreateCouponTemplateResponseBody build() { return new CreateCouponTemplateResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227/models/DiscardCouponListRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resellertrade20191227.models; import com.aliyun.core.annotation.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * {@link DiscardCouponListRequest} extends {@link RequestModel} * * <p>DiscardCouponListRequest</p> */ public class DiscardCouponListRequest extends Request { @Body @NameInMap("CouponList") private java.util.List < Long > couponList; private DiscardCouponListRequest(Builder builder) { super(builder); this.couponList = builder.couponList; } public static Builder builder() { return new Builder(); } public static DiscardCouponListRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return couponList */ public java.util.List < Long > getCouponList() { return this.couponList; } public static final class Builder extends Request.Builder<DiscardCouponListRequest, Builder> { private java.util.List < Long > couponList; private Builder() { super(); } private Builder(DiscardCouponListRequest request) { super(request); this.couponList = request.couponList; } /** * CouponList. */ public Builder couponList(java.util.List < Long > couponList) { this.putBodyParameter("CouponList", couponList); this.couponList = couponList; return this; } @Override public DiscardCouponListRequest build() { return new DiscardCouponListRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227/models/DiscardCouponListResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resellertrade20191227.models; import com.aliyun.core.annotation.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * {@link DiscardCouponListResponse} extends {@link TeaModel} * * <p>DiscardCouponListResponse</p> */ public class DiscardCouponListResponse extends Response { @NameInMap("headers") private java.util.Map < String, String > headers; @NameInMap("statusCode") private Integer statusCode; @NameInMap("body") private DiscardCouponListResponseBody body; private DiscardCouponListResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DiscardCouponListResponse 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 DiscardCouponListResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DiscardCouponListResponse, Builder> { Builder headers(java.util.Map < String, String > headers); Builder statusCode(Integer statusCode); Builder body(DiscardCouponListResponseBody body); @Override DiscardCouponListResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DiscardCouponListResponse, Builder> implements Builder { private java.util.Map < String, String > headers; private Integer statusCode; private DiscardCouponListResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DiscardCouponListResponse 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(DiscardCouponListResponseBody body) { this.body = body; return this; } @Override public DiscardCouponListResponse build() { return new DiscardCouponListResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227/models/DiscardCouponListResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resellertrade20191227.models; import com.aliyun.core.annotation.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * {@link DiscardCouponListResponseBody} extends {@link TeaModel} * * <p>DiscardCouponListResponseBody</p> */ public class DiscardCouponListResponseBody extends TeaModel { @NameInMap("Code") private String code; @NameInMap("ContextMap") private java.util.Map < String, ? > contextMap; @NameInMap("Data") private Boolean data; @NameInMap("Message") private String message; @NameInMap("RequestId") private String requestId; @NameInMap("Success") private Boolean success; private DiscardCouponListResponseBody(Builder builder) { this.code = builder.code; this.contextMap = builder.contextMap; this.data = builder.data; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static DiscardCouponListResponseBody create() { return builder().build(); } /** * @return code */ public String getCode() { return this.code; } /** * @return contextMap */ public java.util.Map < String, ? > getContextMap() { return this.contextMap; } /** * @return data */ public Boolean getData() { return this.data; } /** * @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 java.util.Map < String, ? > contextMap; private Boolean data; private String message; private String requestId; private Boolean success; /** * Code. */ public Builder code(String code) { this.code = code; return this; } /** * ContextMap. */ public Builder contextMap(java.util.Map < String, ? > contextMap) { this.contextMap = contextMap; return this; } /** * result data */ public Builder data(Boolean data) { this.data = data; return this; } /** * Message. */ public Builder message(String message) { this.message = message; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * Success. */ public Builder success(Boolean success) { this.success = success; return this; } public DiscardCouponListResponseBody build() { return new DiscardCouponListResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227/models/GetCouponPageRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resellertrade20191227.models; import com.aliyun.core.annotation.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * {@link GetCouponPageRequest} extends {@link RequestModel} * * <p>GetCouponPageRequest</p> */ public class GetCouponPageRequest extends Request { @Query @NameInMap("FromApp") private String fromApp; @Query @NameInMap("PageNo") private Integer pageNo; @Query @NameInMap("PageSize") private Integer pageSize; @Query @NameInMap("RequestId") private String requestId; @Query @NameInMap("SellerId") private Long sellerId; @Query @NameInMap("TemplateId") private Long templateId; @Query @NameInMap("Uids") private java.util.List < Long > uids; private GetCouponPageRequest(Builder builder) { super(builder); this.fromApp = builder.fromApp; this.pageNo = builder.pageNo; this.pageSize = builder.pageSize; this.requestId = builder.requestId; this.sellerId = builder.sellerId; this.templateId = builder.templateId; this.uids = builder.uids; } public static Builder builder() { return new Builder(); } public static GetCouponPageRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return fromApp */ public String getFromApp() { return this.fromApp; } /** * @return pageNo */ public Integer getPageNo() { return this.pageNo; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return sellerId */ public Long getSellerId() { return this.sellerId; } /** * @return templateId */ public Long getTemplateId() { return this.templateId; } /** * @return uids */ public java.util.List < Long > getUids() { return this.uids; } public static final class Builder extends Request.Builder<GetCouponPageRequest, Builder> { private String fromApp; private Integer pageNo; private Integer pageSize; private String requestId; private Long sellerId; private Long templateId; private java.util.List < Long > uids; private Builder() { super(); } private Builder(GetCouponPageRequest request) { super(request); this.fromApp = request.fromApp; this.pageNo = request.pageNo; this.pageSize = request.pageSize; this.requestId = request.requestId; this.sellerId = request.sellerId; this.templateId = request.templateId; this.uids = request.uids; } /** * FromApp. */ public Builder fromApp(String fromApp) { this.putQueryParameter("FromApp", fromApp); this.fromApp = fromApp; return this; } /** * PageNo. */ public Builder pageNo(Integer pageNo) { this.putQueryParameter("PageNo", pageNo); this.pageNo = pageNo; return this; } /** * PageSize. */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.putQueryParameter("RequestId", requestId); this.requestId = requestId; return this; } /** * SellerId. */ public Builder sellerId(Long sellerId) { this.putQueryParameter("SellerId", sellerId); this.sellerId = sellerId; return this; } /** * TemplateId. */ public Builder templateId(Long templateId) { this.putQueryParameter("TemplateId", templateId); this.templateId = templateId; return this; } /** * Uids. */ public Builder uids(java.util.List < Long > uids) { this.putQueryParameter("Uids", uids); this.uids = uids; return this; } @Override public GetCouponPageRequest build() { return new GetCouponPageRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227/models/GetCouponPageResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resellertrade20191227.models; import com.aliyun.core.annotation.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * {@link GetCouponPageResponse} extends {@link TeaModel} * * <p>GetCouponPageResponse</p> */ public class GetCouponPageResponse extends Response { @NameInMap("headers") private java.util.Map < String, String > headers; @NameInMap("statusCode") private Integer statusCode; @NameInMap("body") private GetCouponPageResponseBody body; private GetCouponPageResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetCouponPageResponse 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 GetCouponPageResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetCouponPageResponse, Builder> { Builder headers(java.util.Map < String, String > headers); Builder statusCode(Integer statusCode); Builder body(GetCouponPageResponseBody body); @Override GetCouponPageResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetCouponPageResponse, Builder> implements Builder { private java.util.Map < String, String > headers; private Integer statusCode; private GetCouponPageResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetCouponPageResponse 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(GetCouponPageResponseBody body) { this.body = body; return this; } @Override public GetCouponPageResponse build() { return new GetCouponPageResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227/models/GetCouponPageResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resellertrade20191227.models; import com.aliyun.core.annotation.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * {@link GetCouponPageResponseBody} extends {@link TeaModel} * * <p>GetCouponPageResponseBody</p> */ public class GetCouponPageResponseBody extends TeaModel { @NameInMap("Code") private String code; @NameInMap("ContextMap") private java.util.Map < String, ? > contextMap; @NameInMap("Count") private Integer count; @NameInMap("Data") private java.util.List < Data> data; @NameInMap("Message") private String message; @NameInMap("RequestId") private String requestId; @NameInMap("Success") private Boolean success; @NameInMap("TotalCount") private Integer totalCount; private GetCouponPageResponseBody(Builder builder) { this.code = builder.code; this.contextMap = builder.contextMap; this.count = builder.count; this.data = builder.data; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static GetCouponPageResponseBody create() { return builder().build(); } /** * @return code */ public String getCode() { return this.code; } /** * @return contextMap */ public java.util.Map < String, ? > getContextMap() { return this.contextMap; } /** * @return count */ public Integer getCount() { return this.count; } /** * @return data */ public java.util.List < Data> getData() { return this.data; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private String code; private java.util.Map < String, ? > contextMap; private Integer count; private java.util.List < Data> data; private String message; private String requestId; private Boolean success; private Integer totalCount; /** * Code. */ public Builder code(String code) { this.code = code; return this; } /** * ContextMap. */ public Builder contextMap(java.util.Map < String, ? > contextMap) { this.contextMap = contextMap; return this; } /** * Count. */ public Builder count(Integer count) { this.count = count; return this; } /** * Data. */ public Builder data(java.util.List < Data> data) { this.data = data; return this; } /** * Message. */ public Builder message(String message) { this.message = message; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * Success. */ public Builder success(Boolean success) { this.success = success; return this; } /** * TotalCount. */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public GetCouponPageResponseBody build() { return new GetCouponPageResponseBody(this); } } public static class Currency extends TeaModel { @NameInMap("CurrencyCode") private String currencyCode; private Currency(Builder builder) { this.currencyCode = builder.currencyCode; } public static Builder builder() { return new Builder(); } public static Currency create() { return builder().build(); } /** * @return currencyCode */ public String getCurrencyCode() { return this.currencyCode; } public static final class Builder { private String currencyCode; /** * CurrencyCode. */ public Builder currencyCode(String currencyCode) { this.currencyCode = currencyCode; return this; } public Currency build() { return new Currency(this); } } } public static class Data extends TeaModel { @NameInMap("Amount") private Double amount; @NameInMap("CertainMoney") private Double certainMoney; @NameInMap("CouponId") private Long couponId; @NameInMap("CouponType") private String couponType; @NameInMap("Currency") private Currency currency; @NameInMap("Description") private String description; @NameInMap("DiscountRate") private Double discountRate; @NameInMap("EndTime") private String endTime; @NameInMap("FrozenAmount") private Double frozenAmount; @NameInMap("FrozenCount") private Integer frozenCount; @NameInMap("PromotionId") private Long promotionId; @NameInMap("SellerId") private Long sellerId; @NameInMap("StartTime") private String startTime; @NameInMap("Status") private String status; @NameInMap("TemplateId") private Long templateId; @NameInMap("UniversalType") private String universalType; @NameInMap("UpperLimit") private Double upperLimit; @NameInMap("UsageCount") private Integer usageCount; @NameInMap("UsedAmount") private Double usedAmount; @NameInMap("UsedCount") private Integer usedCount; @NameInMap("UserId") private Long userId; private Data(Builder builder) { this.amount = builder.amount; this.certainMoney = builder.certainMoney; this.couponId = builder.couponId; this.couponType = builder.couponType; this.currency = builder.currency; this.description = builder.description; this.discountRate = builder.discountRate; this.endTime = builder.endTime; this.frozenAmount = builder.frozenAmount; this.frozenCount = builder.frozenCount; this.promotionId = builder.promotionId; this.sellerId = builder.sellerId; this.startTime = builder.startTime; this.status = builder.status; this.templateId = builder.templateId; this.universalType = builder.universalType; this.upperLimit = builder.upperLimit; this.usageCount = builder.usageCount; this.usedAmount = builder.usedAmount; this.usedCount = builder.usedCount; this.userId = builder.userId; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return amount */ public Double getAmount() { return this.amount; } /** * @return certainMoney */ public Double getCertainMoney() { return this.certainMoney; } /** * @return couponId */ public Long getCouponId() { return this.couponId; } /** * @return couponType */ public String getCouponType() { return this.couponType; } /** * @return currency */ public Currency getCurrency() { return this.currency; } /** * @return description */ public String getDescription() { return this.description; } /** * @return discountRate */ public Double getDiscountRate() { return this.discountRate; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return frozenAmount */ public Double getFrozenAmount() { return this.frozenAmount; } /** * @return frozenCount */ public Integer getFrozenCount() { return this.frozenCount; } /** * @return promotionId */ public Long getPromotionId() { return this.promotionId; } /** * @return sellerId */ public Long getSellerId() { return this.sellerId; } /** * @return startTime */ public String getStartTime() { return this.startTime; } /** * @return status */ public String getStatus() { return this.status; } /** * @return templateId */ public Long getTemplateId() { return this.templateId; } /** * @return universalType */ public String getUniversalType() { return this.universalType; } /** * @return upperLimit */ public Double getUpperLimit() { return this.upperLimit; } /** * @return usageCount */ public Integer getUsageCount() { return this.usageCount; } /** * @return usedAmount */ public Double getUsedAmount() { return this.usedAmount; } /** * @return usedCount */ public Integer getUsedCount() { return this.usedCount; } /** * @return userId */ public Long getUserId() { return this.userId; } public static final class Builder { private Double amount; private Double certainMoney; private Long couponId; private String couponType; private Currency currency; private String description; private Double discountRate; private String endTime; private Double frozenAmount; private Integer frozenCount; private Long promotionId; private Long sellerId; private String startTime; private String status; private Long templateId; private String universalType; private Double upperLimit; private Integer usageCount; private Double usedAmount; private Integer usedCount; private Long userId; /** * Amount. */ public Builder amount(Double amount) { this.amount = amount; return this; } /** * CertainMoney. */ public Builder certainMoney(Double certainMoney) { this.certainMoney = certainMoney; return this; } /** * CouponId. */ public Builder couponId(Long couponId) { this.couponId = couponId; return this; } /** * CouponType. */ public Builder couponType(String couponType) { this.couponType = couponType; return this; } /** * Currency. */ public Builder currency(Currency currency) { this.currency = currency; return this; } /** * Description. */ public Builder description(String description) { this.description = description; return this; } /** * DiscountRate. */ public Builder discountRate(Double discountRate) { this.discountRate = discountRate; return this; } /** * EndTime. */ public Builder endTime(String endTime) { this.endTime = endTime; return this; } /** * FrozenAmount. */ public Builder frozenAmount(Double frozenAmount) { this.frozenAmount = frozenAmount; return this; } /** * FrozenCount. */ public Builder frozenCount(Integer frozenCount) { this.frozenCount = frozenCount; return this; } /** * PromotionId. */ public Builder promotionId(Long promotionId) { this.promotionId = promotionId; return this; } /** * SellerId. */ public Builder sellerId(Long sellerId) { this.sellerId = sellerId; return this; } /** * StartTime. */ public Builder startTime(String startTime) { this.startTime = startTime; return this; } /** * Status. */ public Builder status(String status) { this.status = status; return this; } /** * TemplateId. */ public Builder templateId(Long templateId) { this.templateId = templateId; return this; } /** * UniversalType. */ public Builder universalType(String universalType) { this.universalType = universalType; return this; } /** * UpperLimit. */ public Builder upperLimit(Double upperLimit) { this.upperLimit = upperLimit; return this; } /** * UsageCount. */ public Builder usageCount(Integer usageCount) { this.usageCount = usageCount; return this; } /** * UsedAmount. */ public Builder usedAmount(Double usedAmount) { this.usedAmount = usedAmount; return this; } /** * UsedCount. */ public Builder usedCount(Integer usedCount) { this.usedCount = usedCount; return this; } /** * UserId. */ public Builder userId(Long userId) { this.userId = userId; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227/models/GetCustomerListRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resellertrade20191227.models; import com.aliyun.core.annotation.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * {@link GetCustomerListRequest} extends {@link RequestModel} * * <p>GetCustomerListRequest</p> */ public class GetCustomerListRequest extends Request { @Query @NameInMap("PageNo") @Validation(required = true) private Integer pageNo; @Query @NameInMap("PageSize") @Validation(required = true) private Integer pageSize; private GetCustomerListRequest(Builder builder) { super(builder); this.pageNo = builder.pageNo; this.pageSize = builder.pageSize; } public static Builder builder() { return new Builder(); } public static GetCustomerListRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return pageNo */ public Integer getPageNo() { return this.pageNo; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } public static final class Builder extends Request.Builder<GetCustomerListRequest, Builder> { private Integer pageNo; private Integer pageSize; private Builder() { super(); } private Builder(GetCustomerListRequest request) { super(request); this.pageNo = request.pageNo; this.pageSize = request.pageSize; } /** * PageNo. */ public Builder pageNo(Integer pageNo) { this.putQueryParameter("PageNo", pageNo); this.pageNo = pageNo; return this; } /** * PageSize. */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } @Override public GetCustomerListRequest build() { return new GetCustomerListRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227/models/GetCustomerListResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resellertrade20191227.models; import com.aliyun.core.annotation.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * {@link GetCustomerListResponse} extends {@link TeaModel} * * <p>GetCustomerListResponse</p> */ public class GetCustomerListResponse extends Response { @NameInMap("headers") private java.util.Map < String, String > headers; @NameInMap("statusCode") private Integer statusCode; @NameInMap("body") private GetCustomerListResponseBody body; private GetCustomerListResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetCustomerListResponse 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 GetCustomerListResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetCustomerListResponse, Builder> { Builder headers(java.util.Map < String, String > headers); Builder statusCode(Integer statusCode); Builder body(GetCustomerListResponseBody body); @Override GetCustomerListResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetCustomerListResponse, Builder> implements Builder { private java.util.Map < String, String > headers; private Integer statusCode; private GetCustomerListResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetCustomerListResponse 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(GetCustomerListResponseBody body) { this.body = body; return this; } @Override public GetCustomerListResponse build() { return new GetCustomerListResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227/models/GetCustomerListResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resellertrade20191227.models; import com.aliyun.core.annotation.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * {@link GetCustomerListResponseBody} extends {@link TeaModel} * * <p>GetCustomerListResponseBody</p> */ public class GetCustomerListResponseBody extends TeaModel { @NameInMap("Code") private String code; @NameInMap("Data") private Data data; @NameInMap("Message") private String message; @NameInMap("RequestId") private String requestId; @NameInMap("Success") private Boolean success; private GetCustomerListResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static GetCustomerListResponseBody create() { return builder().build(); } /** * @return code */ public String getCode() { return this.code; } /** * @return data */ public Data getData() { return this.data; } /** * @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 String message; private String requestId; private Boolean success; /** * Code. */ public Builder code(String code) { this.code = code; return this; } /** * Data. */ public Builder data(Data data) { this.data = data; return this; } /** * Message. */ public Builder message(String message) { this.message = message; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * Success. */ public Builder success(Boolean success) { this.success = success; return this; } public GetCustomerListResponseBody build() { return new GetCustomerListResponseBody(this); } } public static class Data extends TeaModel { @NameInMap("TotalSize") private Integer totalSize; @NameInMap("UidList") private java.util.List < String > uidList; private Data(Builder builder) { this.totalSize = builder.totalSize; this.uidList = builder.uidList; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return totalSize */ public Integer getTotalSize() { return this.totalSize; } /** * @return uidList */ public java.util.List < String > getUidList() { return this.uidList; } public static final class Builder { private Integer totalSize; private java.util.List < String > uidList; /** * TotalSize. */ public Builder totalSize(Integer totalSize) { this.totalSize = totalSize; return this; } /** * UidList. */ public Builder uidList(java.util.List < String > uidList) { this.uidList = uidList; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227/models/GetRelationRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resellertrade20191227.models; import com.aliyun.core.annotation.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * {@link GetRelationRequest} extends {@link RequestModel} * * <p>GetRelationRequest</p> */ public class GetRelationRequest extends Request { @Query @NameInMap("RelationTime") @Validation(maximum = 9999956549000D) private Long relationTime; @Query @NameInMap("Uid") @Validation() private Long uid; private GetRelationRequest(Builder builder) { super(builder); this.relationTime = builder.relationTime; this.uid = builder.uid; } public static Builder builder() { return new Builder(); } public static GetRelationRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return relationTime */ public Long getRelationTime() { return this.relationTime; } /** * @return uid */ public Long getUid() { return this.uid; } public static final class Builder extends Request.Builder<GetRelationRequest, Builder> { private Long relationTime; private Long uid; private Builder() { super(); } private Builder(GetRelationRequest request) { super(request); this.relationTime = request.relationTime; this.uid = request.uid; } /** * RelationTime. */ public Builder relationTime(Long relationTime) { this.putQueryParameter("RelationTime", relationTime); this.relationTime = relationTime; return this; } /** * Uid. */ public Builder uid(Long uid) { this.putQueryParameter("Uid", uid); this.uid = uid; return this; } @Override public GetRelationRequest build() { return new GetRelationRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227/models/GetRelationResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resellertrade20191227.models; import com.aliyun.core.annotation.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * {@link GetRelationResponse} extends {@link TeaModel} * * <p>GetRelationResponse</p> */ public class GetRelationResponse extends Response { @NameInMap("headers") private java.util.Map < String, String > headers; @NameInMap("statusCode") private Integer statusCode; @NameInMap("body") private GetRelationResponseBody body; private GetRelationResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetRelationResponse 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 GetRelationResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetRelationResponse, Builder> { Builder headers(java.util.Map < String, String > headers); Builder statusCode(Integer statusCode); Builder body(GetRelationResponseBody body); @Override GetRelationResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetRelationResponse, Builder> implements Builder { private java.util.Map < String, String > headers; private Integer statusCode; private GetRelationResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetRelationResponse 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(GetRelationResponseBody body) { this.body = body; return this; } @Override public GetRelationResponse build() { return new GetRelationResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227/models/GetRelationResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resellertrade20191227.models; import com.aliyun.core.annotation.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * {@link GetRelationResponseBody} extends {@link TeaModel} * * <p>GetRelationResponseBody</p> */ public class GetRelationResponseBody extends TeaModel { @NameInMap("Class") private String _class; @NameInMap("Code") private String code; @NameInMap("Data") private Data data; @NameInMap("Message") private String message; @NameInMap("RequestId") private String requestId; @NameInMap("Success") private Boolean success; private GetRelationResponseBody(Builder builder) { this._class = builder._class; this.code = builder.code; this.data = builder.data; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static GetRelationResponseBody create() { return builder().build(); } /** * @return _class */ public String get_class() { return this._class; } /** * @return code */ public String getCode() { return this.code; } /** * @return data */ public Data getData() { return this.data; } /** * @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 _class; private String code; private Data data; private String message; private String requestId; private Boolean success; /** * Class. */ public Builder _class(String _class) { this._class = _class; return this; } /** * Code. */ public Builder code(String code) { this.code = code; return this; } /** * Data. */ public Builder data(Data data) { this.data = data; return this; } /** * Message. */ public Builder message(String message) { this.message = message; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * Success. */ public Builder success(Boolean success) { this.success = success; return this; } public GetRelationResponseBody build() { return new GetRelationResponseBody(this); } } public static class ResellerProductModeDO extends TeaModel { @NameInMap("Class") private String _class; @NameInMap("IsService") private Long isService; @NameInMap("ProductCode") private String productCode; @NameInMap("ProductName") private String productName; private ResellerProductModeDO(Builder builder) { this._class = builder._class; this.isService = builder.isService; this.productCode = builder.productCode; this.productName = builder.productName; } public static Builder builder() { return new Builder(); } public static ResellerProductModeDO create() { return builder().build(); } /** * @return _class */ public String get_class() { return this._class; } /** * @return isService */ public Long getIsService() { return this.isService; } /** * @return productCode */ public String getProductCode() { return this.productCode; } /** * @return productName */ public String getProductName() { return this.productName; } public static final class Builder { private String _class; private Long isService; private String productCode; private String productName; /** * Class. */ public Builder _class(String _class) { this._class = _class; return this; } /** * IsService. */ public Builder isService(Long isService) { this.isService = isService; return this; } /** * ProductCode. */ public Builder productCode(String productCode) { this.productCode = productCode; return this; } /** * ProductName. */ public Builder productName(String productName) { this.productName = productName; return this; } public ResellerProductModeDO build() { return new ResellerProductModeDO(this); } } } public static class ResellerProductRuleDO extends TeaModel { @NameInMap("Class") private String _class; @NameInMap("CommodityRoute") private Boolean commodityRoute; @NameInMap("MultiOrder") private Boolean multiOrder; @NameInMap("PayMode") private String payMode; private ResellerProductRuleDO(Builder builder) { this._class = builder._class; this.commodityRoute = builder.commodityRoute; this.multiOrder = builder.multiOrder; this.payMode = builder.payMode; } public static Builder builder() { return new Builder(); } public static ResellerProductRuleDO create() { return builder().build(); } /** * @return _class */ public String get_class() { return this._class; } /** * @return commodityRoute */ public Boolean getCommodityRoute() { return this.commodityRoute; } /** * @return multiOrder */ public Boolean getMultiOrder() { return this.multiOrder; } /** * @return payMode */ public String getPayMode() { return this.payMode; } public static final class Builder { private String _class; private Boolean commodityRoute; private Boolean multiOrder; private String payMode; /** * Class. */ public Builder _class(String _class) { this._class = _class; return this; } /** * CommodityRoute. */ public Builder commodityRoute(Boolean commodityRoute) { this.commodityRoute = commodityRoute; return this; } /** * MultiOrder. */ public Builder multiOrder(Boolean multiOrder) { this.multiOrder = multiOrder; return this; } /** * PayMode. */ public Builder payMode(String payMode) { this.payMode = payMode; return this; } public ResellerProductRuleDO build() { return new ResellerProductRuleDO(this); } } } public static class Data extends TeaModel { @NameInMap("CanLoginOfficial") private Boolean canLoginOfficial; @NameInMap("Class") private String _class; @NameInMap("EndTime") private Long endTime; @NameInMap("ResellerProductModeDO") private ResellerProductModeDO resellerProductModeDO; @NameInMap("ResellerProductRuleDO") private ResellerProductRuleDO resellerProductRuleDO; @NameInMap("ResellerUid") private Long resellerUid; @NameInMap("StartTime") private Long startTime; @NameInMap("Status") private String status; @NameInMap("TopReseller") private Boolean topReseller; @NameInMap("Uid") private Long uid; @NameInMap("UserType") private String userType; private Data(Builder builder) { this.canLoginOfficial = builder.canLoginOfficial; this._class = builder._class; this.endTime = builder.endTime; this.resellerProductModeDO = builder.resellerProductModeDO; this.resellerProductRuleDO = builder.resellerProductRuleDO; this.resellerUid = builder.resellerUid; this.startTime = builder.startTime; this.status = builder.status; this.topReseller = builder.topReseller; this.uid = builder.uid; this.userType = builder.userType; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return canLoginOfficial */ public Boolean getCanLoginOfficial() { return this.canLoginOfficial; } /** * @return _class */ public String get_class() { return this._class; } /** * @return endTime */ public Long getEndTime() { return this.endTime; } /** * @return resellerProductModeDO */ public ResellerProductModeDO getResellerProductModeDO() { return this.resellerProductModeDO; } /** * @return resellerProductRuleDO */ public ResellerProductRuleDO getResellerProductRuleDO() { return this.resellerProductRuleDO; } /** * @return resellerUid */ public Long getResellerUid() { return this.resellerUid; } /** * @return startTime */ public Long getStartTime() { return this.startTime; } /** * @return status */ public String getStatus() { return this.status; } /** * @return topReseller */ public Boolean getTopReseller() { return this.topReseller; } /** * @return uid */ public Long getUid() { return this.uid; } /** * @return userType */ public String getUserType() { return this.userType; } public static final class Builder { private Boolean canLoginOfficial; private String _class; private Long endTime; private ResellerProductModeDO resellerProductModeDO; private ResellerProductRuleDO resellerProductRuleDO; private Long resellerUid; private Long startTime; private String status; private Boolean topReseller; private Long uid; private String userType; /** * CanLoginOfficial. */ public Builder canLoginOfficial(Boolean canLoginOfficial) { this.canLoginOfficial = canLoginOfficial; return this; } /** * Class. */ public Builder _class(String _class) { this._class = _class; return this; } /** * EndTime. */ public Builder endTime(Long endTime) { this.endTime = endTime; return this; } /** * ResellerProductModeDO. */ public Builder resellerProductModeDO(ResellerProductModeDO resellerProductModeDO) { this.resellerProductModeDO = resellerProductModeDO; return this; } /** * ResellerProductRuleDO. */ public Builder resellerProductRuleDO(ResellerProductRuleDO resellerProductRuleDO) { this.resellerProductRuleDO = resellerProductRuleDO; return this; } /** * ResellerUid. */ public Builder resellerUid(Long resellerUid) { this.resellerUid = resellerUid; return this; } /** * StartTime. */ public Builder startTime(Long startTime) { this.startTime = startTime; return this; } /** * Status. */ public Builder status(String status) { this.status = status; return this; } /** * TopReseller. */ public Builder topReseller(Boolean topReseller) { this.topReseller = topReseller; return this; } /** * Uid. */ public Builder uid(Long uid) { this.uid = uid; return this; } /** * UserType. */ public Builder userType(String userType) { this.userType = userType; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227/models/GetResellerPayOrderRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resellertrade20191227.models; import com.aliyun.core.annotation.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * {@link GetResellerPayOrderRequest} extends {@link RequestModel} * * <p>GetResellerPayOrderRequest</p> */ public class GetResellerPayOrderRequest extends Request { @Query @NameInMap("OrderId") @Validation(required = true) private String orderId; @Query @NameInMap("Uid") @Validation(required = true) private Long uid; private GetResellerPayOrderRequest(Builder builder) { super(builder); this.orderId = builder.orderId; this.uid = builder.uid; } public static Builder builder() { return new Builder(); } public static GetResellerPayOrderRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return orderId */ public String getOrderId() { return this.orderId; } /** * @return uid */ public Long getUid() { return this.uid; } public static final class Builder extends Request.Builder<GetResellerPayOrderRequest, Builder> { private String orderId; private Long uid; private Builder() { super(); } private Builder(GetResellerPayOrderRequest request) { super(request); this.orderId = request.orderId; this.uid = request.uid; } /** * OrderId. */ public Builder orderId(String orderId) { this.putQueryParameter("OrderId", orderId); this.orderId = orderId; return this; } /** * Uid. */ public Builder uid(Long uid) { this.putQueryParameter("Uid", uid); this.uid = uid; return this; } @Override public GetResellerPayOrderRequest build() { return new GetResellerPayOrderRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227/models/GetResellerPayOrderResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resellertrade20191227.models; import com.aliyun.core.annotation.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * {@link GetResellerPayOrderResponse} extends {@link TeaModel} * * <p>GetResellerPayOrderResponse</p> */ public class GetResellerPayOrderResponse extends Response { @NameInMap("headers") private java.util.Map < String, String > headers; @NameInMap("statusCode") private Integer statusCode; @NameInMap("body") private GetResellerPayOrderResponseBody body; private GetResellerPayOrderResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static GetResellerPayOrderResponse 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 GetResellerPayOrderResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<GetResellerPayOrderResponse, Builder> { Builder headers(java.util.Map < String, String > headers); Builder statusCode(Integer statusCode); Builder body(GetResellerPayOrderResponseBody body); @Override GetResellerPayOrderResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<GetResellerPayOrderResponse, Builder> implements Builder { private java.util.Map < String, String > headers; private Integer statusCode; private GetResellerPayOrderResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(GetResellerPayOrderResponse 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(GetResellerPayOrderResponseBody body) { this.body = body; return this; } @Override public GetResellerPayOrderResponse build() { return new GetResellerPayOrderResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227/models/GetResellerPayOrderResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resellertrade20191227.models; import com.aliyun.core.annotation.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * {@link GetResellerPayOrderResponseBody} extends {@link TeaModel} * * <p>GetResellerPayOrderResponseBody</p> */ public class GetResellerPayOrderResponseBody extends TeaModel { @NameInMap("Code") private String code; @NameInMap("Data") private Data data; @NameInMap("Message") private String message; @NameInMap("RequestId") private String requestId; @NameInMap("Success") private Boolean success; private GetResellerPayOrderResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static GetResellerPayOrderResponseBody create() { return builder().build(); } /** * @return code */ public String getCode() { return this.code; } /** * @return data */ public Data getData() { return this.data; } /** * @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 String message; private String requestId; private Boolean success; /** * Code. */ public Builder code(String code) { this.code = code; return this; } /** * Data. */ public Builder data(Data data) { this.data = data; return this; } /** * Message. */ public Builder message(String message) { this.message = message; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * Success. */ public Builder success(Boolean success) { this.success = success; return this; } public GetResellerPayOrderResponseBody build() { return new GetResellerPayOrderResponseBody(this); } } public static class Data extends TeaModel { @NameInMap("BuyerId") private String buyerId; @NameInMap("OrderId") private String orderId; @NameInMap("OrderStatus") private String orderStatus; @NameInMap("PayAmount") private String payAmount; private Data(Builder builder) { this.buyerId = builder.buyerId; this.orderId = builder.orderId; this.orderStatus = builder.orderStatus; this.payAmount = builder.payAmount; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return buyerId */ public String getBuyerId() { return this.buyerId; } /** * @return orderId */ public String getOrderId() { return this.orderId; } /** * @return orderStatus */ public String getOrderStatus() { return this.orderStatus; } /** * @return payAmount */ public String getPayAmount() { return this.payAmount; } public static final class Builder { private String buyerId; private String orderId; private String orderStatus; private String payAmount; /** * BuyerId. */ public Builder buyerId(String buyerId) { this.buyerId = buyerId; return this; } /** * OrderId. */ public Builder orderId(String orderId) { this.orderId = orderId; return this; } /** * OrderStatus. */ public Builder orderStatus(String orderStatus) { this.orderStatus = orderStatus; return this; } /** * PayAmount. */ public Builder payAmount(String payAmount) { this.payAmount = payAmount; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227/models/LabelPartnerUserRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resellertrade20191227.models; import com.aliyun.core.annotation.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * {@link LabelPartnerUserRequest} extends {@link RequestModel} * * <p>LabelPartnerUserRequest</p> */ public class LabelPartnerUserRequest extends Request { @Body @NameInMap("UserPK") @Validation(required = true) private Long userPK; @Body @NameInMap("UserTag") @Validation(required = true) private String userTag; private LabelPartnerUserRequest(Builder builder) { super(builder); this.userPK = builder.userPK; this.userTag = builder.userTag; } public static Builder builder() { return new Builder(); } public static LabelPartnerUserRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return userPK */ public Long getUserPK() { return this.userPK; } /** * @return userTag */ public String getUserTag() { return this.userTag; } public static final class Builder extends Request.Builder<LabelPartnerUserRequest, Builder> { private Long userPK; private String userTag; private Builder() { super(); } private Builder(LabelPartnerUserRequest request) { super(request); this.userPK = request.userPK; this.userTag = request.userTag; } /** * UserPK. */ public Builder userPK(Long userPK) { this.putBodyParameter("UserPK", userPK); this.userPK = userPK; return this; } /** * UserTag. */ public Builder userTag(String userTag) { this.putBodyParameter("UserTag", userTag); this.userTag = userTag; return this; } @Override public LabelPartnerUserRequest build() { return new LabelPartnerUserRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227/models/LabelPartnerUserResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resellertrade20191227.models; import com.aliyun.core.annotation.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * {@link LabelPartnerUserResponse} extends {@link TeaModel} * * <p>LabelPartnerUserResponse</p> */ public class LabelPartnerUserResponse extends Response { @NameInMap("headers") private java.util.Map < String, String > headers; @NameInMap("statusCode") private Integer statusCode; @NameInMap("body") private LabelPartnerUserResponseBody body; private LabelPartnerUserResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static LabelPartnerUserResponse 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 LabelPartnerUserResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<LabelPartnerUserResponse, Builder> { Builder headers(java.util.Map < String, String > headers); Builder statusCode(Integer statusCode); Builder body(LabelPartnerUserResponseBody body); @Override LabelPartnerUserResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<LabelPartnerUserResponse, Builder> implements Builder { private java.util.Map < String, String > headers; private Integer statusCode; private LabelPartnerUserResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(LabelPartnerUserResponse 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(LabelPartnerUserResponseBody body) { this.body = body; return this; } @Override public LabelPartnerUserResponse build() { return new LabelPartnerUserResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227/models/LabelPartnerUserResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resellertrade20191227.models; import com.aliyun.core.annotation.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * {@link LabelPartnerUserResponseBody} extends {@link TeaModel} * * <p>LabelPartnerUserResponseBody</p> */ public class LabelPartnerUserResponseBody extends TeaModel { @NameInMap("Code") private String code; @NameInMap("Data") private Data data; @NameInMap("Message") private String message; @NameInMap("RequestId") private String requestId; @NameInMap("Success") private Boolean success; private LabelPartnerUserResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static LabelPartnerUserResponseBody create() { return builder().build(); } /** * @return code */ public String getCode() { return this.code; } /** * @return data */ public Data getData() { return this.data; } /** * @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 String message; private String requestId; private Boolean success; /** * Code. */ public Builder code(String code) { this.code = code; return this; } /** * Data. */ public Builder data(Data data) { this.data = data; return this; } /** * Message. */ public Builder message(String message) { this.message = message; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * Success. */ public Builder success(Boolean success) { this.success = success; return this; } public LabelPartnerUserResponseBody build() { return new LabelPartnerUserResponseBody(this); } } public static class Data extends TeaModel { @NameInMap("UserPK") private Long userPK; @NameInMap("UserTag") private String userTag; private Data(Builder builder) { this.userPK = builder.userPK; this.userTag = builder.userTag; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return userPK */ public Long getUserPK() { return this.userPK; } /** * @return userTag */ public String getUserTag() { return this.userTag; } public static final class Builder { private Long userPK; private String userTag; /** * UserPK. */ public Builder userPK(Long userPK) { this.userPK = userPK; return this; } /** * UserTag. */ public Builder userTag(String userTag) { this.userTag = userTag; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227/models/MigrateResourceRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resellertrade20191227.models; import com.aliyun.core.annotation.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * {@link MigrateResourceRequest} extends {@link RequestModel} * * <p>MigrateResourceRequest</p> */ public class MigrateResourceRequest extends Request { @Body @NameInMap("ActionCode") @Validation(required = true) private String actionCode; @Body @NameInMap("Content") private String content; private MigrateResourceRequest(Builder builder) { super(builder); this.actionCode = builder.actionCode; this.content = builder.content; } public static Builder builder() { return new Builder(); } public static MigrateResourceRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return actionCode */ public String getActionCode() { return this.actionCode; } /** * @return content */ public String getContent() { return this.content; } public static final class Builder extends Request.Builder<MigrateResourceRequest, Builder> { private String actionCode; private String content; private Builder() { super(); } private Builder(MigrateResourceRequest request) { super(request); this.actionCode = request.actionCode; this.content = request.content; } /** * ActionCode. */ public Builder actionCode(String actionCode) { this.putBodyParameter("ActionCode", actionCode); this.actionCode = actionCode; return this; } /** * Content. */ public Builder content(String content) { this.putBodyParameter("Content", content); this.content = content; return this; } @Override public MigrateResourceRequest build() { return new MigrateResourceRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227/models/MigrateResourceResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resellertrade20191227.models; import com.aliyun.core.annotation.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * {@link MigrateResourceResponse} extends {@link TeaModel} * * <p>MigrateResourceResponse</p> */ public class MigrateResourceResponse extends Response { @NameInMap("headers") private java.util.Map < String, String > headers; @NameInMap("statusCode") private Integer statusCode; @NameInMap("body") private MigrateResourceResponseBody body; private MigrateResourceResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static MigrateResourceResponse 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 MigrateResourceResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<MigrateResourceResponse, Builder> { Builder headers(java.util.Map < String, String > headers); Builder statusCode(Integer statusCode); Builder body(MigrateResourceResponseBody body); @Override MigrateResourceResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<MigrateResourceResponse, Builder> implements Builder { private java.util.Map < String, String > headers; private Integer statusCode; private MigrateResourceResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(MigrateResourceResponse 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(MigrateResourceResponseBody body) { this.body = body; return this; } @Override public MigrateResourceResponse build() { return new MigrateResourceResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227/models/MigrateResourceResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resellertrade20191227.models; import com.aliyun.core.annotation.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * {@link MigrateResourceResponseBody} extends {@link TeaModel} * * <p>MigrateResourceResponseBody</p> */ public class MigrateResourceResponseBody extends TeaModel { @NameInMap("Code") private String code; @NameInMap("Data") private Data data; @NameInMap("Message") private String message; @NameInMap("RequestId") private String requestId; @NameInMap("Success") private Boolean success; private MigrateResourceResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static MigrateResourceResponseBody create() { return builder().build(); } /** * @return code */ public String getCode() { return this.code; } /** * @return data */ public Data getData() { return this.data; } /** * @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 String message; private String requestId; private Boolean success; /** * Code. */ public Builder code(String code) { this.code = code; return this; } /** * Data. */ public Builder data(Data data) { this.data = data; return this; } /** * Message. */ public Builder message(String message) { this.message = message; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * Success. */ public Builder success(Boolean success) { this.success = success; return this; } public MigrateResourceResponseBody build() { return new MigrateResourceResponseBody(this); } } public static class Data extends TeaModel { @NameInMap("Content") private String content; @NameInMap("ProcEnvir") private String procEnvir; private Data(Builder builder) { this.content = builder.content; this.procEnvir = builder.procEnvir; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return content */ public String getContent() { return this.content; } /** * @return procEnvir */ public String getProcEnvir() { return this.procEnvir; } public static final class Builder { private String content; private String procEnvir; /** * Content. */ public Builder content(String content) { this.content = content; return this; } /** * ProcEnvir. */ public Builder procEnvir(String procEnvir) { this.procEnvir = procEnvir; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227/models/OfflineActivityRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resellertrade20191227.models; import com.aliyun.core.annotation.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * {@link OfflineActivityRequest} extends {@link RequestModel} * * <p>OfflineActivityRequest</p> */ public class OfflineActivityRequest extends Request { @Body @NameInMap("ActivityList") private java.util.List < Long > activityList; @Body @NameInMap("BizId") private String bizId; @Body @NameInMap("Token") private String token; private OfflineActivityRequest(Builder builder) { super(builder); this.activityList = builder.activityList; this.bizId = builder.bizId; this.token = builder.token; } public static Builder builder() { return new Builder(); } public static OfflineActivityRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return activityList */ public java.util.List < Long > getActivityList() { return this.activityList; } /** * @return bizId */ public String getBizId() { return this.bizId; } /** * @return token */ public String getToken() { return this.token; } public static final class Builder extends Request.Builder<OfflineActivityRequest, Builder> { private java.util.List < Long > activityList; private String bizId; private String token; private Builder() { super(); } private Builder(OfflineActivityRequest request) { super(request); this.activityList = request.activityList; this.bizId = request.bizId; this.token = request.token; } /** * ActivityList. */ public Builder activityList(java.util.List < Long > activityList) { this.putBodyParameter("ActivityList", activityList); this.activityList = activityList; return this; } /** * BizId. */ public Builder bizId(String bizId) { this.putBodyParameter("BizId", bizId); this.bizId = bizId; return this; } /** * Token. */ public Builder token(String token) { this.putBodyParameter("Token", token); this.token = token; return this; } @Override public OfflineActivityRequest build() { return new OfflineActivityRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227/models/OfflineActivityResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resellertrade20191227.models; import com.aliyun.core.annotation.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * {@link OfflineActivityResponse} extends {@link TeaModel} * * <p>OfflineActivityResponse</p> */ public class OfflineActivityResponse extends Response { @NameInMap("headers") private java.util.Map < String, String > headers; @NameInMap("statusCode") private Integer statusCode; @NameInMap("body") private OfflineActivityResponseBody body; private OfflineActivityResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static OfflineActivityResponse 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 OfflineActivityResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<OfflineActivityResponse, Builder> { Builder headers(java.util.Map < String, String > headers); Builder statusCode(Integer statusCode); Builder body(OfflineActivityResponseBody body); @Override OfflineActivityResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<OfflineActivityResponse, Builder> implements Builder { private java.util.Map < String, String > headers; private Integer statusCode; private OfflineActivityResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(OfflineActivityResponse 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(OfflineActivityResponseBody body) { this.body = body; return this; } @Override public OfflineActivityResponse build() { return new OfflineActivityResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227/models/OfflineActivityResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resellertrade20191227.models; import com.aliyun.core.annotation.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * {@link OfflineActivityResponseBody} extends {@link TeaModel} * * <p>OfflineActivityResponseBody</p> */ public class OfflineActivityResponseBody extends TeaModel { @NameInMap("Code") private String code; @NameInMap("ContextMap") private java.util.Map < String, ? > contextMap; @NameInMap("Data") private java.util.List < Long > data; @NameInMap("Message") private String message; @NameInMap("RequestId") private String requestId; @NameInMap("Success") private Boolean success; private OfflineActivityResponseBody(Builder builder) { this.code = builder.code; this.contextMap = builder.contextMap; this.data = builder.data; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static OfflineActivityResponseBody create() { return builder().build(); } /** * @return code */ public String getCode() { return this.code; } /** * @return contextMap */ public java.util.Map < String, ? > getContextMap() { return this.contextMap; } /** * @return data */ public java.util.List < Long > getData() { return this.data; } /** * @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 java.util.Map < String, ? > contextMap; private java.util.List < Long > data; private String message; private String requestId; private Boolean success; /** * Code. */ public Builder code(String code) { this.code = code; return this; } /** * ContextMap. */ public Builder contextMap(java.util.Map < String, ? > contextMap) { this.contextMap = contextMap; return this; } /** * Data. */ public Builder data(java.util.List < Long > data) { this.data = data; return this; } /** * Message. */ public Builder message(String message) { this.message = message; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * Success. */ public Builder success(Boolean success) { this.success = success; return this; } public OfflineActivityResponseBody build() { return new OfflineActivityResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227/models/PayResultCallbackRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resellertrade20191227.models; import com.aliyun.core.annotation.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * {@link PayResultCallbackRequest} extends {@link RequestModel} * * <p>PayResultCallbackRequest</p> */ public class PayResultCallbackRequest extends Request { @Query @NameInMap("OrderId") @Validation(required = true) private String orderId; @Query @NameInMap("PayStatus") @Validation(required = true) private String payStatus; @Query @NameInMap("PayTime") @Validation(required = true) private String payTime; @Query @NameInMap("Uid") @Validation(required = true) private Long uid; private PayResultCallbackRequest(Builder builder) { super(builder); this.orderId = builder.orderId; this.payStatus = builder.payStatus; this.payTime = builder.payTime; this.uid = builder.uid; } public static Builder builder() { return new Builder(); } public static PayResultCallbackRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return orderId */ public String getOrderId() { return this.orderId; } /** * @return payStatus */ public String getPayStatus() { return this.payStatus; } /** * @return payTime */ public String getPayTime() { return this.payTime; } /** * @return uid */ public Long getUid() { return this.uid; } public static final class Builder extends Request.Builder<PayResultCallbackRequest, Builder> { private String orderId; private String payStatus; private String payTime; private Long uid; private Builder() { super(); } private Builder(PayResultCallbackRequest request) { super(request); this.orderId = request.orderId; this.payStatus = request.payStatus; this.payTime = request.payTime; this.uid = request.uid; } /** * OrderId. */ public Builder orderId(String orderId) { this.putQueryParameter("OrderId", orderId); this.orderId = orderId; return this; } /** * PayStatus. */ public Builder payStatus(String payStatus) { this.putQueryParameter("PayStatus", payStatus); this.payStatus = payStatus; return this; } /** * PayTime. */ public Builder payTime(String payTime) { this.putQueryParameter("PayTime", payTime); this.payTime = payTime; return this; } /** * Uid. */ public Builder uid(Long uid) { this.putQueryParameter("Uid", uid); this.uid = uid; return this; } @Override public PayResultCallbackRequest build() { return new PayResultCallbackRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227/models/PayResultCallbackResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resellertrade20191227.models; import com.aliyun.core.annotation.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * {@link PayResultCallbackResponse} extends {@link TeaModel} * * <p>PayResultCallbackResponse</p> */ public class PayResultCallbackResponse extends Response { @NameInMap("headers") private java.util.Map < String, String > headers; @NameInMap("statusCode") private Integer statusCode; @NameInMap("body") private PayResultCallbackResponseBody body; private PayResultCallbackResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static PayResultCallbackResponse 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 PayResultCallbackResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<PayResultCallbackResponse, Builder> { Builder headers(java.util.Map < String, String > headers); Builder statusCode(Integer statusCode); Builder body(PayResultCallbackResponseBody body); @Override PayResultCallbackResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<PayResultCallbackResponse, Builder> implements Builder { private java.util.Map < String, String > headers; private Integer statusCode; private PayResultCallbackResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(PayResultCallbackResponse 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(PayResultCallbackResponseBody body) { this.body = body; return this; } @Override public PayResultCallbackResponse build() { return new PayResultCallbackResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227/models/PayResultCallbackResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resellertrade20191227.models; import com.aliyun.core.annotation.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * {@link PayResultCallbackResponseBody} extends {@link TeaModel} * * <p>PayResultCallbackResponseBody</p> */ public class PayResultCallbackResponseBody extends TeaModel { @NameInMap("Code") private String code; @NameInMap("Data") private Boolean data; @NameInMap("Message") private String message; @NameInMap("RequestId") private String requestId; @NameInMap("Success") private Boolean success; private PayResultCallbackResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static PayResultCallbackResponseBody create() { return builder().build(); } /** * @return code */ public String getCode() { return this.code; } /** * @return data */ public Boolean getData() { return this.data; } /** * @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 Boolean data; private String message; private String requestId; private Boolean success; /** * Code. */ public Builder code(String code) { this.code = code; return this; } /** * Data. */ public Builder data(Boolean data) { this.data = data; return this; } /** * Message. */ public Builder message(String message) { this.message = message; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * Success. */ public Builder success(Boolean success) { this.success = success; return this; } public PayResultCallbackResponseBody build() { return new PayResultCallbackResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227/models/PublicActivityRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resellertrade20191227.models; import com.aliyun.core.annotation.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * {@link PublicActivityRequest} extends {@link RequestModel} * * <p>PublicActivityRequest</p> */ public class PublicActivityRequest extends Request { @Body @NameInMap("ActivityList") private java.util.List < Long > activityList; @Body @NameInMap("BizId") private String bizId; @Body @NameInMap("SnapType") private String snapType; @Body @NameInMap("Token") private String token; private PublicActivityRequest(Builder builder) { super(builder); this.activityList = builder.activityList; this.bizId = builder.bizId; this.snapType = builder.snapType; this.token = builder.token; } public static Builder builder() { return new Builder(); } public static PublicActivityRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return activityList */ public java.util.List < Long > getActivityList() { return this.activityList; } /** * @return bizId */ public String getBizId() { return this.bizId; } /** * @return snapType */ public String getSnapType() { return this.snapType; } /** * @return token */ public String getToken() { return this.token; } public static final class Builder extends Request.Builder<PublicActivityRequest, Builder> { private java.util.List < Long > activityList; private String bizId; private String snapType; private String token; private Builder() { super(); } private Builder(PublicActivityRequest request) { super(request); this.activityList = request.activityList; this.bizId = request.bizId; this.snapType = request.snapType; this.token = request.token; } /** * ActivityList. */ public Builder activityList(java.util.List < Long > activityList) { this.putBodyParameter("ActivityList", activityList); this.activityList = activityList; return this; } /** * BizId. */ public Builder bizId(String bizId) { this.putBodyParameter("BizId", bizId); this.bizId = bizId; return this; } /** * SnapType. */ public Builder snapType(String snapType) { this.putBodyParameter("SnapType", snapType); this.snapType = snapType; return this; } /** * Token. */ public Builder token(String token) { this.putBodyParameter("Token", token); this.token = token; return this; } @Override public PublicActivityRequest build() { return new PublicActivityRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227/models/PublicActivityResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resellertrade20191227.models; import com.aliyun.core.annotation.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * {@link PublicActivityResponse} extends {@link TeaModel} * * <p>PublicActivityResponse</p> */ public class PublicActivityResponse extends Response { @NameInMap("headers") private java.util.Map < String, String > headers; @NameInMap("statusCode") private Integer statusCode; @NameInMap("body") private PublicActivityResponseBody body; private PublicActivityResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static PublicActivityResponse 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 PublicActivityResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<PublicActivityResponse, Builder> { Builder headers(java.util.Map < String, String > headers); Builder statusCode(Integer statusCode); Builder body(PublicActivityResponseBody body); @Override PublicActivityResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<PublicActivityResponse, Builder> implements Builder { private java.util.Map < String, String > headers; private Integer statusCode; private PublicActivityResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(PublicActivityResponse 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(PublicActivityResponseBody body) { this.body = body; return this; } @Override public PublicActivityResponse build() { return new PublicActivityResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227/models/PublicActivityResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resellertrade20191227.models; import com.aliyun.core.annotation.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * {@link PublicActivityResponseBody} extends {@link TeaModel} * * <p>PublicActivityResponseBody</p> */ public class PublicActivityResponseBody extends TeaModel { @NameInMap("Code") private String code; @NameInMap("ContextMap") private java.util.Map < String, ? > contextMap; @NameInMap("Data") private java.util.List < Long > data; @NameInMap("Message") private String message; @NameInMap("RequestId") private String requestId; @NameInMap("Success") private Boolean success; private PublicActivityResponseBody(Builder builder) { this.code = builder.code; this.contextMap = builder.contextMap; this.data = builder.data; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static PublicActivityResponseBody create() { return builder().build(); } /** * @return code */ public String getCode() { return this.code; } /** * @return contextMap */ public java.util.Map < String, ? > getContextMap() { return this.contextMap; } /** * @return data */ public java.util.List < Long > getData() { return this.data; } /** * @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 java.util.Map < String, ? > contextMap; private java.util.List < Long > data; private String message; private String requestId; private Boolean success; /** * Code. */ public Builder code(String code) { this.code = code; return this; } /** * ContextMap. */ public Builder contextMap(java.util.Map < String, ? > contextMap) { this.contextMap = contextMap; return this; } /** * Data. */ public Builder data(java.util.List < Long > data) { this.data = data; return this; } /** * Message. */ public Builder message(String message) { this.message = message; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * Success. */ public Builder success(Boolean success) { this.success = success; return this; } public PublicActivityResponseBody build() { return new PublicActivityResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227/models/QueryActivityRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resellertrade20191227.models; import com.aliyun.core.annotation.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * {@link QueryActivityRequest} extends {@link RequestModel} * * <p>QueryActivityRequest</p> */ public class QueryActivityRequest extends Request { @Body @NameInMap("ActivityId") private Long activityId; @Body @NameInMap("BizId") @Validation(required = true) private String bizId; @Body @NameInMap("SnapType") private String snapType; private QueryActivityRequest(Builder builder) { super(builder); this.activityId = builder.activityId; this.bizId = builder.bizId; this.snapType = builder.snapType; } public static Builder builder() { return new Builder(); } public static QueryActivityRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return activityId */ public Long getActivityId() { return this.activityId; } /** * @return bizId */ public String getBizId() { return this.bizId; } /** * @return snapType */ public String getSnapType() { return this.snapType; } public static final class Builder extends Request.Builder<QueryActivityRequest, Builder> { private Long activityId; private String bizId; private String snapType; private Builder() { super(); } private Builder(QueryActivityRequest request) { super(request); this.activityId = request.activityId; this.bizId = request.bizId; this.snapType = request.snapType; } /** * ActivityId. */ public Builder activityId(Long activityId) { this.putBodyParameter("ActivityId", activityId); this.activityId = activityId; return this; } /** * BizId. */ public Builder bizId(String bizId) { this.putBodyParameter("BizId", bizId); this.bizId = bizId; return this; } /** * SnapType. */ public Builder snapType(String snapType) { this.putBodyParameter("SnapType", snapType); this.snapType = snapType; return this; } @Override public QueryActivityRequest build() { return new QueryActivityRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227/models/QueryActivityResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resellertrade20191227.models; import com.aliyun.core.annotation.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * {@link QueryActivityResponse} extends {@link TeaModel} * * <p>QueryActivityResponse</p> */ public class QueryActivityResponse extends Response { @NameInMap("headers") private java.util.Map < String, String > headers; @NameInMap("statusCode") private Integer statusCode; @NameInMap("body") private QueryActivityResponseBody body; private QueryActivityResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static QueryActivityResponse 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 QueryActivityResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<QueryActivityResponse, Builder> { Builder headers(java.util.Map < String, String > headers); Builder statusCode(Integer statusCode); Builder body(QueryActivityResponseBody body); @Override QueryActivityResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<QueryActivityResponse, Builder> implements Builder { private java.util.Map < String, String > headers; private Integer statusCode; private QueryActivityResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(QueryActivityResponse 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(QueryActivityResponseBody body) { this.body = body; return this; } @Override public QueryActivityResponse build() { return new QueryActivityResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227/models/QueryActivityResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resellertrade20191227.models; import com.aliyun.core.annotation.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * {@link QueryActivityResponseBody} extends {@link TeaModel} * * <p>QueryActivityResponseBody</p> */ public class QueryActivityResponseBody extends TeaModel { @NameInMap("Code") private String code; @NameInMap("ContextMap") private java.util.Map < String, ? > contextMap; @NameInMap("Data") private Data data; @NameInMap("Message") private String message; @NameInMap("RequestId") private String requestId; @NameInMap("Success") private Boolean success; private QueryActivityResponseBody(Builder builder) { this.code = builder.code; this.contextMap = builder.contextMap; this.data = builder.data; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static QueryActivityResponseBody create() { return builder().build(); } /** * @return code */ public String getCode() { return this.code; } /** * @return contextMap */ public java.util.Map < String, ? > getContextMap() { return this.contextMap; } /** * @return data */ public Data getData() { return this.data; } /** * @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 java.util.Map < String, ? > contextMap; private Data data; private String message; private String requestId; private Boolean success; /** * Code. */ public Builder code(String code) { this.code = code; return this; } /** * ContextMap. */ public Builder contextMap(java.util.Map < String, ? > contextMap) { this.contextMap = contextMap; return this; } /** * Data. */ public Builder data(Data data) { this.data = data; return this; } /** * Message. */ public Builder message(String message) { this.message = message; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * Success. */ public Builder success(Boolean success) { this.success = success; return this; } public QueryActivityResponseBody build() { return new QueryActivityResponseBody(this); } } public static class Data extends TeaModel { @NameInMap("ActivityId") private Long activityId; @NameInMap("ActivityName") private String activityName; @NameInMap("BlackList") private java.util.List < Long > blackList; @NameInMap("CommodityCodeList") private java.util.List < String > commodityCodeList; @NameInMap("Description") private String description; @NameInMap("EndTime") private String endTime; @NameInMap("ExtMap") private java.util.Map < String, String > extMap; @NameInMap("PromotionDescription") private String promotionDescription; @NameInMap("PromotionValue") private Double promotionValue; @NameInMap("RegionList") private java.util.List < String > regionList; @NameInMap("SellerIdList") private java.util.List < Long > sellerIdList; @NameInMap("StartTime") private String startTime; @NameInMap("Status") private String status; @NameInMap("TestAccountList") private java.util.List < Long > testAccountList; @NameInMap("WhiteList") private java.util.List < Long > whiteList; private Data(Builder builder) { this.activityId = builder.activityId; this.activityName = builder.activityName; this.blackList = builder.blackList; this.commodityCodeList = builder.commodityCodeList; this.description = builder.description; this.endTime = builder.endTime; this.extMap = builder.extMap; this.promotionDescription = builder.promotionDescription; this.promotionValue = builder.promotionValue; this.regionList = builder.regionList; this.sellerIdList = builder.sellerIdList; this.startTime = builder.startTime; this.status = builder.status; this.testAccountList = builder.testAccountList; this.whiteList = builder.whiteList; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return activityId */ public Long getActivityId() { return this.activityId; } /** * @return activityName */ public String getActivityName() { return this.activityName; } /** * @return blackList */ public java.util.List < Long > getBlackList() { return this.blackList; } /** * @return commodityCodeList */ public java.util.List < String > getCommodityCodeList() { return this.commodityCodeList; } /** * @return description */ public String getDescription() { return this.description; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return extMap */ public java.util.Map < String, String > getExtMap() { return this.extMap; } /** * @return promotionDescription */ public String getPromotionDescription() { return this.promotionDescription; } /** * @return promotionValue */ public Double getPromotionValue() { return this.promotionValue; } /** * @return regionList */ public java.util.List < String > getRegionList() { return this.regionList; } /** * @return sellerIdList */ public java.util.List < Long > getSellerIdList() { return this.sellerIdList; } /** * @return startTime */ public String getStartTime() { return this.startTime; } /** * @return status */ public String getStatus() { return this.status; } /** * @return testAccountList */ public java.util.List < Long > getTestAccountList() { return this.testAccountList; } /** * @return whiteList */ public java.util.List < Long > getWhiteList() { return this.whiteList; } public static final class Builder { private Long activityId; private String activityName; private java.util.List < Long > blackList; private java.util.List < String > commodityCodeList; private String description; private String endTime; private java.util.Map < String, String > extMap; private String promotionDescription; private Double promotionValue; private java.util.List < String > regionList; private java.util.List < Long > sellerIdList; private String startTime; private String status; private java.util.List < Long > testAccountList; private java.util.List < Long > whiteList; /** * ActivityId. */ public Builder activityId(Long activityId) { this.activityId = activityId; return this; } /** * ActivityName. */ public Builder activityName(String activityName) { this.activityName = activityName; return this; } /** * BlackList. */ public Builder blackList(java.util.List < Long > blackList) { this.blackList = blackList; return this; } /** * CommodityCodeList. */ public Builder commodityCodeList(java.util.List < String > commodityCodeList) { this.commodityCodeList = commodityCodeList; return this; } /** * Description. */ public Builder description(String description) { this.description = description; return this; } /** * EndTime. */ public Builder endTime(String endTime) { this.endTime = endTime; return this; } /** * ExtMap. */ public Builder extMap(java.util.Map < String, String > extMap) { this.extMap = extMap; return this; } /** * PromotionDescription. */ public Builder promotionDescription(String promotionDescription) { this.promotionDescription = promotionDescription; return this; } /** * PromotionValue. */ public Builder promotionValue(Double promotionValue) { this.promotionValue = promotionValue; return this; } /** * RegionList. */ public Builder regionList(java.util.List < String > regionList) { this.regionList = regionList; return this; } /** * SellerIdList. */ public Builder sellerIdList(java.util.List < Long > sellerIdList) { this.sellerIdList = sellerIdList; return this; } /** * StartTime. */ public Builder startTime(String startTime) { this.startTime = startTime; return this; } /** * Status. */ public Builder status(String status) { this.status = status; return this; } /** * TestAccountList. */ public Builder testAccountList(java.util.List < Long > testAccountList) { this.testAccountList = testAccountList; return this; } /** * WhiteList. */ public Builder whiteList(java.util.List < Long > whiteList) { this.whiteList = whiteList; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227/models/QueryEcoRelationRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resellertrade20191227.models; import com.aliyun.core.annotation.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * {@link QueryEcoRelationRequest} extends {@link RequestModel} * * <p>QueryEcoRelationRequest</p> */ public class QueryEcoRelationRequest extends Request { @Body @NameInMap("RelationTime") private String relationTime; @Body @NameInMap("Uid") private Long uid; private QueryEcoRelationRequest(Builder builder) { super(builder); this.relationTime = builder.relationTime; this.uid = builder.uid; } public static Builder builder() { return new Builder(); } public static QueryEcoRelationRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return relationTime */ public String getRelationTime() { return this.relationTime; } /** * @return uid */ public Long getUid() { return this.uid; } public static final class Builder extends Request.Builder<QueryEcoRelationRequest, Builder> { private String relationTime; private Long uid; private Builder() { super(); } private Builder(QueryEcoRelationRequest request) { super(request); this.relationTime = request.relationTime; this.uid = request.uid; } /** * RelationTime. */ public Builder relationTime(String relationTime) { this.putBodyParameter("RelationTime", relationTime); this.relationTime = relationTime; return this; } /** * Uid. */ public Builder uid(Long uid) { this.putBodyParameter("Uid", uid); this.uid = uid; return this; } @Override public QueryEcoRelationRequest build() { return new QueryEcoRelationRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227/models/QueryEcoRelationResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resellertrade20191227.models; import com.aliyun.core.annotation.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * {@link QueryEcoRelationResponse} extends {@link TeaModel} * * <p>QueryEcoRelationResponse</p> */ public class QueryEcoRelationResponse extends Response { @NameInMap("headers") private java.util.Map < String, String > headers; @NameInMap("statusCode") private Integer statusCode; @NameInMap("body") private QueryEcoRelationResponseBody body; private QueryEcoRelationResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static QueryEcoRelationResponse 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 QueryEcoRelationResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<QueryEcoRelationResponse, Builder> { Builder headers(java.util.Map < String, String > headers); Builder statusCode(Integer statusCode); Builder body(QueryEcoRelationResponseBody body); @Override QueryEcoRelationResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<QueryEcoRelationResponse, Builder> implements Builder { private java.util.Map < String, String > headers; private Integer statusCode; private QueryEcoRelationResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(QueryEcoRelationResponse 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(QueryEcoRelationResponseBody body) { this.body = body; return this; } @Override public QueryEcoRelationResponse build() { return new QueryEcoRelationResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227/models/QueryEcoRelationResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resellertrade20191227.models; import com.aliyun.core.annotation.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * {@link QueryEcoRelationResponseBody} extends {@link TeaModel} * * <p>QueryEcoRelationResponseBody</p> */ public class QueryEcoRelationResponseBody extends TeaModel { @NameInMap("Code") private String code; @NameInMap("ContextMap") private java.util.Map < String, ? > contextMap; @NameInMap("Data") private Data data; @NameInMap("Message") private String message; @NameInMap("RequestId") private String requestId; @NameInMap("Success") private Boolean success; private QueryEcoRelationResponseBody(Builder builder) { this.code = builder.code; this.contextMap = builder.contextMap; this.data = builder.data; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static QueryEcoRelationResponseBody create() { return builder().build(); } /** * @return code */ public String getCode() { return this.code; } /** * @return contextMap */ public java.util.Map < String, ? > getContextMap() { return this.contextMap; } /** * @return data */ public Data getData() { return this.data; } /** * @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 java.util.Map < String, ? > contextMap; private Data data; private String message; private String requestId; private Boolean success; /** * Code. */ public Builder code(String code) { this.code = code; return this; } /** * ContextMap. */ public Builder contextMap(java.util.Map < String, ? > contextMap) { this.contextMap = contextMap; return this; } /** * Data. */ public Builder data(Data data) { this.data = data; return this; } /** * Message. */ public Builder message(String message) { this.message = message; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * Success. */ public Builder success(Boolean success) { this.success = success; return this; } public QueryEcoRelationResponseBody build() { return new QueryEcoRelationResponseBody(this); } } public static class ResellerProductModeDO extends TeaModel { @NameInMap("IsService") private Integer isService; @NameInMap("ProductCode") private String productCode; @NameInMap("ProductName") private String productName; private ResellerProductModeDO(Builder builder) { this.isService = builder.isService; this.productCode = builder.productCode; this.productName = builder.productName; } public static Builder builder() { return new Builder(); } public static ResellerProductModeDO create() { return builder().build(); } /** * @return isService */ public Integer getIsService() { return this.isService; } /** * @return productCode */ public String getProductCode() { return this.productCode; } /** * @return productName */ public String getProductName() { return this.productName; } public static final class Builder { private Integer isService; private String productCode; private String productName; /** * IsService. */ public Builder isService(Integer isService) { this.isService = isService; return this; } /** * ProductCode. */ public Builder productCode(String productCode) { this.productCode = productCode; return this; } /** * ProductName. */ public Builder productName(String productName) { this.productName = productName; return this; } public ResellerProductModeDO build() { return new ResellerProductModeDO(this); } } } public static class ResellerProductRuleDO extends TeaModel { @NameInMap("CommodityRoute") private Boolean commodityRoute; @NameInMap("MultiOrder") private Boolean multiOrder; @NameInMap("PayMode") private String payMode; private ResellerProductRuleDO(Builder builder) { this.commodityRoute = builder.commodityRoute; this.multiOrder = builder.multiOrder; this.payMode = builder.payMode; } public static Builder builder() { return new Builder(); } public static ResellerProductRuleDO create() { return builder().build(); } /** * @return commodityRoute */ public Boolean getCommodityRoute() { return this.commodityRoute; } /** * @return multiOrder */ public Boolean getMultiOrder() { return this.multiOrder; } /** * @return payMode */ public String getPayMode() { return this.payMode; } public static final class Builder { private Boolean commodityRoute; private Boolean multiOrder; private String payMode; /** * CommodityRoute. */ public Builder commodityRoute(Boolean commodityRoute) { this.commodityRoute = commodityRoute; return this; } /** * MultiOrder. */ public Builder multiOrder(Boolean multiOrder) { this.multiOrder = multiOrder; return this; } /** * PayMode. */ public Builder payMode(String payMode) { this.payMode = payMode; return this; } public ResellerProductRuleDO build() { return new ResellerProductRuleDO(this); } } } public static class Data extends TeaModel { @NameInMap("CanLoginOfficial") private Boolean canLoginOfficial; @NameInMap("EndTime") private String endTime; @NameInMap("IsTopReseller") private Boolean isTopReseller; @NameInMap("ResellerProductModeDO") private ResellerProductModeDO resellerProductModeDO; @NameInMap("ResellerProductRuleDO") private ResellerProductRuleDO resellerProductRuleDO; @NameInMap("ResellerUid") private Long resellerUid; @NameInMap("StartTime") private String startTime; @NameInMap("Status") private String status; @NameInMap("Uid") private Long uid; @NameInMap("UserType") private String userType; private Data(Builder builder) { this.canLoginOfficial = builder.canLoginOfficial; this.endTime = builder.endTime; this.isTopReseller = builder.isTopReseller; this.resellerProductModeDO = builder.resellerProductModeDO; this.resellerProductRuleDO = builder.resellerProductRuleDO; this.resellerUid = builder.resellerUid; this.startTime = builder.startTime; this.status = builder.status; this.uid = builder.uid; this.userType = builder.userType; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return canLoginOfficial */ public Boolean getCanLoginOfficial() { return this.canLoginOfficial; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return isTopReseller */ public Boolean getIsTopReseller() { return this.isTopReseller; } /** * @return resellerProductModeDO */ public ResellerProductModeDO getResellerProductModeDO() { return this.resellerProductModeDO; } /** * @return resellerProductRuleDO */ public ResellerProductRuleDO getResellerProductRuleDO() { return this.resellerProductRuleDO; } /** * @return resellerUid */ public Long getResellerUid() { return this.resellerUid; } /** * @return startTime */ public String getStartTime() { return this.startTime; } /** * @return status */ public String getStatus() { return this.status; } /** * @return uid */ public Long getUid() { return this.uid; } /** * @return userType */ public String getUserType() { return this.userType; } public static final class Builder { private Boolean canLoginOfficial; private String endTime; private Boolean isTopReseller; private ResellerProductModeDO resellerProductModeDO; private ResellerProductRuleDO resellerProductRuleDO; private Long resellerUid; private String startTime; private String status; private Long uid; private String userType; /** * CanLoginOfficial. */ public Builder canLoginOfficial(Boolean canLoginOfficial) { this.canLoginOfficial = canLoginOfficial; return this; } /** * EndTime. */ public Builder endTime(String endTime) { this.endTime = endTime; return this; } /** * IsTopReseller. */ public Builder isTopReseller(Boolean isTopReseller) { this.isTopReseller = isTopReseller; return this; } /** * ResellerProductModeDO. */ public Builder resellerProductModeDO(ResellerProductModeDO resellerProductModeDO) { this.resellerProductModeDO = resellerProductModeDO; return this; } /** * ResellerProductRuleDO. */ public Builder resellerProductRuleDO(ResellerProductRuleDO resellerProductRuleDO) { this.resellerProductRuleDO = resellerProductRuleDO; return this; } /** * ResellerUid. */ public Builder resellerUid(Long resellerUid) { this.resellerUid = resellerUid; return this; } /** * StartTime. */ public Builder startTime(String startTime) { this.startTime = startTime; return this; } /** * Status. */ public Builder status(String status) { this.status = status; return this; } /** * Uid. */ public Builder uid(Long uid) { this.uid = uid; return this; } /** * UserType. */ public Builder userType(String userType) { this.userType = userType; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227/models/SaveActivityRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resellertrade20191227.models; import com.aliyun.core.annotation.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * {@link SaveActivityRequest} extends {@link RequestModel} * * <p>SaveActivityRequest</p> */ public class SaveActivityRequest extends Request { @Body @NameInMap("ActivityName") @Validation(required = true) private String activityName; @Body @NameInMap("BizId") @Validation(required = true) private String bizId; @Body @NameInMap("BlackUidList") private java.util.List < Long > blackUidList; @Body @NameInMap("Description") private String description; @Body @NameInMap("EndTime") @Validation(required = true) private String endTime; @Body @NameInMap("ExtendMap") private java.util.Map < String, ? > extendMap; @Body @NameInMap("FusionPromotionParamList") @Validation(required = true) private java.util.List < FusionPromotionParamList> fusionPromotionParamList; @Body @NameInMap("PublishTag") @Validation(required = true) private String publishTag; @Body @NameInMap("StartTime") @Validation(required = true) private String startTime; @Body @NameInMap("TestAccountUidList") private java.util.List < Long > testAccountUidList; @Body @NameInMap("Token") @Validation(required = true) private String token; @Body @NameInMap("WhiteUidList") private java.util.List < Long > whiteUidList; private SaveActivityRequest(Builder builder) { super(builder); this.activityName = builder.activityName; this.bizId = builder.bizId; this.blackUidList = builder.blackUidList; this.description = builder.description; this.endTime = builder.endTime; this.extendMap = builder.extendMap; this.fusionPromotionParamList = builder.fusionPromotionParamList; this.publishTag = builder.publishTag; this.startTime = builder.startTime; this.testAccountUidList = builder.testAccountUidList; this.token = builder.token; this.whiteUidList = builder.whiteUidList; } public static Builder builder() { return new Builder(); } public static SaveActivityRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return activityName */ public String getActivityName() { return this.activityName; } /** * @return bizId */ public String getBizId() { return this.bizId; } /** * @return blackUidList */ public java.util.List < Long > getBlackUidList() { return this.blackUidList; } /** * @return description */ public String getDescription() { return this.description; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return extendMap */ public java.util.Map < String, ? > getExtendMap() { return this.extendMap; } /** * @return fusionPromotionParamList */ public java.util.List < FusionPromotionParamList> getFusionPromotionParamList() { return this.fusionPromotionParamList; } /** * @return publishTag */ public String getPublishTag() { return this.publishTag; } /** * @return startTime */ public String getStartTime() { return this.startTime; } /** * @return testAccountUidList */ public java.util.List < Long > getTestAccountUidList() { return this.testAccountUidList; } /** * @return token */ public String getToken() { return this.token; } /** * @return whiteUidList */ public java.util.List < Long > getWhiteUidList() { return this.whiteUidList; } public static final class Builder extends Request.Builder<SaveActivityRequest, Builder> { private String activityName; private String bizId; private java.util.List < Long > blackUidList; private String description; private String endTime; private java.util.Map < String, ? > extendMap; private java.util.List < FusionPromotionParamList> fusionPromotionParamList; private String publishTag; private String startTime; private java.util.List < Long > testAccountUidList; private String token; private java.util.List < Long > whiteUidList; private Builder() { super(); } private Builder(SaveActivityRequest request) { super(request); this.activityName = request.activityName; this.bizId = request.bizId; this.blackUidList = request.blackUidList; this.description = request.description; this.endTime = request.endTime; this.extendMap = request.extendMap; this.fusionPromotionParamList = request.fusionPromotionParamList; this.publishTag = request.publishTag; this.startTime = request.startTime; this.testAccountUidList = request.testAccountUidList; this.token = request.token; this.whiteUidList = request.whiteUidList; } /** * ActivityName. */ public Builder activityName(String activityName) { this.putBodyParameter("ActivityName", activityName); this.activityName = activityName; return this; } /** * BizId. */ public Builder bizId(String bizId) { this.putBodyParameter("BizId", bizId); this.bizId = bizId; return this; } /** * BlackUidList. */ public Builder blackUidList(java.util.List < Long > blackUidList) { this.putBodyParameter("BlackUidList", blackUidList); this.blackUidList = blackUidList; return this; } /** * Description. */ public Builder description(String description) { this.putBodyParameter("Description", description); this.description = description; return this; } /** * EndTime. */ public Builder endTime(String endTime) { this.putBodyParameter("EndTime", endTime); this.endTime = endTime; return this; } /** * ExtendMap. */ public Builder extendMap(java.util.Map < String, ? > extendMap) { String extendMapShrink = shrink(extendMap, "ExtendMap", "json"); this.putBodyParameter("ExtendMap", extendMapShrink); this.extendMap = extendMap; return this; } /** * FusionPromotionParamList. */ public Builder fusionPromotionParamList(java.util.List < FusionPromotionParamList> fusionPromotionParamList) { this.putBodyParameter("FusionPromotionParamList", fusionPromotionParamList); this.fusionPromotionParamList = fusionPromotionParamList; return this; } /** * PublishTag. */ public Builder publishTag(String publishTag) { this.putBodyParameter("PublishTag", publishTag); this.publishTag = publishTag; return this; } /** * StartTime. */ public Builder startTime(String startTime) { this.putBodyParameter("StartTime", startTime); this.startTime = startTime; return this; } /** * TestAccountUidList. */ public Builder testAccountUidList(java.util.List < Long > testAccountUidList) { this.putBodyParameter("TestAccountUidList", testAccountUidList); this.testAccountUidList = testAccountUidList; return this; } /** * Token. */ public Builder token(String token) { this.putBodyParameter("Token", token); this.token = token; return this; } /** * WhiteUidList. */ public Builder whiteUidList(java.util.List < Long > whiteUidList) { this.putBodyParameter("WhiteUidList", whiteUidList); this.whiteUidList = whiteUidList; return this; } @Override public SaveActivityRequest build() { return new SaveActivityRequest(this); } } public static class ModuleInfoParamList extends TeaModel { @NameInMap("componentCode") @Validation(required = true) private String componentCode; @NameInMap("itemCode") @Validation(required = true) private String itemCode; @NameInMap("moduleId") private Long moduleId; @NameInMap("moduleKey") @Validation(required = true) private String moduleKey; @NameInMap("moduleName") @Validation(required = true) private String moduleName; @NameInMap("moduleValueList") @Validation(required = true) private java.util.List < String > moduleValueList; @NameInMap("pricePlanId") private Long pricePlanId; private ModuleInfoParamList(Builder builder) { this.componentCode = builder.componentCode; this.itemCode = builder.itemCode; this.moduleId = builder.moduleId; this.moduleKey = builder.moduleKey; this.moduleName = builder.moduleName; this.moduleValueList = builder.moduleValueList; this.pricePlanId = builder.pricePlanId; } public static Builder builder() { return new Builder(); } public static ModuleInfoParamList create() { return builder().build(); } /** * @return componentCode */ public String getComponentCode() { return this.componentCode; } /** * @return itemCode */ public String getItemCode() { return this.itemCode; } /** * @return moduleId */ public Long getModuleId() { return this.moduleId; } /** * @return moduleKey */ public String getModuleKey() { return this.moduleKey; } /** * @return moduleName */ public String getModuleName() { return this.moduleName; } /** * @return moduleValueList */ public java.util.List < String > getModuleValueList() { return this.moduleValueList; } /** * @return pricePlanId */ public Long getPricePlanId() { return this.pricePlanId; } public static final class Builder { private String componentCode; private String itemCode; private Long moduleId; private String moduleKey; private String moduleName; private java.util.List < String > moduleValueList; private Long pricePlanId; /** * componentCode. */ public Builder componentCode(String componentCode) { this.componentCode = componentCode; return this; } /** * itemCode. */ public Builder itemCode(String itemCode) { this.itemCode = itemCode; return this; } /** * moduleId. */ public Builder moduleId(Long moduleId) { this.moduleId = moduleId; return this; } /** * moduleKey. */ public Builder moduleKey(String moduleKey) { this.moduleKey = moduleKey; return this; } /** * moduleName. */ public Builder moduleName(String moduleName) { this.moduleName = moduleName; return this; } /** * moduleValueList. */ public Builder moduleValueList(java.util.List < String > moduleValueList) { this.moduleValueList = moduleValueList; return this; } /** * pricePlanId. */ public Builder pricePlanId(Long pricePlanId) { this.pricePlanId = pricePlanId; return this; } public ModuleInfoParamList build() { return new ModuleInfoParamList(this); } } } public static class FusionPromotionParamList extends TeaModel { @NameInMap("CommodityCodeList") @Validation(required = true) private java.util.List < String > commodityCodeList; @NameInMap("PromotionValue") @Validation(required = true) private Double promotionValue; @NameInMap("RestrictedRegionList") @Validation(required = true) private java.util.List < String > restrictedRegionList; @NameInMap("moduleInfoParamList") private java.util.List < ModuleInfoParamList> moduleInfoParamList; private FusionPromotionParamList(Builder builder) { this.commodityCodeList = builder.commodityCodeList; this.promotionValue = builder.promotionValue; this.restrictedRegionList = builder.restrictedRegionList; this.moduleInfoParamList = builder.moduleInfoParamList; } public static Builder builder() { return new Builder(); } public static FusionPromotionParamList create() { return builder().build(); } /** * @return commodityCodeList */ public java.util.List < String > getCommodityCodeList() { return this.commodityCodeList; } /** * @return promotionValue */ public Double getPromotionValue() { return this.promotionValue; } /** * @return restrictedRegionList */ public java.util.List < String > getRestrictedRegionList() { return this.restrictedRegionList; } /** * @return moduleInfoParamList */ public java.util.List < ModuleInfoParamList> getModuleInfoParamList() { return this.moduleInfoParamList; } public static final class Builder { private java.util.List < String > commodityCodeList; private Double promotionValue; private java.util.List < String > restrictedRegionList; private java.util.List < ModuleInfoParamList> moduleInfoParamList; /** * CommodityCodeList. */ public Builder commodityCodeList(java.util.List < String > commodityCodeList) { this.commodityCodeList = commodityCodeList; return this; } /** * PromotionValue. */ public Builder promotionValue(Double promotionValue) { this.promotionValue = promotionValue; return this; } /** * RestrictedRegionList. */ public Builder restrictedRegionList(java.util.List < String > restrictedRegionList) { this.restrictedRegionList = restrictedRegionList; return this; } /** * moduleInfoParamList. */ public Builder moduleInfoParamList(java.util.List < ModuleInfoParamList> moduleInfoParamList) { this.moduleInfoParamList = moduleInfoParamList; return this; } public FusionPromotionParamList build() { return new FusionPromotionParamList(this); } } } }
0
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227/models/SaveActivityResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resellertrade20191227.models; import com.aliyun.core.annotation.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * {@link SaveActivityResponse} extends {@link TeaModel} * * <p>SaveActivityResponse</p> */ public class SaveActivityResponse extends Response { @NameInMap("headers") private java.util.Map < String, String > headers; @NameInMap("statusCode") private Integer statusCode; @NameInMap("body") private SaveActivityResponseBody body; private SaveActivityResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static SaveActivityResponse 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 SaveActivityResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<SaveActivityResponse, Builder> { Builder headers(java.util.Map < String, String > headers); Builder statusCode(Integer statusCode); Builder body(SaveActivityResponseBody body); @Override SaveActivityResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<SaveActivityResponse, Builder> implements Builder { private java.util.Map < String, String > headers; private Integer statusCode; private SaveActivityResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(SaveActivityResponse 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(SaveActivityResponseBody body) { this.body = body; return this; } @Override public SaveActivityResponse build() { return new SaveActivityResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227/models/SaveActivityResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resellertrade20191227.models; import com.aliyun.core.annotation.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * {@link SaveActivityResponseBody} extends {@link TeaModel} * * <p>SaveActivityResponseBody</p> */ public class SaveActivityResponseBody extends TeaModel { @NameInMap("Code") private String code; @NameInMap("ContextMap") private java.util.Map < String, ? > contextMap; @NameInMap("Data") private java.util.List < Long > data; @NameInMap("Message") private String message; @NameInMap("RequestId") private String requestId; @NameInMap("Success") private Boolean success; private SaveActivityResponseBody(Builder builder) { this.code = builder.code; this.contextMap = builder.contextMap; this.data = builder.data; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static SaveActivityResponseBody create() { return builder().build(); } /** * @return code */ public String getCode() { return this.code; } /** * @return contextMap */ public java.util.Map < String, ? > getContextMap() { return this.contextMap; } /** * @return data */ public java.util.List < Long > getData() { return this.data; } /** * @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 java.util.Map < String, ? > contextMap; private java.util.List < Long > data; private String message; private String requestId; private Boolean success; /** * Code. */ public Builder code(String code) { this.code = code; return this; } /** * ContextMap. */ public Builder contextMap(java.util.Map < String, ? > contextMap) { this.contextMap = contextMap; return this; } /** * Data. */ public Builder data(java.util.List < Long > data) { this.data = data; return this; } /** * Message. */ public Builder message(String message) { this.message = message; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * Success. */ public Builder success(Boolean success) { this.success = success; return this; } public SaveActivityResponseBody build() { return new SaveActivityResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227/models/SendCouponRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resellertrade20191227.models; import com.aliyun.core.annotation.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * {@link SendCouponRequest} extends {@link RequestModel} * * <p>SendCouponRequest</p> */ public class SendCouponRequest extends Request { @Body @NameInMap("Bid") private Long bid; @Body @NameInMap("FromApp") private String fromApp; @Body @NameInMap("Operator") private String operator; @Body @NameInMap("RequestId") private String requestId; @Body @NameInMap("SellerId") private Long sellerId; @Body @NameInMap("TemplateId") private Long templateId; @Body @NameInMap("UserAmountModelList") private java.util.List < UserAmountModelList> userAmountModelList; private SendCouponRequest(Builder builder) { super(builder); this.bid = builder.bid; this.fromApp = builder.fromApp; this.operator = builder.operator; this.requestId = builder.requestId; this.sellerId = builder.sellerId; this.templateId = builder.templateId; this.userAmountModelList = builder.userAmountModelList; } public static Builder builder() { return new Builder(); } public static SendCouponRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return bid */ public Long getBid() { return this.bid; } /** * @return fromApp */ public String getFromApp() { return this.fromApp; } /** * @return operator */ public String getOperator() { return this.operator; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return sellerId */ public Long getSellerId() { return this.sellerId; } /** * @return templateId */ public Long getTemplateId() { return this.templateId; } /** * @return userAmountModelList */ public java.util.List < UserAmountModelList> getUserAmountModelList() { return this.userAmountModelList; } public static final class Builder extends Request.Builder<SendCouponRequest, Builder> { private Long bid; private String fromApp; private String operator; private String requestId; private Long sellerId; private Long templateId; private java.util.List < UserAmountModelList> userAmountModelList; private Builder() { super(); } private Builder(SendCouponRequest request) { super(request); this.bid = request.bid; this.fromApp = request.fromApp; this.operator = request.operator; this.requestId = request.requestId; this.sellerId = request.sellerId; this.templateId = request.templateId; this.userAmountModelList = request.userAmountModelList; } /** * Bid. */ public Builder bid(Long bid) { this.putBodyParameter("Bid", bid); this.bid = bid; return this; } /** * FromApp. */ public Builder fromApp(String fromApp) { this.putBodyParameter("FromApp", fromApp); this.fromApp = fromApp; return this; } /** * Operator. */ public Builder operator(String operator) { this.putBodyParameter("Operator", operator); this.operator = operator; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.putBodyParameter("RequestId", requestId); this.requestId = requestId; return this; } /** * SellerId. */ public Builder sellerId(Long sellerId) { this.putBodyParameter("SellerId", sellerId); this.sellerId = sellerId; return this; } /** * TemplateId. */ public Builder templateId(Long templateId) { this.putBodyParameter("TemplateId", templateId); this.templateId = templateId; return this; } /** * UserAmountModelList. */ public Builder userAmountModelList(java.util.List < UserAmountModelList> userAmountModelList) { this.putBodyParameter("UserAmountModelList", userAmountModelList); this.userAmountModelList = userAmountModelList; return this; } @Override public SendCouponRequest build() { return new SendCouponRequest(this); } } public static class UserAmountModelList extends TeaModel { @NameInMap("Amount") private Double amount; @NameInMap("Uid") private Long uid; @NameInMap("UserId") private Long userId; @NameInMap("YouhuiId") private Long youhuiId; private UserAmountModelList(Builder builder) { this.amount = builder.amount; this.uid = builder.uid; this.userId = builder.userId; this.youhuiId = builder.youhuiId; } public static Builder builder() { return new Builder(); } public static UserAmountModelList create() { return builder().build(); } /** * @return amount */ public Double getAmount() { return this.amount; } /** * @return uid */ public Long getUid() { return this.uid; } /** * @return userId */ public Long getUserId() { return this.userId; } /** * @return youhuiId */ public Long getYouhuiId() { return this.youhuiId; } public static final class Builder { private Double amount; private Long uid; private Long userId; private Long youhuiId; /** * Amount. */ public Builder amount(Double amount) { this.amount = amount; return this; } /** * Uid. */ public Builder uid(Long uid) { this.uid = uid; return this; } /** * UserId. */ public Builder userId(Long userId) { this.userId = userId; return this; } /** * YouhuiId. */ public Builder youhuiId(Long youhuiId) { this.youhuiId = youhuiId; return this; } public UserAmountModelList build() { return new UserAmountModelList(this); } } } }
0
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227/models/SendCouponResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resellertrade20191227.models; import com.aliyun.core.annotation.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * {@link SendCouponResponse} extends {@link TeaModel} * * <p>SendCouponResponse</p> */ public class SendCouponResponse extends Response { @NameInMap("headers") private java.util.Map < String, String > headers; @NameInMap("statusCode") private Integer statusCode; @NameInMap("body") private SendCouponResponseBody body; private SendCouponResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static SendCouponResponse 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 SendCouponResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<SendCouponResponse, Builder> { Builder headers(java.util.Map < String, String > headers); Builder statusCode(Integer statusCode); Builder body(SendCouponResponseBody body); @Override SendCouponResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<SendCouponResponse, Builder> implements Builder { private java.util.Map < String, String > headers; private Integer statusCode; private SendCouponResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(SendCouponResponse 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(SendCouponResponseBody body) { this.body = body; return this; } @Override public SendCouponResponse build() { return new SendCouponResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227/models/SendCouponResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resellertrade20191227.models; import com.aliyun.core.annotation.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * {@link SendCouponResponseBody} extends {@link TeaModel} * * <p>SendCouponResponseBody</p> */ public class SendCouponResponseBody extends TeaModel { @NameInMap("Code") private String code; @NameInMap("ContextMap") private java.util.Map < String, ? > contextMap; @NameInMap("Count") private Integer count; @NameInMap("Data") private java.util.List < Data> data; @NameInMap("Message") private String message; @NameInMap("RequestId") private String requestId; @NameInMap("Success") private Boolean success; @NameInMap("TotalCount") private Integer totalCount; private SendCouponResponseBody(Builder builder) { this.code = builder.code; this.contextMap = builder.contextMap; this.count = builder.count; this.data = builder.data; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static SendCouponResponseBody create() { return builder().build(); } /** * @return code */ public String getCode() { return this.code; } /** * @return contextMap */ public java.util.Map < String, ? > getContextMap() { return this.contextMap; } /** * @return count */ public Integer getCount() { return this.count; } /** * @return data */ public java.util.List < Data> getData() { return this.data; } /** * @return message */ public String getMessage() { return this.message; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private String code; private java.util.Map < String, ? > contextMap; private Integer count; private java.util.List < Data> data; private String message; private String requestId; private Boolean success; private Integer totalCount; /** * Code. */ public Builder code(String code) { this.code = code; return this; } /** * ContextMap. */ public Builder contextMap(java.util.Map < String, ? > contextMap) { this.contextMap = contextMap; return this; } /** * Count. */ public Builder count(Integer count) { this.count = count; return this; } /** * Data. */ public Builder data(java.util.List < Data> data) { this.data = data; return this; } /** * Message. */ public Builder message(String message) { this.message = message; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * Success. */ public Builder success(Boolean success) { this.success = success; return this; } /** * TotalCount. */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public SendCouponResponseBody build() { return new SendCouponResponseBody(this); } } public static class Data extends TeaModel { @NameInMap("Amount") private Double amount; @NameInMap("Uid") private Long uid; @NameInMap("UserId") private Long userId; @NameInMap("YouhuiId") private Long youhuiId; private Data(Builder builder) { this.amount = builder.amount; this.uid = builder.uid; this.userId = builder.userId; this.youhuiId = builder.youhuiId; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return amount */ public Double getAmount() { return this.amount; } /** * @return uid */ public Long getUid() { return this.uid; } /** * @return userId */ public Long getUserId() { return this.userId; } /** * @return youhuiId */ public Long getYouhuiId() { return this.youhuiId; } public static final class Builder { private Double amount; private Long uid; private Long userId; private Long youhuiId; /** * Amount. */ public Builder amount(Double amount) { this.amount = amount; return this; } /** * Uid. */ public Builder uid(Long uid) { this.uid = uid; return this; } /** * UserId. */ public Builder userId(Long userId) { this.userId = userId; return this; } /** * YouhuiId. */ public Builder youhuiId(Long youhuiId) { this.youhuiId = youhuiId; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227/models/TransferResourceRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resellertrade20191227.models; import com.aliyun.core.annotation.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * {@link TransferResourceRequest} extends {@link RequestModel} * * <p>TransferResourceRequest</p> */ public class TransferResourceRequest extends Request { @Body @NameInMap("ActionCode") @Validation(required = true) private String actionCode; @Body @NameInMap("Content") private String content; private TransferResourceRequest(Builder builder) { super(builder); this.actionCode = builder.actionCode; this.content = builder.content; } public static Builder builder() { return new Builder(); } public static TransferResourceRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return actionCode */ public String getActionCode() { return this.actionCode; } /** * @return content */ public String getContent() { return this.content; } public static final class Builder extends Request.Builder<TransferResourceRequest, Builder> { private String actionCode; private String content; private Builder() { super(); } private Builder(TransferResourceRequest request) { super(request); this.actionCode = request.actionCode; this.content = request.content; } /** * ActionCode. */ public Builder actionCode(String actionCode) { this.putBodyParameter("ActionCode", actionCode); this.actionCode = actionCode; return this; } /** * Content. */ public Builder content(String content) { this.putBodyParameter("Content", content); this.content = content; return this; } @Override public TransferResourceRequest build() { return new TransferResourceRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227/models/TransferResourceResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resellertrade20191227.models; import com.aliyun.core.annotation.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * {@link TransferResourceResponse} extends {@link TeaModel} * * <p>TransferResourceResponse</p> */ public class TransferResourceResponse extends Response { @NameInMap("headers") private java.util.Map < String, String > headers; @NameInMap("statusCode") private Integer statusCode; @NameInMap("body") private TransferResourceResponseBody body; private TransferResourceResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static TransferResourceResponse 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 TransferResourceResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<TransferResourceResponse, Builder> { Builder headers(java.util.Map < String, String > headers); Builder statusCode(Integer statusCode); Builder body(TransferResourceResponseBody body); @Override TransferResourceResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<TransferResourceResponse, Builder> implements Builder { private java.util.Map < String, String > headers; private Integer statusCode; private TransferResourceResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(TransferResourceResponse 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(TransferResourceResponseBody body) { this.body = body; return this; } @Override public TransferResourceResponse build() { return new TransferResourceResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227
java-sources/com/aliyun/alibabacloud-resellertrade20191227/1.0.0/com/aliyun/sdk/service/resellertrade20191227/models/TransferResourceResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resellertrade20191227.models; import com.aliyun.core.annotation.*; import darabonba.core.RequestModel; import darabonba.core.TeaModel; import com.aliyun.sdk.gateway.pop.models.*; /** * {@link TransferResourceResponseBody} extends {@link TeaModel} * * <p>TransferResourceResponseBody</p> */ public class TransferResourceResponseBody extends TeaModel { @NameInMap("Code") private String code; @NameInMap("Data") private Data data; @NameInMap("Message") private String message; @NameInMap("RequestId") private String requestId; @NameInMap("Success") private Boolean success; private TransferResourceResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.message = builder.message; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static TransferResourceResponseBody create() { return builder().build(); } /** * @return code */ public String getCode() { return this.code; } /** * @return data */ public Data getData() { return this.data; } /** * @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 String message; private String requestId; private Boolean success; /** * Code. */ public Builder code(String code) { this.code = code; return this; } /** * Data. */ public Builder data(Data data) { this.data = data; return this; } /** * Message. */ public Builder message(String message) { this.message = message; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * Success. */ public Builder success(Boolean success) { this.success = success; return this; } public TransferResourceResponseBody build() { return new TransferResourceResponseBody(this); } } public static class Data extends TeaModel { @NameInMap("Content") private String content; @NameInMap("ProcEnv") private String procEnv; private Data(Builder builder) { this.content = builder.content; this.procEnv = builder.procEnv; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return content */ public String getContent() { return this.content; } /** * @return procEnv */ public String getProcEnv() { return this.procEnv; } public static final class Builder { private String content; private String procEnv; /** * Content. */ public Builder content(String content) { this.content = content; return this; } /** * ProcEnv. */ public Builder procEnv(String procEnv) { this.procEnv = procEnv; return this; } public Data build() { return new Data(this); } } } }
0
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/AsyncClient.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcecenter20221201; import com.aliyun.core.utils.SdkAutoCloseable; import com.aliyun.sdk.service.resourcecenter20221201.models.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import java.util.concurrent.CompletableFuture; public interface AsyncClient extends SdkAutoCloseable { static DefaultAsyncClientBuilder builder() { return new DefaultAsyncClientBuilder(); } static AsyncClient create() { return builder().build(); } /** * @param request the request parameters of AssociateDefaultFilter AssociateDefaultFilterRequest * @return AssociateDefaultFilterResponse */ CompletableFuture<AssociateDefaultFilterResponse> associateDefaultFilter(AssociateDefaultFilterRequest request); /** * <b>description</b> : * <p>Resource delivery supports the delivery of resource configuration change events and scheduled resource snapshots. * Scheduled resource snapshots support the following delivery scenarios:</p> * <ul> * <li>Standard delivery: Leave the ResourceSnapshotDelivery.CustomExpression parameter empty.</li> * <li>Custom delivery: Set the ResourceSnapshotDelivery.CustomExpression parameter to an appropriate value.</li> * </ul> * * @param request the request parameters of CreateDeliveryChannel CreateDeliveryChannelRequest * @return CreateDeliveryChannelResponse */ CompletableFuture<CreateDeliveryChannelResponse> createDeliveryChannel(CreateDeliveryChannelRequest request); /** * @param request the request parameters of CreateFilter CreateFilterRequest * @return CreateFilterResponse */ CompletableFuture<CreateFilterResponse> createFilter(CreateFilterRequest request); /** * <b>description</b> : * <p>In Resource Center, you can create multi-account delivery channels by using the management account of your resource directory or the delegated administrator account of Resource Center to deliver resource configuration change events and scheduled resource snapshots within the members in your resource directory to Object Storage Service (OSS) or Simple Log Service. Then, other Alibaba Cloud services consume standardized resource information from OSS or Simple Log Service. * Scheduled resource snapshots support the following delivery scenarios:</p> * <ul> * <li>Standard delivery: Leave the <code>ResourceSnapshotDelivery.CustomExpression</code> parameter empty.</li> * <li>Custom delivery: Set the <code>ResourceSnapshotDelivery.CustomExpression</code> parameter to an appropriate value.</li> * </ul> * * @param request the request parameters of CreateMultiAccountDeliveryChannel CreateMultiAccountDeliveryChannelRequest * @return CreateMultiAccountDeliveryChannelResponse */ CompletableFuture<CreateMultiAccountDeliveryChannelResponse> createMultiAccountDeliveryChannel(CreateMultiAccountDeliveryChannelRequest request); /** * @param request the request parameters of CreateSavedQuery CreateSavedQueryRequest * @return CreateSavedQueryResponse */ CompletableFuture<CreateSavedQueryResponse> createSavedQuery(CreateSavedQueryRequest request); /** * @param request the request parameters of DeleteDeliveryChannel DeleteDeliveryChannelRequest * @return DeleteDeliveryChannelResponse */ CompletableFuture<DeleteDeliveryChannelResponse> deleteDeliveryChannel(DeleteDeliveryChannelRequest request); /** * @param request the request parameters of DeleteFilter DeleteFilterRequest * @return DeleteFilterResponse */ CompletableFuture<DeleteFilterResponse> deleteFilter(DeleteFilterRequest request); /** * @param request the request parameters of DeleteMultiAccountDeliveryChannel DeleteMultiAccountDeliveryChannelRequest * @return DeleteMultiAccountDeliveryChannelResponse */ CompletableFuture<DeleteMultiAccountDeliveryChannelResponse> deleteMultiAccountDeliveryChannel(DeleteMultiAccountDeliveryChannelRequest request); /** * @param request the request parameters of DeleteSavedQuery DeleteSavedQueryRequest * @return DeleteSavedQueryResponse */ CompletableFuture<DeleteSavedQueryResponse> deleteSavedQuery(DeleteSavedQueryRequest request); /** * @param request the request parameters of DisableMultiAccountResourceCenter DisableMultiAccountResourceCenterRequest * @return DisableMultiAccountResourceCenterResponse */ CompletableFuture<DisableMultiAccountResourceCenterResponse> disableMultiAccountResourceCenter(DisableMultiAccountResourceCenterRequest request); /** * @param request the request parameters of DisableResourceCenter DisableResourceCenterRequest * @return DisableResourceCenterResponse */ CompletableFuture<DisableResourceCenterResponse> disableResourceCenter(DisableResourceCenterRequest request); /** * @param request the request parameters of DisassociateDefaultFilter DisassociateDefaultFilterRequest * @return DisassociateDefaultFilterResponse */ CompletableFuture<DisassociateDefaultFilterResponse> disassociateDefaultFilter(DisassociateDefaultFilterRequest request); /** * <b>description</b> : * <p>If you have created a resource directory for your enterprise, you can enable the cross-account resource search feature by using the management account of the resource directory or a delegated administrator account of Resource Center to view the resources of members in the resource directory. For more information about a resource directory, see <a href="https://help.aliyun.com/document_detail/200506.html">Resource Directory overview</a>.</p> * * @param request the request parameters of EnableMultiAccountResourceCenter EnableMultiAccountResourceCenterRequest * @return EnableMultiAccountResourceCenterResponse */ CompletableFuture<EnableMultiAccountResourceCenterResponse> enableMultiAccountResourceCenter(EnableMultiAccountResourceCenterRequest request); /** * @param request the request parameters of EnableResourceCenter EnableResourceCenterRequest * @return EnableResourceCenterResponse */ CompletableFuture<EnableResourceCenterResponse> enableResourceCenter(EnableResourceCenterRequest request); /** * @param request the request parameters of ExecuteMultiAccountSQLQuery ExecuteMultiAccountSQLQueryRequest * @return ExecuteMultiAccountSQLQueryResponse */ CompletableFuture<ExecuteMultiAccountSQLQueryResponse> executeMultiAccountSQLQuery(ExecuteMultiAccountSQLQueryRequest request); /** * @param request the request parameters of ExecuteSQLQuery ExecuteSQLQueryRequest * @return ExecuteSQLQueryResponse */ CompletableFuture<ExecuteSQLQueryResponse> executeSQLQuery(ExecuteSQLQueryRequest request); /** * @param request the request parameters of GetDeliveryChannel GetDeliveryChannelRequest * @return GetDeliveryChannelResponse */ CompletableFuture<GetDeliveryChannelResponse> getDeliveryChannel(GetDeliveryChannelRequest request); /** * @param request the request parameters of GetDeliveryChannelStatistics GetDeliveryChannelStatisticsRequest * @return GetDeliveryChannelStatisticsResponse */ CompletableFuture<GetDeliveryChannelStatisticsResponse> getDeliveryChannelStatistics(GetDeliveryChannelStatisticsRequest request); /** * @param request the request parameters of GetExampleQuery GetExampleQueryRequest * @return GetExampleQueryResponse */ CompletableFuture<GetExampleQueryResponse> getExampleQuery(GetExampleQueryRequest request); /** * @param request the request parameters of GetMultiAccountDeliveryChannel GetMultiAccountDeliveryChannelRequest * @return GetMultiAccountDeliveryChannelResponse */ CompletableFuture<GetMultiAccountDeliveryChannelResponse> getMultiAccountDeliveryChannel(GetMultiAccountDeliveryChannelRequest request); /** * @param request the request parameters of GetMultiAccountDeliveryChannelStatistics GetMultiAccountDeliveryChannelStatisticsRequest * @return GetMultiAccountDeliveryChannelStatisticsResponse */ CompletableFuture<GetMultiAccountDeliveryChannelStatisticsResponse> getMultiAccountDeliveryChannelStatistics(GetMultiAccountDeliveryChannelStatisticsRequest request); /** * @param request the request parameters of GetMultiAccountResourceCenterServiceStatus GetMultiAccountResourceCenterServiceStatusRequest * @return GetMultiAccountResourceCenterServiceStatusResponse */ CompletableFuture<GetMultiAccountResourceCenterServiceStatusResponse> getMultiAccountResourceCenterServiceStatus(GetMultiAccountResourceCenterServiceStatusRequest request); /** * @param request the request parameters of GetMultiAccountResourceConfiguration GetMultiAccountResourceConfigurationRequest * @return GetMultiAccountResourceConfigurationResponse */ CompletableFuture<GetMultiAccountResourceConfigurationResponse> getMultiAccountResourceConfiguration(GetMultiAccountResourceConfigurationRequest request); /** * @param request the request parameters of GetMultiAccountResourceCounts GetMultiAccountResourceCountsRequest * @return GetMultiAccountResourceCountsResponse */ CompletableFuture<GetMultiAccountResourceCountsResponse> getMultiAccountResourceCounts(GetMultiAccountResourceCountsRequest request); /** * @param request the request parameters of GetResourceCenterServiceStatus GetResourceCenterServiceStatusRequest * @return GetResourceCenterServiceStatusResponse */ CompletableFuture<GetResourceCenterServiceStatusResponse> getResourceCenterServiceStatus(GetResourceCenterServiceStatusRequest request); /** * @param request the request parameters of GetResourceConfiguration GetResourceConfigurationRequest * @return GetResourceConfigurationResponse */ CompletableFuture<GetResourceConfigurationResponse> getResourceConfiguration(GetResourceConfigurationRequest request); /** * @param request the request parameters of GetResourceCounts GetResourceCountsRequest * @return GetResourceCountsResponse */ CompletableFuture<GetResourceCountsResponse> getResourceCounts(GetResourceCountsRequest request); /** * @param request the request parameters of GetSavedQuery GetSavedQueryRequest * @return GetSavedQueryResponse */ CompletableFuture<GetSavedQueryResponse> getSavedQuery(GetSavedQueryRequest request); /** * @param request the request parameters of ListDeliveryChannels ListDeliveryChannelsRequest * @return ListDeliveryChannelsResponse */ CompletableFuture<ListDeliveryChannelsResponse> listDeliveryChannels(ListDeliveryChannelsRequest request); /** * @param request the request parameters of ListExampleQueries ListExampleQueriesRequest * @return ListExampleQueriesResponse */ CompletableFuture<ListExampleQueriesResponse> listExampleQueries(ListExampleQueriesRequest request); /** * @param request the request parameters of ListFilters ListFiltersRequest * @return ListFiltersResponse */ CompletableFuture<ListFiltersResponse> listFilters(ListFiltersRequest request); /** * @param request the request parameters of ListMultiAccountDeliveryChannels ListMultiAccountDeliveryChannelsRequest * @return ListMultiAccountDeliveryChannelsResponse */ CompletableFuture<ListMultiAccountDeliveryChannelsResponse> listMultiAccountDeliveryChannels(ListMultiAccountDeliveryChannelsRequest request); /** * @param request the request parameters of ListMultiAccountResourceGroups ListMultiAccountResourceGroupsRequest * @return ListMultiAccountResourceGroupsResponse */ CompletableFuture<ListMultiAccountResourceGroupsResponse> listMultiAccountResourceGroups(ListMultiAccountResourceGroupsRequest request); /** * <b>description</b> : * <p> Before you use a RAM user or a RAM role to call the operation, you must make sure that the RAM user or RAM role is granted the required permissions. For more information, see <a href="https://help.aliyun.com/document_detail/600556.html">Grant a RAM user the permissions to use Resource Center</a>.</p> * <ul> * <li>By default, the operation returns up to 20 entries. You can configure the <code>MaxResults</code> parameter to specify the maximum number of entries to return.</li> * <li>If the response does not contain the <code>NextToken</code> parameter, all entries are returned. Otherwise, more entries exist. If you want to obtain the entries, you can call the operation again to initiate another query request. In the request, set the <code>NextToken</code> parameter to the value of <code>NextToken</code> in the last response of the operation. If you do not configure the <code>NextToken</code> parameter, entries on the first page are returned by default.</li> * <li>You can specify one or more filter conditions to narrow the search. For more information about supported filter parameters and matching methods, see the Supported filter parameters section. Multiple filter conditions have logical <code>AND</code> relations. Only resources that meet all filter conditions are returned. The values of a filter condition have logical <code>OR</code> relations. Resources that meet any value of the filter condition are returned.</li> * </ul> * * @param request the request parameters of ListMultiAccountResourceRelationships ListMultiAccountResourceRelationshipsRequest * @return ListMultiAccountResourceRelationshipsResponse */ CompletableFuture<ListMultiAccountResourceRelationshipsResponse> listMultiAccountResourceRelationships(ListMultiAccountResourceRelationshipsRequest request); /** * @param request the request parameters of ListMultiAccountTagKeys ListMultiAccountTagKeysRequest * @return ListMultiAccountTagKeysResponse */ CompletableFuture<ListMultiAccountTagKeysResponse> listMultiAccountTagKeys(ListMultiAccountTagKeysRequest request); /** * @param request the request parameters of ListMultiAccountTagValues ListMultiAccountTagValuesRequest * @return ListMultiAccountTagValuesResponse */ CompletableFuture<ListMultiAccountTagValuesResponse> listMultiAccountTagValues(ListMultiAccountTagValuesRequest request); /** * <b>description</b> : * <p> You can call this operation to query only the resource relationships on which the current account has access permissions.</p> * <ul> * <li>By default, this operation returns up to 20 entries. You can configure the <code>MaxResults</code> parameter to specify the maximum number of entries to return.</li> * <li>If the response does not contain the <code>NextToken</code> parameter, all entries are returned. Otherwise, more entries exist. If you want to obtain the entries, you can call the operation again to initiate another query request. In the request, set the <code>NextToken</code> parameter to the value of <code>NextToken</code> in the last response of the operation. If you do not configure the <code>NextToken</code> parameter, entries on the first page are returned by default.</li> * <li>You can specify one or more filter conditions to narrow the query scope. For information about supported filter parameters and matching methods, see the Supported filter parameters section. Multiple filter conditions have logical <code>AND</code> relations. Only entries that meet all filter conditions are returned. The values of a filter condition have logical <code>OR</code> relations. Entries that meet any value of the filter condition are returned.</li> * </ul> * * @param request the request parameters of ListResourceRelationships ListResourceRelationshipsRequest * @return ListResourceRelationshipsResponse */ CompletableFuture<ListResourceRelationshipsResponse> listResourceRelationships(ListResourceRelationshipsRequest request); /** * @param request the request parameters of ListResourceTypes ListResourceTypesRequest * @return ListResourceTypesResponse */ CompletableFuture<ListResourceTypesResponse> listResourceTypes(ListResourceTypesRequest request); /** * @param request the request parameters of ListSavedQueries ListSavedQueriesRequest * @return ListSavedQueriesResponse */ CompletableFuture<ListSavedQueriesResponse> listSavedQueries(ListSavedQueriesRequest request); /** * @param request the request parameters of ListTagKeys ListTagKeysRequest * @return ListTagKeysResponse */ CompletableFuture<ListTagKeysResponse> listTagKeys(ListTagKeysRequest request); /** * @param request the request parameters of ListTagValues ListTagValuesRequest * @return ListTagValuesResponse */ CompletableFuture<ListTagValuesResponse> listTagValues(ListTagValuesRequest request); /** * <b>description</b> : * <p> You can use this operation to search for only resources whose types are supported by Resource Center in services that work with Resource Center. For more information about the services and the resource types that are supported by Resource Center, see <a href="https://help.aliyun.com/document_detail/477798.html">Services that work with Resource Center</a>.</p> * <ul> * <li>Before you use a RAM user or a RAM role to call the operation, you must make sure that the RAM user or RAM role is granted the required permissions. For more information, see <a href="https://help.aliyun.com/document_detail/600556.html">Grant a RAM user the permissions to use Resource Center</a>.</li> * <li>By default, the operation returns a maximum of 20 entries. You can configure the <code>MaxResults</code> parameter to specify the maximum number of entries to return.</li> * <li>If the response does not contain the <code>NextToken</code> parameter, all entries are returned. Otherwise, more entries exist. If you want to obtain the entries, you can call the operation again to initiate another query request. In the request, set the <code>NextToken</code> parameter to the value of <code>NextToken</code> in the last response of the operation. If you do not configure the <code>NextToken</code> parameter, entries on the first page are returned by default.</li> * <li>You can specify one or more filter conditions to narrow the search scope. For more information about supported filter parameters and matching methods, see the Supported filter parameters section. Multiple filter conditions have logical <code>AND</code> relations. Only resources that meet all filter conditions are returned. The values of a filter condition have logical <code>OR</code> relations. Resources that meet any value of the filter condition are returned.</li> * <li>You can visit <a href="https://api.alibabacloud.com/api-tools/demo/ResourceCenter">Sample Code Center</a> to view more sample queries.</li> * </ul> * * @param request the request parameters of SearchMultiAccountResources SearchMultiAccountResourcesRequest * @return SearchMultiAccountResourcesResponse */ CompletableFuture<SearchMultiAccountResourcesResponse> searchMultiAccountResources(SearchMultiAccountResourcesRequest request); /** * <b>description</b> : * <p> You can use this operation to search for only resources whose types are supported by Resource Center in services that work with Resource Center. For more information about the services and the resource types that are supported by Resource Center, see <a href="https://help.aliyun.com/document_detail/477798.html">Services that work with Resource Center</a>.</p> * <ul> * <li>By default, the operation returns a maximum of 20 entries. You can configure the <code>MaxResults</code> parameter to specify the maximum number of entries to return.</li> * <li>If the response does not contain the <code>NextToken</code> parameter, all entries are returned. Otherwise, more entries exist. If you want to obtain the entries, you can call the operation again to initiate another query request. In the request, set the <code>NextToken</code> parameter to the value of <code>NextToken</code> in the last response of the operation. If you do not configure the <code>NextToken</code> parameter, entries on the first page are returned by default.</li> * <li>You can specify one or more filter conditions to narrow the search scope. For more information about supported filter parameters and matching methods, see the Supported filter parameters section. Multiple filter conditions have logical <code>AND</code> relations. Only resources that meet all filter conditions are returned. The values of a filter condition have logical <code>OR</code> relations. Resources that meet any value of the filter condition are returned.</li> * <li>You can visit <a href="https://api.aliyun.com/api-tools/demo/ResourceCenter">Sample Code Center</a> to view more sample queries.</li> * </ul> * * @param request the request parameters of SearchResources SearchResourcesRequest * @return SearchResourcesResponse */ CompletableFuture<SearchResourcesResponse> searchResources(SearchResourcesRequest request); /** * <b>description</b> : * <p>Resource delivery supports the delivery of resource configuration change events and scheduled resource snapshots. * Scheduled resource snapshots support the following delivery scenarios:</p> * <ul> * <li>Standard delivery: Leave the <code>ResourceSnapshotDelivery.CustomExpression</code> parameter empty.</li> * <li>Custom delivery: Set the <code>ResourceSnapshotDelivery.CustomExpression</code> parameter to an appropriate value.</li> * </ul> * * @param request the request parameters of UpdateDeliveryChannel UpdateDeliveryChannelRequest * @return UpdateDeliveryChannelResponse */ CompletableFuture<UpdateDeliveryChannelResponse> updateDeliveryChannel(UpdateDeliveryChannelRequest request); /** * @param request the request parameters of UpdateFilter UpdateFilterRequest * @return UpdateFilterResponse */ CompletableFuture<UpdateFilterResponse> updateFilter(UpdateFilterRequest request); /** * <b>description</b> : * <p>Resource delivery supports the delivery of resource configuration change events and scheduled resource snapshots. * Scheduled resource snapshots support the following delivery scenarios:</p> * <ul> * <li>Standard delivery: Leave the <code>ResourceSnapshotDelivery.CustomExpression</code> parameter empty.</li> * <li>Custom delivery: Set the <code>ResourceSnapshotDelivery.CustomExpression</code> parameter to an appropriate value.</li> * </ul> * * @param request the request parameters of UpdateMultiAccountDeliveryChannel UpdateMultiAccountDeliveryChannelRequest * @return UpdateMultiAccountDeliveryChannelResponse */ CompletableFuture<UpdateMultiAccountDeliveryChannelResponse> updateMultiAccountDeliveryChannel(UpdateMultiAccountDeliveryChannelRequest request); /** * @param request the request parameters of UpdateSavedQuery UpdateSavedQueryRequest * @return UpdateSavedQueryResponse */ CompletableFuture<UpdateSavedQueryResponse> updateSavedQuery(UpdateSavedQueryRequest request); }
0
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/DefaultAsyncClient.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcecenter20221201; import com.aliyun.core.http.*; import com.aliyun.sdk.service.resourcecenter20221201.models.*; import darabonba.core.utils.*; import com.aliyun.sdk.gateway.pop.*; import darabonba.core.*; import darabonba.core.async.*; import darabonba.core.sync.*; import darabonba.core.client.*; import java.util.concurrent.CompletableFuture; /** * <p>Main client.</p> */ public final class DefaultAsyncClient implements AsyncClient { protected final String product; protected final String version; protected final String endpointRule; protected final java.util.Map<String, String> endpointMap; protected final TeaRequest REQUEST; protected final TeaAsyncHandler handler; protected DefaultAsyncClient(ClientConfiguration configuration) { this.handler = new TeaAsyncHandler(configuration); this.product = "ResourceCenter"; this.version = "2022-12-01"; this.endpointRule = ""; this.endpointMap = new java.util.HashMap<>(); this.REQUEST = TeaRequest.create().setProduct(product).setEndpointRule(endpointRule).setEndpointMap(endpointMap).setVersion(version); } @Override public void close() { this.handler.close(); } /** * @param request the request parameters of AssociateDefaultFilter AssociateDefaultFilterRequest * @return AssociateDefaultFilterResponse */ @Override public CompletableFuture<AssociateDefaultFilterResponse> associateDefaultFilter(AssociateDefaultFilterRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("AssociateDefaultFilter").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(AssociateDefaultFilterResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<AssociateDefaultFilterResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * <b>description</b> : * <p>Resource delivery supports the delivery of resource configuration change events and scheduled resource snapshots. * Scheduled resource snapshots support the following delivery scenarios:</p> * <ul> * <li>Standard delivery: Leave the ResourceSnapshotDelivery.CustomExpression parameter empty.</li> * <li>Custom delivery: Set the ResourceSnapshotDelivery.CustomExpression parameter to an appropriate value.</li> * </ul> * * @param request the request parameters of CreateDeliveryChannel CreateDeliveryChannelRequest * @return CreateDeliveryChannelResponse */ @Override public CompletableFuture<CreateDeliveryChannelResponse> createDeliveryChannel(CreateDeliveryChannelRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateDeliveryChannel").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateDeliveryChannelResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<CreateDeliveryChannelResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of CreateFilter CreateFilterRequest * @return CreateFilterResponse */ @Override public CompletableFuture<CreateFilterResponse> createFilter(CreateFilterRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateFilter").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateFilterResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<CreateFilterResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * <b>description</b> : * <p>In Resource Center, you can create multi-account delivery channels by using the management account of your resource directory or the delegated administrator account of Resource Center to deliver resource configuration change events and scheduled resource snapshots within the members in your resource directory to Object Storage Service (OSS) or Simple Log Service. Then, other Alibaba Cloud services consume standardized resource information from OSS or Simple Log Service. * Scheduled resource snapshots support the following delivery scenarios:</p> * <ul> * <li>Standard delivery: Leave the <code>ResourceSnapshotDelivery.CustomExpression</code> parameter empty.</li> * <li>Custom delivery: Set the <code>ResourceSnapshotDelivery.CustomExpression</code> parameter to an appropriate value.</li> * </ul> * * @param request the request parameters of CreateMultiAccountDeliveryChannel CreateMultiAccountDeliveryChannelRequest * @return CreateMultiAccountDeliveryChannelResponse */ @Override public CompletableFuture<CreateMultiAccountDeliveryChannelResponse> createMultiAccountDeliveryChannel(CreateMultiAccountDeliveryChannelRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateMultiAccountDeliveryChannel").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateMultiAccountDeliveryChannelResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<CreateMultiAccountDeliveryChannelResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of CreateSavedQuery CreateSavedQueryRequest * @return CreateSavedQueryResponse */ @Override public CompletableFuture<CreateSavedQueryResponse> createSavedQuery(CreateSavedQueryRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("CreateSavedQuery").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(CreateSavedQueryResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<CreateSavedQueryResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of DeleteDeliveryChannel DeleteDeliveryChannelRequest * @return DeleteDeliveryChannelResponse */ @Override public CompletableFuture<DeleteDeliveryChannelResponse> deleteDeliveryChannel(DeleteDeliveryChannelRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DeleteDeliveryChannel").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteDeliveryChannelResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DeleteDeliveryChannelResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of DeleteFilter DeleteFilterRequest * @return DeleteFilterResponse */ @Override public CompletableFuture<DeleteFilterResponse> deleteFilter(DeleteFilterRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DeleteFilter").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteFilterResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DeleteFilterResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of DeleteMultiAccountDeliveryChannel DeleteMultiAccountDeliveryChannelRequest * @return DeleteMultiAccountDeliveryChannelResponse */ @Override public CompletableFuture<DeleteMultiAccountDeliveryChannelResponse> deleteMultiAccountDeliveryChannel(DeleteMultiAccountDeliveryChannelRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DeleteMultiAccountDeliveryChannel").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteMultiAccountDeliveryChannelResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DeleteMultiAccountDeliveryChannelResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of DeleteSavedQuery DeleteSavedQueryRequest * @return DeleteSavedQueryResponse */ @Override public CompletableFuture<DeleteSavedQueryResponse> deleteSavedQuery(DeleteSavedQueryRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DeleteSavedQuery").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DeleteSavedQueryResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DeleteSavedQueryResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of DisableMultiAccountResourceCenter DisableMultiAccountResourceCenterRequest * @return DisableMultiAccountResourceCenterResponse */ @Override public CompletableFuture<DisableMultiAccountResourceCenterResponse> disableMultiAccountResourceCenter(DisableMultiAccountResourceCenterRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DisableMultiAccountResourceCenter").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DisableMultiAccountResourceCenterResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DisableMultiAccountResourceCenterResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of DisableResourceCenter DisableResourceCenterRequest * @return DisableResourceCenterResponse */ @Override public CompletableFuture<DisableResourceCenterResponse> disableResourceCenter(DisableResourceCenterRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DisableResourceCenter").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DisableResourceCenterResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DisableResourceCenterResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of DisassociateDefaultFilter DisassociateDefaultFilterRequest * @return DisassociateDefaultFilterResponse */ @Override public CompletableFuture<DisassociateDefaultFilterResponse> disassociateDefaultFilter(DisassociateDefaultFilterRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("DisassociateDefaultFilter").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(DisassociateDefaultFilterResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<DisassociateDefaultFilterResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * <b>description</b> : * <p>If you have created a resource directory for your enterprise, you can enable the cross-account resource search feature by using the management account of the resource directory or a delegated administrator account of Resource Center to view the resources of members in the resource directory. For more information about a resource directory, see <a href="https://help.aliyun.com/document_detail/200506.html">Resource Directory overview</a>.</p> * * @param request the request parameters of EnableMultiAccountResourceCenter EnableMultiAccountResourceCenterRequest * @return EnableMultiAccountResourceCenterResponse */ @Override public CompletableFuture<EnableMultiAccountResourceCenterResponse> enableMultiAccountResourceCenter(EnableMultiAccountResourceCenterRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("EnableMultiAccountResourceCenter").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(EnableMultiAccountResourceCenterResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<EnableMultiAccountResourceCenterResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of EnableResourceCenter EnableResourceCenterRequest * @return EnableResourceCenterResponse */ @Override public CompletableFuture<EnableResourceCenterResponse> enableResourceCenter(EnableResourceCenterRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("EnableResourceCenter").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(EnableResourceCenterResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<EnableResourceCenterResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of ExecuteMultiAccountSQLQuery ExecuteMultiAccountSQLQueryRequest * @return ExecuteMultiAccountSQLQueryResponse */ @Override public CompletableFuture<ExecuteMultiAccountSQLQueryResponse> executeMultiAccountSQLQuery(ExecuteMultiAccountSQLQueryRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ExecuteMultiAccountSQLQuery").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ExecuteMultiAccountSQLQueryResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ExecuteMultiAccountSQLQueryResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of ExecuteSQLQuery ExecuteSQLQueryRequest * @return ExecuteSQLQueryResponse */ @Override public CompletableFuture<ExecuteSQLQueryResponse> executeSQLQuery(ExecuteSQLQueryRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ExecuteSQLQuery").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ExecuteSQLQueryResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ExecuteSQLQueryResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of GetDeliveryChannel GetDeliveryChannelRequest * @return GetDeliveryChannelResponse */ @Override public CompletableFuture<GetDeliveryChannelResponse> getDeliveryChannel(GetDeliveryChannelRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("GetDeliveryChannel").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetDeliveryChannelResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<GetDeliveryChannelResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of GetDeliveryChannelStatistics GetDeliveryChannelStatisticsRequest * @return GetDeliveryChannelStatisticsResponse */ @Override public CompletableFuture<GetDeliveryChannelStatisticsResponse> getDeliveryChannelStatistics(GetDeliveryChannelStatisticsRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("GetDeliveryChannelStatistics").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetDeliveryChannelStatisticsResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<GetDeliveryChannelStatisticsResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of GetExampleQuery GetExampleQueryRequest * @return GetExampleQueryResponse */ @Override public CompletableFuture<GetExampleQueryResponse> getExampleQuery(GetExampleQueryRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("GetExampleQuery").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetExampleQueryResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<GetExampleQueryResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of GetMultiAccountDeliveryChannel GetMultiAccountDeliveryChannelRequest * @return GetMultiAccountDeliveryChannelResponse */ @Override public CompletableFuture<GetMultiAccountDeliveryChannelResponse> getMultiAccountDeliveryChannel(GetMultiAccountDeliveryChannelRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("GetMultiAccountDeliveryChannel").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetMultiAccountDeliveryChannelResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<GetMultiAccountDeliveryChannelResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of GetMultiAccountDeliveryChannelStatistics GetMultiAccountDeliveryChannelStatisticsRequest * @return GetMultiAccountDeliveryChannelStatisticsResponse */ @Override public CompletableFuture<GetMultiAccountDeliveryChannelStatisticsResponse> getMultiAccountDeliveryChannelStatistics(GetMultiAccountDeliveryChannelStatisticsRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("GetMultiAccountDeliveryChannelStatistics").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetMultiAccountDeliveryChannelStatisticsResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<GetMultiAccountDeliveryChannelStatisticsResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of GetMultiAccountResourceCenterServiceStatus GetMultiAccountResourceCenterServiceStatusRequest * @return GetMultiAccountResourceCenterServiceStatusResponse */ @Override public CompletableFuture<GetMultiAccountResourceCenterServiceStatusResponse> getMultiAccountResourceCenterServiceStatus(GetMultiAccountResourceCenterServiceStatusRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("GetMultiAccountResourceCenterServiceStatus").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetMultiAccountResourceCenterServiceStatusResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<GetMultiAccountResourceCenterServiceStatusResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of GetMultiAccountResourceConfiguration GetMultiAccountResourceConfigurationRequest * @return GetMultiAccountResourceConfigurationResponse */ @Override public CompletableFuture<GetMultiAccountResourceConfigurationResponse> getMultiAccountResourceConfiguration(GetMultiAccountResourceConfigurationRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("GetMultiAccountResourceConfiguration").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetMultiAccountResourceConfigurationResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<GetMultiAccountResourceConfigurationResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of GetMultiAccountResourceCounts GetMultiAccountResourceCountsRequest * @return GetMultiAccountResourceCountsResponse */ @Override public CompletableFuture<GetMultiAccountResourceCountsResponse> getMultiAccountResourceCounts(GetMultiAccountResourceCountsRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("GetMultiAccountResourceCounts").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetMultiAccountResourceCountsResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<GetMultiAccountResourceCountsResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of GetResourceCenterServiceStatus GetResourceCenterServiceStatusRequest * @return GetResourceCenterServiceStatusResponse */ @Override public CompletableFuture<GetResourceCenterServiceStatusResponse> getResourceCenterServiceStatus(GetResourceCenterServiceStatusRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("GetResourceCenterServiceStatus").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetResourceCenterServiceStatusResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<GetResourceCenterServiceStatusResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of GetResourceConfiguration GetResourceConfigurationRequest * @return GetResourceConfigurationResponse */ @Override public CompletableFuture<GetResourceConfigurationResponse> getResourceConfiguration(GetResourceConfigurationRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("GetResourceConfiguration").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetResourceConfigurationResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<GetResourceConfigurationResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of GetResourceCounts GetResourceCountsRequest * @return GetResourceCountsResponse */ @Override public CompletableFuture<GetResourceCountsResponse> getResourceCounts(GetResourceCountsRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("GetResourceCounts").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetResourceCountsResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<GetResourceCountsResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of GetSavedQuery GetSavedQueryRequest * @return GetSavedQueryResponse */ @Override public CompletableFuture<GetSavedQueryResponse> getSavedQuery(GetSavedQueryRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("GetSavedQuery").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(GetSavedQueryResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<GetSavedQueryResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of ListDeliveryChannels ListDeliveryChannelsRequest * @return ListDeliveryChannelsResponse */ @Override public CompletableFuture<ListDeliveryChannelsResponse> listDeliveryChannels(ListDeliveryChannelsRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ListDeliveryChannels").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListDeliveryChannelsResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ListDeliveryChannelsResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of ListExampleQueries ListExampleQueriesRequest * @return ListExampleQueriesResponse */ @Override public CompletableFuture<ListExampleQueriesResponse> listExampleQueries(ListExampleQueriesRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ListExampleQueries").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListExampleQueriesResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ListExampleQueriesResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of ListFilters ListFiltersRequest * @return ListFiltersResponse */ @Override public CompletableFuture<ListFiltersResponse> listFilters(ListFiltersRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ListFilters").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListFiltersResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ListFiltersResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of ListMultiAccountDeliveryChannels ListMultiAccountDeliveryChannelsRequest * @return ListMultiAccountDeliveryChannelsResponse */ @Override public CompletableFuture<ListMultiAccountDeliveryChannelsResponse> listMultiAccountDeliveryChannels(ListMultiAccountDeliveryChannelsRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ListMultiAccountDeliveryChannels").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListMultiAccountDeliveryChannelsResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ListMultiAccountDeliveryChannelsResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of ListMultiAccountResourceGroups ListMultiAccountResourceGroupsRequest * @return ListMultiAccountResourceGroupsResponse */ @Override public CompletableFuture<ListMultiAccountResourceGroupsResponse> listMultiAccountResourceGroups(ListMultiAccountResourceGroupsRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ListMultiAccountResourceGroups").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListMultiAccountResourceGroupsResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ListMultiAccountResourceGroupsResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * <b>description</b> : * <p> Before you use a RAM user or a RAM role to call the operation, you must make sure that the RAM user or RAM role is granted the required permissions. For more information, see <a href="https://help.aliyun.com/document_detail/600556.html">Grant a RAM user the permissions to use Resource Center</a>.</p> * <ul> * <li>By default, the operation returns up to 20 entries. You can configure the <code>MaxResults</code> parameter to specify the maximum number of entries to return.</li> * <li>If the response does not contain the <code>NextToken</code> parameter, all entries are returned. Otherwise, more entries exist. If you want to obtain the entries, you can call the operation again to initiate another query request. In the request, set the <code>NextToken</code> parameter to the value of <code>NextToken</code> in the last response of the operation. If you do not configure the <code>NextToken</code> parameter, entries on the first page are returned by default.</li> * <li>You can specify one or more filter conditions to narrow the search. For more information about supported filter parameters and matching methods, see the Supported filter parameters section. Multiple filter conditions have logical <code>AND</code> relations. Only resources that meet all filter conditions are returned. The values of a filter condition have logical <code>OR</code> relations. Resources that meet any value of the filter condition are returned.</li> * </ul> * * @param request the request parameters of ListMultiAccountResourceRelationships ListMultiAccountResourceRelationshipsRequest * @return ListMultiAccountResourceRelationshipsResponse */ @Override public CompletableFuture<ListMultiAccountResourceRelationshipsResponse> listMultiAccountResourceRelationships(ListMultiAccountResourceRelationshipsRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ListMultiAccountResourceRelationships").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListMultiAccountResourceRelationshipsResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ListMultiAccountResourceRelationshipsResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of ListMultiAccountTagKeys ListMultiAccountTagKeysRequest * @return ListMultiAccountTagKeysResponse */ @Override public CompletableFuture<ListMultiAccountTagKeysResponse> listMultiAccountTagKeys(ListMultiAccountTagKeysRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ListMultiAccountTagKeys").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListMultiAccountTagKeysResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ListMultiAccountTagKeysResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of ListMultiAccountTagValues ListMultiAccountTagValuesRequest * @return ListMultiAccountTagValuesResponse */ @Override public CompletableFuture<ListMultiAccountTagValuesResponse> listMultiAccountTagValues(ListMultiAccountTagValuesRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ListMultiAccountTagValues").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListMultiAccountTagValuesResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ListMultiAccountTagValuesResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * <b>description</b> : * <p> You can call this operation to query only the resource relationships on which the current account has access permissions.</p> * <ul> * <li>By default, this operation returns up to 20 entries. You can configure the <code>MaxResults</code> parameter to specify the maximum number of entries to return.</li> * <li>If the response does not contain the <code>NextToken</code> parameter, all entries are returned. Otherwise, more entries exist. If you want to obtain the entries, you can call the operation again to initiate another query request. In the request, set the <code>NextToken</code> parameter to the value of <code>NextToken</code> in the last response of the operation. If you do not configure the <code>NextToken</code> parameter, entries on the first page are returned by default.</li> * <li>You can specify one or more filter conditions to narrow the query scope. For information about supported filter parameters and matching methods, see the Supported filter parameters section. Multiple filter conditions have logical <code>AND</code> relations. Only entries that meet all filter conditions are returned. The values of a filter condition have logical <code>OR</code> relations. Entries that meet any value of the filter condition are returned.</li> * </ul> * * @param request the request parameters of ListResourceRelationships ListResourceRelationshipsRequest * @return ListResourceRelationshipsResponse */ @Override public CompletableFuture<ListResourceRelationshipsResponse> listResourceRelationships(ListResourceRelationshipsRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ListResourceRelationships").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListResourceRelationshipsResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ListResourceRelationshipsResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of ListResourceTypes ListResourceTypesRequest * @return ListResourceTypesResponse */ @Override public CompletableFuture<ListResourceTypesResponse> listResourceTypes(ListResourceTypesRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ListResourceTypes").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListResourceTypesResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ListResourceTypesResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of ListSavedQueries ListSavedQueriesRequest * @return ListSavedQueriesResponse */ @Override public CompletableFuture<ListSavedQueriesResponse> listSavedQueries(ListSavedQueriesRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ListSavedQueries").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListSavedQueriesResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ListSavedQueriesResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of ListTagKeys ListTagKeysRequest * @return ListTagKeysResponse */ @Override public CompletableFuture<ListTagKeysResponse> listTagKeys(ListTagKeysRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ListTagKeys").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListTagKeysResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ListTagKeysResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of ListTagValues ListTagValuesRequest * @return ListTagValuesResponse */ @Override public CompletableFuture<ListTagValuesResponse> listTagValues(ListTagValuesRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("ListTagValues").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(ListTagValuesResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<ListTagValuesResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * <b>description</b> : * <p> You can use this operation to search for only resources whose types are supported by Resource Center in services that work with Resource Center. For more information about the services and the resource types that are supported by Resource Center, see <a href="https://help.aliyun.com/document_detail/477798.html">Services that work with Resource Center</a>.</p> * <ul> * <li>Before you use a RAM user or a RAM role to call the operation, you must make sure that the RAM user or RAM role is granted the required permissions. For more information, see <a href="https://help.aliyun.com/document_detail/600556.html">Grant a RAM user the permissions to use Resource Center</a>.</li> * <li>By default, the operation returns a maximum of 20 entries. You can configure the <code>MaxResults</code> parameter to specify the maximum number of entries to return.</li> * <li>If the response does not contain the <code>NextToken</code> parameter, all entries are returned. Otherwise, more entries exist. If you want to obtain the entries, you can call the operation again to initiate another query request. In the request, set the <code>NextToken</code> parameter to the value of <code>NextToken</code> in the last response of the operation. If you do not configure the <code>NextToken</code> parameter, entries on the first page are returned by default.</li> * <li>You can specify one or more filter conditions to narrow the search scope. For more information about supported filter parameters and matching methods, see the Supported filter parameters section. Multiple filter conditions have logical <code>AND</code> relations. Only resources that meet all filter conditions are returned. The values of a filter condition have logical <code>OR</code> relations. Resources that meet any value of the filter condition are returned.</li> * <li>You can visit <a href="https://api.alibabacloud.com/api-tools/demo/ResourceCenter">Sample Code Center</a> to view more sample queries.</li> * </ul> * * @param request the request parameters of SearchMultiAccountResources SearchMultiAccountResourcesRequest * @return SearchMultiAccountResourcesResponse */ @Override public CompletableFuture<SearchMultiAccountResourcesResponse> searchMultiAccountResources(SearchMultiAccountResourcesRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("SearchMultiAccountResources").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(SearchMultiAccountResourcesResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<SearchMultiAccountResourcesResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * <b>description</b> : * <p> You can use this operation to search for only resources whose types are supported by Resource Center in services that work with Resource Center. For more information about the services and the resource types that are supported by Resource Center, see <a href="https://help.aliyun.com/document_detail/477798.html">Services that work with Resource Center</a>.</p> * <ul> * <li>By default, the operation returns a maximum of 20 entries. You can configure the <code>MaxResults</code> parameter to specify the maximum number of entries to return.</li> * <li>If the response does not contain the <code>NextToken</code> parameter, all entries are returned. Otherwise, more entries exist. If you want to obtain the entries, you can call the operation again to initiate another query request. In the request, set the <code>NextToken</code> parameter to the value of <code>NextToken</code> in the last response of the operation. If you do not configure the <code>NextToken</code> parameter, entries on the first page are returned by default.</li> * <li>You can specify one or more filter conditions to narrow the search scope. For more information about supported filter parameters and matching methods, see the Supported filter parameters section. Multiple filter conditions have logical <code>AND</code> relations. Only resources that meet all filter conditions are returned. The values of a filter condition have logical <code>OR</code> relations. Resources that meet any value of the filter condition are returned.</li> * <li>You can visit <a href="https://api.aliyun.com/api-tools/demo/ResourceCenter">Sample Code Center</a> to view more sample queries.</li> * </ul> * * @param request the request parameters of SearchResources SearchResourcesRequest * @return SearchResourcesResponse */ @Override public CompletableFuture<SearchResourcesResponse> searchResources(SearchResourcesRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("SearchResources").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(SearchResourcesResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<SearchResourcesResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * <b>description</b> : * <p>Resource delivery supports the delivery of resource configuration change events and scheduled resource snapshots. * Scheduled resource snapshots support the following delivery scenarios:</p> * <ul> * <li>Standard delivery: Leave the <code>ResourceSnapshotDelivery.CustomExpression</code> parameter empty.</li> * <li>Custom delivery: Set the <code>ResourceSnapshotDelivery.CustomExpression</code> parameter to an appropriate value.</li> * </ul> * * @param request the request parameters of UpdateDeliveryChannel UpdateDeliveryChannelRequest * @return UpdateDeliveryChannelResponse */ @Override public CompletableFuture<UpdateDeliveryChannelResponse> updateDeliveryChannel(UpdateDeliveryChannelRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("UpdateDeliveryChannel").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpdateDeliveryChannelResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<UpdateDeliveryChannelResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of UpdateFilter UpdateFilterRequest * @return UpdateFilterResponse */ @Override public CompletableFuture<UpdateFilterResponse> updateFilter(UpdateFilterRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("UpdateFilter").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpdateFilterResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<UpdateFilterResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * <b>description</b> : * <p>Resource delivery supports the delivery of resource configuration change events and scheduled resource snapshots. * Scheduled resource snapshots support the following delivery scenarios:</p> * <ul> * <li>Standard delivery: Leave the <code>ResourceSnapshotDelivery.CustomExpression</code> parameter empty.</li> * <li>Custom delivery: Set the <code>ResourceSnapshotDelivery.CustomExpression</code> parameter to an appropriate value.</li> * </ul> * * @param request the request parameters of UpdateMultiAccountDeliveryChannel UpdateMultiAccountDeliveryChannelRequest * @return UpdateMultiAccountDeliveryChannelResponse */ @Override public CompletableFuture<UpdateMultiAccountDeliveryChannelResponse> updateMultiAccountDeliveryChannel(UpdateMultiAccountDeliveryChannelRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("UpdateMultiAccountDeliveryChannel").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpdateMultiAccountDeliveryChannelResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<UpdateMultiAccountDeliveryChannelResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } /** * @param request the request parameters of UpdateSavedQuery UpdateSavedQueryRequest * @return UpdateSavedQueryResponse */ @Override public CompletableFuture<UpdateSavedQueryResponse> updateSavedQuery(UpdateSavedQueryRequest request) { try { this.handler.validateRequestModel(request); TeaRequest teaRequest = REQUEST.copy().setStyle(RequestStyle.RPC).setAction("UpdateSavedQuery").setMethod(HttpMethod.POST).setPathRegex("/").setBodyType(BodyType.JSON).setBodyIsForm(false).setReqBodyType(BodyType.JSON).formModel(request); ClientExecutionParams params = new ClientExecutionParams().withInput(request).withRequest(teaRequest).withOutput(UpdateSavedQueryResponse.create()); return this.handler.execute(params); } catch (Exception e) { CompletableFuture<UpdateSavedQueryResponse> future = new CompletableFuture<>(); future.completeExceptionally(e); return future; } } }
0
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/DefaultAsyncClientBuilder.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcecenter20221201; import com.aliyun.sdk.gateway.pop.BaseClientBuilder; public final class DefaultAsyncClientBuilder extends BaseClientBuilder<DefaultAsyncClientBuilder, AsyncClient> { @Override protected String serviceName() { return "resourcecenter20221201"; } @Override protected final AsyncClient buildClient() { return new DefaultAsyncClient(super.applyClientConfiguration()); } }
0
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/AssociateDefaultFilterRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcecenter20221201.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 AssociateDefaultFilterRequest} extends {@link RequestModel} * * <p>AssociateDefaultFilterRequest</p> */ public class AssociateDefaultFilterRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("FilterName") @com.aliyun.core.annotation.Validation(required = true) private String filterName; private AssociateDefaultFilterRequest(Builder builder) { super(builder); this.filterName = builder.filterName; } public static Builder builder() { return new Builder(); } public static AssociateDefaultFilterRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return filterName */ public String getFilterName() { return this.filterName; } public static final class Builder extends Request.Builder<AssociateDefaultFilterRequest, Builder> { private String filterName; private Builder() { super(); } private Builder(AssociateDefaultFilterRequest request) { super(request); this.filterName = request.filterName; } /** * <p>The name of the filter.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>My Filters</p> */ public Builder filterName(String filterName) { this.putQueryParameter("FilterName", filterName); this.filterName = filterName; return this; } @Override public AssociateDefaultFilterRequest build() { return new AssociateDefaultFilterRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/AssociateDefaultFilterResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcecenter20221201.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 AssociateDefaultFilterResponse} extends {@link TeaModel} * * <p>AssociateDefaultFilterResponse</p> */ public class AssociateDefaultFilterResponse 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 AssociateDefaultFilterResponseBody body; private AssociateDefaultFilterResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static AssociateDefaultFilterResponse 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 AssociateDefaultFilterResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<AssociateDefaultFilterResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(AssociateDefaultFilterResponseBody body); @Override AssociateDefaultFilterResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<AssociateDefaultFilterResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private AssociateDefaultFilterResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(AssociateDefaultFilterResponse 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(AssociateDefaultFilterResponseBody body) { this.body = body; return this; } @Override public AssociateDefaultFilterResponse build() { return new AssociateDefaultFilterResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/AssociateDefaultFilterResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcecenter20221201.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 AssociateDefaultFilterResponseBody} extends {@link TeaModel} * * <p>AssociateDefaultFilterResponseBody</p> */ public class AssociateDefaultFilterResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private AssociateDefaultFilterResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static AssociateDefaultFilterResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String requestId; private Builder() { } private Builder(AssociateDefaultFilterResponseBody model) { this.requestId = model.requestId; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>54673B22-2001-556A-B394-B8697AA9670B</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public AssociateDefaultFilterResponseBody build() { return new AssociateDefaultFilterResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/CreateDeliveryChannelRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcecenter20221201.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 CreateDeliveryChannelRequest} extends {@link RequestModel} * * <p>CreateDeliveryChannelRequest</p> */ public class CreateDeliveryChannelRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DeliveryChannelDescription") private String deliveryChannelDescription; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DeliveryChannelFilter") @com.aliyun.core.annotation.Validation(required = true) private DeliveryChannelFilter deliveryChannelFilter; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DeliveryChannelName") @com.aliyun.core.annotation.Validation(required = true) private String deliveryChannelName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceChangeDelivery") private ResourceChangeDelivery resourceChangeDelivery; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceSnapshotDelivery") private ResourceSnapshotDelivery resourceSnapshotDelivery; private CreateDeliveryChannelRequest(Builder builder) { super(builder); this.deliveryChannelDescription = builder.deliveryChannelDescription; this.deliveryChannelFilter = builder.deliveryChannelFilter; this.deliveryChannelName = builder.deliveryChannelName; this.resourceChangeDelivery = builder.resourceChangeDelivery; this.resourceSnapshotDelivery = builder.resourceSnapshotDelivery; } public static Builder builder() { return new Builder(); } public static CreateDeliveryChannelRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return deliveryChannelDescription */ public String getDeliveryChannelDescription() { return this.deliveryChannelDescription; } /** * @return deliveryChannelFilter */ public DeliveryChannelFilter getDeliveryChannelFilter() { return this.deliveryChannelFilter; } /** * @return deliveryChannelName */ public String getDeliveryChannelName() { return this.deliveryChannelName; } /** * @return resourceChangeDelivery */ public ResourceChangeDelivery getResourceChangeDelivery() { return this.resourceChangeDelivery; } /** * @return resourceSnapshotDelivery */ public ResourceSnapshotDelivery getResourceSnapshotDelivery() { return this.resourceSnapshotDelivery; } public static final class Builder extends Request.Builder<CreateDeliveryChannelRequest, Builder> { private String deliveryChannelDescription; private DeliveryChannelFilter deliveryChannelFilter; private String deliveryChannelName; private ResourceChangeDelivery resourceChangeDelivery; private ResourceSnapshotDelivery resourceSnapshotDelivery; private Builder() { super(); } private Builder(CreateDeliveryChannelRequest request) { super(request); this.deliveryChannelDescription = request.deliveryChannelDescription; this.deliveryChannelFilter = request.deliveryChannelFilter; this.deliveryChannelName = request.deliveryChannelName; this.resourceChangeDelivery = request.resourceChangeDelivery; this.resourceSnapshotDelivery = request.resourceSnapshotDelivery; } /** * <p>The description of the delivery channel.</p> */ public Builder deliveryChannelDescription(String deliveryChannelDescription) { this.putQueryParameter("DeliveryChannelDescription", deliveryChannelDescription); this.deliveryChannelDescription = deliveryChannelDescription; return this; } /** * <p>The effective scope of the delivery channel.</p> * <p>This parameter is required.</p> */ public Builder deliveryChannelFilter(DeliveryChannelFilter deliveryChannelFilter) { this.putQueryParameter("DeliveryChannelFilter", deliveryChannelFilter); this.deliveryChannelFilter = deliveryChannelFilter; return this; } /** * <p>The name of the delivery channel.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>test-delivery</p> */ public Builder deliveryChannelName(String deliveryChannelName) { this.putQueryParameter("DeliveryChannelName", deliveryChannelName); this.deliveryChannelName = deliveryChannelName; return this; } /** * <p>The configurations for delivery of resource configuration change events.</p> */ public Builder resourceChangeDelivery(ResourceChangeDelivery resourceChangeDelivery) { this.putQueryParameter("ResourceChangeDelivery", resourceChangeDelivery); this.resourceChangeDelivery = resourceChangeDelivery; return this; } /** * <p>The configurations for delivery of scheduled resource snapshots.</p> */ public Builder resourceSnapshotDelivery(ResourceSnapshotDelivery resourceSnapshotDelivery) { this.putQueryParameter("ResourceSnapshotDelivery", resourceSnapshotDelivery); this.resourceSnapshotDelivery = resourceSnapshotDelivery; return this; } @Override public CreateDeliveryChannelRequest build() { return new CreateDeliveryChannelRequest(this); } } /** * * {@link CreateDeliveryChannelRequest} extends {@link TeaModel} * * <p>CreateDeliveryChannelRequest</p> */ public static class DeliveryChannelFilter extends TeaModel { @com.aliyun.core.annotation.NameInMap("ResourceTypes") private java.util.List<String> resourceTypes; private DeliveryChannelFilter(Builder builder) { this.resourceTypes = builder.resourceTypes; } public static Builder builder() { return new Builder(); } public static DeliveryChannelFilter create() { return builder().build(); } /** * @return resourceTypes */ public java.util.List<String> getResourceTypes() { return this.resourceTypes; } public static final class Builder { private java.util.List<String> resourceTypes; private Builder() { } private Builder(DeliveryChannelFilter model) { this.resourceTypes = model.resourceTypes; } /** * <p>An array of effective resource types for the delivery channel.</p> * <ul> * <li>Example: [&quot;ACS::VPC::VPC&quot;, &quot;ACS::ECS::Instance&quot;].</li> * <li>If you want to deliver items of all resource types supported by Resource Center, set this parameter to [&quot;ALL&quot;].</li> * </ul> */ public Builder resourceTypes(java.util.List<String> resourceTypes) { this.resourceTypes = resourceTypes; return this; } public DeliveryChannelFilter build() { return new DeliveryChannelFilter(this); } } } /** * * {@link CreateDeliveryChannelRequest} extends {@link TeaModel} * * <p>CreateDeliveryChannelRequest</p> */ public static class SlsProperties extends TeaModel { @com.aliyun.core.annotation.NameInMap("OversizedDataOssTargetArn") private String oversizedDataOssTargetArn; private SlsProperties(Builder builder) { this.oversizedDataOssTargetArn = builder.oversizedDataOssTargetArn; } public static Builder builder() { return new Builder(); } public static SlsProperties create() { return builder().build(); } /** * @return oversizedDataOssTargetArn */ public String getOversizedDataOssTargetArn() { return this.oversizedDataOssTargetArn; } public static final class Builder { private String oversizedDataOssTargetArn; private Builder() { } private Builder(SlsProperties model) { this.oversizedDataOssTargetArn = model.oversizedDataOssTargetArn; } /** * <p>The ARN of the destination to which large files are delivered.</p> * <ul> * <li>If the size of a resource configuration change event exceeds 1 MB, the event is delivered as an OSS object.</li> * <li>You need to set this parameter to the ARN of a bucket whose name is prefixed with resourcecenter-.</li> * </ul> * * <strong>example:</strong> * <p>acs:oss:cn-hangzhou:191142248777****:resourcecenter-oss</p> */ public Builder oversizedDataOssTargetArn(String oversizedDataOssTargetArn) { this.oversizedDataOssTargetArn = oversizedDataOssTargetArn; return this; } public SlsProperties build() { return new SlsProperties(this); } } } /** * * {@link CreateDeliveryChannelRequest} extends {@link TeaModel} * * <p>CreateDeliveryChannelRequest</p> */ public static class ResourceChangeDelivery extends TeaModel { @com.aliyun.core.annotation.NameInMap("SlsProperties") private SlsProperties slsProperties; @com.aliyun.core.annotation.NameInMap("TargetArn") private String targetArn; @com.aliyun.core.annotation.NameInMap("TargetType") private String targetType; private ResourceChangeDelivery(Builder builder) { this.slsProperties = builder.slsProperties; this.targetArn = builder.targetArn; this.targetType = builder.targetType; } public static Builder builder() { return new Builder(); } public static ResourceChangeDelivery create() { return builder().build(); } /** * @return slsProperties */ public SlsProperties getSlsProperties() { return this.slsProperties; } /** * @return targetArn */ public String getTargetArn() { return this.targetArn; } /** * @return targetType */ public String getTargetType() { return this.targetType; } public static final class Builder { private SlsProperties slsProperties; private String targetArn; private String targetType; private Builder() { } private Builder(ResourceChangeDelivery model) { this.slsProperties = model.slsProperties; this.targetArn = model.targetArn; this.targetType = model.targetType; } /** * <p>The Simple Log Service configurations.</p> */ public Builder slsProperties(SlsProperties slsProperties) { this.slsProperties = slsProperties; return this; } /** * <p>The ARN of the delivery destination.</p> * <ul> * <li>If you set <code>TargetType</code> to <code>OSS</code>, you must set <code>TargetArn</code> to the ARN of a bucket whose name is prefixed with resourcecenter-.</li> * <li>If you set <code>TargetType</code> to <code>SLS</code>, you must set <code>TargetArn</code> to the ARN of a Logstore whose name is prefixed with resourcecenter-.</li> * </ul> * * <strong>example:</strong> * <p>acs:log:cn-hangzhou: 191142248777****:project/delivery/logstore/resourcecenter-sls</p> */ public Builder targetArn(String targetArn) { this.targetArn = targetArn; return this; } /** * <p>The type of the delivery destination.</p> * <p>Valid values:</p> * <ul> * <li><code>SLS</code></li> * </ul> * * <strong>example:</strong> * <p>SLS</p> */ public Builder targetType(String targetType) { this.targetType = targetType; return this; } public ResourceChangeDelivery build() { return new ResourceChangeDelivery(this); } } } /** * * {@link CreateDeliveryChannelRequest} extends {@link TeaModel} * * <p>CreateDeliveryChannelRequest</p> */ public static class ResourceSnapshotDeliverySlsProperties extends TeaModel { @com.aliyun.core.annotation.NameInMap("OversizedDataOssTargetArn") private String oversizedDataOssTargetArn; private ResourceSnapshotDeliverySlsProperties(Builder builder) { this.oversizedDataOssTargetArn = builder.oversizedDataOssTargetArn; } public static Builder builder() { return new Builder(); } public static ResourceSnapshotDeliverySlsProperties create() { return builder().build(); } /** * @return oversizedDataOssTargetArn */ public String getOversizedDataOssTargetArn() { return this.oversizedDataOssTargetArn; } public static final class Builder { private String oversizedDataOssTargetArn; private Builder() { } private Builder(ResourceSnapshotDeliverySlsProperties model) { this.oversizedDataOssTargetArn = model.oversizedDataOssTargetArn; } /** * <p>The ARN of the destination to which large files are delivered.</p> * <ul> * <li>If the size of a resource configuration change event exceeds 1 MB, the event is delivered as an OSS object.</li> * <li>You need to set this parameter to the ARN of a bucket whose name is prefixed with resourcecenter-.</li> * <li>This parameter takes effect only if you use custom delivery for scheduled resource snapshots. You do not need to configure this parameter if you use standard delivery for scheduled resource snapshots.</li> * </ul> * * <strong>example:</strong> * <p>acs:oss:cn-hangzhou:191142248777****:resourcecenter-oss</p> */ public Builder oversizedDataOssTargetArn(String oversizedDataOssTargetArn) { this.oversizedDataOssTargetArn = oversizedDataOssTargetArn; return this; } public ResourceSnapshotDeliverySlsProperties build() { return new ResourceSnapshotDeliverySlsProperties(this); } } } /** * * {@link CreateDeliveryChannelRequest} extends {@link TeaModel} * * <p>CreateDeliveryChannelRequest</p> */ public static class ResourceSnapshotDelivery extends TeaModel { @com.aliyun.core.annotation.NameInMap("CustomExpression") private String customExpression; @com.aliyun.core.annotation.NameInMap("DeliveryTime") private String deliveryTime; @com.aliyun.core.annotation.NameInMap("SlsProperties") private ResourceSnapshotDeliverySlsProperties slsProperties; @com.aliyun.core.annotation.NameInMap("TargetArn") private String targetArn; @com.aliyun.core.annotation.NameInMap("TargetType") private String targetType; private ResourceSnapshotDelivery(Builder builder) { this.customExpression = builder.customExpression; this.deliveryTime = builder.deliveryTime; this.slsProperties = builder.slsProperties; this.targetArn = builder.targetArn; this.targetType = builder.targetType; } public static Builder builder() { return new Builder(); } public static ResourceSnapshotDelivery create() { return builder().build(); } /** * @return customExpression */ public String getCustomExpression() { return this.customExpression; } /** * @return deliveryTime */ public String getDeliveryTime() { return this.deliveryTime; } /** * @return slsProperties */ public ResourceSnapshotDeliverySlsProperties getSlsProperties() { return this.slsProperties; } /** * @return targetArn */ public String getTargetArn() { return this.targetArn; } /** * @return targetType */ public String getTargetType() { return this.targetType; } public static final class Builder { private String customExpression; private String deliveryTime; private ResourceSnapshotDeliverySlsProperties slsProperties; private String targetArn; private String targetType; private Builder() { } private Builder(ResourceSnapshotDelivery model) { this.customExpression = model.customExpression; this.deliveryTime = model.deliveryTime; this.slsProperties = model.slsProperties; this.targetArn = model.targetArn; this.targetType = model.targetType; } /** * <p>The custom expression.</p> * * <strong>example:</strong> * <p>select * from resources limit 100;</p> */ public Builder customExpression(String customExpression) { this.customExpression = customExpression; return this; } /** * <p>The delivery time.</p> * * <strong>example:</strong> * <p>09:00Z</p> */ public Builder deliveryTime(String deliveryTime) { this.deliveryTime = deliveryTime; return this; } /** * <p>The Simple Log Service configurations.</p> */ public Builder slsProperties(ResourceSnapshotDeliverySlsProperties slsProperties) { this.slsProperties = slsProperties; return this; } /** * <p>The Alibaba Cloud Resource Name (ARN) of the delivery destination.</p> * <ul> * <li>If you set <code>TargetType</code> to <code>OSS</code>, you must set <code>TargetArn</code> to the ARN of a bucket whose name is prefixed with resourcecenter-.</li> * <li>If you set <code>TargetType</code> to <code>SLS</code>, you must set <code>TargetArn</code> to the ARN of a Logstore whose name is prefixed with resourcecenter-.</li> * </ul> * * <strong>example:</strong> * <p>acs:log:cn-hangzhou: 191142248777****:project/delivery/logstore/resourcecenter-sls</p> */ public Builder targetArn(String targetArn) { this.targetArn = targetArn; return this; } /** * <p>The type of the delivery destination.</p> * <p>Valid values:</p> * <ul> * <li><code>OSS</code> for standard delivery</li> * <li><code>OSS</code> or <code>SLS</code> for custom delivery</li> * </ul> * * <strong>example:</strong> * <p>OSS</p> */ public Builder targetType(String targetType) { this.targetType = targetType; return this; } public ResourceSnapshotDelivery build() { return new ResourceSnapshotDelivery(this); } } } }
0
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/CreateDeliveryChannelResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcecenter20221201.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 CreateDeliveryChannelResponse} extends {@link TeaModel} * * <p>CreateDeliveryChannelResponse</p> */ public class CreateDeliveryChannelResponse 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 CreateDeliveryChannelResponseBody body; private CreateDeliveryChannelResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static CreateDeliveryChannelResponse 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 CreateDeliveryChannelResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<CreateDeliveryChannelResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(CreateDeliveryChannelResponseBody body); @Override CreateDeliveryChannelResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<CreateDeliveryChannelResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private CreateDeliveryChannelResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(CreateDeliveryChannelResponse 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(CreateDeliveryChannelResponseBody body) { this.body = body; return this; } @Override public CreateDeliveryChannelResponse build() { return new CreateDeliveryChannelResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/CreateDeliveryChannelResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcecenter20221201.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 CreateDeliveryChannelResponseBody} extends {@link TeaModel} * * <p>CreateDeliveryChannelResponseBody</p> */ public class CreateDeliveryChannelResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("DeliveryChannelId") private String deliveryChannelId; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private CreateDeliveryChannelResponseBody(Builder builder) { this.deliveryChannelId = builder.deliveryChannelId; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static CreateDeliveryChannelResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return deliveryChannelId */ public String getDeliveryChannelId() { return this.deliveryChannelId; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String deliveryChannelId; private String requestId; private Builder() { } private Builder(CreateDeliveryChannelResponseBody model) { this.deliveryChannelId = model.deliveryChannelId; this.requestId = model.requestId; } /** * <p>The ID of the delivery channel.</p> * * <strong>example:</strong> * <p>dc-0bzhsqpnk***</p> */ public Builder deliveryChannelId(String deliveryChannelId) { this.deliveryChannelId = deliveryChannelId; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>42A89312-0616-591E-B614-07BC87D3D***</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public CreateDeliveryChannelResponseBody build() { return new CreateDeliveryChannelResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/CreateFilterRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcecenter20221201.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 CreateFilterRequest} extends {@link RequestModel} * * <p>CreateFilterRequest</p> */ public class CreateFilterRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("FilterConfiguration") @com.aliyun.core.annotation.Validation(required = true) private String filterConfiguration; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("FilterName") @com.aliyun.core.annotation.Validation(required = true) private String filterName; private CreateFilterRequest(Builder builder) { super(builder); this.filterConfiguration = builder.filterConfiguration; this.filterName = builder.filterName; } public static Builder builder() { return new Builder(); } public static CreateFilterRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return filterConfiguration */ public String getFilterConfiguration() { return this.filterConfiguration; } /** * @return filterName */ public String getFilterName() { return this.filterName; } public static final class Builder extends Request.Builder<CreateFilterRequest, Builder> { private String filterConfiguration; private String filterName; private Builder() { super(); } private Builder(CreateFilterRequest request) { super(request); this.filterConfiguration = request.filterConfiguration; this.filterName = request.filterName; } /** * <p>The configurations of the filter.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>{ * &quot;regions&quot;: [], * &quot;tagFilters&quot;: [ * [{ &quot;type&quot;: &quot;notContainTagKey&quot;, &quot;tagKey&quot;: &quot;xxx&quot;, &quot;tagValue&quot;: &quot;&quot; }], * [{ &quot;tagKey&quot;: &quot;xxx&quot;, &quot;tagValue&quot;: &quot;xxx&quot; }] * ], * &quot;resourceTypes&quot;: [ * &quot;ACS::ECS::AutoSnapshotPolicy&quot; * ] * }</p> */ public Builder filterConfiguration(String filterConfiguration) { this.putQueryParameter("FilterConfiguration", filterConfiguration); this.filterConfiguration = filterConfiguration; return this; } /** * <p>The name of the filter.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>ECS</p> */ public Builder filterName(String filterName) { this.putQueryParameter("FilterName", filterName); this.filterName = filterName; return this; } @Override public CreateFilterRequest build() { return new CreateFilterRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/CreateFilterResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcecenter20221201.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 CreateFilterResponse} extends {@link TeaModel} * * <p>CreateFilterResponse</p> */ public class CreateFilterResponse 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 CreateFilterResponseBody body; private CreateFilterResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static CreateFilterResponse 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 CreateFilterResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<CreateFilterResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(CreateFilterResponseBody body); @Override CreateFilterResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<CreateFilterResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private CreateFilterResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(CreateFilterResponse 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(CreateFilterResponseBody body) { this.body = body; return this; } @Override public CreateFilterResponse build() { return new CreateFilterResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/CreateFilterResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcecenter20221201.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 CreateFilterResponseBody} extends {@link TeaModel} * * <p>CreateFilterResponseBody</p> */ public class CreateFilterResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private CreateFilterResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static CreateFilterResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String requestId; private Builder() { } private Builder(CreateFilterResponseBody model) { this.requestId = model.requestId; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>EEF1EE1F-50F6-5494-B3DA-8F597DEB31BF</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public CreateFilterResponseBody build() { return new CreateFilterResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/CreateMultiAccountDeliveryChannelRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcecenter20221201.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 CreateMultiAccountDeliveryChannelRequest} extends {@link RequestModel} * * <p>CreateMultiAccountDeliveryChannelRequest</p> */ public class CreateMultiAccountDeliveryChannelRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DeliveryChannelDescription") private String deliveryChannelDescription; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DeliveryChannelFilter") @com.aliyun.core.annotation.Validation(required = true) private DeliveryChannelFilter deliveryChannelFilter; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DeliveryChannelName") @com.aliyun.core.annotation.Validation(required = true) private String deliveryChannelName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceChangeDelivery") private ResourceChangeDelivery resourceChangeDelivery; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceSnapshotDelivery") private ResourceSnapshotDelivery resourceSnapshotDelivery; private CreateMultiAccountDeliveryChannelRequest(Builder builder) { super(builder); this.deliveryChannelDescription = builder.deliveryChannelDescription; this.deliveryChannelFilter = builder.deliveryChannelFilter; this.deliveryChannelName = builder.deliveryChannelName; this.resourceChangeDelivery = builder.resourceChangeDelivery; this.resourceSnapshotDelivery = builder.resourceSnapshotDelivery; } public static Builder builder() { return new Builder(); } public static CreateMultiAccountDeliveryChannelRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return deliveryChannelDescription */ public String getDeliveryChannelDescription() { return this.deliveryChannelDescription; } /** * @return deliveryChannelFilter */ public DeliveryChannelFilter getDeliveryChannelFilter() { return this.deliveryChannelFilter; } /** * @return deliveryChannelName */ public String getDeliveryChannelName() { return this.deliveryChannelName; } /** * @return resourceChangeDelivery */ public ResourceChangeDelivery getResourceChangeDelivery() { return this.resourceChangeDelivery; } /** * @return resourceSnapshotDelivery */ public ResourceSnapshotDelivery getResourceSnapshotDelivery() { return this.resourceSnapshotDelivery; } public static final class Builder extends Request.Builder<CreateMultiAccountDeliveryChannelRequest, Builder> { private String deliveryChannelDescription; private DeliveryChannelFilter deliveryChannelFilter; private String deliveryChannelName; private ResourceChangeDelivery resourceChangeDelivery; private ResourceSnapshotDelivery resourceSnapshotDelivery; private Builder() { super(); } private Builder(CreateMultiAccountDeliveryChannelRequest request) { super(request); this.deliveryChannelDescription = request.deliveryChannelDescription; this.deliveryChannelFilter = request.deliveryChannelFilter; this.deliveryChannelName = request.deliveryChannelName; this.resourceChangeDelivery = request.resourceChangeDelivery; this.resourceSnapshotDelivery = request.resourceSnapshotDelivery; } /** * <p>The description of the delivery channel.</p> */ public Builder deliveryChannelDescription(String deliveryChannelDescription) { this.putQueryParameter("DeliveryChannelDescription", deliveryChannelDescription); this.deliveryChannelDescription = deliveryChannelDescription; return this; } /** * <p>The effective scope of the delivery channel.</p> * <p>This parameter is required.</p> */ public Builder deliveryChannelFilter(DeliveryChannelFilter deliveryChannelFilter) { this.putQueryParameter("DeliveryChannelFilter", deliveryChannelFilter); this.deliveryChannelFilter = deliveryChannelFilter; return this; } /** * <p>The name of the delivery channel.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>test-multi-account-delivery</p> */ public Builder deliveryChannelName(String deliveryChannelName) { this.putQueryParameter("DeliveryChannelName", deliveryChannelName); this.deliveryChannelName = deliveryChannelName; return this; } /** * <p>The configurations for delivery of resource configuration change events.</p> */ public Builder resourceChangeDelivery(ResourceChangeDelivery resourceChangeDelivery) { this.putQueryParameter("ResourceChangeDelivery", resourceChangeDelivery); this.resourceChangeDelivery = resourceChangeDelivery; return this; } /** * <p>The configurations for delivery of scheduled resource snapshots.</p> */ public Builder resourceSnapshotDelivery(ResourceSnapshotDelivery resourceSnapshotDelivery) { this.putQueryParameter("ResourceSnapshotDelivery", resourceSnapshotDelivery); this.resourceSnapshotDelivery = resourceSnapshotDelivery; return this; } @Override public CreateMultiAccountDeliveryChannelRequest build() { return new CreateMultiAccountDeliveryChannelRequest(this); } } /** * * {@link CreateMultiAccountDeliveryChannelRequest} extends {@link TeaModel} * * <p>CreateMultiAccountDeliveryChannelRequest</p> */ public static class DeliveryChannelFilter extends TeaModel { @com.aliyun.core.annotation.NameInMap("AccountScopes") @com.aliyun.core.annotation.Validation(required = true) private java.util.List<String> accountScopes; @com.aliyun.core.annotation.NameInMap("ResourceTypes") private java.util.List<String> resourceTypes; private DeliveryChannelFilter(Builder builder) { this.accountScopes = builder.accountScopes; this.resourceTypes = builder.resourceTypes; } public static Builder builder() { return new Builder(); } public static DeliveryChannelFilter create() { return builder().build(); } /** * @return accountScopes */ public java.util.List<String> getAccountScopes() { return this.accountScopes; } /** * @return resourceTypes */ public java.util.List<String> getResourceTypes() { return this.resourceTypes; } public static final class Builder { private java.util.List<String> accountScopes; private java.util.List<String> resourceTypes; private Builder() { } private Builder(DeliveryChannelFilter model) { this.accountScopes = model.accountScopes; this.resourceTypes = model.resourceTypes; } /** * <p>An array of effective account scopes for the delivery channel.</p> * <p>This parameter is required.</p> */ public Builder accountScopes(java.util.List<String> accountScopes) { this.accountScopes = accountScopes; return this; } /** * <p>The effective resource types of the delivery channel.</p> */ public Builder resourceTypes(java.util.List<String> resourceTypes) { this.resourceTypes = resourceTypes; return this; } public DeliveryChannelFilter build() { return new DeliveryChannelFilter(this); } } } /** * * {@link CreateMultiAccountDeliveryChannelRequest} extends {@link TeaModel} * * <p>CreateMultiAccountDeliveryChannelRequest</p> */ public static class SlsProperties extends TeaModel { @com.aliyun.core.annotation.NameInMap("OversizedDataOssTargetArn") private String oversizedDataOssTargetArn; private SlsProperties(Builder builder) { this.oversizedDataOssTargetArn = builder.oversizedDataOssTargetArn; } public static Builder builder() { return new Builder(); } public static SlsProperties create() { return builder().build(); } /** * @return oversizedDataOssTargetArn */ public String getOversizedDataOssTargetArn() { return this.oversizedDataOssTargetArn; } public static final class Builder { private String oversizedDataOssTargetArn; private Builder() { } private Builder(SlsProperties model) { this.oversizedDataOssTargetArn = model.oversizedDataOssTargetArn; } /** * <p>The ARN of the destination to which large files are delivered.</p> * <p>If the size of a resource configuration change event exceeds 1 MB, the event is delivered as an OSS object. You need to set this parameter to the ARN of a bucket whose name is prefixed with <code>resourcecenter-</code>.</p> * * <strong>example:</strong> * <p>acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss</p> */ public Builder oversizedDataOssTargetArn(String oversizedDataOssTargetArn) { this.oversizedDataOssTargetArn = oversizedDataOssTargetArn; return this; } public SlsProperties build() { return new SlsProperties(this); } } } /** * * {@link CreateMultiAccountDeliveryChannelRequest} extends {@link TeaModel} * * <p>CreateMultiAccountDeliveryChannelRequest</p> */ public static class ResourceChangeDelivery extends TeaModel { @com.aliyun.core.annotation.NameInMap("SlsProperties") private SlsProperties slsProperties; @com.aliyun.core.annotation.NameInMap("TargetArn") private String targetArn; @com.aliyun.core.annotation.NameInMap("TargetType") private String targetType; private ResourceChangeDelivery(Builder builder) { this.slsProperties = builder.slsProperties; this.targetArn = builder.targetArn; this.targetType = builder.targetType; } public static Builder builder() { return new Builder(); } public static ResourceChangeDelivery create() { return builder().build(); } /** * @return slsProperties */ public SlsProperties getSlsProperties() { return this.slsProperties; } /** * @return targetArn */ public String getTargetArn() { return this.targetArn; } /** * @return targetType */ public String getTargetType() { return this.targetType; } public static final class Builder { private SlsProperties slsProperties; private String targetArn; private String targetType; private Builder() { } private Builder(ResourceChangeDelivery model) { this.slsProperties = model.slsProperties; this.targetArn = model.targetArn; this.targetType = model.targetType; } /** * <p>The Simple Log Service configurations.</p> */ public Builder slsProperties(SlsProperties slsProperties) { this.slsProperties = slsProperties; return this; } /** * <p>The ARN of the delivery destination. Valid values:</p> * <ul> * <li>If you set <code>TargetType</code> to <code>OSS</code>, you must set <code>TargetArn</code> to the ARN of a bucket whose name is prefixed with <code>resourcecenter-</code>.</li> * <li>If you set <code>TargetType</code> to <code>SLS</code>, you must set <code>TargetArn</code> to the ARN of a Logstore whose name is prefixed with <code>resourcecenter-</code>.</li> * </ul> * * <strong>example:</strong> * <p>acs:log:cn-hangzhou: 1911422487776***:project/delivery/logstore/resourcecenter-sls</p> */ public Builder targetArn(String targetArn) { this.targetArn = targetArn; return this; } /** * <p>The type of the delivery destination.</p> * <p>Set the value to <code>SLS</code>.</p> * * <strong>example:</strong> * <p>SLS</p> */ public Builder targetType(String targetType) { this.targetType = targetType; return this; } public ResourceChangeDelivery build() { return new ResourceChangeDelivery(this); } } } /** * * {@link CreateMultiAccountDeliveryChannelRequest} extends {@link TeaModel} * * <p>CreateMultiAccountDeliveryChannelRequest</p> */ public static class ResourceSnapshotDeliverySlsProperties extends TeaModel { @com.aliyun.core.annotation.NameInMap("OversizedDataOssTargetArn") private String oversizedDataOssTargetArn; private ResourceSnapshotDeliverySlsProperties(Builder builder) { this.oversizedDataOssTargetArn = builder.oversizedDataOssTargetArn; } public static Builder builder() { return new Builder(); } public static ResourceSnapshotDeliverySlsProperties create() { return builder().build(); } /** * @return oversizedDataOssTargetArn */ public String getOversizedDataOssTargetArn() { return this.oversizedDataOssTargetArn; } public static final class Builder { private String oversizedDataOssTargetArn; private Builder() { } private Builder(ResourceSnapshotDeliverySlsProperties model) { this.oversizedDataOssTargetArn = model.oversizedDataOssTargetArn; } /** * <p>The ARN of the destination to which large files are delivered.</p> * <p>If the size of a resource configuration change event exceeds 1 MB, the event is delivered as an OSS object. You need to set this parameter to the ARN of a bucket whose name is prefixed with <code>resourcecenter-</code>.</p> * <blockquote> * <p> This parameter takes effect only if you use custom delivery for scheduled resource snapshots. You do not need to configure this parameter if you use standard delivery for scheduled resource snapshots.</p> * </blockquote> * * <strong>example:</strong> * <p>acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss</p> */ public Builder oversizedDataOssTargetArn(String oversizedDataOssTargetArn) { this.oversizedDataOssTargetArn = oversizedDataOssTargetArn; return this; } public ResourceSnapshotDeliverySlsProperties build() { return new ResourceSnapshotDeliverySlsProperties(this); } } } /** * * {@link CreateMultiAccountDeliveryChannelRequest} extends {@link TeaModel} * * <p>CreateMultiAccountDeliveryChannelRequest</p> */ public static class ResourceSnapshotDelivery extends TeaModel { @com.aliyun.core.annotation.NameInMap("CustomExpression") private String customExpression; @com.aliyun.core.annotation.NameInMap("DeliveryTime") private String deliveryTime; @com.aliyun.core.annotation.NameInMap("SlsProperties") private ResourceSnapshotDeliverySlsProperties slsProperties; @com.aliyun.core.annotation.NameInMap("TargetArn") private String targetArn; @com.aliyun.core.annotation.NameInMap("TargetType") private String targetType; private ResourceSnapshotDelivery(Builder builder) { this.customExpression = builder.customExpression; this.deliveryTime = builder.deliveryTime; this.slsProperties = builder.slsProperties; this.targetArn = builder.targetArn; this.targetType = builder.targetType; } public static Builder builder() { return new Builder(); } public static ResourceSnapshotDelivery create() { return builder().build(); } /** * @return customExpression */ public String getCustomExpression() { return this.customExpression; } /** * @return deliveryTime */ public String getDeliveryTime() { return this.deliveryTime; } /** * @return slsProperties */ public ResourceSnapshotDeliverySlsProperties getSlsProperties() { return this.slsProperties; } /** * @return targetArn */ public String getTargetArn() { return this.targetArn; } /** * @return targetType */ public String getTargetType() { return this.targetType; } public static final class Builder { private String customExpression; private String deliveryTime; private ResourceSnapshotDeliverySlsProperties slsProperties; private String targetArn; private String targetType; private Builder() { } private Builder(ResourceSnapshotDelivery model) { this.customExpression = model.customExpression; this.deliveryTime = model.deliveryTime; this.slsProperties = model.slsProperties; this.targetArn = model.targetArn; this.targetType = model.targetType; } /** * <p>The custom expression.</p> * * <strong>example:</strong> * <p>select * from resources limit 100;</p> */ public Builder customExpression(String customExpression) { this.customExpression = customExpression; return this; } /** * <p>The delivery time.</p> * * <strong>example:</strong> * <p>09:00Z</p> */ public Builder deliveryTime(String deliveryTime) { this.deliveryTime = deliveryTime; return this; } /** * <p>The Simple Log Service configurations.</p> */ public Builder slsProperties(ResourceSnapshotDeliverySlsProperties slsProperties) { this.slsProperties = slsProperties; return this; } /** * <p>The Alibaba Cloud Resource Name (ARN) of the delivery destination. Valid values:</p> * <ul> * <li>If you set <code>TargetType</code> to <code>OSS</code>, you must set <code>TargetArn</code> to the ARN of a bucket whose name is prefixed with <code>resourcecenter-</code>. Example: <code>acs:oss:cn-hangzhou:191142248777****:resourcecenter-oss</code>.</li> * <li>If you set <code>TargetType</code> to <code>SLS</code>, you must set <code>TargetArn</code> to the ARN of a Logstore whose name is prefixed with <code>resourcecenter-</code>. Example: <code>acs:log:cn-hangzhou: 191142248777****:project/delivery/logstore/resourcecenter-sls</code>.</li> * </ul> * * <strong>example:</strong> * <p>acs:oss:cn-hangzhou:1911422487776***:resourcecenter-oss</p> */ public Builder targetArn(String targetArn) { this.targetArn = targetArn; return this; } /** * <p>The type of the delivery destination. Valid values:</p> * <ul> * <li><code>OSS</code> for standard delivery</li> * <li><code>OSS</code> or <code>SLS</code> for custom delivery</li> * </ul> * * <strong>example:</strong> * <p>OSS</p> */ public Builder targetType(String targetType) { this.targetType = targetType; return this; } public ResourceSnapshotDelivery build() { return new ResourceSnapshotDelivery(this); } } } }
0
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/CreateMultiAccountDeliveryChannelResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcecenter20221201.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 CreateMultiAccountDeliveryChannelResponse} extends {@link TeaModel} * * <p>CreateMultiAccountDeliveryChannelResponse</p> */ public class CreateMultiAccountDeliveryChannelResponse 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 CreateMultiAccountDeliveryChannelResponseBody body; private CreateMultiAccountDeliveryChannelResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static CreateMultiAccountDeliveryChannelResponse 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 CreateMultiAccountDeliveryChannelResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<CreateMultiAccountDeliveryChannelResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(CreateMultiAccountDeliveryChannelResponseBody body); @Override CreateMultiAccountDeliveryChannelResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<CreateMultiAccountDeliveryChannelResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private CreateMultiAccountDeliveryChannelResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(CreateMultiAccountDeliveryChannelResponse 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(CreateMultiAccountDeliveryChannelResponseBody body) { this.body = body; return this; } @Override public CreateMultiAccountDeliveryChannelResponse build() { return new CreateMultiAccountDeliveryChannelResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/CreateMultiAccountDeliveryChannelResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcecenter20221201.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 CreateMultiAccountDeliveryChannelResponseBody} extends {@link TeaModel} * * <p>CreateMultiAccountDeliveryChannelResponseBody</p> */ public class CreateMultiAccountDeliveryChannelResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("DeliveryChannelId") private String deliveryChannelId; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private CreateMultiAccountDeliveryChannelResponseBody(Builder builder) { this.deliveryChannelId = builder.deliveryChannelId; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static CreateMultiAccountDeliveryChannelResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return deliveryChannelId */ public String getDeliveryChannelId() { return this.deliveryChannelId; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String deliveryChannelId; private String requestId; private Builder() { } private Builder(CreateMultiAccountDeliveryChannelResponseBody model) { this.deliveryChannelId = model.deliveryChannelId; this.requestId = model.requestId; } /** * <p>The ID of the delivery channel.</p> * * <strong>example:</strong> * <p>dc-6q79dm4o9***</p> */ public Builder deliveryChannelId(String deliveryChannelId) { this.deliveryChannelId = deliveryChannelId; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>994BFEFE-4BB5-5A27-8917-4583DEEF2***</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public CreateMultiAccountDeliveryChannelResponseBody build() { return new CreateMultiAccountDeliveryChannelResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/CreateSavedQueryRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcecenter20221201.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 CreateSavedQueryRequest} extends {@link RequestModel} * * <p>CreateSavedQueryRequest</p> */ public class CreateSavedQueryRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Expression") @com.aliyun.core.annotation.Validation(required = true) private String expression; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Name") @com.aliyun.core.annotation.Validation(required = true) private String name; private CreateSavedQueryRequest(Builder builder) { super(builder); this.description = builder.description; this.expression = builder.expression; this.name = builder.name; } public static Builder builder() { return new Builder(); } public static CreateSavedQueryRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return description */ public String getDescription() { return this.description; } /** * @return expression */ public String getExpression() { return this.expression; } /** * @return name */ public String getName() { return this.name; } public static final class Builder extends Request.Builder<CreateSavedQueryRequest, Builder> { private String description; private String expression; private String name; private Builder() { super(); } private Builder(CreateSavedQueryRequest request) { super(request); this.description = request.description; this.expression = request.expression; this.name = request.name; } /** * <p>The description of the template.</p> * <p>The description must be 1 to 256 characters in length.</p> * * <strong>example:</strong> * <p>Queries all resources on which you have permissions and sorts the resources by resource type and resource ID.</p> */ public Builder description(String description) { this.putQueryParameter("Description", description); this.description = description; return this; } /** * <p>The query statement in the template.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>SELECT * FROM resources;</p> */ public Builder expression(String expression) { this.putQueryParameter("Expression", expression); this.expression = expression; return this; } /** * <p>The name of the template.</p> * <ul> * <li>The name must be 1 to 64 characters in length.</li> * <li>The name can contain letters, digits, underscores (_), and hyphens (-).</li> * <li>The name must be unique.</li> * </ul> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>Query of All Alibaba Cloud Resources</p> */ public Builder name(String name) { this.putQueryParameter("Name", name); this.name = name; return this; } @Override public CreateSavedQueryRequest build() { return new CreateSavedQueryRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/CreateSavedQueryResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcecenter20221201.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 CreateSavedQueryResponse} extends {@link TeaModel} * * <p>CreateSavedQueryResponse</p> */ public class CreateSavedQueryResponse 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 CreateSavedQueryResponseBody body; private CreateSavedQueryResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static CreateSavedQueryResponse 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 CreateSavedQueryResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<CreateSavedQueryResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(CreateSavedQueryResponseBody body); @Override CreateSavedQueryResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<CreateSavedQueryResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private CreateSavedQueryResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(CreateSavedQueryResponse 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(CreateSavedQueryResponseBody body) { this.body = body; return this; } @Override public CreateSavedQueryResponse build() { return new CreateSavedQueryResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/CreateSavedQueryResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcecenter20221201.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 CreateSavedQueryResponseBody} extends {@link TeaModel} * * <p>CreateSavedQueryResponseBody</p> */ public class CreateSavedQueryResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("QueryId") private String queryId; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private CreateSavedQueryResponseBody(Builder builder) { this.queryId = builder.queryId; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static CreateSavedQueryResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return queryId */ public String getQueryId() { return this.queryId; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String queryId; private String requestId; private Builder() { } private Builder(CreateSavedQueryResponseBody model) { this.queryId = model.queryId; this.requestId = model.requestId; } /** * <p>The template ID.</p> * * <strong>example:</strong> * <p>sq-GeAck****</p> */ public Builder queryId(String queryId) { this.queryId = queryId; return this; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>EFA806B9-7F36-55AB-8B7A-D680C2C5EE57</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public CreateSavedQueryResponseBody build() { return new CreateSavedQueryResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/DeleteDeliveryChannelRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcecenter20221201.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 DeleteDeliveryChannelRequest} extends {@link RequestModel} * * <p>DeleteDeliveryChannelRequest</p> */ public class DeleteDeliveryChannelRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DeliveryChannelId") @com.aliyun.core.annotation.Validation(required = true) private String deliveryChannelId; private DeleteDeliveryChannelRequest(Builder builder) { super(builder); this.deliveryChannelId = builder.deliveryChannelId; } public static Builder builder() { return new Builder(); } public static DeleteDeliveryChannelRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return deliveryChannelId */ public String getDeliveryChannelId() { return this.deliveryChannelId; } public static final class Builder extends Request.Builder<DeleteDeliveryChannelRequest, Builder> { private String deliveryChannelId; private Builder() { super(); } private Builder(DeleteDeliveryChannelRequest request) { super(request); this.deliveryChannelId = request.deliveryChannelId; } /** * <p>The ID of the delivery channel.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>dc-6q79dm4o9***</p> */ public Builder deliveryChannelId(String deliveryChannelId) { this.putQueryParameter("DeliveryChannelId", deliveryChannelId); this.deliveryChannelId = deliveryChannelId; return this; } @Override public DeleteDeliveryChannelRequest build() { return new DeleteDeliveryChannelRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/DeleteDeliveryChannelResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcecenter20221201.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 DeleteDeliveryChannelResponse} extends {@link TeaModel} * * <p>DeleteDeliveryChannelResponse</p> */ public class DeleteDeliveryChannelResponse 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 DeleteDeliveryChannelResponseBody body; private DeleteDeliveryChannelResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DeleteDeliveryChannelResponse 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 DeleteDeliveryChannelResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DeleteDeliveryChannelResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DeleteDeliveryChannelResponseBody body); @Override DeleteDeliveryChannelResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DeleteDeliveryChannelResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DeleteDeliveryChannelResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DeleteDeliveryChannelResponse 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(DeleteDeliveryChannelResponseBody body) { this.body = body; return this; } @Override public DeleteDeliveryChannelResponse build() { return new DeleteDeliveryChannelResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/DeleteDeliveryChannelResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcecenter20221201.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 DeleteDeliveryChannelResponseBody} extends {@link TeaModel} * * <p>DeleteDeliveryChannelResponseBody</p> */ public class DeleteDeliveryChannelResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DeleteDeliveryChannelResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DeleteDeliveryChannelResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String requestId; private Builder() { } private Builder(DeleteDeliveryChannelResponseBody model) { this.requestId = model.requestId; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>AD5F848D-CCDC-5464-93E1-4BA50A482***</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DeleteDeliveryChannelResponseBody build() { return new DeleteDeliveryChannelResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/DeleteFilterRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcecenter20221201.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 DeleteFilterRequest} extends {@link RequestModel} * * <p>DeleteFilterRequest</p> */ public class DeleteFilterRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("FilterName") @com.aliyun.core.annotation.Validation(required = true) private String filterName; private DeleteFilterRequest(Builder builder) { super(builder); this.filterName = builder.filterName; } public static Builder builder() { return new Builder(); } public static DeleteFilterRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return filterName */ public String getFilterName() { return this.filterName; } public static final class Builder extends Request.Builder<DeleteFilterRequest, Builder> { private String filterName; private Builder() { super(); } private Builder(DeleteFilterRequest request) { super(request); this.filterName = request.filterName; } /** * <p>The name of the filter.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>ECS</p> */ public Builder filterName(String filterName) { this.putQueryParameter("FilterName", filterName); this.filterName = filterName; return this; } @Override public DeleteFilterRequest build() { return new DeleteFilterRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/DeleteFilterResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcecenter20221201.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 DeleteFilterResponse} extends {@link TeaModel} * * <p>DeleteFilterResponse</p> */ public class DeleteFilterResponse 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 DeleteFilterResponseBody body; private DeleteFilterResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DeleteFilterResponse 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 DeleteFilterResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DeleteFilterResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DeleteFilterResponseBody body); @Override DeleteFilterResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DeleteFilterResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DeleteFilterResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DeleteFilterResponse 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(DeleteFilterResponseBody body) { this.body = body; return this; } @Override public DeleteFilterResponse build() { return new DeleteFilterResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/DeleteFilterResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcecenter20221201.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 DeleteFilterResponseBody} extends {@link TeaModel} * * <p>DeleteFilterResponseBody</p> */ public class DeleteFilterResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DeleteFilterResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DeleteFilterResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String requestId; private Builder() { } private Builder(DeleteFilterResponseBody model) { this.requestId = model.requestId; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>A4A63E3C-89EC-51F9-9934-C9AF1BCBAAA5</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DeleteFilterResponseBody build() { return new DeleteFilterResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/DeleteMultiAccountDeliveryChannelRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcecenter20221201.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 DeleteMultiAccountDeliveryChannelRequest} extends {@link RequestModel} * * <p>DeleteMultiAccountDeliveryChannelRequest</p> */ public class DeleteMultiAccountDeliveryChannelRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DeliveryChannelId") @com.aliyun.core.annotation.Validation(required = true) private String deliveryChannelId; private DeleteMultiAccountDeliveryChannelRequest(Builder builder) { super(builder); this.deliveryChannelId = builder.deliveryChannelId; } public static Builder builder() { return new Builder(); } public static DeleteMultiAccountDeliveryChannelRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return deliveryChannelId */ public String getDeliveryChannelId() { return this.deliveryChannelId; } public static final class Builder extends Request.Builder<DeleteMultiAccountDeliveryChannelRequest, Builder> { private String deliveryChannelId; private Builder() { super(); } private Builder(DeleteMultiAccountDeliveryChannelRequest request) { super(request); this.deliveryChannelId = request.deliveryChannelId; } /** * <p>The ID of the delivery channel.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>dc-0bzhsqpnkxxx</p> */ public Builder deliveryChannelId(String deliveryChannelId) { this.putQueryParameter("DeliveryChannelId", deliveryChannelId); this.deliveryChannelId = deliveryChannelId; return this; } @Override public DeleteMultiAccountDeliveryChannelRequest build() { return new DeleteMultiAccountDeliveryChannelRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/DeleteMultiAccountDeliveryChannelResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcecenter20221201.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 DeleteMultiAccountDeliveryChannelResponse} extends {@link TeaModel} * * <p>DeleteMultiAccountDeliveryChannelResponse</p> */ public class DeleteMultiAccountDeliveryChannelResponse 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 DeleteMultiAccountDeliveryChannelResponseBody body; private DeleteMultiAccountDeliveryChannelResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DeleteMultiAccountDeliveryChannelResponse 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 DeleteMultiAccountDeliveryChannelResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DeleteMultiAccountDeliveryChannelResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DeleteMultiAccountDeliveryChannelResponseBody body); @Override DeleteMultiAccountDeliveryChannelResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DeleteMultiAccountDeliveryChannelResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DeleteMultiAccountDeliveryChannelResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DeleteMultiAccountDeliveryChannelResponse 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(DeleteMultiAccountDeliveryChannelResponseBody body) { this.body = body; return this; } @Override public DeleteMultiAccountDeliveryChannelResponse build() { return new DeleteMultiAccountDeliveryChannelResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/DeleteMultiAccountDeliveryChannelResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcecenter20221201.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 DeleteMultiAccountDeliveryChannelResponseBody} extends {@link TeaModel} * * <p>DeleteMultiAccountDeliveryChannelResponseBody</p> */ public class DeleteMultiAccountDeliveryChannelResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DeleteMultiAccountDeliveryChannelResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DeleteMultiAccountDeliveryChannelResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String requestId; private Builder() { } private Builder(DeleteMultiAccountDeliveryChannelResponseBody model) { this.requestId = model.requestId; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>3C5CDBF6-4DB7-53E9-ADDC-5919E3FAC***</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DeleteMultiAccountDeliveryChannelResponseBody build() { return new DeleteMultiAccountDeliveryChannelResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/DeleteSavedQueryRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcecenter20221201.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 DeleteSavedQueryRequest} extends {@link RequestModel} * * <p>DeleteSavedQueryRequest</p> */ public class DeleteSavedQueryRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("QueryId") @com.aliyun.core.annotation.Validation(required = true) private String queryId; private DeleteSavedQueryRequest(Builder builder) { super(builder); this.queryId = builder.queryId; } public static Builder builder() { return new Builder(); } public static DeleteSavedQueryRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return queryId */ public String getQueryId() { return this.queryId; } public static final class Builder extends Request.Builder<DeleteSavedQueryRequest, Builder> { private String queryId; private Builder() { super(); } private Builder(DeleteSavedQueryRequest request) { super(request); this.queryId = request.queryId; } /** * <p>The ID of the template.</p> * <p>You can call the <a href="~~ListSavedQueries~~">ListSavedQueries</a> operation to obtain the template ID.</p> * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>sq-GeAck****</p> */ public Builder queryId(String queryId) { this.putQueryParameter("QueryId", queryId); this.queryId = queryId; return this; } @Override public DeleteSavedQueryRequest build() { return new DeleteSavedQueryRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/DeleteSavedQueryResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcecenter20221201.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 DeleteSavedQueryResponse} extends {@link TeaModel} * * <p>DeleteSavedQueryResponse</p> */ public class DeleteSavedQueryResponse 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 DeleteSavedQueryResponseBody body; private DeleteSavedQueryResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DeleteSavedQueryResponse 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 DeleteSavedQueryResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DeleteSavedQueryResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DeleteSavedQueryResponseBody body); @Override DeleteSavedQueryResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DeleteSavedQueryResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DeleteSavedQueryResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DeleteSavedQueryResponse 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(DeleteSavedQueryResponseBody body) { this.body = body; return this; } @Override public DeleteSavedQueryResponse build() { return new DeleteSavedQueryResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/DeleteSavedQueryResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcecenter20221201.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 DeleteSavedQueryResponseBody} extends {@link TeaModel} * * <p>DeleteSavedQueryResponseBody</p> */ public class DeleteSavedQueryResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DeleteSavedQueryResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DeleteSavedQueryResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String requestId; private Builder() { } private Builder(DeleteSavedQueryResponseBody model) { this.requestId = model.requestId; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>D170D58E-6256-5344-8F5E-922EC9ECB7EA</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DeleteSavedQueryResponseBody build() { return new DeleteSavedQueryResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/DisableMultiAccountResourceCenterRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcecenter20221201.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 DisableMultiAccountResourceCenterRequest} extends {@link RequestModel} * * <p>DisableMultiAccountResourceCenterRequest</p> */ public class DisableMultiAccountResourceCenterRequest extends Request { private DisableMultiAccountResourceCenterRequest(Builder builder) { super(builder); } public static Builder builder() { return new Builder(); } public static DisableMultiAccountResourceCenterRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } public static final class Builder extends Request.Builder<DisableMultiAccountResourceCenterRequest, Builder> { private Builder() { super(); } private Builder(DisableMultiAccountResourceCenterRequest request) { super(request); } @Override public DisableMultiAccountResourceCenterRequest build() { return new DisableMultiAccountResourceCenterRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/DisableMultiAccountResourceCenterResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcecenter20221201.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 DisableMultiAccountResourceCenterResponse} extends {@link TeaModel} * * <p>DisableMultiAccountResourceCenterResponse</p> */ public class DisableMultiAccountResourceCenterResponse 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 DisableMultiAccountResourceCenterResponseBody body; private DisableMultiAccountResourceCenterResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DisableMultiAccountResourceCenterResponse 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 DisableMultiAccountResourceCenterResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DisableMultiAccountResourceCenterResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DisableMultiAccountResourceCenterResponseBody body); @Override DisableMultiAccountResourceCenterResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DisableMultiAccountResourceCenterResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DisableMultiAccountResourceCenterResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DisableMultiAccountResourceCenterResponse 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(DisableMultiAccountResourceCenterResponseBody body) { this.body = body; return this; } @Override public DisableMultiAccountResourceCenterResponse build() { return new DisableMultiAccountResourceCenterResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/DisableMultiAccountResourceCenterResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcecenter20221201.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 DisableMultiAccountResourceCenterResponseBody} extends {@link TeaModel} * * <p>DisableMultiAccountResourceCenterResponseBody</p> */ public class DisableMultiAccountResourceCenterResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DisableMultiAccountResourceCenterResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DisableMultiAccountResourceCenterResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String requestId; private Builder() { } private Builder(DisableMultiAccountResourceCenterResponseBody model) { this.requestId = model.requestId; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>4951F920-48DB-5731-96AA-3A7C8AE617D9</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DisableMultiAccountResourceCenterResponseBody build() { return new DisableMultiAccountResourceCenterResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/DisableResourceCenterRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcecenter20221201.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 DisableResourceCenterRequest} extends {@link RequestModel} * * <p>DisableResourceCenterRequest</p> */ public class DisableResourceCenterRequest extends Request { private DisableResourceCenterRequest(Builder builder) { super(builder); } public static Builder builder() { return new Builder(); } public static DisableResourceCenterRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } public static final class Builder extends Request.Builder<DisableResourceCenterRequest, Builder> { private Builder() { super(); } private Builder(DisableResourceCenterRequest request) { super(request); } @Override public DisableResourceCenterRequest build() { return new DisableResourceCenterRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/DisableResourceCenterResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcecenter20221201.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 DisableResourceCenterResponse} extends {@link TeaModel} * * <p>DisableResourceCenterResponse</p> */ public class DisableResourceCenterResponse 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 DisableResourceCenterResponseBody body; private DisableResourceCenterResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DisableResourceCenterResponse 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 DisableResourceCenterResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DisableResourceCenterResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DisableResourceCenterResponseBody body); @Override DisableResourceCenterResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DisableResourceCenterResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DisableResourceCenterResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DisableResourceCenterResponse 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(DisableResourceCenterResponseBody body) { this.body = body; return this; } @Override public DisableResourceCenterResponse build() { return new DisableResourceCenterResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/DisableResourceCenterResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcecenter20221201.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 DisableResourceCenterResponseBody} extends {@link TeaModel} * * <p>DisableResourceCenterResponseBody</p> */ public class DisableResourceCenterResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DisableResourceCenterResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DisableResourceCenterResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String requestId; private Builder() { } private Builder(DisableResourceCenterResponseBody model) { this.requestId = model.requestId; } /** * <p>The ID of the request.</p> * * <strong>example:</strong> * <p>D170D58E-6256-5344-8F5E-922EC9ECB7EA</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DisableResourceCenterResponseBody build() { return new DisableResourceCenterResponseBody(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/DisassociateDefaultFilterRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcecenter20221201.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 DisassociateDefaultFilterRequest} extends {@link RequestModel} * * <p>DisassociateDefaultFilterRequest</p> */ public class DisassociateDefaultFilterRequest extends Request { private DisassociateDefaultFilterRequest(Builder builder) { super(builder); } public static Builder builder() { return new Builder(); } public static DisassociateDefaultFilterRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } public static final class Builder extends Request.Builder<DisassociateDefaultFilterRequest, Builder> { private Builder() { super(); } private Builder(DisassociateDefaultFilterRequest request) { super(request); } @Override public DisassociateDefaultFilterRequest build() { return new DisassociateDefaultFilterRequest(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/DisassociateDefaultFilterResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcecenter20221201.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 DisassociateDefaultFilterResponse} extends {@link TeaModel} * * <p>DisassociateDefaultFilterResponse</p> */ public class DisassociateDefaultFilterResponse 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 DisassociateDefaultFilterResponseBody body; private DisassociateDefaultFilterResponse(BuilderImpl builder) { super(builder); this.headers = builder.headers; this.statusCode = builder.statusCode; this.body = builder.body; } public static DisassociateDefaultFilterResponse 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 DisassociateDefaultFilterResponseBody getBody() { return this.body; } public interface Builder extends Response.Builder<DisassociateDefaultFilterResponse, Builder> { Builder headers(java.util.Map<String, String> headers); Builder statusCode(Integer statusCode); Builder body(DisassociateDefaultFilterResponseBody body); @Override DisassociateDefaultFilterResponse build(); } private static final class BuilderImpl extends Response.BuilderImpl<DisassociateDefaultFilterResponse, Builder> implements Builder { private java.util.Map<String, String> headers; private Integer statusCode; private DisassociateDefaultFilterResponseBody body; private BuilderImpl() { super(); } private BuilderImpl(DisassociateDefaultFilterResponse 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(DisassociateDefaultFilterResponseBody body) { this.body = body; return this; } @Override public DisassociateDefaultFilterResponse build() { return new DisassociateDefaultFilterResponse(this); } } }
0
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201
java-sources/com/aliyun/alibabacloud-resourcecenter20221201/1.0.11/com/aliyun/sdk/service/resourcecenter20221201/models/DisassociateDefaultFilterResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.sdk.service.resourcecenter20221201.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 DisassociateDefaultFilterResponseBody} extends {@link TeaModel} * * <p>DisassociateDefaultFilterResponseBody</p> */ public class DisassociateDefaultFilterResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DisassociateDefaultFilterResponseBody(Builder builder) { this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DisassociateDefaultFilterResponseBody create() { return builder().build(); } public Builder toBuilder() { return new Builder(this); } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private String requestId; private Builder() { } private Builder(DisassociateDefaultFilterResponseBody model) { this.requestId = model.requestId; } /** * <p>The request ID.</p> * * <strong>example:</strong> * <p>BCAB07BA-82FA-5DC0-9322-FB7ED726481D</p> */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DisassociateDefaultFilterResponseBody build() { return new DisassociateDefaultFilterResponseBody(this); } } }