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

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

There is a newer version: 5.0.4
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 DescribeRuleHitsTopUaRequest} extends {@link RequestModel}
 *
 * 

DescribeRuleHitsTopUaRequest

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

The end of the time range to query. Unit: seconds. If you do not specify this parameter, the current time is used.

* * example: *

1665386280

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

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

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

The region where the WAF instance resides. Valid values:

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

cn-hangzhou

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

The protected object.

* * example: *

www.aliyundoc.com

*/ public Builder resource(String resource) { this.putQueryParameter("Resource", resource); this.resource = resource; 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; } /** *

The beginning of the time range to query. Unit: seconds.

*

This parameter is required.

* * example: *

1665331200

*/ public Builder startTimestamp(String startTimestamp) { this.putQueryParameter("StartTimestamp", startTimestamp); this.startTimestamp = startTimestamp; return this; } @Override public DescribeRuleHitsTopUaRequest build() { return new DescribeRuleHitsTopUaRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy