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

com.aliyun.sdk.service.waf_openapi20190910.models.ModifyProtectionModuleStatusRequest Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.waf_openapi20190910.models;

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

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

ModifyProtectionModuleStatusRequest

*/ public class ModifyProtectionModuleStatusRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("DefenseType") @com.aliyun.core.annotation.Validation(required = true) private String defenseType; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Domain") @com.aliyun.core.annotation.Validation(required = true) private String domain; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceId") @com.aliyun.core.annotation.Validation(required = true) private String instanceId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ModuleStatus") @com.aliyun.core.annotation.Validation(required = true) private Integer moduleStatus; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceGroupId") private String resourceGroupId; private ModifyProtectionModuleStatusRequest(Builder builder) { super(builder); this.defenseType = builder.defenseType; this.domain = builder.domain; this.instanceId = builder.instanceId; this.moduleStatus = builder.moduleStatus; this.regionId = builder.regionId; this.resourceGroupId = builder.resourceGroupId; } public static Builder builder() { return new Builder(); } public static ModifyProtectionModuleStatusRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return defenseType */ public String getDefenseType() { return this.defenseType; } /** * @return domain */ public String getDomain() { return this.domain; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return moduleStatus */ public Integer getModuleStatus() { return this.moduleStatus; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return resourceGroupId */ public String getResourceGroupId() { return this.resourceGroupId; } public static final class Builder extends Request.Builder { private String defenseType; private String domain; private String instanceId; private Integer moduleStatus; private String regionId; private String resourceGroupId; private Builder() { super(); } private Builder(ModifyProtectionModuleStatusRequest request) { super(request); this.defenseType = request.defenseType; this.domain = request.domain; this.instanceId = request.instanceId; this.moduleStatus = request.moduleStatus; this.regionId = request.regionId; this.resourceGroupId = request.resourceGroupId; } /** * DefenseType. */ public Builder defenseType(String defenseType) { this.putQueryParameter("DefenseType", defenseType); this.defenseType = defenseType; return this; } /** * Domain. */ public Builder domain(String domain) { this.putQueryParameter("Domain", domain); this.domain = domain; return this; } /** * InstanceId. */ public Builder instanceId(String instanceId) { this.putQueryParameter("InstanceId", instanceId); this.instanceId = instanceId; return this; } /** * ModuleStatus. */ public Builder moduleStatus(Integer moduleStatus) { this.putQueryParameter("ModuleStatus", moduleStatus); this.moduleStatus = moduleStatus; return this; } /** * RegionId. */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * ResourceGroupId. */ public Builder resourceGroupId(String resourceGroupId) { this.putQueryParameter("ResourceGroupId", resourceGroupId); this.resourceGroupId = resourceGroupId; return this; } @Override public ModifyProtectionModuleStatusRequest build() { return new ModifyProtectionModuleStatusRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy