index int64 | repo_id string | file_path string | content string |
|---|---|---|---|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/CreateVpnPbrRouteEntryResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 CreateVpnPbrRouteEntryResponse} extends {@link TeaModel}
*
* <p>CreateVpnPbrRouteEntryResponse</p>
*/
public class CreateVpnPbrRouteEntryResponse 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 CreateVpnPbrRouteEntryResponseBody body;
private CreateVpnPbrRouteEntryResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static CreateVpnPbrRouteEntryResponse 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 CreateVpnPbrRouteEntryResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<CreateVpnPbrRouteEntryResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(CreateVpnPbrRouteEntryResponseBody body);
@Override
CreateVpnPbrRouteEntryResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<CreateVpnPbrRouteEntryResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private CreateVpnPbrRouteEntryResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(CreateVpnPbrRouteEntryResponse 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(CreateVpnPbrRouteEntryResponseBody body) {
this.body = body;
return this;
}
@Override
public CreateVpnPbrRouteEntryResponse build() {
return new CreateVpnPbrRouteEntryResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/CreateVpnPbrRouteEntryResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 CreateVpnPbrRouteEntryResponseBody} extends {@link TeaModel}
*
* <p>CreateVpnPbrRouteEntryResponseBody</p>
*/
public class CreateVpnPbrRouteEntryResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CreateTime")
private Long createTime;
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
@com.aliyun.core.annotation.NameInMap("NextHop")
private String nextHop;
@com.aliyun.core.annotation.NameInMap("OverlayMode")
private String overlayMode;
@com.aliyun.core.annotation.NameInMap("Priority")
private Integer priority;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("RouteDest")
private String routeDest;
@com.aliyun.core.annotation.NameInMap("RouteSource")
private String routeSource;
@com.aliyun.core.annotation.NameInMap("State")
private String state;
@com.aliyun.core.annotation.NameInMap("VpnInstanceId")
private String vpnInstanceId;
@com.aliyun.core.annotation.NameInMap("Weight")
private Integer weight;
private CreateVpnPbrRouteEntryResponseBody(Builder builder) {
this.createTime = builder.createTime;
this.description = builder.description;
this.nextHop = builder.nextHop;
this.overlayMode = builder.overlayMode;
this.priority = builder.priority;
this.requestId = builder.requestId;
this.routeDest = builder.routeDest;
this.routeSource = builder.routeSource;
this.state = builder.state;
this.vpnInstanceId = builder.vpnInstanceId;
this.weight = builder.weight;
}
public static Builder builder() {
return new Builder();
}
public static CreateVpnPbrRouteEntryResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return createTime
*/
public Long getCreateTime() {
return this.createTime;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return nextHop
*/
public String getNextHop() {
return this.nextHop;
}
/**
* @return overlayMode
*/
public String getOverlayMode() {
return this.overlayMode;
}
/**
* @return priority
*/
public Integer getPriority() {
return this.priority;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return routeDest
*/
public String getRouteDest() {
return this.routeDest;
}
/**
* @return routeSource
*/
public String getRouteSource() {
return this.routeSource;
}
/**
* @return state
*/
public String getState() {
return this.state;
}
/**
* @return vpnInstanceId
*/
public String getVpnInstanceId() {
return this.vpnInstanceId;
}
/**
* @return weight
*/
public Integer getWeight() {
return this.weight;
}
public static final class Builder {
private Long createTime;
private String description;
private String nextHop;
private String overlayMode;
private Integer priority;
private String requestId;
private String routeDest;
private String routeSource;
private String state;
private String vpnInstanceId;
private Integer weight;
private Builder() {
}
private Builder(CreateVpnPbrRouteEntryResponseBody model) {
this.createTime = model.createTime;
this.description = model.description;
this.nextHop = model.nextHop;
this.overlayMode = model.overlayMode;
this.priority = model.priority;
this.requestId = model.requestId;
this.routeDest = model.routeDest;
this.routeSource = model.routeSource;
this.state = model.state;
this.vpnInstanceId = model.vpnInstanceId;
this.weight = model.weight;
}
/**
* <p>The time when the policy-based route was created.</p>
* <p>This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.</p>
*
* <strong>example:</strong>
* <p>1492747187000</p>
*/
public Builder createTime(Long createTime) {
this.createTime = createTime;
return this;
}
/**
* <p>The description of the policy-based route.</p>
*
* <strong>example:</strong>
* <p>desctest</p>
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* <p>The next hop of the policy-based route.</p>
*
* <strong>example:</strong>
* <p>vco-bp15oes1py4i66rmd****</p>
*/
public Builder nextHop(String nextHop) {
this.nextHop = nextHop;
return this;
}
/**
* <p>The tunneling protocol. The value is <strong>Ipsec</strong>.</p>
*
* <strong>example:</strong>
* <p>Ipsec</p>
*/
public Builder overlayMode(String overlayMode) {
this.overlayMode = overlayMode;
return this;
}
/**
* <p>The priority of the policy-based route.</p>
*
* <strong>example:</strong>
* <p>10</p>
*/
public Builder priority(Integer priority) {
this.priority = priority;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>5BE01CD7-5A50-472D-AC14-CA181C5C03BE</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The destination CIDR block of the policy-based route.</p>
*
* <strong>example:</strong>
* <p>10.0.0.0/24</p>
*/
public Builder routeDest(String routeDest) {
this.routeDest = routeDest;
return this;
}
/**
* <p>The source CIDR block of the policy-based route.</p>
*
* <strong>example:</strong>
* <p>192.168.1.0/24</p>
*/
public Builder routeSource(String routeSource) {
this.routeSource = routeSource;
return this;
}
/**
* <p>The status of the policy-based route. Valid values:</p>
* <ul>
* <li><strong>published</strong>: advertised to the VPC route table.</li>
* <li><strong>normal</strong>: not advertised to the VPC route table.</li>
* </ul>
*
* <strong>example:</strong>
* <p>normal</p>
*/
public Builder state(String state) {
this.state = state;
return this;
}
/**
* <p>The VPN gateway ID.</p>
*
* <strong>example:</strong>
* <p>vpn-bp1cmw7jh1nfe43m9****</p>
*/
public Builder vpnInstanceId(String vpnInstanceId) {
this.vpnInstanceId = vpnInstanceId;
return this;
}
/**
* <p>The weight of the policy-based route. Valid values:</p>
* <ul>
* <li><strong>100</strong>: The IPsec-VPN connection associated with the policy-based route serves as an active connection.</li>
* <li><strong>0</strong>: The IPsec-VPN connection associated with the policy-based route serves as a standby connection.</li>
* </ul>
*
* <strong>example:</strong>
* <p>0</p>
*/
public Builder weight(Integer weight) {
this.weight = weight;
return this;
}
public CreateVpnPbrRouteEntryResponseBody build() {
return new CreateVpnPbrRouteEntryResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/CreateVpnRouteEntryRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 CreateVpnRouteEntryRequest} extends {@link RequestModel}
*
* <p>CreateVpnRouteEntryRequest</p>
*/
public class CreateVpnRouteEntryRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClientToken")
private String clientToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DryRun")
private Boolean dryRun;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NextHop")
@com.aliyun.core.annotation.Validation(required = true)
private String nextHop;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OverlayMode")
private String overlayMode;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PublishVpc")
@com.aliyun.core.annotation.Validation(required = true)
private Boolean publishVpc;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RouteDest")
@com.aliyun.core.annotation.Validation(required = true)
private String routeDest;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("VpnGatewayId")
@com.aliyun.core.annotation.Validation(required = true)
private String vpnGatewayId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Weight")
@com.aliyun.core.annotation.Validation(required = true)
private Integer weight;
private CreateVpnRouteEntryRequest(Builder builder) {
super(builder);
this.clientToken = builder.clientToken;
this.description = builder.description;
this.dryRun = builder.dryRun;
this.nextHop = builder.nextHop;
this.overlayMode = builder.overlayMode;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.publishVpc = builder.publishVpc;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
this.routeDest = builder.routeDest;
this.vpnGatewayId = builder.vpnGatewayId;
this.weight = builder.weight;
}
public static Builder builder() {
return new Builder();
}
public static CreateVpnRouteEntryRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clientToken
*/
public String getClientToken() {
return this.clientToken;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return dryRun
*/
public Boolean getDryRun() {
return this.dryRun;
}
/**
* @return nextHop
*/
public String getNextHop() {
return this.nextHop;
}
/**
* @return overlayMode
*/
public String getOverlayMode() {
return this.overlayMode;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return publishVpc
*/
public Boolean getPublishVpc() {
return this.publishVpc;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
/**
* @return routeDest
*/
public String getRouteDest() {
return this.routeDest;
}
/**
* @return vpnGatewayId
*/
public String getVpnGatewayId() {
return this.vpnGatewayId;
}
/**
* @return weight
*/
public Integer getWeight() {
return this.weight;
}
public static final class Builder extends Request.Builder<CreateVpnRouteEntryRequest, Builder> {
private String clientToken;
private String description;
private Boolean dryRun;
private String nextHop;
private String overlayMode;
private String ownerAccount;
private Long ownerId;
private Boolean publishVpc;
private String regionId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private String routeDest;
private String vpnGatewayId;
private Integer weight;
private Builder() {
super();
}
private Builder(CreateVpnRouteEntryRequest request) {
super(request);
this.clientToken = request.clientToken;
this.description = request.description;
this.dryRun = request.dryRun;
this.nextHop = request.nextHop;
this.overlayMode = request.overlayMode;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.publishVpc = request.publishVpc;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
this.routeDest = request.routeDest;
this.vpnGatewayId = request.vpnGatewayId;
this.weight = request.weight;
}
/**
* <p>The client token that is used to ensure the idempotence of the request.</p>
* <p>You can use the client to generate the token, but you must make sure that the token is unique among different requests. The client token can contain only ASCII characters.</p>
* <blockquote>
* <p> If you do not specify this parameter, the system automatically uses the <strong>request ID</strong> as the <strong>client token</strong>. The <strong>request ID</strong> may be different for each request.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>d7d24a21-f4ba-4454-9173-b3828dae****</p>
*/
public Builder clientToken(String clientToken) {
this.putQueryParameter("ClientToken", clientToken);
this.clientToken = clientToken;
return this;
}
/**
* <p>The description of the destination-based route.</p>
* <p>The description must be <strong>1</strong> to <strong>100</strong> characters in length, and cannot start with <code>http://</code> or <code>https://</code>.</p>
*
* <strong>example:</strong>
* <p>mytest</p>
*/
public Builder description(String description) {
this.putQueryParameter("Description", description);
this.description = description;
return this;
}
/**
* DryRun.
*/
public Builder dryRun(Boolean dryRun) {
this.putQueryParameter("DryRun", dryRun);
this.dryRun = dryRun;
return this;
}
/**
* <p>The next hop of the destination-based route.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>vco-bp15oes1py4i66rmd****</p>
*/
public Builder nextHop(String nextHop) {
this.putQueryParameter("NextHop", nextHop);
this.nextHop = nextHop;
return this;
}
/**
* <p>The tunneling protocol. The value is set to <strong>Ipsec</strong>, which indicates the IPsec tunneling protocol.</p>
*
* <strong>example:</strong>
* <p>Ipsec</p>
*/
public Builder overlayMode(String overlayMode) {
this.putQueryParameter("OverlayMode", overlayMode);
this.overlayMode = overlayMode;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>Specifies whether to advertise the destination-based route to a virtual private cloud (VPC) route table. Valid values:</p>
* <ul>
* <li><strong>true</strong></li>
* <li><strong>false</strong></li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder publishVpc(Boolean publishVpc) {
this.putQueryParameter("PublishVpc", publishVpc);
this.publishVpc = publishVpc;
return this;
}
/**
* <p>The ID of the region where the VPN gateway is created.</p>
* <p>You can call the <a href="https://help.aliyun.com/document_detail/36063.html">DescribeRegions</a> operation to query the most recent region list.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* 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 destination CIDR block of the destination-based route.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>10.0.0.0/24</p>
*/
public Builder routeDest(String routeDest) {
this.putQueryParameter("RouteDest", routeDest);
this.routeDest = routeDest;
return this;
}
/**
* <p>The ID of the VPN gateway.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>vpn-bp1a3kqjiiq9legfx****</p>
*/
public Builder vpnGatewayId(String vpnGatewayId) {
this.putQueryParameter("VpnGatewayId", vpnGatewayId);
this.vpnGatewayId = vpnGatewayId;
return this;
}
/**
* <p>The weight of the destination-based route. Valid values:</p>
* <ul>
* <li><strong>100</strong>: a high priority</li>
* <li><strong>0</strong>: a low priority</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>0</p>
*/
public Builder weight(Integer weight) {
this.putQueryParameter("Weight", weight);
this.weight = weight;
return this;
}
@Override
public CreateVpnRouteEntryRequest build() {
return new CreateVpnRouteEntryRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/CreateVpnRouteEntryResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 CreateVpnRouteEntryResponse} extends {@link TeaModel}
*
* <p>CreateVpnRouteEntryResponse</p>
*/
public class CreateVpnRouteEntryResponse 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 CreateVpnRouteEntryResponseBody body;
private CreateVpnRouteEntryResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static CreateVpnRouteEntryResponse 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 CreateVpnRouteEntryResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<CreateVpnRouteEntryResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(CreateVpnRouteEntryResponseBody body);
@Override
CreateVpnRouteEntryResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<CreateVpnRouteEntryResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private CreateVpnRouteEntryResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(CreateVpnRouteEntryResponse 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(CreateVpnRouteEntryResponseBody body) {
this.body = body;
return this;
}
@Override
public CreateVpnRouteEntryResponse build() {
return new CreateVpnRouteEntryResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/CreateVpnRouteEntryResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 CreateVpnRouteEntryResponseBody} extends {@link TeaModel}
*
* <p>CreateVpnRouteEntryResponseBody</p>
*/
public class CreateVpnRouteEntryResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CreateTime")
private Long createTime;
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
@com.aliyun.core.annotation.NameInMap("NextHop")
private String nextHop;
@com.aliyun.core.annotation.NameInMap("OverlayMode")
private String overlayMode;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("RouteDest")
private String routeDest;
@com.aliyun.core.annotation.NameInMap("State")
private String state;
@com.aliyun.core.annotation.NameInMap("VpnInstanceId")
private String vpnInstanceId;
@com.aliyun.core.annotation.NameInMap("Weight")
private Integer weight;
private CreateVpnRouteEntryResponseBody(Builder builder) {
this.createTime = builder.createTime;
this.description = builder.description;
this.nextHop = builder.nextHop;
this.overlayMode = builder.overlayMode;
this.requestId = builder.requestId;
this.routeDest = builder.routeDest;
this.state = builder.state;
this.vpnInstanceId = builder.vpnInstanceId;
this.weight = builder.weight;
}
public static Builder builder() {
return new Builder();
}
public static CreateVpnRouteEntryResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return createTime
*/
public Long getCreateTime() {
return this.createTime;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return nextHop
*/
public String getNextHop() {
return this.nextHop;
}
/**
* @return overlayMode
*/
public String getOverlayMode() {
return this.overlayMode;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return routeDest
*/
public String getRouteDest() {
return this.routeDest;
}
/**
* @return state
*/
public String getState() {
return this.state;
}
/**
* @return vpnInstanceId
*/
public String getVpnInstanceId() {
return this.vpnInstanceId;
}
/**
* @return weight
*/
public Integer getWeight() {
return this.weight;
}
public static final class Builder {
private Long createTime;
private String description;
private String nextHop;
private String overlayMode;
private String requestId;
private String routeDest;
private String state;
private String vpnInstanceId;
private Integer weight;
private Builder() {
}
private Builder(CreateVpnRouteEntryResponseBody model) {
this.createTime = model.createTime;
this.description = model.description;
this.nextHop = model.nextHop;
this.overlayMode = model.overlayMode;
this.requestId = model.requestId;
this.routeDest = model.routeDest;
this.state = model.state;
this.vpnInstanceId = model.vpnInstanceId;
this.weight = model.weight;
}
/**
* <p>The timestamp when the destination-based route was created. Unit: milliseconds.</p>
* <p>This value is a UNIX timestamp representing the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.</p>
*
* <strong>example:</strong>
* <p>1492747187000</p>
*/
public Builder createTime(Long createTime) {
this.createTime = createTime;
return this;
}
/**
* <p>The description of the destination-based route.</p>
*
* <strong>example:</strong>
* <p>mytest</p>
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* <p>The next hop of the destination-based route.</p>
*
* <strong>example:</strong>
* <p>vco-bp15oes1py4i66rmd****</p>
*/
public Builder nextHop(String nextHop) {
this.nextHop = nextHop;
return this;
}
/**
* <p>The tunneling protocol. The value is set to <strong>Ipsec</strong>, which indicates the IPsec tunneling protocol.</p>
*
* <strong>example:</strong>
* <p>Ipsec</p>
*/
public Builder overlayMode(String overlayMode) {
this.overlayMode = overlayMode;
return this;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>5BE01CD7-5A50-472D-AC14-CA181C5C03BE</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>The destination CIDR block of the destination-based route.</p>
*
* <strong>example:</strong>
* <p>10.0.0.0/24</p>
*/
public Builder routeDest(String routeDest) {
this.routeDest = routeDest;
return this;
}
/**
* <p>The status of the destination-based route.</p>
* <ul>
* <li><strong>published</strong>: advertised to the VPC route table.</li>
* <li><strong>normal</strong>: not advertised to the VPC route table.</li>
* </ul>
*
* <strong>example:</strong>
* <p>published</p>
*/
public Builder state(String state) {
this.state = state;
return this;
}
/**
* <p>The ID of the VPN gateway.</p>
*
* <strong>example:</strong>
* <p>vpn-bp1a3kqjiiq9legfx****</p>
*/
public Builder vpnInstanceId(String vpnInstanceId) {
this.vpnInstanceId = vpnInstanceId;
return this;
}
/**
* <p>The weight of the destination-based route. Valid values:</p>
* <ul>
* <li><strong>100</strong>: a high priority</li>
* <li><strong>0</strong>: a low priority</li>
* </ul>
*
* <strong>example:</strong>
* <p>0</p>
*/
public Builder weight(Integer weight) {
this.weight = weight;
return this;
}
public CreateVpnRouteEntryResponseBody build() {
return new CreateVpnRouteEntryResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeactivateRouterInterfaceRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeactivateRouterInterfaceRequest} extends {@link RequestModel}
*
* <p>DeactivateRouterInterfaceRequest</p>
*/
public class DeactivateRouterInterfaceRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RouterInterfaceId")
@com.aliyun.core.annotation.Validation(required = true)
private String routerInterfaceId;
private DeactivateRouterInterfaceRequest(Builder builder) {
super(builder);
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
this.routerInterfaceId = builder.routerInterfaceId;
}
public static Builder builder() {
return new Builder();
}
public static DeactivateRouterInterfaceRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
/**
* @return routerInterfaceId
*/
public String getRouterInterfaceId() {
return this.routerInterfaceId;
}
public static final class Builder extends Request.Builder<DeactivateRouterInterfaceRequest, Builder> {
private Long ownerId;
private String regionId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private String routerInterfaceId;
private Builder() {
super();
}
private Builder(DeactivateRouterInterfaceRequest request) {
super(request);
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
this.routerInterfaceId = request.routerInterfaceId;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The ID of the region where the router interface is deployed.</p>
* <p>You can call the <a href="https://help.aliyun.com/document_detail/36063.html">DescribeRegions</a> operation to query the most recent region list.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* 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 ID of the router interface.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ri-2zeo3xzyf38r4urz****</p>
*/
public Builder routerInterfaceId(String routerInterfaceId) {
this.putQueryParameter("RouterInterfaceId", routerInterfaceId);
this.routerInterfaceId = routerInterfaceId;
return this;
}
@Override
public DeactivateRouterInterfaceRequest build() {
return new DeactivateRouterInterfaceRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeactivateRouterInterfaceResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeactivateRouterInterfaceResponse} extends {@link TeaModel}
*
* <p>DeactivateRouterInterfaceResponse</p>
*/
public class DeactivateRouterInterfaceResponse 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 DeactivateRouterInterfaceResponseBody body;
private DeactivateRouterInterfaceResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeactivateRouterInterfaceResponse 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 DeactivateRouterInterfaceResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeactivateRouterInterfaceResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeactivateRouterInterfaceResponseBody body);
@Override
DeactivateRouterInterfaceResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeactivateRouterInterfaceResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeactivateRouterInterfaceResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeactivateRouterInterfaceResponse 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(DeactivateRouterInterfaceResponseBody body) {
this.body = body;
return this;
}
@Override
public DeactivateRouterInterfaceResponse build() {
return new DeactivateRouterInterfaceResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeactivateRouterInterfaceResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeactivateRouterInterfaceResponseBody} extends {@link TeaModel}
*
* <p>DeactivateRouterInterfaceResponseBody</p>
*/
public class DeactivateRouterInterfaceResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DeactivateRouterInterfaceResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DeactivateRouterInterfaceResponseBody 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(DeactivateRouterInterfaceResponseBody model) {
this.requestId = model.requestId;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>BE7EB53A-99AB-4DA8-AEDE-75FA90D046A6</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DeactivateRouterInterfaceResponseBody build() {
return new DeactivateRouterInterfaceResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeactiveFlowLogRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeactiveFlowLogRequest} extends {@link RequestModel}
*
* <p>DeactiveFlowLogRequest</p>
*/
public class DeactiveFlowLogRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("FlowLogId")
@com.aliyun.core.annotation.Validation(required = true)
private String flowLogId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
private DeactiveFlowLogRequest(Builder builder) {
super(builder);
this.flowLogId = builder.flowLogId;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static DeactiveFlowLogRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return flowLogId
*/
public String getFlowLogId() {
return this.flowLogId;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder<DeactiveFlowLogRequest, Builder> {
private String flowLogId;
private String ownerAccount;
private Long ownerId;
private String regionId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private Builder() {
super();
}
private Builder(DeactiveFlowLogRequest request) {
super(request);
this.flowLogId = request.flowLogId;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* <p>The ID of the flow log.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>fl-m5e8vhz2t21sel1nq****</p>
*/
public Builder flowLogId(String flowLogId) {
this.putQueryParameter("FlowLogId", flowLogId);
this.flowLogId = flowLogId;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The ID of the region where you want to create the flow log. You can call the <a href="https://help.aliyun.com/document_detail/36063.html">DescribeRegions</a> operation to query the most recent region list.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-qingdao</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
@Override
public DeactiveFlowLogRequest build() {
return new DeactiveFlowLogRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeactiveFlowLogResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeactiveFlowLogResponse} extends {@link TeaModel}
*
* <p>DeactiveFlowLogResponse</p>
*/
public class DeactiveFlowLogResponse 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 DeactiveFlowLogResponseBody body;
private DeactiveFlowLogResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeactiveFlowLogResponse 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 DeactiveFlowLogResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeactiveFlowLogResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeactiveFlowLogResponseBody body);
@Override
DeactiveFlowLogResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeactiveFlowLogResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeactiveFlowLogResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeactiveFlowLogResponse 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(DeactiveFlowLogResponseBody body) {
this.body = body;
return this;
}
@Override
public DeactiveFlowLogResponse build() {
return new DeactiveFlowLogResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeactiveFlowLogResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeactiveFlowLogResponseBody} extends {@link TeaModel}
*
* <p>DeactiveFlowLogResponseBody</p>
*/
public class DeactiveFlowLogResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Success")
private String success;
private DeactiveFlowLogResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static DeactiveFlowLogResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public String getSuccess() {
return this.success;
}
public static final class Builder {
private String requestId;
private String success;
private Builder() {
}
private Builder(DeactiveFlowLogResponseBody model) {
this.requestId = model.requestId;
this.success = model.success;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>F7DDDC17-FA06-4AC2-8F35-59D2470FCFC1</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>Indicates whether the operation is successful. Valid values:</p>
* <ul>
* <li><strong>true</strong>: yes</li>
* <li><strong>false</strong>: no</li>
* </ul>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder success(String success) {
this.success = success;
return this;
}
public DeactiveFlowLogResponseBody build() {
return new DeactiveFlowLogResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteBgpGroupRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteBgpGroupRequest} extends {@link RequestModel}
*
* <p>DeleteBgpGroupRequest</p>
*/
public class DeleteBgpGroupRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("BgpGroupId")
@com.aliyun.core.annotation.Validation(required = true)
private String bgpGroupId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClientToken")
private String clientToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
private DeleteBgpGroupRequest(Builder builder) {
super(builder);
this.bgpGroupId = builder.bgpGroupId;
this.clientToken = builder.clientToken;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteBgpGroupRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return bgpGroupId
*/
public String getBgpGroupId() {
return this.bgpGroupId;
}
/**
* @return clientToken
*/
public String getClientToken() {
return this.clientToken;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder<DeleteBgpGroupRequest, Builder> {
private String bgpGroupId;
private String clientToken;
private String ownerAccount;
private Long ownerId;
private String regionId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private Builder() {
super();
}
private Builder(DeleteBgpGroupRequest request) {
super(request);
this.bgpGroupId = request.bgpGroupId;
this.clientToken = request.clientToken;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* <p>The ID of the BGP group.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>bgpg-bp1k25cyp26cllath****</p>
*/
public Builder bgpGroupId(String bgpGroupId) {
this.putQueryParameter("BgpGroupId", bgpGroupId);
this.bgpGroupId = bgpGroupId;
return this;
}
/**
* <p>The client token that is used to ensure the idempotence of the request.</p>
* <p>You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.</p>
* <blockquote>
* <p> If you do not specify this parameter, the system automatically uses the <strong>request ID</strong> as the <strong>client token</strong>. The <strong>request ID</strong> may be different for each request.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>123e4567-e89b-12d3-a456-426655440000</p>
*/
public Builder clientToken(String clientToken) {
this.putQueryParameter("ClientToken", clientToken);
this.clientToken = clientToken;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The region ID of the BGP group.</p>
* <p>You can call the <a href="https://help.aliyun.com/document_detail/36063.html">DescribeRegions</a> operation to query the most recent region list.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
@Override
public DeleteBgpGroupRequest build() {
return new DeleteBgpGroupRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteBgpGroupResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteBgpGroupResponse} extends {@link TeaModel}
*
* <p>DeleteBgpGroupResponse</p>
*/
public class DeleteBgpGroupResponse 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 DeleteBgpGroupResponseBody body;
private DeleteBgpGroupResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteBgpGroupResponse 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 DeleteBgpGroupResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteBgpGroupResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteBgpGroupResponseBody body);
@Override
DeleteBgpGroupResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteBgpGroupResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteBgpGroupResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteBgpGroupResponse 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(DeleteBgpGroupResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteBgpGroupResponse build() {
return new DeleteBgpGroupResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteBgpGroupResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteBgpGroupResponseBody} extends {@link TeaModel}
*
* <p>DeleteBgpGroupResponseBody</p>
*/
public class DeleteBgpGroupResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DeleteBgpGroupResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteBgpGroupResponseBody 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(DeleteBgpGroupResponseBody model) {
this.requestId = model.requestId;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>54B48E3D-DF70-471B-AA93-08E683A1B45</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DeleteBgpGroupResponseBody build() {
return new DeleteBgpGroupResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteBgpNetworkRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteBgpNetworkRequest} extends {@link RequestModel}
*
* <p>DeleteBgpNetworkRequest</p>
*/
public class DeleteBgpNetworkRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClientToken")
private String clientToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DstCidrBlock")
@com.aliyun.core.annotation.Validation(required = true)
private String dstCidrBlock;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("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("RouterId")
@com.aliyun.core.annotation.Validation(required = true)
private String routerId;
private DeleteBgpNetworkRequest(Builder builder) {
super(builder);
this.clientToken = builder.clientToken;
this.dstCidrBlock = builder.dstCidrBlock;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
this.routerId = builder.routerId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteBgpNetworkRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clientToken
*/
public String getClientToken() {
return this.clientToken;
}
/**
* @return dstCidrBlock
*/
public String getDstCidrBlock() {
return this.dstCidrBlock;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
/**
* @return routerId
*/
public String getRouterId() {
return this.routerId;
}
public static final class Builder extends Request.Builder<DeleteBgpNetworkRequest, Builder> {
private String clientToken;
private String dstCidrBlock;
private String ownerAccount;
private Long ownerId;
private String regionId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private String routerId;
private Builder() {
super();
}
private Builder(DeleteBgpNetworkRequest request) {
super(request);
this.clientToken = request.clientToken;
this.dstCidrBlock = request.dstCidrBlock;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
this.routerId = request.routerId;
}
/**
* <p>The client token that is used to ensure the idempotence of the request.</p>
* <p>You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.</p>
* <blockquote>
* <p> If you do not specify this parameter, the system automatically uses the <strong>request ID</strong> as the <strong>client token</strong>. The <strong>request ID</strong> may be different for each request.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>123e4567-e89b-12d3-a456-426655440000</p>
*/
public Builder clientToken(String clientToken) {
this.putQueryParameter("ClientToken", clientToken);
this.clientToken = clientToken;
return this;
}
/**
* <p>The CIDR block of the virtual private cloud (VPC) or vSwitch that you want to connect to a data center.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>10.110.192.12/32</p>
*/
public Builder dstCidrBlock(String dstCidrBlock) {
this.putQueryParameter("DstCidrBlock", dstCidrBlock);
this.dstCidrBlock = dstCidrBlock;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The region ID of the BGP group.</p>
* <p>You can call the <a href="https://help.aliyun.com/document_detail/36063.html">DescribeRegions</a> operation to query the most recent region list.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* 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 ID of the VBR.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>vrt-bp1lhl0taikrteen8****</p>
*/
public Builder routerId(String routerId) {
this.putQueryParameter("RouterId", routerId);
this.routerId = routerId;
return this;
}
@Override
public DeleteBgpNetworkRequest build() {
return new DeleteBgpNetworkRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteBgpNetworkResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteBgpNetworkResponse} extends {@link TeaModel}
*
* <p>DeleteBgpNetworkResponse</p>
*/
public class DeleteBgpNetworkResponse 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 DeleteBgpNetworkResponseBody body;
private DeleteBgpNetworkResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteBgpNetworkResponse 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 DeleteBgpNetworkResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteBgpNetworkResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteBgpNetworkResponseBody body);
@Override
DeleteBgpNetworkResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteBgpNetworkResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteBgpNetworkResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteBgpNetworkResponse 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(DeleteBgpNetworkResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteBgpNetworkResponse build() {
return new DeleteBgpNetworkResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteBgpNetworkResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteBgpNetworkResponseBody} extends {@link TeaModel}
*
* <p>DeleteBgpNetworkResponseBody</p>
*/
public class DeleteBgpNetworkResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DeleteBgpNetworkResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteBgpNetworkResponseBody 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(DeleteBgpNetworkResponseBody model) {
this.requestId = model.requestId;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>54B48E3D-DF70-471B-AA93-08E683A1B45</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DeleteBgpNetworkResponseBody build() {
return new DeleteBgpNetworkResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteBgpPeerRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteBgpPeerRequest} extends {@link RequestModel}
*
* <p>DeleteBgpPeerRequest</p>
*/
public class DeleteBgpPeerRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("BgpPeerId")
@com.aliyun.core.annotation.Validation(required = true)
private String bgpPeerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClientToken")
private String clientToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
private DeleteBgpPeerRequest(Builder builder) {
super(builder);
this.bgpPeerId = builder.bgpPeerId;
this.clientToken = builder.clientToken;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteBgpPeerRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return bgpPeerId
*/
public String getBgpPeerId() {
return this.bgpPeerId;
}
/**
* @return clientToken
*/
public String getClientToken() {
return this.clientToken;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder<DeleteBgpPeerRequest, Builder> {
private String bgpPeerId;
private String clientToken;
private String ownerAccount;
private Long ownerId;
private String regionId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private Builder() {
super();
}
private Builder(DeleteBgpPeerRequest request) {
super(request);
this.bgpPeerId = request.bgpPeerId;
this.clientToken = request.clientToken;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* <p>The ID of the BGP peer.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>bgp-wz977wcrmb69a********</p>
*/
public Builder bgpPeerId(String bgpPeerId) {
this.putQueryParameter("BgpPeerId", bgpPeerId);
this.bgpPeerId = bgpPeerId;
return this;
}
/**
* <p>The client token that is used to ensure the idempotence of the request.</p>
* <p>You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.</p>
* <blockquote>
* <p> If you do not specify this parameter, the system automatically uses the <strong>request ID</strong> as the <strong>client token</strong>. The <strong>request ID</strong> may be different for each request.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>123e4567-e89b-12d3-a456-426655440000</p>
*/
public Builder clientToken(String clientToken) {
this.putQueryParameter("ClientToken", clientToken);
this.clientToken = clientToken;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The region ID of the BGP group.</p>
* <p>You can call the <a href="https://help.aliyun.com/document_detail/36063.html">DescribeRegions</a> operation to query the most recent region list.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-shanghai</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
@Override
public DeleteBgpPeerRequest build() {
return new DeleteBgpPeerRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteBgpPeerResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteBgpPeerResponse} extends {@link TeaModel}
*
* <p>DeleteBgpPeerResponse</p>
*/
public class DeleteBgpPeerResponse 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 DeleteBgpPeerResponseBody body;
private DeleteBgpPeerResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteBgpPeerResponse 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 DeleteBgpPeerResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteBgpPeerResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteBgpPeerResponseBody body);
@Override
DeleteBgpPeerResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteBgpPeerResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteBgpPeerResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteBgpPeerResponse 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(DeleteBgpPeerResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteBgpPeerResponse build() {
return new DeleteBgpPeerResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteBgpPeerResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteBgpPeerResponseBody} extends {@link TeaModel}
*
* <p>DeleteBgpPeerResponseBody</p>
*/
public class DeleteBgpPeerResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DeleteBgpPeerResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteBgpPeerResponseBody 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(DeleteBgpPeerResponseBody model) {
this.requestId = model.requestId;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>611CB80C-B6A9-43DB-9E38-0B0AC3D9B58F</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DeleteBgpPeerResponseBody build() {
return new DeleteBgpPeerResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteCommonBandwidthPackageRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteCommonBandwidthPackageRequest} extends {@link RequestModel}
*
* <p>DeleteCommonBandwidthPackageRequest</p>
*/
public class DeleteCommonBandwidthPackageRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("BandwidthPackageId")
@com.aliyun.core.annotation.Validation(required = true)
private String bandwidthPackageId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Force")
private String force;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
private DeleteCommonBandwidthPackageRequest(Builder builder) {
super(builder);
this.bandwidthPackageId = builder.bandwidthPackageId;
this.force = builder.force;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteCommonBandwidthPackageRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return bandwidthPackageId
*/
public String getBandwidthPackageId() {
return this.bandwidthPackageId;
}
/**
* @return force
*/
public String getForce() {
return this.force;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder<DeleteCommonBandwidthPackageRequest, Builder> {
private String bandwidthPackageId;
private String force;
private String ownerAccount;
private Long ownerId;
private String regionId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private Builder() {
super();
}
private Builder(DeleteCommonBandwidthPackageRequest request) {
super(request);
this.bandwidthPackageId = request.bandwidthPackageId;
this.force = request.force;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* <p>The ID of the Internet Shared Bandwidth instance.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cbwp-2ze2ic1xd2qeqk145pn4u</p>
*/
public Builder bandwidthPackageId(String bandwidthPackageId) {
this.putQueryParameter("BandwidthPackageId", bandwidthPackageId);
this.bandwidthPackageId = bandwidthPackageId;
return this;
}
/**
* <p>Specifies whether to forcefully delete the Internet Shared Bandwidth instance. Valid values:</p>
* <ul>
* <li><strong>false</strong> (default): deletes the Internet Shared Bandwidth instance only when no EIPs are associated with the Internet Shared Bandwidth instance.</li>
* <li><strong>true</strong>: disassociates all EIPs from the Internet Shared Bandwidth instance and deletes the Internet Shared Bandwidth instance.</li>
* </ul>
*
* <strong>example:</strong>
* <p>false</p>
*/
public Builder force(String force) {
this.putQueryParameter("Force", force);
this.force = force;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The ID of the region where the Internet Shared Bandwidth instance is created.</p>
* <p>You can call the <a href="https://help.aliyun.com/document_detail/36063.html">DescribeRegions</a> operation to query the most recent region list.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
@Override
public DeleteCommonBandwidthPackageRequest build() {
return new DeleteCommonBandwidthPackageRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteCommonBandwidthPackageResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteCommonBandwidthPackageResponse} extends {@link TeaModel}
*
* <p>DeleteCommonBandwidthPackageResponse</p>
*/
public class DeleteCommonBandwidthPackageResponse 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 DeleteCommonBandwidthPackageResponseBody body;
private DeleteCommonBandwidthPackageResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteCommonBandwidthPackageResponse 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 DeleteCommonBandwidthPackageResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteCommonBandwidthPackageResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteCommonBandwidthPackageResponseBody body);
@Override
DeleteCommonBandwidthPackageResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteCommonBandwidthPackageResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteCommonBandwidthPackageResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteCommonBandwidthPackageResponse 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(DeleteCommonBandwidthPackageResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteCommonBandwidthPackageResponse build() {
return new DeleteCommonBandwidthPackageResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteCommonBandwidthPackageResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteCommonBandwidthPackageResponseBody} extends {@link TeaModel}
*
* <p>DeleteCommonBandwidthPackageResponseBody</p>
*/
public class DeleteCommonBandwidthPackageResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DeleteCommonBandwidthPackageResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteCommonBandwidthPackageResponseBody 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(DeleteCommonBandwidthPackageResponseBody model) {
this.requestId = model.requestId;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>B400EF57-60E3-4D61-B8FB-7FA8F72DF5A6</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DeleteCommonBandwidthPackageResponseBody build() {
return new DeleteCommonBandwidthPackageResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteCustomerGatewayRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteCustomerGatewayRequest} extends {@link RequestModel}
*
* <p>DeleteCustomerGatewayRequest</p>
*/
public class DeleteCustomerGatewayRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClientToken")
private String clientToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("CustomerGatewayId")
@com.aliyun.core.annotation.Validation(required = true)
private String customerGatewayId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
private DeleteCustomerGatewayRequest(Builder builder) {
super(builder);
this.clientToken = builder.clientToken;
this.customerGatewayId = builder.customerGatewayId;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteCustomerGatewayRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clientToken
*/
public String getClientToken() {
return this.clientToken;
}
/**
* @return customerGatewayId
*/
public String getCustomerGatewayId() {
return this.customerGatewayId;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder<DeleteCustomerGatewayRequest, Builder> {
private String clientToken;
private String customerGatewayId;
private String ownerAccount;
private Long ownerId;
private String regionId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private Builder() {
super();
}
private Builder(DeleteCustomerGatewayRequest request) {
super(request);
this.clientToken = request.clientToken;
this.customerGatewayId = request.customerGatewayId;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* <p>The client token that is used to ensure the idempotence of the request.</p>
* <p>You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.</p>
* <blockquote>
* <p> If you do not specify this parameter, the system automatically uses the <strong>request ID</strong> as the <strong>client token</strong>. The <strong>request ID</strong> may be different for each request.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>02fb3da4-130e-11e9-8e44-0016e04****</p>
*/
public Builder clientToken(String clientToken) {
this.putQueryParameter("ClientToken", clientToken);
this.clientToken = clientToken;
return this;
}
/**
* <p>The ID of the customer gateway.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cgw-bp1pvpl9r9adju6l5****</p>
*/
public Builder customerGatewayId(String customerGatewayId) {
this.putQueryParameter("CustomerGatewayId", customerGatewayId);
this.customerGatewayId = customerGatewayId;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The region ID of the customer gateway. You can call the <a href="https://help.aliyun.com/document_detail/36063.html">DescribeRegions</a> operation to query the most recent region list.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-shanghai</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
@Override
public DeleteCustomerGatewayRequest build() {
return new DeleteCustomerGatewayRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteCustomerGatewayResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteCustomerGatewayResponse} extends {@link TeaModel}
*
* <p>DeleteCustomerGatewayResponse</p>
*/
public class DeleteCustomerGatewayResponse 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 DeleteCustomerGatewayResponseBody body;
private DeleteCustomerGatewayResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteCustomerGatewayResponse 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 DeleteCustomerGatewayResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteCustomerGatewayResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteCustomerGatewayResponseBody body);
@Override
DeleteCustomerGatewayResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteCustomerGatewayResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteCustomerGatewayResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteCustomerGatewayResponse 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(DeleteCustomerGatewayResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteCustomerGatewayResponse build() {
return new DeleteCustomerGatewayResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteCustomerGatewayResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteCustomerGatewayResponseBody} extends {@link TeaModel}
*
* <p>DeleteCustomerGatewayResponseBody</p>
*/
public class DeleteCustomerGatewayResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DeleteCustomerGatewayResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteCustomerGatewayResponseBody 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(DeleteCustomerGatewayResponseBody model) {
this.requestId = model.requestId;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>606998F0-B94D-48FE-8316-ACA81BB230DA</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DeleteCustomerGatewayResponseBody build() {
return new DeleteCustomerGatewayResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteDhcpOptionsSetRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteDhcpOptionsSetRequest} extends {@link RequestModel}
*
* <p>DeleteDhcpOptionsSetRequest</p>
*/
public class DeleteDhcpOptionsSetRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClientToken")
private String clientToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DhcpOptionsSetId")
@com.aliyun.core.annotation.Validation(required = true)
private String dhcpOptionsSetId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DryRun")
private Boolean dryRun;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
private DeleteDhcpOptionsSetRequest(Builder builder) {
super(builder);
this.clientToken = builder.clientToken;
this.dhcpOptionsSetId = builder.dhcpOptionsSetId;
this.dryRun = builder.dryRun;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteDhcpOptionsSetRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clientToken
*/
public String getClientToken() {
return this.clientToken;
}
/**
* @return dhcpOptionsSetId
*/
public String getDhcpOptionsSetId() {
return this.dhcpOptionsSetId;
}
/**
* @return dryRun
*/
public Boolean getDryRun() {
return this.dryRun;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder<DeleteDhcpOptionsSetRequest, Builder> {
private String clientToken;
private String dhcpOptionsSetId;
private Boolean dryRun;
private String ownerAccount;
private Long ownerId;
private String regionId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private Builder() {
super();
}
private Builder(DeleteDhcpOptionsSetRequest request) {
super(request);
this.clientToken = request.clientToken;
this.dhcpOptionsSetId = request.dhcpOptionsSetId;
this.dryRun = request.dryRun;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* <p>The client token that is used to ensure the idempotence of the request.</p>
* <p>You can use the client to generate the token, but you must make sure that the token is unique among different requests. The client token can contain only ASCII characters.</p>
* <blockquote>
* <p> If you do not specify this parameter, the system automatically uses the <strong>request ID</strong> as the <strong>client token</strong>. The <strong>request ID</strong> may be different for each request.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>0c593ea1-3bea-11e9-b96b-88e9fe637760</p>
*/
public Builder clientToken(String clientToken) {
this.putQueryParameter("ClientToken", clientToken);
this.clientToken = clientToken;
return this;
}
/**
* <p>The ID of the DHCP options set to be deleted.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>dopt-o6w0df4epg9zo8isy****</p>
*/
public Builder dhcpOptionsSetId(String dhcpOptionsSetId) {
this.putQueryParameter("DhcpOptionsSetId", dhcpOptionsSetId);
this.dhcpOptionsSetId = dhcpOptionsSetId;
return this;
}
/**
* <p>Specifies whether to perform only a dry run, without performing the actual request. Valid values:</p>
* <p><strong>true</strong>: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the <code>DryRunOperation</code> error code is returned.</p>
* <p><strong>false</strong> (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.</p>
*
* <strong>example:</strong>
* <p>false</p>
*/
public Builder dryRun(Boolean dryRun) {
this.putQueryParameter("DryRun", dryRun);
this.dryRun = dryRun;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The region of the DHCP options set to be deleted. You can call the <a href="https://help.aliyun.com/document_detail/36063.html">DescribeRegions</a> operation to query the most recent region list.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
@Override
public DeleteDhcpOptionsSetRequest build() {
return new DeleteDhcpOptionsSetRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteDhcpOptionsSetResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteDhcpOptionsSetResponse} extends {@link TeaModel}
*
* <p>DeleteDhcpOptionsSetResponse</p>
*/
public class DeleteDhcpOptionsSetResponse 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 DeleteDhcpOptionsSetResponseBody body;
private DeleteDhcpOptionsSetResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteDhcpOptionsSetResponse 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 DeleteDhcpOptionsSetResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteDhcpOptionsSetResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteDhcpOptionsSetResponseBody body);
@Override
DeleteDhcpOptionsSetResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteDhcpOptionsSetResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteDhcpOptionsSetResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteDhcpOptionsSetResponse 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(DeleteDhcpOptionsSetResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteDhcpOptionsSetResponse build() {
return new DeleteDhcpOptionsSetResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteDhcpOptionsSetResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteDhcpOptionsSetResponseBody} extends {@link TeaModel}
*
* <p>DeleteDhcpOptionsSetResponseBody</p>
*/
public class DeleteDhcpOptionsSetResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DeleteDhcpOptionsSetResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteDhcpOptionsSetResponseBody 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(DeleteDhcpOptionsSetResponseBody model) {
this.requestId = model.requestId;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>0ED8D006-F706-4D23-88ED-E11ED28DCAC0</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DeleteDhcpOptionsSetResponseBody build() {
return new DeleteDhcpOptionsSetResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteExpressConnectTrafficQosQueueRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteExpressConnectTrafficQosQueueRequest} extends {@link RequestModel}
*
* <p>DeleteExpressConnectTrafficQosQueueRequest</p>
*/
public class DeleteExpressConnectTrafficQosQueueRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClientToken")
private String clientToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("QosId")
@com.aliyun.core.annotation.Validation(required = true)
private String qosId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("QueueId")
@com.aliyun.core.annotation.Validation(required = true)
private String queueId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
private DeleteExpressConnectTrafficQosQueueRequest(Builder builder) {
super(builder);
this.clientToken = builder.clientToken;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.qosId = builder.qosId;
this.queueId = builder.queueId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
}
public static Builder builder() {
return new Builder();
}
public static DeleteExpressConnectTrafficQosQueueRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clientToken
*/
public String getClientToken() {
return this.clientToken;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return qosId
*/
public String getQosId() {
return this.qosId;
}
/**
* @return queueId
*/
public String getQueueId() {
return this.queueId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public static final class Builder extends Request.Builder<DeleteExpressConnectTrafficQosQueueRequest, Builder> {
private String clientToken;
private String ownerAccount;
private Long ownerId;
private String qosId;
private String queueId;
private String regionId;
private String resourceOwnerAccount;
private Builder() {
super();
}
private Builder(DeleteExpressConnectTrafficQosQueueRequest request) {
super(request);
this.clientToken = request.clientToken;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.qosId = request.qosId;
this.queueId = request.queueId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
}
/**
* <p>The client token that is used to ensure the idempotence of the request.</p>
* <p>You can use the client to generate the token, but you must make sure that the token is unique among different requests. The client token can contain only ASCII characters.</p>
* <blockquote>
* <p> If you do not specify this parameter, the system automatically uses the <strong>request ID</strong> as the <strong>client token</strong>. The <strong>request ID</strong> may be different for each request.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>0c593ea1-3bea-11e9-b96b-88e9fe637760</p>
*/
public Builder clientToken(String clientToken) {
this.putQueryParameter("ClientToken", clientToken);
this.clientToken = clientToken;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The ID of the QoS policy.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>qos-2giu0a6vd5x0mv4700</p>
*/
public Builder qosId(String qosId) {
this.putQueryParameter("QosId", qosId);
this.qosId = qosId;
return this;
}
/**
* <p>The ID of the QoS queue.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>qos-queue-9nyx2u7n71s2rcy4n5</p>
*/
public Builder queueId(String queueId) {
this.putQueryParameter("QueueId", queueId);
this.queueId = queueId;
return this;
}
/**
* <p>The region ID of the QoS policy.</p>
* <p>You can call the <a href="https://help.aliyun.com/document_detail/36063.html">DescribeRegions</a> operation to query the most recent region list.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-shanghai</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
@Override
public DeleteExpressConnectTrafficQosQueueRequest build() {
return new DeleteExpressConnectTrafficQosQueueRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteExpressConnectTrafficQosQueueResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteExpressConnectTrafficQosQueueResponse} extends {@link TeaModel}
*
* <p>DeleteExpressConnectTrafficQosQueueResponse</p>
*/
public class DeleteExpressConnectTrafficQosQueueResponse 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 DeleteExpressConnectTrafficQosQueueResponseBody body;
private DeleteExpressConnectTrafficQosQueueResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteExpressConnectTrafficQosQueueResponse 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 DeleteExpressConnectTrafficQosQueueResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteExpressConnectTrafficQosQueueResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteExpressConnectTrafficQosQueueResponseBody body);
@Override
DeleteExpressConnectTrafficQosQueueResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteExpressConnectTrafficQosQueueResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteExpressConnectTrafficQosQueueResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteExpressConnectTrafficQosQueueResponse 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(DeleteExpressConnectTrafficQosQueueResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteExpressConnectTrafficQosQueueResponse build() {
return new DeleteExpressConnectTrafficQosQueueResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteExpressConnectTrafficQosQueueResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteExpressConnectTrafficQosQueueResponseBody} extends {@link TeaModel}
*
* <p>DeleteExpressConnectTrafficQosQueueResponseBody</p>
*/
public class DeleteExpressConnectTrafficQosQueueResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DeleteExpressConnectTrafficQosQueueResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteExpressConnectTrafficQosQueueResponseBody 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(DeleteExpressConnectTrafficQosQueueResponseBody model) {
this.requestId = model.requestId;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>9B9300FE-11E2-4E3B-949C-BED3B44DD26D</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DeleteExpressConnectTrafficQosQueueResponseBody build() {
return new DeleteExpressConnectTrafficQosQueueResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteExpressConnectTrafficQosRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteExpressConnectTrafficQosRequest} extends {@link RequestModel}
*
* <p>DeleteExpressConnectTrafficQosRequest</p>
*/
public class DeleteExpressConnectTrafficQosRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClientToken")
private String clientToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("QosId")
@com.aliyun.core.annotation.Validation(required = true)
private String qosId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
private DeleteExpressConnectTrafficQosRequest(Builder builder) {
super(builder);
this.clientToken = builder.clientToken;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.qosId = builder.qosId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
}
public static Builder builder() {
return new Builder();
}
public static DeleteExpressConnectTrafficQosRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clientToken
*/
public String getClientToken() {
return this.clientToken;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return qosId
*/
public String getQosId() {
return this.qosId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public static final class Builder extends Request.Builder<DeleteExpressConnectTrafficQosRequest, Builder> {
private String clientToken;
private String ownerAccount;
private Long ownerId;
private String qosId;
private String regionId;
private String resourceOwnerAccount;
private Builder() {
super();
}
private Builder(DeleteExpressConnectTrafficQosRequest request) {
super(request);
this.clientToken = request.clientToken;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.qosId = request.qosId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
}
/**
* <p>The client token that is used to ensure the idempotence of the request.</p>
* <p>You can use the client to generate the token, but you must make sure that the token is unique among different requests. The client token can contain only ASCII characters.</p>
* <blockquote>
* <p> If you do not specify this parameter, the system automatically uses the <strong>request ID</strong> as the <strong>client token</strong>. The <strong>request ID</strong> may be different for each request.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>123e4567-e89b-12d3-a456-426655440000</p>
*/
public Builder clientToken(String clientToken) {
this.putQueryParameter("ClientToken", clientToken);
this.clientToken = clientToken;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The instance ID of the QoS policy.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>qos-2giu0a6vd5x0mv4700</p>
*/
public Builder qosId(String qosId) {
this.putQueryParameter("QosId", qosId);
this.qosId = qosId;
return this;
}
/**
* <p>The region ID of the QoS policy.</p>
* <p>You can call the <a href="https://help.aliyun.com/document_detail/36063.html">DescribeRegions</a> operation to query the most recent region list.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-shanghai</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
@Override
public DeleteExpressConnectTrafficQosRequest build() {
return new DeleteExpressConnectTrafficQosRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteExpressConnectTrafficQosResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteExpressConnectTrafficQosResponse} extends {@link TeaModel}
*
* <p>DeleteExpressConnectTrafficQosResponse</p>
*/
public class DeleteExpressConnectTrafficQosResponse 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 DeleteExpressConnectTrafficQosResponseBody body;
private DeleteExpressConnectTrafficQosResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteExpressConnectTrafficQosResponse 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 DeleteExpressConnectTrafficQosResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteExpressConnectTrafficQosResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteExpressConnectTrafficQosResponseBody body);
@Override
DeleteExpressConnectTrafficQosResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteExpressConnectTrafficQosResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteExpressConnectTrafficQosResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteExpressConnectTrafficQosResponse 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(DeleteExpressConnectTrafficQosResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteExpressConnectTrafficQosResponse build() {
return new DeleteExpressConnectTrafficQosResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteExpressConnectTrafficQosResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteExpressConnectTrafficQosResponseBody} extends {@link TeaModel}
*
* <p>DeleteExpressConnectTrafficQosResponseBody</p>
*/
public class DeleteExpressConnectTrafficQosResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DeleteExpressConnectTrafficQosResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteExpressConnectTrafficQosResponseBody 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(DeleteExpressConnectTrafficQosResponseBody model) {
this.requestId = model.requestId;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>606998F0-B94D-48FE-8316-ACA81BB230DA</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DeleteExpressConnectTrafficQosResponseBody build() {
return new DeleteExpressConnectTrafficQosResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteExpressConnectTrafficQosRuleRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteExpressConnectTrafficQosRuleRequest} extends {@link RequestModel}
*
* <p>DeleteExpressConnectTrafficQosRuleRequest</p>
*/
public class DeleteExpressConnectTrafficQosRuleRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClientToken")
private String clientToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("QosId")
@com.aliyun.core.annotation.Validation(required = true)
private String qosId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("QueueId")
@com.aliyun.core.annotation.Validation(required = true)
private String queueId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RuleId")
@com.aliyun.core.annotation.Validation(required = true)
private String ruleId;
private DeleteExpressConnectTrafficQosRuleRequest(Builder builder) {
super(builder);
this.clientToken = builder.clientToken;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.qosId = builder.qosId;
this.queueId = builder.queueId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.ruleId = builder.ruleId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteExpressConnectTrafficQosRuleRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clientToken
*/
public String getClientToken() {
return this.clientToken;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return qosId
*/
public String getQosId() {
return this.qosId;
}
/**
* @return queueId
*/
public String getQueueId() {
return this.queueId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return ruleId
*/
public String getRuleId() {
return this.ruleId;
}
public static final class Builder extends Request.Builder<DeleteExpressConnectTrafficQosRuleRequest, Builder> {
private String clientToken;
private String ownerAccount;
private Long ownerId;
private String qosId;
private String queueId;
private String regionId;
private String resourceOwnerAccount;
private String ruleId;
private Builder() {
super();
}
private Builder(DeleteExpressConnectTrafficQosRuleRequest request) {
super(request);
this.clientToken = request.clientToken;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.qosId = request.qosId;
this.queueId = request.queueId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.ruleId = request.ruleId;
}
/**
* <p>The client token that is used to ensure the idempotence of the request.</p>
* <p>You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.</p>
*
* <strong>example:</strong>
* <p>02fb3da4-130e-11e9-8e44-00****</p>
*/
public Builder clientToken(String clientToken) {
this.putQueryParameter("ClientToken", clientToken);
this.clientToken = clientToken;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The ID of the QoS policy.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>qos-2giu0a6vd5x0mv4700</p>
*/
public Builder qosId(String qosId) {
this.putQueryParameter("QosId", qosId);
this.qosId = qosId;
return this;
}
/**
* <p>The ID of the QoS queue.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>qos-queue-9nyx2u7n71s2rcy4n5</p>
*/
public Builder queueId(String queueId) {
this.putQueryParameter("QueueId", queueId);
this.queueId = queueId;
return this;
}
/**
* <p>The region ID of the QoS policy.</p>
* <p>You can call the <a href="https://help.aliyun.com/document_detail/36063.html">DescribeRegions</a> operation to query the most recent region list.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-shanghai</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* <p>The ID of the QoS rule.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>qos-rule-iugg0l9x27f2nocouj</p>
*/
public Builder ruleId(String ruleId) {
this.putQueryParameter("RuleId", ruleId);
this.ruleId = ruleId;
return this;
}
@Override
public DeleteExpressConnectTrafficQosRuleRequest build() {
return new DeleteExpressConnectTrafficQosRuleRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteExpressConnectTrafficQosRuleResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteExpressConnectTrafficQosRuleResponse} extends {@link TeaModel}
*
* <p>DeleteExpressConnectTrafficQosRuleResponse</p>
*/
public class DeleteExpressConnectTrafficQosRuleResponse 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 DeleteExpressConnectTrafficQosRuleResponseBody body;
private DeleteExpressConnectTrafficQosRuleResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteExpressConnectTrafficQosRuleResponse 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 DeleteExpressConnectTrafficQosRuleResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteExpressConnectTrafficQosRuleResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteExpressConnectTrafficQosRuleResponseBody body);
@Override
DeleteExpressConnectTrafficQosRuleResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteExpressConnectTrafficQosRuleResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteExpressConnectTrafficQosRuleResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteExpressConnectTrafficQosRuleResponse 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(DeleteExpressConnectTrafficQosRuleResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteExpressConnectTrafficQosRuleResponse build() {
return new DeleteExpressConnectTrafficQosRuleResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteExpressConnectTrafficQosRuleResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteExpressConnectTrafficQosRuleResponseBody} extends {@link TeaModel}
*
* <p>DeleteExpressConnectTrafficQosRuleResponseBody</p>
*/
public class DeleteExpressConnectTrafficQosRuleResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DeleteExpressConnectTrafficQosRuleResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteExpressConnectTrafficQosRuleResponseBody 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(DeleteExpressConnectTrafficQosRuleResponseBody model) {
this.requestId = model.requestId;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>C44F62BE-9CE7-4277-B117-69243F3988BF</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DeleteExpressConnectTrafficQosRuleResponseBody build() {
return new DeleteExpressConnectTrafficQosRuleResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteFailoverTestJobRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteFailoverTestJobRequest} extends {@link RequestModel}
*
* <p>DeleteFailoverTestJobRequest</p>
*/
public class DeleteFailoverTestJobRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClientToken")
private String clientToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("JobId")
@com.aliyun.core.annotation.Validation(required = true)
private String jobId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
private DeleteFailoverTestJobRequest(Builder builder) {
super(builder);
this.clientToken = builder.clientToken;
this.jobId = builder.jobId;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
}
public static Builder builder() {
return new Builder();
}
public static DeleteFailoverTestJobRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clientToken
*/
public String getClientToken() {
return this.clientToken;
}
/**
* @return jobId
*/
public String getJobId() {
return this.jobId;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public static final class Builder extends Request.Builder<DeleteFailoverTestJobRequest, Builder> {
private String clientToken;
private String jobId;
private String ownerAccount;
private Long ownerId;
private String regionId;
private String resourceOwnerAccount;
private Builder() {
super();
}
private Builder(DeleteFailoverTestJobRequest request) {
super(request);
this.clientToken = request.clientToken;
this.jobId = request.jobId;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
}
/**
* <p>The client token that is used to ensure the idempotence of the request.</p>
* <p>You can use the client to generate the token, but you must make sure that the token is unique among different requests. The client token can contain only ASCII characters.</p>
* <blockquote>
* <p>If you do not specify this parameter, the system automatically uses the <strong>request ID</strong> as the <strong>client token</strong>. The <strong>request ID</strong> may be different for each request.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>123e4567-e89b-12d3-a456-426655440000</p>
*/
public Builder clientToken(String clientToken) {
this.putQueryParameter("ClientToken", clientToken);
this.clientToken = clientToken;
return this;
}
/**
* <p>The ID of the failover test.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ftj-xxxxxxxxx</p>
*/
public Builder jobId(String jobId) {
this.putQueryParameter("JobId", jobId);
this.jobId = jobId;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The region ID of the failover test.</p>
* <p>You can call the <a href="https://help.aliyun.com/document_detail/36063.html">DescribeRegions</a> operation to query the most recent region list.</p>
*
* <strong>example:</strong>
* <p>ch-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
@Override
public DeleteFailoverTestJobRequest build() {
return new DeleteFailoverTestJobRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteFailoverTestJobResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteFailoverTestJobResponse} extends {@link TeaModel}
*
* <p>DeleteFailoverTestJobResponse</p>
*/
public class DeleteFailoverTestJobResponse 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 DeleteFailoverTestJobResponseBody body;
private DeleteFailoverTestJobResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteFailoverTestJobResponse 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 DeleteFailoverTestJobResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteFailoverTestJobResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteFailoverTestJobResponseBody body);
@Override
DeleteFailoverTestJobResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteFailoverTestJobResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteFailoverTestJobResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteFailoverTestJobResponse 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(DeleteFailoverTestJobResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteFailoverTestJobResponse build() {
return new DeleteFailoverTestJobResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteFailoverTestJobResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteFailoverTestJobResponseBody} extends {@link TeaModel}
*
* <p>DeleteFailoverTestJobResponseBody</p>
*/
public class DeleteFailoverTestJobResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DeleteFailoverTestJobResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteFailoverTestJobResponseBody 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(DeleteFailoverTestJobResponseBody model) {
this.requestId = model.requestId;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>C44F62BE-9CE7-4277-B117-69243F3988BF</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DeleteFailoverTestJobResponseBody build() {
return new DeleteFailoverTestJobResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteFlowLogRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteFlowLogRequest} extends {@link RequestModel}
*
* <p>DeleteFlowLogRequest</p>
*/
public class DeleteFlowLogRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("FlowLogId")
@com.aliyun.core.annotation.Validation(required = true)
private String flowLogId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
private DeleteFlowLogRequest(Builder builder) {
super(builder);
this.flowLogId = builder.flowLogId;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteFlowLogRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return flowLogId
*/
public String getFlowLogId() {
return this.flowLogId;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder<DeleteFlowLogRequest, Builder> {
private String flowLogId;
private String ownerAccount;
private Long ownerId;
private String regionId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private Builder() {
super();
}
private Builder(DeleteFlowLogRequest request) {
super(request);
this.flowLogId = request.flowLogId;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* <p>The ID of the flow log.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>fl-m5e8vhz2t21sel1nq****</p>
*/
public Builder flowLogId(String flowLogId) {
this.putQueryParameter("FlowLogId", flowLogId);
this.flowLogId = flowLogId;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The region ID of the flow log. You can call the <a href="https://help.aliyun.com/document_detail/36063.html">DescribeRegions</a> operation to query the most recent region list.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-qingdao</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
@Override
public DeleteFlowLogRequest build() {
return new DeleteFlowLogRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteFlowLogResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteFlowLogResponse} extends {@link TeaModel}
*
* <p>DeleteFlowLogResponse</p>
*/
public class DeleteFlowLogResponse 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 DeleteFlowLogResponseBody body;
private DeleteFlowLogResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteFlowLogResponse 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 DeleteFlowLogResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteFlowLogResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteFlowLogResponseBody body);
@Override
DeleteFlowLogResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteFlowLogResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteFlowLogResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteFlowLogResponse 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(DeleteFlowLogResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteFlowLogResponse build() {
return new DeleteFlowLogResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteFlowLogResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteFlowLogResponseBody} extends {@link TeaModel}
*
* <p>DeleteFlowLogResponseBody</p>
*/
public class DeleteFlowLogResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Success")
private String success;
private DeleteFlowLogResponseBody(Builder builder) {
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static DeleteFlowLogResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public String getSuccess() {
return this.success;
}
public static final class Builder {
private String requestId;
private String success;
private Builder() {
}
private Builder(DeleteFlowLogResponseBody model) {
this.requestId = model.requestId;
this.success = model.success;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>F7DDDC17-FA06-4AC2-8F35-59D2470FCFC1</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* <p>Indicates whether the operation is successful. Valid values:</p>
* <ul>
* <li><strong>true</strong>: yes</li>
* <li><strong>false</strong>: no</li>
* </ul>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder success(String success) {
this.success = success;
return this;
}
public DeleteFlowLogResponseBody build() {
return new DeleteFlowLogResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteForwardEntryRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteForwardEntryRequest} extends {@link RequestModel}
*
* <p>DeleteForwardEntryRequest</p>
*/
public class DeleteForwardEntryRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClientToken")
private String clientToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ForwardEntryId")
@com.aliyun.core.annotation.Validation(required = true)
private String forwardEntryId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ForwardTableId")
@com.aliyun.core.annotation.Validation(required = true)
private String forwardTableId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
private DeleteForwardEntryRequest(Builder builder) {
super(builder);
this.clientToken = builder.clientToken;
this.forwardEntryId = builder.forwardEntryId;
this.forwardTableId = builder.forwardTableId;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteForwardEntryRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clientToken
*/
public String getClientToken() {
return this.clientToken;
}
/**
* @return forwardEntryId
*/
public String getForwardEntryId() {
return this.forwardEntryId;
}
/**
* @return forwardTableId
*/
public String getForwardTableId() {
return this.forwardTableId;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder<DeleteForwardEntryRequest, Builder> {
private String clientToken;
private String forwardEntryId;
private String forwardTableId;
private String ownerAccount;
private Long ownerId;
private String regionId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private Builder() {
super();
}
private Builder(DeleteForwardEntryRequest request) {
super(request);
this.clientToken = request.clientToken;
this.forwardEntryId = request.forwardEntryId;
this.forwardTableId = request.forwardTableId;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* <p>The client token that is used to ensure the idempotence of the request.</p>
* <p>You can use the client to generate the token, but you must make sure that the token is unique among different requests. The client token can contain only ASCII characters.</p>
* <blockquote>
* <p> If you do not specify this parameter, the system automatically uses the <strong>request ID</strong> as the <strong>client token</strong>. The <strong>request ID</strong> may be different for each request.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>123e4567-e89b-12d3-a456-426655440000</p>
*/
public Builder clientToken(String clientToken) {
this.putQueryParameter("ClientToken", clientToken);
this.clientToken = clientToken;
return this;
}
/**
* <p>The ID of the DNAT entry to be deleted.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>fwd-8vbn3bc8roygjp0gy****</p>
*/
public Builder forwardEntryId(String forwardEntryId) {
this.putQueryParameter("ForwardEntryId", forwardEntryId);
this.forwardEntryId = forwardEntryId;
return this;
}
/**
* <p>The ID of the DNAT table to which the DNAT entry belongs.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ftb-8vbx8xu2lqj9qb334****</p>
*/
public Builder forwardTableId(String forwardTableId) {
this.putQueryParameter("ForwardTableId", forwardTableId);
this.forwardTableId = forwardTableId;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The region ID of the NAT gateway.</p>
* <p>You can call the <a href="https://help.aliyun.com/document_detail/36063.html">DescribeRegions</a> operation to query the most recent region list.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
@Override
public DeleteForwardEntryRequest build() {
return new DeleteForwardEntryRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteForwardEntryResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteForwardEntryResponse} extends {@link TeaModel}
*
* <p>DeleteForwardEntryResponse</p>
*/
public class DeleteForwardEntryResponse 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 DeleteForwardEntryResponseBody body;
private DeleteForwardEntryResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteForwardEntryResponse 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 DeleteForwardEntryResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteForwardEntryResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteForwardEntryResponseBody body);
@Override
DeleteForwardEntryResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteForwardEntryResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteForwardEntryResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteForwardEntryResponse 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(DeleteForwardEntryResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteForwardEntryResponse build() {
return new DeleteForwardEntryResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteForwardEntryResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteForwardEntryResponseBody} extends {@link TeaModel}
*
* <p>DeleteForwardEntryResponseBody</p>
*/
public class DeleteForwardEntryResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DeleteForwardEntryResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteForwardEntryResponseBody 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(DeleteForwardEntryResponseBody model) {
this.requestId = model.requestId;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>0ED8D006-F706-4D23-88ED-E11ED28DCAC0</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DeleteForwardEntryResponseBody build() {
return new DeleteForwardEntryResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteFullNatEntryRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteFullNatEntryRequest} extends {@link RequestModel}
*
* <p>DeleteFullNatEntryRequest</p>
*/
public class DeleteFullNatEntryRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClientToken")
private String clientToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DryRun")
private Boolean dryRun;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("FullNatEntryId")
@com.aliyun.core.annotation.Validation(required = true)
private String fullNatEntryId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("FullNatTableId")
@com.aliyun.core.annotation.Validation(required = true)
private String fullNatTableId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
private DeleteFullNatEntryRequest(Builder builder) {
super(builder);
this.clientToken = builder.clientToken;
this.dryRun = builder.dryRun;
this.fullNatEntryId = builder.fullNatEntryId;
this.fullNatTableId = builder.fullNatTableId;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteFullNatEntryRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clientToken
*/
public String getClientToken() {
return this.clientToken;
}
/**
* @return dryRun
*/
public Boolean getDryRun() {
return this.dryRun;
}
/**
* @return fullNatEntryId
*/
public String getFullNatEntryId() {
return this.fullNatEntryId;
}
/**
* @return fullNatTableId
*/
public String getFullNatTableId() {
return this.fullNatTableId;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder<DeleteFullNatEntryRequest, Builder> {
private String clientToken;
private Boolean dryRun;
private String fullNatEntryId;
private String fullNatTableId;
private String ownerAccount;
private Long ownerId;
private String regionId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private Builder() {
super();
}
private Builder(DeleteFullNatEntryRequest request) {
super(request);
this.clientToken = request.clientToken;
this.dryRun = request.dryRun;
this.fullNatEntryId = request.fullNatEntryId;
this.fullNatTableId = request.fullNatTableId;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* <p>The client token that is used to ensure the idempotence of the request.</p>
* <p>You can use the client to generate the token, but you must make sure that the token is unique among different requests. The client token can contain only ASCII characters.</p>
* <blockquote>
* <p> If you do not specify this parameter, the system automatically uses the <strong>request ID</strong> as the <strong>client token</strong>. The <strong>request ID</strong> may be different for each request.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>5A2CFF0E-5718-45B5-9D4D-70B3FF3898</p>
*/
public Builder clientToken(String clientToken) {
this.putQueryParameter("ClientToken", clientToken);
this.clientToken = clientToken;
return this;
}
/**
* <p>Specifies whether to perform only a dry run, without performing the actual request. Valid values:</p>
* <ul>
* <li><strong>true</strong>: performs a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, the related error message is returned. If the request passes the dry run, the DryRunOperation error code is returned.</li>
* <li><strong>false</strong>: performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.</li>
* </ul>
*
* <strong>example:</strong>
* <p>false</p>
*/
public Builder dryRun(Boolean dryRun) {
this.putQueryParameter("DryRun", dryRun);
this.dryRun = dryRun;
return this;
}
/**
* <p>The ID of the FULLNAT entry that you want to delete.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>fullnat-gw8fz23jezpbblf1j****</p>
*/
public Builder fullNatEntryId(String fullNatEntryId) {
this.putQueryParameter("FullNatEntryId", fullNatEntryId);
this.fullNatEntryId = fullNatEntryId;
return this;
}
/**
* <p>The ID of the FULLNAT table to which the FULLNAT entry to be deleted belongs.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>fulltb-gw88z7hhlv43rmb26****</p>
*/
public Builder fullNatTableId(String fullNatTableId) {
this.putQueryParameter("FullNatTableId", fullNatTableId);
this.fullNatTableId = fullNatTableId;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The region ID of the VPC NAT gateway to which the FULLNAT entry to be deleted belongs.</p>
* <p>You can call the <a href="https://help.aliyun.com/document_detail/36063.html">DescribeRegions</a> operation to query the most recent list of regions.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>eu-central-1</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
@Override
public DeleteFullNatEntryRequest build() {
return new DeleteFullNatEntryRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteFullNatEntryResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteFullNatEntryResponse} extends {@link TeaModel}
*
* <p>DeleteFullNatEntryResponse</p>
*/
public class DeleteFullNatEntryResponse 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 DeleteFullNatEntryResponseBody body;
private DeleteFullNatEntryResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteFullNatEntryResponse 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 DeleteFullNatEntryResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteFullNatEntryResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteFullNatEntryResponseBody body);
@Override
DeleteFullNatEntryResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteFullNatEntryResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteFullNatEntryResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteFullNatEntryResponse 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(DeleteFullNatEntryResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteFullNatEntryResponse build() {
return new DeleteFullNatEntryResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteFullNatEntryResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteFullNatEntryResponseBody} extends {@link TeaModel}
*
* <p>DeleteFullNatEntryResponseBody</p>
*/
public class DeleteFullNatEntryResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DeleteFullNatEntryResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteFullNatEntryResponseBody 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(DeleteFullNatEntryResponseBody model) {
this.requestId = model.requestId;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>2BCC426F-A9F2-3F03-99D2-1E0D647236DB</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DeleteFullNatEntryResponseBody build() {
return new DeleteFullNatEntryResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteGlobalAccelerationInstanceRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteGlobalAccelerationInstanceRequest} extends {@link RequestModel}
*
* <p>DeleteGlobalAccelerationInstanceRequest</p>
*/
public class DeleteGlobalAccelerationInstanceRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("GlobalAccelerationInstanceId")
@com.aliyun.core.annotation.Validation(required = true)
private String globalAccelerationInstanceId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
private DeleteGlobalAccelerationInstanceRequest(Builder builder) {
super(builder);
this.globalAccelerationInstanceId = builder.globalAccelerationInstanceId;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteGlobalAccelerationInstanceRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return globalAccelerationInstanceId
*/
public String getGlobalAccelerationInstanceId() {
return this.globalAccelerationInstanceId;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder<DeleteGlobalAccelerationInstanceRequest, Builder> {
private String globalAccelerationInstanceId;
private String ownerAccount;
private Long ownerId;
private String regionId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private Builder() {
super();
}
private Builder(DeleteGlobalAccelerationInstanceRequest request) {
super(request);
this.globalAccelerationInstanceId = request.globalAccelerationInstanceId;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* <p>The ID of the GA instance.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ga-asdfsl22s****</p>
*/
public Builder globalAccelerationInstanceId(String globalAccelerationInstanceId) {
this.putQueryParameter("GlobalAccelerationInstanceId", globalAccelerationInstanceId);
this.globalAccelerationInstanceId = globalAccelerationInstanceId;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The region ID of the GA instance.</p>
* <p>You can call the <a href="https://help.aliyun.com/document_detail/36063.html">DescribeRegions</a> operation to query the most recent region list.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
@Override
public DeleteGlobalAccelerationInstanceRequest build() {
return new DeleteGlobalAccelerationInstanceRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteGlobalAccelerationInstanceResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteGlobalAccelerationInstanceResponse} extends {@link TeaModel}
*
* <p>DeleteGlobalAccelerationInstanceResponse</p>
*/
public class DeleteGlobalAccelerationInstanceResponse 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 DeleteGlobalAccelerationInstanceResponseBody body;
private DeleteGlobalAccelerationInstanceResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteGlobalAccelerationInstanceResponse 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 DeleteGlobalAccelerationInstanceResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteGlobalAccelerationInstanceResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteGlobalAccelerationInstanceResponseBody body);
@Override
DeleteGlobalAccelerationInstanceResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteGlobalAccelerationInstanceResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteGlobalAccelerationInstanceResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteGlobalAccelerationInstanceResponse 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(DeleteGlobalAccelerationInstanceResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteGlobalAccelerationInstanceResponse build() {
return new DeleteGlobalAccelerationInstanceResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteGlobalAccelerationInstanceResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteGlobalAccelerationInstanceResponseBody} extends {@link TeaModel}
*
* <p>DeleteGlobalAccelerationInstanceResponseBody</p>
*/
public class DeleteGlobalAccelerationInstanceResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DeleteGlobalAccelerationInstanceResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteGlobalAccelerationInstanceResponseBody 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(DeleteGlobalAccelerationInstanceResponseBody model) {
this.requestId = model.requestId;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>E6E63B2A-9820-44A8-A359-9BB2DAEE6424</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DeleteGlobalAccelerationInstanceResponseBody build() {
return new DeleteGlobalAccelerationInstanceResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteHaVipRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteHaVipRequest} extends {@link RequestModel}
*
* <p>DeleteHaVipRequest</p>
*/
public class DeleteHaVipRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClientToken")
private String clientToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("HaVipId")
@com.aliyun.core.annotation.Validation(required = true)
private String haVipId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
private DeleteHaVipRequest(Builder builder) {
super(builder);
this.clientToken = builder.clientToken;
this.haVipId = builder.haVipId;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteHaVipRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clientToken
*/
public String getClientToken() {
return this.clientToken;
}
/**
* @return haVipId
*/
public String getHaVipId() {
return this.haVipId;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder<DeleteHaVipRequest, Builder> {
private String clientToken;
private String haVipId;
private String ownerAccount;
private Long ownerId;
private String regionId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private Builder() {
super();
}
private Builder(DeleteHaVipRequest request) {
super(request);
this.clientToken = request.clientToken;
this.haVipId = request.haVipId;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* <p>The client token that is used to ensure the idempotence of the request.</p>
* <p>You can use the client to generate the value, but you must make sure that it is unique among different requests. The client token can contain only ASCII characters.</p>
* <blockquote>
* <p> If you do not set this parameter, the system uses <strong>RequestId</strong> as <strong>ClientToken</strong>. The value of <strong>RequestId</strong> in each API request may be different.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>0c593ea1-3bea-11e9-b96b-88e9fe637760</p>
*/
public Builder clientToken(String clientToken) {
this.putQueryParameter("ClientToken", clientToken);
this.clientToken = clientToken;
return this;
}
/**
* <p>The ID of the HaVip that you want to delete.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>havip-2zeo05qre24nhrqpy****</p>
*/
public Builder haVipId(String haVipId) {
this.putQueryParameter("HaVipId", haVipId);
this.haVipId = haVipId;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The region where the HaVip resides. Call the <a href="https://help.aliyun.com/document_detail/36063.html">DescribeRegions</a> operation to query the region list.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-shanghai</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
@Override
public DeleteHaVipRequest build() {
return new DeleteHaVipRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteHaVipResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteHaVipResponse} extends {@link TeaModel}
*
* <p>DeleteHaVipResponse</p>
*/
public class DeleteHaVipResponse 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 DeleteHaVipResponseBody body;
private DeleteHaVipResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteHaVipResponse 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 DeleteHaVipResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteHaVipResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteHaVipResponseBody body);
@Override
DeleteHaVipResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteHaVipResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteHaVipResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteHaVipResponse 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(DeleteHaVipResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteHaVipResponse build() {
return new DeleteHaVipResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteHaVipResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteHaVipResponseBody} extends {@link TeaModel}
*
* <p>DeleteHaVipResponseBody</p>
*/
public class DeleteHaVipResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DeleteHaVipResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteHaVipResponseBody 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(DeleteHaVipResponseBody model) {
this.requestId = model.requestId;
}
/**
* <p>The ID of the request.</p>
*
* <strong>example:</strong>
* <p>C44F62BE-9CE7-4277-B117-69243F3988BF</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DeleteHaVipResponseBody build() {
return new DeleteHaVipResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteIPv6TranslatorAclListRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteIPv6TranslatorAclListRequest} extends {@link RequestModel}
*
* <p>DeleteIPv6TranslatorAclListRequest</p>
*/
public class DeleteIPv6TranslatorAclListRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AclId")
@com.aliyun.core.annotation.Validation(required = true)
private String aclId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClientToken")
private String clientToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
private DeleteIPv6TranslatorAclListRequest(Builder builder) {
super(builder);
this.aclId = builder.aclId;
this.clientToken = builder.clientToken;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteIPv6TranslatorAclListRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return aclId
*/
public String getAclId() {
return this.aclId;
}
/**
* @return clientToken
*/
public String getClientToken() {
return this.clientToken;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder<DeleteIPv6TranslatorAclListRequest, Builder> {
private String aclId;
private String clientToken;
private String ownerAccount;
private Long ownerId;
private String regionId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private Builder() {
super();
}
private Builder(DeleteIPv6TranslatorAclListRequest request) {
super(request);
this.aclId = request.aclId;
this.clientToken = request.clientToken;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* <p>The ID of the ACL that you want to delete.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ipv6transacl-bp1de2****</p>
*/
public Builder aclId(String aclId) {
this.putQueryParameter("AclId", aclId);
this.aclId = aclId;
return this;
}
/**
* <p>The client token that is used to ensure the idempotence of the request.</p>
* <p>You can use the client to generate the token, but you must make sure that the token is unique among all requests. The token can contain only ASCII characters.</p>
*
* <strong>example:</strong>
* <p>123e4567-e89b-12d3-a456-426655440000</p>
*/
public Builder clientToken(String clientToken) {
this.putQueryParameter("ClientToken", clientToken);
this.clientToken = clientToken;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The region of the IPv6 translation service instance.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
@Override
public DeleteIPv6TranslatorAclListRequest build() {
return new DeleteIPv6TranslatorAclListRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteIPv6TranslatorAclListResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteIPv6TranslatorAclListResponse} extends {@link TeaModel}
*
* <p>DeleteIPv6TranslatorAclListResponse</p>
*/
public class DeleteIPv6TranslatorAclListResponse 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 DeleteIPv6TranslatorAclListResponseBody body;
private DeleteIPv6TranslatorAclListResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteIPv6TranslatorAclListResponse 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 DeleteIPv6TranslatorAclListResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteIPv6TranslatorAclListResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteIPv6TranslatorAclListResponseBody body);
@Override
DeleteIPv6TranslatorAclListResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteIPv6TranslatorAclListResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteIPv6TranslatorAclListResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteIPv6TranslatorAclListResponse 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(DeleteIPv6TranslatorAclListResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteIPv6TranslatorAclListResponse build() {
return new DeleteIPv6TranslatorAclListResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteIPv6TranslatorAclListResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteIPv6TranslatorAclListResponseBody} extends {@link TeaModel}
*
* <p>DeleteIPv6TranslatorAclListResponseBody</p>
*/
public class DeleteIPv6TranslatorAclListResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DeleteIPv6TranslatorAclListResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteIPv6TranslatorAclListResponseBody 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(DeleteIPv6TranslatorAclListResponseBody model) {
this.requestId = model.requestId;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>54B48E3D-DF70-471B-AA93-08E683A1B45</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DeleteIPv6TranslatorAclListResponseBody build() {
return new DeleteIPv6TranslatorAclListResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteIPv6TranslatorEntryRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteIPv6TranslatorEntryRequest} extends {@link RequestModel}
*
* <p>DeleteIPv6TranslatorEntryRequest</p>
*/
public class DeleteIPv6TranslatorEntryRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClientToken")
private String clientToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Ipv6TranslatorEntryId")
private String ipv6TranslatorEntryId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Ipv6TranslatorId")
private String ipv6TranslatorId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
private DeleteIPv6TranslatorEntryRequest(Builder builder) {
super(builder);
this.clientToken = builder.clientToken;
this.ipv6TranslatorEntryId = builder.ipv6TranslatorEntryId;
this.ipv6TranslatorId = builder.ipv6TranslatorId;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteIPv6TranslatorEntryRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clientToken
*/
public String getClientToken() {
return this.clientToken;
}
/**
* @return ipv6TranslatorEntryId
*/
public String getIpv6TranslatorEntryId() {
return this.ipv6TranslatorEntryId;
}
/**
* @return ipv6TranslatorId
*/
public String getIpv6TranslatorId() {
return this.ipv6TranslatorId;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder<DeleteIPv6TranslatorEntryRequest, Builder> {
private String clientToken;
private String ipv6TranslatorEntryId;
private String ipv6TranslatorId;
private String ownerAccount;
private Long ownerId;
private String regionId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private Builder() {
super();
}
private Builder(DeleteIPv6TranslatorEntryRequest request) {
super(request);
this.clientToken = request.clientToken;
this.ipv6TranslatorEntryId = request.ipv6TranslatorEntryId;
this.ipv6TranslatorId = request.ipv6TranslatorId;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* <p>The client token that is used to ensure the idempotence of the request.</p>
* <p>You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.</p>
*
* <strong>example:</strong>
* <p>123e4567-e89b-12d3-a456-426655440000</p>
*/
public Builder clientToken(String clientToken) {
this.putQueryParameter("ClientToken", clientToken);
this.clientToken = clientToken;
return this;
}
/**
* <p>The ID of the IPv6 mapping entry to be deleted.</p>
*
* <strong>example:</strong>
* <p>ipv6transentry-bp1g8bhrde****</p>
*/
public Builder ipv6TranslatorEntryId(String ipv6TranslatorEntryId) {
this.putQueryParameter("Ipv6TranslatorEntryId", ipv6TranslatorEntryId);
this.ipv6TranslatorEntryId = ipv6TranslatorEntryId;
return this;
}
/**
* <p>The ID of the IPv6 Translation Service instance.</p>
* <blockquote>
* <p>If you do not specify <strong>Ipv6TranslatorEntryId</strong>, all mapping entries in the specified instance are deleted.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>ipv6trans-bp1858ys****</p>
*/
public Builder ipv6TranslatorId(String ipv6TranslatorId) {
this.putQueryParameter("Ipv6TranslatorId", ipv6TranslatorId);
this.ipv6TranslatorId = ipv6TranslatorId;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The region of the IPv6 Translation Service instance. You can call the <strong>DescribeRegions</strong> operation to query the most recent region list.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
@Override
public DeleteIPv6TranslatorEntryRequest build() {
return new DeleteIPv6TranslatorEntryRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteIPv6TranslatorEntryResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteIPv6TranslatorEntryResponse} extends {@link TeaModel}
*
* <p>DeleteIPv6TranslatorEntryResponse</p>
*/
public class DeleteIPv6TranslatorEntryResponse 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 DeleteIPv6TranslatorEntryResponseBody body;
private DeleteIPv6TranslatorEntryResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteIPv6TranslatorEntryResponse 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 DeleteIPv6TranslatorEntryResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteIPv6TranslatorEntryResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteIPv6TranslatorEntryResponseBody body);
@Override
DeleteIPv6TranslatorEntryResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteIPv6TranslatorEntryResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteIPv6TranslatorEntryResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteIPv6TranslatorEntryResponse 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(DeleteIPv6TranslatorEntryResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteIPv6TranslatorEntryResponse build() {
return new DeleteIPv6TranslatorEntryResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteIPv6TranslatorEntryResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteIPv6TranslatorEntryResponseBody} extends {@link TeaModel}
*
* <p>DeleteIPv6TranslatorEntryResponseBody</p>
*/
public class DeleteIPv6TranslatorEntryResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DeleteIPv6TranslatorEntryResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteIPv6TranslatorEntryResponseBody 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(DeleteIPv6TranslatorEntryResponseBody model) {
this.requestId = model.requestId;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>8B2F5262-6B57-43F2-xxxxx</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DeleteIPv6TranslatorEntryResponseBody build() {
return new DeleteIPv6TranslatorEntryResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteIPv6TranslatorRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteIPv6TranslatorRequest} extends {@link RequestModel}
*
* <p>DeleteIPv6TranslatorRequest</p>
*/
public class DeleteIPv6TranslatorRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClientToken")
private String clientToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Ipv6TranslatorId")
@com.aliyun.core.annotation.Validation(required = true)
private String ipv6TranslatorId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
private DeleteIPv6TranslatorRequest(Builder builder) {
super(builder);
this.clientToken = builder.clientToken;
this.ipv6TranslatorId = builder.ipv6TranslatorId;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteIPv6TranslatorRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clientToken
*/
public String getClientToken() {
return this.clientToken;
}
/**
* @return ipv6TranslatorId
*/
public String getIpv6TranslatorId() {
return this.ipv6TranslatorId;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder<DeleteIPv6TranslatorRequest, Builder> {
private String clientToken;
private String ipv6TranslatorId;
private String ownerAccount;
private Long ownerId;
private String regionId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private Builder() {
super();
}
private Builder(DeleteIPv6TranslatorRequest request) {
super(request);
this.clientToken = request.clientToken;
this.ipv6TranslatorId = request.ipv6TranslatorId;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* <p>The client token that is used to ensure the idempotence of the request.</p>
* <p>You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.</p>
*
* <strong>example:</strong>
* <p>ClientToken</p>
*/
public Builder clientToken(String clientToken) {
this.putQueryParameter("ClientToken", clientToken);
this.clientToken = clientToken;
return this;
}
/**
* <p>The ID of the IPv6 Translation Service instance.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ipv6trans-bp1i8ahxut1ie****</p>
*/
public Builder ipv6TranslatorId(String ipv6TranslatorId) {
this.putQueryParameter("Ipv6TranslatorId", ipv6TranslatorId);
this.ipv6TranslatorId = ipv6TranslatorId;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The region ID of the IPv6 Translation Service instance.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
@Override
public DeleteIPv6TranslatorRequest build() {
return new DeleteIPv6TranslatorRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteIPv6TranslatorResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteIPv6TranslatorResponse} extends {@link TeaModel}
*
* <p>DeleteIPv6TranslatorResponse</p>
*/
public class DeleteIPv6TranslatorResponse 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 DeleteIPv6TranslatorResponseBody body;
private DeleteIPv6TranslatorResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteIPv6TranslatorResponse 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 DeleteIPv6TranslatorResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteIPv6TranslatorResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteIPv6TranslatorResponseBody body);
@Override
DeleteIPv6TranslatorResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteIPv6TranslatorResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteIPv6TranslatorResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteIPv6TranslatorResponse 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(DeleteIPv6TranslatorResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteIPv6TranslatorResponse build() {
return new DeleteIPv6TranslatorResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteIPv6TranslatorResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteIPv6TranslatorResponseBody} extends {@link TeaModel}
*
* <p>DeleteIPv6TranslatorResponseBody</p>
*/
public class DeleteIPv6TranslatorResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DeleteIPv6TranslatorResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteIPv6TranslatorResponseBody 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(DeleteIPv6TranslatorResponseBody model) {
this.requestId = model.requestId;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>54B48E3D-DF70-471B-AA93-08E683A1B45</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DeleteIPv6TranslatorResponseBody build() {
return new DeleteIPv6TranslatorResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteIpsecServerRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteIpsecServerRequest} extends {@link RequestModel}
*
* <p>DeleteIpsecServerRequest</p>
*/
public class DeleteIpsecServerRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClientToken")
private String clientToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DryRun")
private String dryRun;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("IpsecServerId")
@com.aliyun.core.annotation.Validation(required = true)
private String ipsecServerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String regionId;
private DeleteIpsecServerRequest(Builder builder) {
super(builder);
this.clientToken = builder.clientToken;
this.dryRun = builder.dryRun;
this.ipsecServerId = builder.ipsecServerId;
this.regionId = builder.regionId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteIpsecServerRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clientToken
*/
public String getClientToken() {
return this.clientToken;
}
/**
* @return dryRun
*/
public String getDryRun() {
return this.dryRun;
}
/**
* @return ipsecServerId
*/
public String getIpsecServerId() {
return this.ipsecServerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
public static final class Builder extends Request.Builder<DeleteIpsecServerRequest, Builder> {
private String clientToken;
private String dryRun;
private String ipsecServerId;
private String regionId;
private Builder() {
super();
}
private Builder(DeleteIpsecServerRequest request) {
super(request);
this.clientToken = request.clientToken;
this.dryRun = request.dryRun;
this.ipsecServerId = request.ipsecServerId;
this.regionId = request.regionId;
}
/**
* <p>The client token that is used to ensure the idempotence of the request.</p>
* <p>You can use the client to generate the token, but you must make sure that the token is unique among different requests. The client token can contain only ASCII characters.</p>
* <blockquote>
* <p> If you do not specify this parameter, the system automatically uses the <strong>request ID</strong> as the <strong>client token</strong>. The <strong>request ID</strong> may be different for each request.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>02fb3da4-130e-11e9-8e44-00****</p>
*/
public Builder clientToken(String clientToken) {
this.putQueryParameter("ClientToken", clientToken);
this.clientToken = clientToken;
return this;
}
/**
* <p>Specifies whether to perform only a dry run, without performing the actual request. Valid values:</p>
* <ul>
* <li><strong>true</strong>: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the <code>DryRunOperation</code> error code is returned.</li>
* <li><strong>false</strong> (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.</li>
* </ul>
*
* <strong>example:</strong>
* <p>false</p>
*/
public Builder dryRun(String dryRun) {
this.putQueryParameter("DryRun", dryRun);
this.dryRun = dryRun;
return this;
}
/**
* <p>The ID of the IPsec server.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>iss-bp1jougp8cfsbo8y9****</p>
*/
public Builder ipsecServerId(String ipsecServerId) {
this.putQueryParameter("IpsecServerId", ipsecServerId);
this.ipsecServerId = ipsecServerId;
return this;
}
/**
* <p>The ID of the region where the IPsec server is created.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
@Override
public DeleteIpsecServerRequest build() {
return new DeleteIpsecServerRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteIpsecServerResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteIpsecServerResponse} extends {@link TeaModel}
*
* <p>DeleteIpsecServerResponse</p>
*/
public class DeleteIpsecServerResponse 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 DeleteIpsecServerResponseBody body;
private DeleteIpsecServerResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteIpsecServerResponse 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 DeleteIpsecServerResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteIpsecServerResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteIpsecServerResponseBody body);
@Override
DeleteIpsecServerResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteIpsecServerResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteIpsecServerResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteIpsecServerResponse 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(DeleteIpsecServerResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteIpsecServerResponse build() {
return new DeleteIpsecServerResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteIpsecServerResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteIpsecServerResponseBody} extends {@link TeaModel}
*
* <p>DeleteIpsecServerResponseBody</p>
*/
public class DeleteIpsecServerResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DeleteIpsecServerResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteIpsecServerResponseBody 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(DeleteIpsecServerResponseBody model) {
this.requestId = model.requestId;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>0ED8D006-F706-4D23-88ED-E11ED28DCAC0</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DeleteIpsecServerResponseBody build() {
return new DeleteIpsecServerResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteIpv4GatewayRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteIpv4GatewayRequest} extends {@link RequestModel}
*
* <p>DeleteIpv4GatewayRequest</p>
*/
public class DeleteIpv4GatewayRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClientToken")
private String clientToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DryRun")
private Boolean dryRun;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("InternetMode")
private String internetMode;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Ipv4GatewayId")
@com.aliyun.core.annotation.Validation(required = true)
private String ipv4GatewayId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
private DeleteIpv4GatewayRequest(Builder builder) {
super(builder);
this.clientToken = builder.clientToken;
this.dryRun = builder.dryRun;
this.internetMode = builder.internetMode;
this.ipv4GatewayId = builder.ipv4GatewayId;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteIpv4GatewayRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clientToken
*/
public String getClientToken() {
return this.clientToken;
}
/**
* @return dryRun
*/
public Boolean getDryRun() {
return this.dryRun;
}
/**
* @return internetMode
*/
public String getInternetMode() {
return this.internetMode;
}
/**
* @return ipv4GatewayId
*/
public String getIpv4GatewayId() {
return this.ipv4GatewayId;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder<DeleteIpv4GatewayRequest, Builder> {
private String clientToken;
private Boolean dryRun;
private String internetMode;
private String ipv4GatewayId;
private String ownerAccount;
private Long ownerId;
private String regionId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private Builder() {
super();
}
private Builder(DeleteIpv4GatewayRequest request) {
super(request);
this.clientToken = request.clientToken;
this.dryRun = request.dryRun;
this.internetMode = request.internetMode;
this.ipv4GatewayId = request.ipv4GatewayId;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* <p>The client token that is used to ensure the idempotence of the request.</p>
* <p>You can use the client to generate the token, but you must make sure that the token is unique among different requests. The client token can contain only ASCII characters.</p>
* <blockquote>
* <p> If you do not specify this parameter, the system automatically uses the <strong>request ID</strong> as the <strong>client token</strong>. The <strong>request ID</strong> may be different for each request.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>123e4567-e89b-12d3-a456-426655440000</p>
*/
public Builder clientToken(String clientToken) {
this.putQueryParameter("ClientToken", clientToken);
this.clientToken = clientToken;
return this;
}
/**
* <p>Specifies whether to perform a dry run, without performing the actual request. Valid values:</p>
* <ul>
* <li><strong>true</strong>: performs only a dry run, without performing the actual request. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the <code>DryRunOperation</code> error code is returned.</li>
* <li><strong>false</strong> (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.</li>
* </ul>
*
* <strong>example:</strong>
* <p>false</p>
*/
public Builder dryRun(Boolean dryRun) {
this.putQueryParameter("DryRun", dryRun);
this.dryRun = dryRun;
return this;
}
/**
* <p>Select the public network mode of the VPC after deleting the IPv4 gateway. The values are:</p>
* <ul>
* <li><strong>private</strong>: Default value, after deleting the IPv4 gateway, the VPC will become a pure private VPC without public network access capability. </li>
* <li><strong>public</strong>: After deleting the IPv4 gateway, the VPC"s public network access is no longer centrally controlled by the IPv4 gateway, and instances with public IPs bound can access the public network by default.</li>
* </ul>
*
* <strong>example:</strong>
* <p>public</p>
*/
public Builder internetMode(String internetMode) {
this.putQueryParameter("InternetMode", internetMode);
this.internetMode = internetMode;
return this;
}
/**
* <p>The ID of the IPv4 gateway that you want to delete.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ipv4gw-5tsnc6s4ogsedtp3k****</p>
*/
public Builder ipv4GatewayId(String ipv4GatewayId) {
this.putQueryParameter("Ipv4GatewayId", ipv4GatewayId);
this.ipv4GatewayId = ipv4GatewayId;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The region ID of the IPv4 gateway that you want to delete.</p>
* <p>You can call the <a href="https://help.aliyun.com/document_detail/36063.html">DescribeRegions</a> operation to query the most recent region list.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ap-southeast-6</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
@Override
public DeleteIpv4GatewayRequest build() {
return new DeleteIpv4GatewayRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteIpv4GatewayResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteIpv4GatewayResponse} extends {@link TeaModel}
*
* <p>DeleteIpv4GatewayResponse</p>
*/
public class DeleteIpv4GatewayResponse 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 DeleteIpv4GatewayResponseBody body;
private DeleteIpv4GatewayResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteIpv4GatewayResponse 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 DeleteIpv4GatewayResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteIpv4GatewayResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteIpv4GatewayResponseBody body);
@Override
DeleteIpv4GatewayResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteIpv4GatewayResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteIpv4GatewayResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteIpv4GatewayResponse 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(DeleteIpv4GatewayResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteIpv4GatewayResponse build() {
return new DeleteIpv4GatewayResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteIpv4GatewayResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteIpv4GatewayResponseBody} extends {@link TeaModel}
*
* <p>DeleteIpv4GatewayResponseBody</p>
*/
public class DeleteIpv4GatewayResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DeleteIpv4GatewayResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteIpv4GatewayResponseBody 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(DeleteIpv4GatewayResponseBody model) {
this.requestId = model.requestId;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>21133AC0-0636-521B-A400-253818691A56</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DeleteIpv4GatewayResponseBody build() {
return new DeleteIpv4GatewayResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteIpv6EgressOnlyRuleRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteIpv6EgressOnlyRuleRequest} extends {@link RequestModel}
*
* <p>DeleteIpv6EgressOnlyRuleRequest</p>
*/
public class DeleteIpv6EgressOnlyRuleRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClientToken")
private String clientToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Ipv6EgressOnlyRuleId")
@com.aliyun.core.annotation.Validation(required = true)
private String ipv6EgressOnlyRuleId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
private DeleteIpv6EgressOnlyRuleRequest(Builder builder) {
super(builder);
this.clientToken = builder.clientToken;
this.ipv6EgressOnlyRuleId = builder.ipv6EgressOnlyRuleId;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteIpv6EgressOnlyRuleRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clientToken
*/
public String getClientToken() {
return this.clientToken;
}
/**
* @return ipv6EgressOnlyRuleId
*/
public String getIpv6EgressOnlyRuleId() {
return this.ipv6EgressOnlyRuleId;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder<DeleteIpv6EgressOnlyRuleRequest, Builder> {
private String clientToken;
private String ipv6EgressOnlyRuleId;
private String ownerAccount;
private Long ownerId;
private String regionId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private Builder() {
super();
}
private Builder(DeleteIpv6EgressOnlyRuleRequest request) {
super(request);
this.clientToken = request.clientToken;
this.ipv6EgressOnlyRuleId = request.ipv6EgressOnlyRuleId;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* <p>The client token that is used to ensure the idempotence of the request.</p>
* <p>You can use the client to generate a token, but you must make sure that the token is unique among different requests. The client token can contain only ASCII characters.</p>
* <blockquote>
* <p> If you do not specify this parameter, the system automatically uses the value of <strong>RequestId</strong> as the <strong>client token</strong>. The value of <strong>RequestId</strong> is different for each API request.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>123456</p>
*/
public Builder clientToken(String clientToken) {
this.putQueryParameter("ClientToken", clientToken);
this.clientToken = clientToken;
return this;
}
/**
* <p>The ID of the egress-only rule that you want to delete.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ipv6py-hp3w98rmlbqp0xxxxxxxx</p>
*/
public Builder ipv6EgressOnlyRuleId(String ipv6EgressOnlyRuleId) {
this.putQueryParameter("Ipv6EgressOnlyRuleId", ipv6EgressOnlyRuleId);
this.ipv6EgressOnlyRuleId = ipv6EgressOnlyRuleId;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The region ID of the IPv6 gateway. You can call the <a href="https://help.aliyun.com/document_detail/448570.html">DescribeRegions</a> operation to query the most recent region list.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-huhehaote</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
@Override
public DeleteIpv6EgressOnlyRuleRequest build() {
return new DeleteIpv6EgressOnlyRuleRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteIpv6EgressOnlyRuleResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteIpv6EgressOnlyRuleResponse} extends {@link TeaModel}
*
* <p>DeleteIpv6EgressOnlyRuleResponse</p>
*/
public class DeleteIpv6EgressOnlyRuleResponse 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 DeleteIpv6EgressOnlyRuleResponseBody body;
private DeleteIpv6EgressOnlyRuleResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteIpv6EgressOnlyRuleResponse 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 DeleteIpv6EgressOnlyRuleResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteIpv6EgressOnlyRuleResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteIpv6EgressOnlyRuleResponseBody body);
@Override
DeleteIpv6EgressOnlyRuleResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteIpv6EgressOnlyRuleResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteIpv6EgressOnlyRuleResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteIpv6EgressOnlyRuleResponse 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(DeleteIpv6EgressOnlyRuleResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteIpv6EgressOnlyRuleResponse build() {
return new DeleteIpv6EgressOnlyRuleResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteIpv6EgressOnlyRuleResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteIpv6EgressOnlyRuleResponseBody} extends {@link TeaModel}
*
* <p>DeleteIpv6EgressOnlyRuleResponseBody</p>
*/
public class DeleteIpv6EgressOnlyRuleResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DeleteIpv6EgressOnlyRuleResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteIpv6EgressOnlyRuleResponseBody 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(DeleteIpv6EgressOnlyRuleResponseBody model) {
this.requestId = model.requestId;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>9DFEDBEE-E5AB-49E8-A2DC-CC114C67AF75</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DeleteIpv6EgressOnlyRuleResponseBody build() {
return new DeleteIpv6EgressOnlyRuleResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteIpv6GatewayRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteIpv6GatewayRequest} extends {@link RequestModel}
*
* <p>DeleteIpv6GatewayRequest</p>
*/
public class DeleteIpv6GatewayRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClientToken")
private String clientToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DryRun")
private Boolean dryRun;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Ipv6GatewayId")
@com.aliyun.core.annotation.Validation(required = true)
private String ipv6GatewayId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
private DeleteIpv6GatewayRequest(Builder builder) {
super(builder);
this.clientToken = builder.clientToken;
this.dryRun = builder.dryRun;
this.ipv6GatewayId = builder.ipv6GatewayId;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteIpv6GatewayRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clientToken
*/
public String getClientToken() {
return this.clientToken;
}
/**
* @return dryRun
*/
public Boolean getDryRun() {
return this.dryRun;
}
/**
* @return ipv6GatewayId
*/
public String getIpv6GatewayId() {
return this.ipv6GatewayId;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder<DeleteIpv6GatewayRequest, Builder> {
private String clientToken;
private Boolean dryRun;
private String ipv6GatewayId;
private String ownerAccount;
private Long ownerId;
private String regionId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private Builder() {
super();
}
private Builder(DeleteIpv6GatewayRequest request) {
super(request);
this.clientToken = request.clientToken;
this.dryRun = request.dryRun;
this.ipv6GatewayId = request.ipv6GatewayId;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* <p>The client token that is used to ensure the idempotence of the request.</p>
* <p>You can use the client to generate the token, but you must make sure that the token is unique among different requests. The client token can contain only ASCII characters.</p>
* <blockquote>
* <p>If you do not specify this parameter, the system automatically uses the <strong>request ID</strong> as the <strong>client token</strong>. The <strong>request ID</strong> may be different for each request.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>123e4567-e89b-12d3-a456-426655440000</p>
*/
public Builder clientToken(String clientToken) {
this.putQueryParameter("ClientToken", clientToken);
this.clientToken = clientToken;
return this;
}
/**
* <p>Specifies whether to perform only a dry run, without performing the actual request. Valid values:</p>
* <ul>
* <li><strong>true</strong>: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the <code>DryRunOperation</code> error code is returned.</li>
* <li><strong>false</strong> (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.</li>
* </ul>
*
* <strong>example:</strong>
* <p>false</p>
*/
public Builder dryRun(Boolean dryRun) {
this.putQueryParameter("DryRun", dryRun);
this.dryRun = dryRun;
return this;
}
/**
* <p>The ID of the IPv6 gateway that you want to delete.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ipv6gw-hp3y0l3ln89j8****</p>
*/
public Builder ipv6GatewayId(String ipv6GatewayId) {
this.putQueryParameter("Ipv6GatewayId", ipv6GatewayId);
this.ipv6GatewayId = ipv6GatewayId;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The region ID of the IPv6 gateway. You can call the <a href="https://help.aliyun.com/document_detail/36063.html">DescribeRegions</a> operation to query the most recent region list.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-huhehaote</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
@Override
public DeleteIpv6GatewayRequest build() {
return new DeleteIpv6GatewayRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteIpv6GatewayResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteIpv6GatewayResponse} extends {@link TeaModel}
*
* <p>DeleteIpv6GatewayResponse</p>
*/
public class DeleteIpv6GatewayResponse 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 DeleteIpv6GatewayResponseBody body;
private DeleteIpv6GatewayResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteIpv6GatewayResponse 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 DeleteIpv6GatewayResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteIpv6GatewayResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteIpv6GatewayResponseBody body);
@Override
DeleteIpv6GatewayResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteIpv6GatewayResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteIpv6GatewayResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteIpv6GatewayResponse 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(DeleteIpv6GatewayResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteIpv6GatewayResponse build() {
return new DeleteIpv6GatewayResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteIpv6GatewayResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteIpv6GatewayResponseBody} extends {@link TeaModel}
*
* <p>DeleteIpv6GatewayResponseBody</p>
*/
public class DeleteIpv6GatewayResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DeleteIpv6GatewayResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteIpv6GatewayResponseBody 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(DeleteIpv6GatewayResponseBody model) {
this.requestId = model.requestId;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>E9A8AABE-A84B-4AF2-A68A-8E2EA190E7AE</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DeleteIpv6GatewayResponseBody build() {
return new DeleteIpv6GatewayResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteIpv6InternetBandwidthRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteIpv6InternetBandwidthRequest} extends {@link RequestModel}
*
* <p>DeleteIpv6InternetBandwidthRequest</p>
*/
public class DeleteIpv6InternetBandwidthRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClientToken")
private String clientToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DryRun")
private Boolean dryRun;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Ipv6AddressId")
private String ipv6AddressId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Ipv6InternetBandwidthId")
private String ipv6InternetBandwidthId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
private DeleteIpv6InternetBandwidthRequest(Builder builder) {
super(builder);
this.clientToken = builder.clientToken;
this.dryRun = builder.dryRun;
this.ipv6AddressId = builder.ipv6AddressId;
this.ipv6InternetBandwidthId = builder.ipv6InternetBandwidthId;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteIpv6InternetBandwidthRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clientToken
*/
public String getClientToken() {
return this.clientToken;
}
/**
* @return dryRun
*/
public Boolean getDryRun() {
return this.dryRun;
}
/**
* @return ipv6AddressId
*/
public String getIpv6AddressId() {
return this.ipv6AddressId;
}
/**
* @return ipv6InternetBandwidthId
*/
public String getIpv6InternetBandwidthId() {
return this.ipv6InternetBandwidthId;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder<DeleteIpv6InternetBandwidthRequest, Builder> {
private String clientToken;
private Boolean dryRun;
private String ipv6AddressId;
private String ipv6InternetBandwidthId;
private String ownerAccount;
private Long ownerId;
private String regionId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private Builder() {
super();
}
private Builder(DeleteIpv6InternetBandwidthRequest request) {
super(request);
this.clientToken = request.clientToken;
this.dryRun = request.dryRun;
this.ipv6AddressId = request.ipv6AddressId;
this.ipv6InternetBandwidthId = request.ipv6InternetBandwidthId;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* <p>The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The client token can contain only ASCII characters. If you do not specify this parameter, the system automatically uses the request ID as the client token. The request ID may be different for each request.</p>
*
* <strong>example:</strong>
* <p>123e4567-e89b-12d3-a456-426655440000</p>
*/
public Builder clientToken(String clientToken) {
this.putQueryParameter("ClientToken", clientToken);
this.clientToken = clientToken;
return this;
}
/**
* <p>Specifies whether to perform only a dry run, without performing the actual request. Valid values:</p>
* <ul>
* <li><strong>true</strong>: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the <code>DryRunOperation</code> error code is returned.</li>
* <li><strong>false</strong> (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.</li>
* </ul>
*
* <strong>example:</strong>
* <p>true</p>
*/
public Builder dryRun(Boolean dryRun) {
this.putQueryParameter("DryRun", dryRun);
this.dryRun = dryRun;
return this;
}
/**
* <p>The ID of the IPv6 address.</p>
* <blockquote>
* <p> You must specify one of <strong>Ipv6AddressId</strong> and <strong>Ipv6InternetBandwidthId</strong>.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>ipv6-2zen5j4axcp5l5qyy****</p>
*/
public Builder ipv6AddressId(String ipv6AddressId) {
this.putQueryParameter("Ipv6AddressId", ipv6AddressId);
this.ipv6AddressId = ipv6AddressId;
return this;
}
/**
* <p>The instance ID of the Internet bandwidth of the IPv6 address.</p>
*
* <strong>example:</strong>
* <p>ipv6bw-uf6hcyzu65v98v3du****</p>
*/
public Builder ipv6InternetBandwidthId(String ipv6InternetBandwidthId) {
this.putQueryParameter("Ipv6InternetBandwidthId", ipv6InternetBandwidthId);
this.ipv6InternetBandwidthId = ipv6InternetBandwidthId;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The region ID of the IPv6 gateway.</p>
* <p>You can call the <a href="https://help.aliyun.com/document_detail/36063.html">DescribeRegions</a> operation to query the most recent region list.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-huhehaote</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
@Override
public DeleteIpv6InternetBandwidthRequest build() {
return new DeleteIpv6InternetBandwidthRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteIpv6InternetBandwidthResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteIpv6InternetBandwidthResponse} extends {@link TeaModel}
*
* <p>DeleteIpv6InternetBandwidthResponse</p>
*/
public class DeleteIpv6InternetBandwidthResponse 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 DeleteIpv6InternetBandwidthResponseBody body;
private DeleteIpv6InternetBandwidthResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteIpv6InternetBandwidthResponse 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 DeleteIpv6InternetBandwidthResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteIpv6InternetBandwidthResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteIpv6InternetBandwidthResponseBody body);
@Override
DeleteIpv6InternetBandwidthResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteIpv6InternetBandwidthResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteIpv6InternetBandwidthResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteIpv6InternetBandwidthResponse 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(DeleteIpv6InternetBandwidthResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteIpv6InternetBandwidthResponse build() {
return new DeleteIpv6InternetBandwidthResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteIpv6InternetBandwidthResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteIpv6InternetBandwidthResponseBody} extends {@link TeaModel}
*
* <p>DeleteIpv6InternetBandwidthResponseBody</p>
*/
public class DeleteIpv6InternetBandwidthResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DeleteIpv6InternetBandwidthResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteIpv6InternetBandwidthResponseBody 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(DeleteIpv6InternetBandwidthResponseBody model) {
this.requestId = model.requestId;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>E07E0FE6-5C21-405F-AF82-7613AA81EF92</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DeleteIpv6InternetBandwidthResponseBody build() {
return new DeleteIpv6InternetBandwidthResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteNatGatewayRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteNatGatewayRequest} extends {@link RequestModel}
*
* <p>DeleteNatGatewayRequest</p>
*/
public class DeleteNatGatewayRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Force")
private Boolean force;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NatGatewayId")
@com.aliyun.core.annotation.Validation(required = true)
private String natGatewayId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
private DeleteNatGatewayRequest(Builder builder) {
super(builder);
this.force = builder.force;
this.natGatewayId = builder.natGatewayId;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteNatGatewayRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return force
*/
public Boolean getForce() {
return this.force;
}
/**
* @return natGatewayId
*/
public String getNatGatewayId() {
return this.natGatewayId;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder<DeleteNatGatewayRequest, Builder> {
private Boolean force;
private String natGatewayId;
private String ownerAccount;
private Long ownerId;
private String regionId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private Builder() {
super();
}
private Builder(DeleteNatGatewayRequest request) {
super(request);
this.force = request.force;
this.natGatewayId = request.natGatewayId;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* <p>Specifies whether to forcefully delete the NAT gateway. Valid values:</p>
* <ul>
* <li><p><strong>true</strong> If you set the value to <strong>true</strong>:</p>
* <ul>
* <li>If the NAT gateway has SNAT entries, the system automatically deletes them.</li>
* <li>If the NAT gateway has DNAT entries, the system automatically deletes them.</li>
* <li>If the NAT gateway is associated with an elastic IP address (EIP), the system automatically disassociates the EIP from the NAT gateway.</li>
* <li>If the NAT gateway is associated with a NAT bandwidth plan, the system automatically disassociates the NAT bandwidth plan.</li>
* </ul>
* </li>
* <li><p><strong>false</strong>(default): no If you set the value to <strong>false</strong>:</p>
* <ul>
* <li>If the NAT gateway is associated with a NAT bandwidth plan, disassociate the NAT bandwidth plan first.</li>
* <li>If the NAT gateway has SNAT entries, delete them first.</li>
* <li>If the NAT gateway has DNAT entries, delete them first.</li>
* <li>If the NAT gateway is associated with an EIP, disassociate the EIP from the NAT gateway first.</li>
* </ul>
* </li>
* </ul>
*
* <strong>example:</strong>
* <p>false</p>
*/
public Builder force(Boolean force) {
this.putQueryParameter("Force", force);
this.force = force;
return this;
}
/**
* <p>The ID of the NAT gateway that you want to delete.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ngw-bp1uewa15k4iy5770****</p>
*/
public Builder natGatewayId(String natGatewayId) {
this.putQueryParameter("NatGatewayId", natGatewayId);
this.natGatewayId = natGatewayId;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The region ID of the NAT gateway.</p>
* <p>You can call the <a href="https://help.aliyun.com/document_detail/36063.html">DescribeRegions</a> operation to query the most recent region list.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
@Override
public DeleteNatGatewayRequest build() {
return new DeleteNatGatewayRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteNatGatewayResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteNatGatewayResponse} extends {@link TeaModel}
*
* <p>DeleteNatGatewayResponse</p>
*/
public class DeleteNatGatewayResponse 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 DeleteNatGatewayResponseBody body;
private DeleteNatGatewayResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteNatGatewayResponse 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 DeleteNatGatewayResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteNatGatewayResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteNatGatewayResponseBody body);
@Override
DeleteNatGatewayResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteNatGatewayResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteNatGatewayResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteNatGatewayResponse 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(DeleteNatGatewayResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteNatGatewayResponse build() {
return new DeleteNatGatewayResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteNatGatewayResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteNatGatewayResponseBody} extends {@link TeaModel}
*
* <p>DeleteNatGatewayResponseBody</p>
*/
public class DeleteNatGatewayResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DeleteNatGatewayResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteNatGatewayResponseBody 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(DeleteNatGatewayResponseBody model) {
this.requestId = model.requestId;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>0ED8D006-F706-4D23-88ED-E11ED28DCAC0</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DeleteNatGatewayResponseBody build() {
return new DeleteNatGatewayResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteNatIpCidrRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteNatIpCidrRequest} extends {@link RequestModel}
*
* <p>DeleteNatIpCidrRequest</p>
*/
public class DeleteNatIpCidrRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClientToken")
private String clientToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DryRun")
private Boolean dryRun;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NatGatewayId")
@com.aliyun.core.annotation.Validation(required = true)
private String natGatewayId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NatIpCidr")
@com.aliyun.core.annotation.Validation(required = true)
private String natIpCidr;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
private DeleteNatIpCidrRequest(Builder builder) {
super(builder);
this.clientToken = builder.clientToken;
this.dryRun = builder.dryRun;
this.natGatewayId = builder.natGatewayId;
this.natIpCidr = builder.natIpCidr;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteNatIpCidrRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clientToken
*/
public String getClientToken() {
return this.clientToken;
}
/**
* @return dryRun
*/
public Boolean getDryRun() {
return this.dryRun;
}
/**
* @return natGatewayId
*/
public String getNatGatewayId() {
return this.natGatewayId;
}
/**
* @return natIpCidr
*/
public String getNatIpCidr() {
return this.natIpCidr;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder<DeleteNatIpCidrRequest, Builder> {
private String clientToken;
private Boolean dryRun;
private String natGatewayId;
private String natIpCidr;
private String ownerAccount;
private Long ownerId;
private String regionId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private Builder() {
super();
}
private Builder(DeleteNatIpCidrRequest request) {
super(request);
this.clientToken = request.clientToken;
this.dryRun = request.dryRun;
this.natGatewayId = request.natGatewayId;
this.natIpCidr = request.natIpCidr;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* <p>The client token that is used to ensure the idempotence of the request.</p>
* <p>You can use the client to generate the token, but you must make sure that the token is unique among different requests. The client token can contain only ASCII characters.</p>
* <blockquote>
* <p> If you do not specify this parameter, the system automatically uses the <strong>request ID</strong> as the <strong>client token</strong>. The <strong>request ID</strong> may be different for each request.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>5A2CFF0E-5718-45B5-9D4D-70B3FF3898</p>
*/
public Builder clientToken(String clientToken) {
this.putQueryParameter("ClientToken", clientToken);
this.clientToken = clientToken;
return this;
}
/**
* <p>Specifies whether to perform only a dry run, without performing the actual request. Valid values:</p>
* <ul>
* <li><strong>true</strong>: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the <code>DryRunOperation</code> error code is returned.</li>
* <li><strong>false</strong> (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.</li>
* </ul>
*
* <strong>example:</strong>
* <p>false</p>
*/
public Builder dryRun(Boolean dryRun) {
this.putQueryParameter("DryRun", dryRun);
this.dryRun = dryRun;
return this;
}
/**
* <p>The ID of the NAT gateway to which the NAT CIDR block to be deleted belongs.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>ngw-gw8v16wgvtq26vh59****</p>
*/
public Builder natGatewayId(String natGatewayId) {
this.putQueryParameter("NatGatewayId", natGatewayId);
this.natGatewayId = natGatewayId;
return this;
}
/**
* <p>The NAT CIDR block to be deleted.</p>
* <ul>
* <li>Before you delete a NAT CIDR block, you must delete all NAT IP addresses from the CIDR block.</li>
* <li>The default NAT CIDR block cannot be deleted.</li>
* </ul>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>172.16.0.0/24</p>
*/
public Builder natIpCidr(String natIpCidr) {
this.putQueryParameter("NatIpCidr", natIpCidr);
this.natIpCidr = natIpCidr;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The region ID of the NAT gateway to which the NAT CIDR block to be deleted belongs.</p>
* <p>You can call the <a href="https://help.aliyun.com/document_detail/36063.html">DescribeRegions</a> operation to query the most recent region list.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>eu-central-1</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
@Override
public DeleteNatIpCidrRequest build() {
return new DeleteNatIpCidrRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteNatIpCidrResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteNatIpCidrResponse} extends {@link TeaModel}
*
* <p>DeleteNatIpCidrResponse</p>
*/
public class DeleteNatIpCidrResponse 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 DeleteNatIpCidrResponseBody body;
private DeleteNatIpCidrResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteNatIpCidrResponse 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 DeleteNatIpCidrResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteNatIpCidrResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteNatIpCidrResponseBody body);
@Override
DeleteNatIpCidrResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteNatIpCidrResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteNatIpCidrResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteNatIpCidrResponse 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(DeleteNatIpCidrResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteNatIpCidrResponse build() {
return new DeleteNatIpCidrResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteNatIpCidrResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteNatIpCidrResponseBody} extends {@link TeaModel}
*
* <p>DeleteNatIpCidrResponseBody</p>
*/
public class DeleteNatIpCidrResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DeleteNatIpCidrResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteNatIpCidrResponseBody 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(DeleteNatIpCidrResponseBody model) {
this.requestId = model.requestId;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>7021BEB1-210F-48A9-AB82-BE9A9110BB89</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DeleteNatIpCidrResponseBody build() {
return new DeleteNatIpCidrResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteNatIpRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteNatIpRequest} extends {@link RequestModel}
*
* <p>DeleteNatIpRequest</p>
*/
public class DeleteNatIpRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClientToken")
private String clientToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DryRun")
private Boolean dryRun;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Ipv4Prefix")
private String ipv4Prefix;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NatGatewayId")
private String natGatewayId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NatIpId")
private String natIpId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
private DeleteNatIpRequest(Builder builder) {
super(builder);
this.clientToken = builder.clientToken;
this.dryRun = builder.dryRun;
this.ipv4Prefix = builder.ipv4Prefix;
this.natGatewayId = builder.natGatewayId;
this.natIpId = builder.natIpId;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteNatIpRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clientToken
*/
public String getClientToken() {
return this.clientToken;
}
/**
* @return dryRun
*/
public Boolean getDryRun() {
return this.dryRun;
}
/**
* @return ipv4Prefix
*/
public String getIpv4Prefix() {
return this.ipv4Prefix;
}
/**
* @return natGatewayId
*/
public String getNatGatewayId() {
return this.natGatewayId;
}
/**
* @return natIpId
*/
public String getNatIpId() {
return this.natIpId;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder<DeleteNatIpRequest, Builder> {
private String clientToken;
private Boolean dryRun;
private String ipv4Prefix;
private String natGatewayId;
private String natIpId;
private String ownerAccount;
private Long ownerId;
private String regionId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private Builder() {
super();
}
private Builder(DeleteNatIpRequest request) {
super(request);
this.clientToken = request.clientToken;
this.dryRun = request.dryRun;
this.ipv4Prefix = request.ipv4Prefix;
this.natGatewayId = request.natGatewayId;
this.natIpId = request.natIpId;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* <p>The client token that is used to ensure the idempotence of the request.</p>
* <p>You can use the client to generate the token, but you must make sure that the token is unique among different requests. The client token can contain only ASCII characters.</p>
* <blockquote>
* <p> If you do not specify this parameter, the system automatically uses the <strong>request ID</strong> as the <strong>client token</strong>. The <strong>request ID</strong> may be different for each request.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>5A2CFF0E-5718-45B5-9D4D-70B3FF3898</p>
*/
public Builder clientToken(String clientToken) {
this.putQueryParameter("ClientToken", clientToken);
this.clientToken = clientToken;
return this;
}
/**
* <p>Specifies whether to perform only a dry run, without performing the actual request. Valid values:</p>
* <ul>
* <li><strong>true</strong>: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the <code>DryRunOperation</code> error code is returned.</li>
* <li><strong>false</strong> (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.</li>
* </ul>
*
* <strong>example:</strong>
* <p>false</p>
*/
public Builder dryRun(Boolean dryRun) {
this.putQueryParameter("DryRun", dryRun);
this.dryRun = dryRun;
return this;
}
/**
* Ipv4Prefix.
*/
public Builder ipv4Prefix(String ipv4Prefix) {
this.putQueryParameter("Ipv4Prefix", ipv4Prefix);
this.ipv4Prefix = ipv4Prefix;
return this;
}
/**
* NatGatewayId.
*/
public Builder natGatewayId(String natGatewayId) {
this.putQueryParameter("NatGatewayId", natGatewayId);
this.natGatewayId = natGatewayId;
return this;
}
/**
* <p>The ID of the NAT IP address that you want to delete.</p>
*
* <strong>example:</strong>
* <p>vpcnatip-gw8y7q3cpk3fggs87****</p>
*/
public Builder natIpId(String natIpId) {
this.putQueryParameter("NatIpId", natIpId);
this.natIpId = natIpId;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The region ID of the NAT gateway to which the NAT IP address that you want to delete belongs.</p>
* <p>You can call the <a href="https://help.aliyun.com/document_detail/36063.html">DescribeRegions</a> operation to query the most recent region list.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-qingdao</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
@Override
public DeleteNatIpRequest build() {
return new DeleteNatIpRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteNatIpResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteNatIpResponse} extends {@link TeaModel}
*
* <p>DeleteNatIpResponse</p>
*/
public class DeleteNatIpResponse 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 DeleteNatIpResponseBody body;
private DeleteNatIpResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteNatIpResponse 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 DeleteNatIpResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteNatIpResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteNatIpResponseBody body);
@Override
DeleteNatIpResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteNatIpResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteNatIpResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteNatIpResponse 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(DeleteNatIpResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteNatIpResponse build() {
return new DeleteNatIpResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteNatIpResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteNatIpResponseBody} extends {@link TeaModel}
*
* <p>DeleteNatIpResponseBody</p>
*/
public class DeleteNatIpResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DeleteNatIpResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteNatIpResponseBody 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(DeleteNatIpResponseBody model) {
this.requestId = model.requestId;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>E9AD97A0-5338-43F8-8A80-5E274CCBA11B</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DeleteNatIpResponseBody build() {
return new DeleteNatIpResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteNetworkAclRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteNetworkAclRequest} extends {@link RequestModel}
*
* <p>DeleteNetworkAclRequest</p>
*/
public class DeleteNetworkAclRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClientToken")
private String clientToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DryRun")
private Boolean dryRun;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NetworkAclId")
@com.aliyun.core.annotation.Validation(required = true)
private String networkAclId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
private DeleteNetworkAclRequest(Builder builder) {
super(builder);
this.clientToken = builder.clientToken;
this.dryRun = builder.dryRun;
this.networkAclId = builder.networkAclId;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteNetworkAclRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clientToken
*/
public String getClientToken() {
return this.clientToken;
}
/**
* @return dryRun
*/
public Boolean getDryRun() {
return this.dryRun;
}
/**
* @return networkAclId
*/
public String getNetworkAclId() {
return this.networkAclId;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder<DeleteNetworkAclRequest, Builder> {
private String clientToken;
private Boolean dryRun;
private String networkAclId;
private String ownerAccount;
private Long ownerId;
private String regionId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private Builder() {
super();
}
private Builder(DeleteNetworkAclRequest request) {
super(request);
this.clientToken = request.clientToken;
this.dryRun = request.dryRun;
this.networkAclId = request.networkAclId;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* <p>The client token that is used to ensure the idempotence of the request.</p>
* <p>You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.</p>
* <blockquote>
* <p> If you do not specify this parameter, the system automatically uses the <strong>request ID</strong> as the <strong>client token</strong>. The <strong>request ID</strong> may be different for each request.</p>
* </blockquote>
*
* <strong>example:</strong>
* <p>223e4867-e89b-12d3-a456-426655440000</p>
*/
public Builder clientToken(String clientToken) {
this.putQueryParameter("ClientToken", clientToken);
this.clientToken = clientToken;
return this;
}
/**
* <p>Specifies whether to perform only a dry run, without performing the actual request. Valid values:</p>
* <p><strong>true</strong>: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the <code>DryRunOperation</code> error code is returned.</p>
* <p><strong>false</strong> (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.</p>
*
* <strong>example:</strong>
* <p>false</p>
*/
public Builder dryRun(Boolean dryRun) {
this.putQueryParameter("DryRun", dryRun);
this.dryRun = dryRun;
return this;
}
/**
* <p>The ID of the network ACL.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>nacl-bp1lhl0taikrbgnh****</p>
*/
public Builder networkAclId(String networkAclId) {
this.putQueryParameter("NetworkAclId", networkAclId);
this.networkAclId = networkAclId;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The region ID of the network ACL.</p>
* <p>You can call the <a href="https://help.aliyun.com/document_detail/36063.html">DescribeRegions</a> operation to query the most recent region list.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-hangzhou</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
@Override
public DeleteNetworkAclRequest build() {
return new DeleteNetworkAclRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteNetworkAclResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteNetworkAclResponse} extends {@link TeaModel}
*
* <p>DeleteNetworkAclResponse</p>
*/
public class DeleteNetworkAclResponse 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 DeleteNetworkAclResponseBody body;
private DeleteNetworkAclResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteNetworkAclResponse 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 DeleteNetworkAclResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteNetworkAclResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteNetworkAclResponseBody body);
@Override
DeleteNetworkAclResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteNetworkAclResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteNetworkAclResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteNetworkAclResponse 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(DeleteNetworkAclResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteNetworkAclResponse build() {
return new DeleteNetworkAclResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeleteNetworkAclResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeleteNetworkAclResponseBody} extends {@link TeaModel}
*
* <p>DeleteNetworkAclResponseBody</p>
*/
public class DeleteNetworkAclResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DeleteNetworkAclResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteNetworkAclResponseBody 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(DeleteNetworkAclResponseBody model) {
this.requestId = model.requestId;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>4B48E3D-DF70-471B-AA83-089E83A1B45</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DeleteNetworkAclResponseBody build() {
return new DeleteNetworkAclResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeletePhysicalConnectionRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeletePhysicalConnectionRequest} extends {@link RequestModel}
*
* <p>DeletePhysicalConnectionRequest</p>
*/
public class DeletePhysicalConnectionRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClientToken")
private String clientToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PhysicalConnectionId")
@com.aliyun.core.annotation.Validation(required = true)
private String physicalConnectionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
private DeletePhysicalConnectionRequest(Builder builder) {
super(builder);
this.clientToken = builder.clientToken;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.physicalConnectionId = builder.physicalConnectionId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static DeletePhysicalConnectionRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clientToken
*/
public String getClientToken() {
return this.clientToken;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return physicalConnectionId
*/
public String getPhysicalConnectionId() {
return this.physicalConnectionId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder<DeletePhysicalConnectionRequest, Builder> {
private String clientToken;
private String ownerAccount;
private Long ownerId;
private String physicalConnectionId;
private String regionId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private Builder() {
super();
}
private Builder(DeletePhysicalConnectionRequest request) {
super(request);
this.clientToken = request.clientToken;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.physicalConnectionId = request.physicalConnectionId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* <p>The client token that is used to ensure the idempotence of the request.</p>
* <p>You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.</p>
*
* <strong>example:</strong>
* <p>02fb3da4-130e-11e9-8e44-0016e04115b</p>
*/
public Builder clientToken(String clientToken) {
this.putQueryParameter("ClientToken", clientToken);
this.clientToken = clientToken;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The ID of the Express Connect circuit.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>pc-119mfjzm7*********</p>
*/
public Builder physicalConnectionId(String physicalConnectionId) {
this.putQueryParameter("PhysicalConnectionId", physicalConnectionId);
this.physicalConnectionId = physicalConnectionId;
return this;
}
/**
* <p>The region ID of the Express Connect circuit.</p>
* <p>You can call the <a href="https://help.aliyun.com/document_detail/36063.html">DescribeRegions</a> operation to query the most recent region list.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-shanghai</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
@Override
public DeletePhysicalConnectionRequest build() {
return new DeletePhysicalConnectionRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeletePhysicalConnectionResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeletePhysicalConnectionResponse} extends {@link TeaModel}
*
* <p>DeletePhysicalConnectionResponse</p>
*/
public class DeletePhysicalConnectionResponse 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 DeletePhysicalConnectionResponseBody body;
private DeletePhysicalConnectionResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeletePhysicalConnectionResponse 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 DeletePhysicalConnectionResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeletePhysicalConnectionResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeletePhysicalConnectionResponseBody body);
@Override
DeletePhysicalConnectionResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeletePhysicalConnectionResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeletePhysicalConnectionResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeletePhysicalConnectionResponse 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(DeletePhysicalConnectionResponseBody body) {
this.body = body;
return this;
}
@Override
public DeletePhysicalConnectionResponse build() {
return new DeletePhysicalConnectionResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeletePhysicalConnectionResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeletePhysicalConnectionResponseBody} extends {@link TeaModel}
*
* <p>DeletePhysicalConnectionResponseBody</p>
*/
public class DeletePhysicalConnectionResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DeletePhysicalConnectionResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DeletePhysicalConnectionResponseBody 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(DeletePhysicalConnectionResponseBody model) {
this.requestId = model.requestId;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>0ED8D006-F706-4D23-88ED-E11ED28DCAC0</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DeletePhysicalConnectionResponseBody build() {
return new DeletePhysicalConnectionResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeletePublicIpAddressPoolCidrBlockRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeletePublicIpAddressPoolCidrBlockRequest} extends {@link RequestModel}
*
* <p>DeletePublicIpAddressPoolCidrBlockRequest</p>
*/
public class DeletePublicIpAddressPoolCidrBlockRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("CidrBlock")
@com.aliyun.core.annotation.Validation(required = true)
private String cidrBlock;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClientToken")
private String clientToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DryRun")
private Boolean dryRun;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PublicIpAddressPoolId")
@com.aliyun.core.annotation.Validation(required = true)
private String publicIpAddressPoolId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
private DeletePublicIpAddressPoolCidrBlockRequest(Builder builder) {
super(builder);
this.cidrBlock = builder.cidrBlock;
this.clientToken = builder.clientToken;
this.dryRun = builder.dryRun;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.publicIpAddressPoolId = builder.publicIpAddressPoolId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static DeletePublicIpAddressPoolCidrBlockRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return cidrBlock
*/
public String getCidrBlock() {
return this.cidrBlock;
}
/**
* @return clientToken
*/
public String getClientToken() {
return this.clientToken;
}
/**
* @return dryRun
*/
public Boolean getDryRun() {
return this.dryRun;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return publicIpAddressPoolId
*/
public String getPublicIpAddressPoolId() {
return this.publicIpAddressPoolId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder<DeletePublicIpAddressPoolCidrBlockRequest, Builder> {
private String cidrBlock;
private String clientToken;
private Boolean dryRun;
private String ownerAccount;
private Long ownerId;
private String publicIpAddressPoolId;
private String regionId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private Builder() {
super();
}
private Builder(DeletePublicIpAddressPoolCidrBlockRequest request) {
super(request);
this.cidrBlock = request.cidrBlock;
this.clientToken = request.clientToken;
this.dryRun = request.dryRun;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.publicIpAddressPoolId = request.publicIpAddressPoolId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* <p>The CIDR block.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>47.0.XX.XX/24</p>
*/
public Builder cidrBlock(String cidrBlock) {
this.putQueryParameter("CidrBlock", cidrBlock);
this.cidrBlock = cidrBlock;
return this;
}
/**
* <p>The client token that is used to ensure the idempotence of the request.</p>
* <p>You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.</p>
*
* <strong>example:</strong>
* <p>123e4567-e89b-12d3-a456-426655440000</p>
*/
public Builder clientToken(String clientToken) {
this.putQueryParameter("ClientToken", clientToken);
this.clientToken = clientToken;
return this;
}
/**
* <p>Specifies whether to perform a dry run, without performing the actual request. Valid values:</p>
* <ul>
* <li><strong>true</strong>: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the <code>DryRunOperation</code> error code is returned.</li>
* <li><strong>false</strong> (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.</li>
* </ul>
*
* <strong>example:</strong>
* <p>false</p>
*/
public Builder dryRun(Boolean dryRun) {
this.putQueryParameter("DryRun", dryRun);
this.dryRun = dryRun;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The ID of the IP address pool.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>pippool-6wetvn6fumkgycssx****</p>
*/
public Builder publicIpAddressPoolId(String publicIpAddressPoolId) {
this.putQueryParameter("PublicIpAddressPoolId", publicIpAddressPoolId);
this.publicIpAddressPoolId = publicIpAddressPoolId;
return this;
}
/**
* <p>The region ID of the IP address pool from which you want to delete a CIDR block.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-chengdu</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
@Override
public DeletePublicIpAddressPoolCidrBlockRequest build() {
return new DeletePublicIpAddressPoolCidrBlockRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeletePublicIpAddressPoolCidrBlockResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeletePublicIpAddressPoolCidrBlockResponse} extends {@link TeaModel}
*
* <p>DeletePublicIpAddressPoolCidrBlockResponse</p>
*/
public class DeletePublicIpAddressPoolCidrBlockResponse 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 DeletePublicIpAddressPoolCidrBlockResponseBody body;
private DeletePublicIpAddressPoolCidrBlockResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeletePublicIpAddressPoolCidrBlockResponse 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 DeletePublicIpAddressPoolCidrBlockResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeletePublicIpAddressPoolCidrBlockResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeletePublicIpAddressPoolCidrBlockResponseBody body);
@Override
DeletePublicIpAddressPoolCidrBlockResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeletePublicIpAddressPoolCidrBlockResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeletePublicIpAddressPoolCidrBlockResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeletePublicIpAddressPoolCidrBlockResponse 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(DeletePublicIpAddressPoolCidrBlockResponseBody body) {
this.body = body;
return this;
}
@Override
public DeletePublicIpAddressPoolCidrBlockResponse build() {
return new DeletePublicIpAddressPoolCidrBlockResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeletePublicIpAddressPoolCidrBlockResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeletePublicIpAddressPoolCidrBlockResponseBody} extends {@link TeaModel}
*
* <p>DeletePublicIpAddressPoolCidrBlockResponseBody</p>
*/
public class DeletePublicIpAddressPoolCidrBlockResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DeletePublicIpAddressPoolCidrBlockResponseBody(Builder builder) {
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DeletePublicIpAddressPoolCidrBlockResponseBody 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(DeletePublicIpAddressPoolCidrBlockResponseBody model) {
this.requestId = model.requestId;
}
/**
* <p>The request ID.</p>
*
* <strong>example:</strong>
* <p>4EC47282-1B74-4534-BD0E-403F3EE64CAF</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DeletePublicIpAddressPoolCidrBlockResponseBody build() {
return new DeletePublicIpAddressPoolCidrBlockResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeletePublicIpAddressPoolRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeletePublicIpAddressPoolRequest} extends {@link RequestModel}
*
* <p>DeletePublicIpAddressPoolRequest</p>
*/
public class DeletePublicIpAddressPoolRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClientToken")
private String clientToken;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DryRun")
private Boolean dryRun;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerAccount")
private String ownerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("OwnerId")
private Long ownerId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PublicIpAddressPoolId")
@com.aliyun.core.annotation.Validation(required = true)
private String publicIpAddressPoolId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("RegionId")
@com.aliyun.core.annotation.Validation(required = true)
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerAccount")
private String resourceOwnerAccount;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ResourceOwnerId")
private Long resourceOwnerId;
private DeletePublicIpAddressPoolRequest(Builder builder) {
super(builder);
this.clientToken = builder.clientToken;
this.dryRun = builder.dryRun;
this.ownerAccount = builder.ownerAccount;
this.ownerId = builder.ownerId;
this.publicIpAddressPoolId = builder.publicIpAddressPoolId;
this.regionId = builder.regionId;
this.resourceOwnerAccount = builder.resourceOwnerAccount;
this.resourceOwnerId = builder.resourceOwnerId;
}
public static Builder builder() {
return new Builder();
}
public static DeletePublicIpAddressPoolRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clientToken
*/
public String getClientToken() {
return this.clientToken;
}
/**
* @return dryRun
*/
public Boolean getDryRun() {
return this.dryRun;
}
/**
* @return ownerAccount
*/
public String getOwnerAccount() {
return this.ownerAccount;
}
/**
* @return ownerId
*/
public Long getOwnerId() {
return this.ownerId;
}
/**
* @return publicIpAddressPoolId
*/
public String getPublicIpAddressPoolId() {
return this.publicIpAddressPoolId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceOwnerAccount
*/
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
/**
* @return resourceOwnerId
*/
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public static final class Builder extends Request.Builder<DeletePublicIpAddressPoolRequest, Builder> {
private String clientToken;
private Boolean dryRun;
private String ownerAccount;
private Long ownerId;
private String publicIpAddressPoolId;
private String regionId;
private String resourceOwnerAccount;
private Long resourceOwnerId;
private Builder() {
super();
}
private Builder(DeletePublicIpAddressPoolRequest request) {
super(request);
this.clientToken = request.clientToken;
this.dryRun = request.dryRun;
this.ownerAccount = request.ownerAccount;
this.ownerId = request.ownerId;
this.publicIpAddressPoolId = request.publicIpAddressPoolId;
this.regionId = request.regionId;
this.resourceOwnerAccount = request.resourceOwnerAccount;
this.resourceOwnerId = request.resourceOwnerId;
}
/**
* <p>The client token that is used to ensure the idempotence of the request.</p>
* <p>You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.</p>
*
* <strong>example:</strong>
* <p>0c593ea1-3bea-11e9-b96b-88e9fe60000</p>
*/
public Builder clientToken(String clientToken) {
this.putQueryParameter("ClientToken", clientToken);
this.clientToken = clientToken;
return this;
}
/**
* <p>Specifies whether to perform a dry run, without performing the actual request. Valid values:</p>
* <ul>
* <li><strong>true</strong>: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the <code>DryRunOperation</code> error code is returned.</li>
* <li><strong>false</strong> (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.</li>
* </ul>
*
* <strong>example:</strong>
* <p>false</p>
*/
public Builder dryRun(Boolean dryRun) {
this.putQueryParameter("DryRun", dryRun);
this.dryRun = dryRun;
return this;
}
/**
* OwnerAccount.
*/
public Builder ownerAccount(String ownerAccount) {
this.putQueryParameter("OwnerAccount", ownerAccount);
this.ownerAccount = ownerAccount;
return this;
}
/**
* OwnerId.
*/
public Builder ownerId(Long ownerId) {
this.putQueryParameter("OwnerId", ownerId);
this.ownerId = ownerId;
return this;
}
/**
* <p>The ID of the IP address pool.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>pippool-6wetvn6fumkgycssx****</p>
*/
public Builder publicIpAddressPoolId(String publicIpAddressPoolId) {
this.putQueryParameter("PublicIpAddressPoolId", publicIpAddressPoolId);
this.publicIpAddressPoolId = publicIpAddressPoolId;
return this;
}
/**
* <p>The ID of the region where you want to create the IP address pool.</p>
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>cn-chengdu</p>
*/
public Builder regionId(String regionId) {
this.putQueryParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ResourceOwnerAccount.
*/
public Builder resourceOwnerAccount(String resourceOwnerAccount) {
this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
/**
* ResourceOwnerId.
*/
public Builder resourceOwnerId(Long resourceOwnerId) {
this.putQueryParameter("ResourceOwnerId", resourceOwnerId);
this.resourceOwnerId = resourceOwnerId;
return this;
}
@Override
public DeletePublicIpAddressPoolRequest build() {
return new DeletePublicIpAddressPoolRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428 | java-sources/com/aliyun/alibabacloud-vpc20160428/5.0.42/com/aliyun/sdk/service/vpc20160428/models/DeletePublicIpAddressPoolResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.vpc20160428.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 DeletePublicIpAddressPoolResponse} extends {@link TeaModel}
*
* <p>DeletePublicIpAddressPoolResponse</p>
*/
public class DeletePublicIpAddressPoolResponse 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 DeletePublicIpAddressPoolResponseBody body;
private DeletePublicIpAddressPoolResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeletePublicIpAddressPoolResponse 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 DeletePublicIpAddressPoolResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeletePublicIpAddressPoolResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeletePublicIpAddressPoolResponseBody body);
@Override
DeletePublicIpAddressPoolResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeletePublicIpAddressPoolResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeletePublicIpAddressPoolResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeletePublicIpAddressPoolResponse 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(DeletePublicIpAddressPoolResponseBody body) {
this.body = body;
return this;
}
@Override
public DeletePublicIpAddressPoolResponse build() {
return new DeletePublicIpAddressPoolResponse(this);
}
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.