com.aliyun.sdk.service.waf_openapi20211001.models.DescribeUserEventTrendRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-waf_openapi20211001 Show documentation
Show all versions of alibabacloud-waf_openapi20211001 Show documentation
Alibaba Cloud waf-openapi (20211001) Async SDK for Java
// 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 DescribeUserEventTrendRequest} extends {@link RequestModel}
*
* DescribeUserEventTrendRequest
*/
public class DescribeUserEventTrendRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClusterId")
private String clusterId;
@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("ResourceManagerResourceGroupId")
private String resourceManagerResourceGroupId;
private DescribeUserEventTrendRequest(Builder builder) {
super(builder);
this.clusterId = builder.clusterId;
this.instanceId = builder.instanceId;
this.regionId = builder.regionId;
this.resourceManagerResourceGroupId = builder.resourceManagerResourceGroupId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeUserEventTrendRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @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 clusterId;
private String instanceId;
private String regionId;
private String resourceManagerResourceGroupId;
private Builder() {
super();
}
private Builder(DescribeUserEventTrendRequest request) {
super(request);
this.clusterId = request.clusterId;
this.instanceId = request.instanceId;
this.regionId = request.regionId;
this.resourceManagerResourceGroupId = request.resourceManagerResourceGroupId;
}
/**
* The ID of the hybrid cloud cluster.
*
* For hybrid cloud scenarios only, you can call the DescribeHybridCloudClusters operation to query the hybrid cloud clusters.
*
*
* example:
* 428
*/
public Builder clusterId(String clusterId) {
this.putQueryParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
/**
* The ID of the Web Application Firewall (WAF) instance.
*
* You can call the DescribeInstance operation to query the ID of the WAF instance.
*
* This parameter is required.
*
* example:
* waf-cn-7mz2797x***
*/
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
*
*
* 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-aekzwwk****cv5i
*/
public Builder resourceManagerResourceGroupId(String resourceManagerResourceGroupId) {
this.putQueryParameter("ResourceManagerResourceGroupId", resourceManagerResourceGroupId);
this.resourceManagerResourceGroupId = resourceManagerResourceGroupId;
return this;
}
@Override
public DescribeUserEventTrendRequest build() {
return new DescribeUserEventTrendRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy