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

com.aliyun.waf_openapi20211001.models.DescribeDefenseResourcesRequest Maven / Gradle / Ivy

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

import com.aliyun.tea.*;

public class DescribeDefenseResourcesRequest extends TeaModel {
    /**
     * 

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_cdnsdf3****

*/ @NameInMap("InstanceId") public String instanceId; /** *

The number of the page to return. Default value: 1.

* * example: *

1

*/ @NameInMap("PageNumber") public Integer pageNumber; /** *

The number of entries to return on each page. Default value: 10.

* * example: *

10

*/ @NameInMap("PageSize") public Integer pageSize; /** *

The query conditions. Specify the value of this parameter as a string in the JSON format.

*
*

The results vary based on the query condition. For more information, see the "Query parameters" section in this topic.

*
* * example: *

{\"product\":\"waf\"}

*/ @NameInMap("Query") public String query; /** *

The region where the WAF instance resides. Valid values:

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

cn-hangzhou

*/ @NameInMap("RegionId") public String regionId; /** *

The ID of the resource group.

* * example: *

rg-acfm***q

*/ @NameInMap("ResourceManagerResourceGroupId") public String resourceManagerResourceGroupId; /** *

The tags of the resources that you want to query. You can specify up to 20 tags.

*/ @NameInMap("Tag") public java.util.List tag; public static DescribeDefenseResourcesRequest build(java.util.Map map) throws Exception { DescribeDefenseResourcesRequest self = new DescribeDefenseResourcesRequest(); return TeaModel.build(map, self); } public DescribeDefenseResourcesRequest setInstanceId(String instanceId) { this.instanceId = instanceId; return this; } public String getInstanceId() { return this.instanceId; } public DescribeDefenseResourcesRequest setPageNumber(Integer pageNumber) { this.pageNumber = pageNumber; return this; } public Integer getPageNumber() { return this.pageNumber; } public DescribeDefenseResourcesRequest setPageSize(Integer pageSize) { this.pageSize = pageSize; return this; } public Integer getPageSize() { return this.pageSize; } public DescribeDefenseResourcesRequest setQuery(String query) { this.query = query; return this; } public String getQuery() { return this.query; } public DescribeDefenseResourcesRequest setRegionId(String regionId) { this.regionId = regionId; return this; } public String getRegionId() { return this.regionId; } public DescribeDefenseResourcesRequest setResourceManagerResourceGroupId(String resourceManagerResourceGroupId) { this.resourceManagerResourceGroupId = resourceManagerResourceGroupId; return this; } public String getResourceManagerResourceGroupId() { return this.resourceManagerResourceGroupId; } public DescribeDefenseResourcesRequest setTag(java.util.List tag) { this.tag = tag; return this; } public java.util.List getTag() { return this.tag; } public static class DescribeDefenseResourcesRequestTag extends TeaModel { /** *

The key of the tag.

* * example: *

Tagkey1

*/ @NameInMap("Key") public String key; /** *

The value of the tag.

* * example: *

TagValue1

*/ @NameInMap("Value") public String value; public static DescribeDefenseResourcesRequestTag build(java.util.Map map) throws Exception { DescribeDefenseResourcesRequestTag self = new DescribeDefenseResourcesRequestTag(); return TeaModel.build(map, self); } public DescribeDefenseResourcesRequestTag setKey(String key) { this.key = key; return this; } public String getKey() { return this.key; } public DescribeDefenseResourcesRequestTag setValue(String value) { this.value = value; return this; } public String getValue() { return this.value; } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy