All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.sdk.service.cloudapi20160701.models.ModifyIpControlPolicyItemRequest Maven / Gradle / Ivy

There is a newer version: 1.0.1
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.cloudapi20160701.models;

import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * {@link ModifyIpControlPolicyItemRequest} extends {@link RequestModel}
 *
 * 

ModifyIpControlPolicyItemRequest

*/ public class ModifyIpControlPolicyItemRequest extends Request { @Query @NameInMap("AppId") private String appId; @Query @NameInMap("CidrIp") @Validation(required = true) private String cidrIp; @Query @NameInMap("IpControlId") @Validation(required = true) private String ipControlId; @Query @NameInMap("PolicyItemId") @Validation(required = true) private String policyItemId; @Query @NameInMap("SecurityToken") private String securityToken; private ModifyIpControlPolicyItemRequest(Builder builder) { super(builder); this.appId = builder.appId; this.cidrIp = builder.cidrIp; this.ipControlId = builder.ipControlId; this.policyItemId = builder.policyItemId; this.securityToken = builder.securityToken; } public static Builder builder() { return new Builder(); } public static ModifyIpControlPolicyItemRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return appId */ public String getAppId() { return this.appId; } /** * @return cidrIp */ public String getCidrIp() { return this.cidrIp; } /** * @return ipControlId */ public String getIpControlId() { return this.ipControlId; } /** * @return policyItemId */ public String getPolicyItemId() { return this.policyItemId; } /** * @return securityToken */ public String getSecurityToken() { return this.securityToken; } public static final class Builder extends Request.Builder { private String appId; private String cidrIp; private String ipControlId; private String policyItemId; private String securityToken; private Builder() { super(); } private Builder(ModifyIpControlPolicyItemRequest request) { super(request); this.appId = request.appId; this.cidrIp = request.cidrIp; this.ipControlId = request.ipControlId; this.policyItemId = request.policyItemId; this.securityToken = request.securityToken; } /** * AppId. */ public Builder appId(String appId) { this.putQueryParameter("AppId", appId); this.appId = appId; return this; } /** * CidrIp. */ public Builder cidrIp(String cidrIp) { this.putQueryParameter("CidrIp", cidrIp); this.cidrIp = cidrIp; return this; } /** * IpControlId. */ public Builder ipControlId(String ipControlId) { this.putQueryParameter("IpControlId", ipControlId); this.ipControlId = ipControlId; return this; } /** * PolicyItemId. */ public Builder policyItemId(String policyItemId) { this.putQueryParameter("PolicyItemId", policyItemId); this.policyItemId = policyItemId; return this; } /** * SecurityToken. */ public Builder securityToken(String securityToken) { this.putQueryParameter("SecurityToken", securityToken); this.securityToken = securityToken; return this; } @Override public ModifyIpControlPolicyItemRequest build() { return new ModifyIpControlPolicyItemRequest(this); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy