
com.aliyun.sdk.service.waf_openapi20211001.models.DescribeSensitiveRequestLogRequest Maven / Gradle / Ivy
Show all versions of alibabacloud-waf_openapi20211001 Show documentation
// 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 DescribeSensitiveRequestLogRequest} extends {@link RequestModel}
*
* DescribeSensitiveRequestLogRequest
*/
public class DescribeSensitiveRequestLogRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ApiFormat")
private String apiFormat;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClientIP")
private String clientIP;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClusterId")
private String clusterId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("EndTime")
private Long endTime;
@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("MatchedHost")
private String matchedHost;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageNumber")
private Long pageNumber;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageSize")
@com.aliyun.core.annotation.Validation(maximum = 25, minimum = 1)
private Long pageSize;
@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;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("SensitiveCode")
private String sensitiveCode;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("SensitiveData")
private String sensitiveData;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("StartTime")
private Long startTime;
private DescribeSensitiveRequestLogRequest(Builder builder) {
super(builder);
this.apiFormat = builder.apiFormat;
this.clientIP = builder.clientIP;
this.clusterId = builder.clusterId;
this.endTime = builder.endTime;
this.instanceId = builder.instanceId;
this.matchedHost = builder.matchedHost;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.regionId = builder.regionId;
this.resourceManagerResourceGroupId = builder.resourceManagerResourceGroupId;
this.sensitiveCode = builder.sensitiveCode;
this.sensitiveData = builder.sensitiveData;
this.startTime = builder.startTime;
}
public static Builder builder() {
return new Builder();
}
public static DescribeSensitiveRequestLogRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return apiFormat
*/
public String getApiFormat() {
return this.apiFormat;
}
/**
* @return clientIP
*/
public String getClientIP() {
return this.clientIP;
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return endTime
*/
public Long getEndTime() {
return this.endTime;
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
/**
* @return matchedHost
*/
public String getMatchedHost() {
return this.matchedHost;
}
/**
* @return pageNumber
*/
public Long getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Long getPageSize() {
return this.pageSize;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceManagerResourceGroupId
*/
public String getResourceManagerResourceGroupId() {
return this.resourceManagerResourceGroupId;
}
/**
* @return sensitiveCode
*/
public String getSensitiveCode() {
return this.sensitiveCode;
}
/**
* @return sensitiveData
*/
public String getSensitiveData() {
return this.sensitiveData;
}
/**
* @return startTime
*/
public Long getStartTime() {
return this.startTime;
}
public static final class Builder extends Request.Builder {
private String apiFormat;
private String clientIP;
private String clusterId;
private Long endTime;
private String instanceId;
private String matchedHost;
private Long pageNumber;
private Long pageSize;
private String regionId;
private String resourceManagerResourceGroupId;
private String sensitiveCode;
private String sensitiveData;
private Long startTime;
private Builder() {
super();
}
private Builder(DescribeSensitiveRequestLogRequest request) {
super(request);
this.apiFormat = request.apiFormat;
this.clientIP = request.clientIP;
this.clusterId = request.clusterId;
this.endTime = request.endTime;
this.instanceId = request.instanceId;
this.matchedHost = request.matchedHost;
this.pageNumber = request.pageNumber;
this.pageSize = request.pageSize;
this.regionId = request.regionId;
this.resourceManagerResourceGroupId = request.resourceManagerResourceGroupId;
this.sensitiveCode = request.sensitiveCode;
this.sensitiveData = request.sensitiveData;
this.startTime = request.startTime;
}
/**
* The API.
*
* example:
* /api/users/login
*/
public Builder apiFormat(String apiFormat) {
this.putQueryParameter("ApiFormat", apiFormat);
this.apiFormat = apiFormat;
return this;
}
/**
* The IP address.
*
* example:
* 103.118.55.**
*/
public Builder clientIP(String clientIP) {
this.putQueryParameter("ClientIP", clientIP);
this.clientIP = clientIP;
return this;
}
/**
* 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:
* 433
*/
public Builder clusterId(String clusterId) {
this.putQueryParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
/**
* The end of the time range to query. The value is a UNIX timestamp displayed in UTC. Unit: seconds.
*
* example:
* 1726057800
*/
public Builder endTime(Long endTime) {
this.putQueryParameter("EndTime", endTime);
this.endTime = endTime;
return this;
}
/**
* The ID of the WAF instance.
*
* You can call the DescribeInstance operation to query 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 domain name of the API.
*
* example:
* a.***.com
*/
public Builder matchedHost(String matchedHost) {
this.putQueryParameter("MatchedHost", matchedHost);
this.matchedHost = matchedHost;
return this;
}
/**
* The page number. Default value: 1.
*
* example:
* 1
*/
public Builder pageNumber(Long pageNumber) {
this.putQueryParameter("PageNumber", pageNumber);
this.pageNumber = pageNumber;
return this;
}
/**
* The number of entries per page. Default value: 10.
*
* example:
* 10
*/
public Builder pageSize(Long pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* The region in which the Web Application Firewall (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-acfm***q
*/
public Builder resourceManagerResourceGroupId(String resourceManagerResourceGroupId) {
this.putQueryParameter("ResourceManagerResourceGroupId", resourceManagerResourceGroupId);
this.resourceManagerResourceGroupId = resourceManagerResourceGroupId;
return this;
}
/**
* The type of the sensitive data.
*
* You can call the DescribeApisecRules operation to query the supported types of sensitive data.
*
*
* example:
* 1000,1001
*/
public Builder sensitiveCode(String sensitiveCode) {
this.putQueryParameter("SensitiveCode", sensitiveCode);
this.sensitiveCode = sensitiveCode;
return this;
}
/**
* The response sensitive data.
*
* example:
* user
*/
public Builder sensitiveData(String sensitiveData) {
this.putQueryParameter("SensitiveData", sensitiveData);
this.sensitiveData = sensitiveData;
return this;
}
/**
* The beginning of the time range to query. The value is a UNIX timestamp displayed in UTC. Unit: seconds.
*
* example:
* 1723392000
*/
public Builder startTime(Long startTime) {
this.putQueryParameter("StartTime", startTime);
this.startTime = startTime;
return this;
}
@Override
public DescribeSensitiveRequestLogRequest build() {
return new DescribeSensitiveRequestLogRequest(this);
}
}
}