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

com.aliyun.sdk.service.waf_openapi20211001.models.ReleaseInstanceRequest Maven / Gradle / Ivy

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

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

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

ReleaseInstanceRequest

*/ public class ReleaseInstanceRequest extends Request { @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("RegionId") @com.aliyun.core.annotation.Validation(required = true) private String regionId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceManagerResourceGroupId") private String resourceManagerResourceGroupId; private ReleaseInstanceRequest(Builder builder) { super(builder); this.instanceId = builder.instanceId; this.regionId = builder.regionId; this.resourceManagerResourceGroupId = builder.resourceManagerResourceGroupId; } public static Builder builder() { return new Builder(); } public static ReleaseInstanceRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return resourceManagerResourceGroupId */ public String getResourceManagerResourceGroupId() { return this.resourceManagerResourceGroupId; } public static final class Builder extends Request.Builder { private String instanceId; private String regionId; private String resourceManagerResourceGroupId; private Builder() { super(); } private Builder(ReleaseInstanceRequest request) { super(request); this.instanceId = request.instanceId; this.regionId = request.regionId; this.resourceManagerResourceGroupId = request.resourceManagerResourceGroupId; } /** *

The ID of the Web Application Firewall (WAF) instance.

*
*

You can call the DescribeInstance operation to obtain the ID of the WAF instance.

*
*

This parameter is required.

* * example: *

waf_v2_public_cn-***

*/ public Builder instanceId(String instanceId) { this.putQueryParameter("InstanceId", instanceId); this.instanceId = instanceId; return this; } /** *

The region in which the WAF instance is deployed. Valid values:

*
    *
  • cn-hangzhou: the Chinese mainland.
  • *
  • ap-southeast-1: outside the Chinese mainland.
  • *
*

This parameter is required.

* * example: *

cn-hangzhou

*/ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** *

The ID of the Alibaba Cloud resource group.

* * example: *

rg-acfm***q

*/ public Builder resourceManagerResourceGroupId(String resourceManagerResourceGroupId) { this.putQueryParameter("ResourceManagerResourceGroupId", resourceManagerResourceGroupId); this.resourceManagerResourceGroupId = resourceManagerResourceGroupId; return this; } @Override public ReleaseInstanceRequest build() { return new ReleaseInstanceRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy