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

com.aliyun.sdk.service.waf_openapi20190910.models.DescribeInstanceInfoRequest 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 DescribeInstanceInfoRequest} extends {@link RequestModel}
 *
 * 

DescribeInstanceInfoRequest

*/ public class DescribeInstanceInfoRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @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 DescribeInstanceInfoRequest(Builder builder) { super(builder); this.instanceId = builder.instanceId; this.regionId = builder.regionId; this.resourceGroupId = builder.resourceGroupId; } public static Builder builder() { return new Builder(); } public static DescribeInstanceInfoRequest 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 resourceGroupId */ public String getResourceGroupId() { return this.resourceGroupId; } public static final class Builder extends Request.Builder { private String instanceId; private String regionId; private String resourceGroupId; private Builder() { super(); } private Builder(DescribeInstanceInfoRequest request) { super(request); this.instanceId = request.instanceId; this.regionId = request.regionId; this.resourceGroupId = request.resourceGroupId; } /** * The ID of the WAF instance. *

* * If you do not configure this parameter, all WAF instances in the Chinese mainland or all WAF instances outside the Chinese mainland are queried. */ 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**: Chinese mainland. * * **ap-southeast-1**: outside the Chinese mainland. */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * The ID of the resource group to which the WAF instance belongs in Resource Management. If you do not configure this parameter, the WAF instance belongs to the default resource group. */ public Builder resourceGroupId(String resourceGroupId) { this.putQueryParameter("ResourceGroupId", resourceGroupId); this.resourceGroupId = resourceGroupId; return this; } @Override public DescribeInstanceInfoRequest build() { return new DescribeInstanceInfoRequest(this); } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy