com.aliyun.sdk.service.waf_openapi20211001.models.DescribeSensitiveRequestLogResponseBody 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 DescribeSensitiveRequestLogResponseBody} extends {@link TeaModel}
*
* DescribeSensitiveRequestLogResponseBody
*/
public class DescribeSensitiveRequestLogResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Data")
private java.util.List < Data> data;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("TotalCount")
private Long totalCount;
private DescribeSensitiveRequestLogResponseBody(Builder builder) {
this.data = builder.data;
this.requestId = builder.requestId;
this.totalCount = builder.totalCount;
}
public static Builder builder() {
return new Builder();
}
public static DescribeSensitiveRequestLogResponseBody create() {
return builder().build();
}
/**
* @return data
*/
public java.util.List < Data> getData() {
return this.data;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return totalCount
*/
public Long getTotalCount() {
return this.totalCount;
}
public static final class Builder {
private java.util.List < Data> data;
private String requestId;
private Long totalCount;
/**
* The access logs.
*/
public Builder data(java.util.List < Data> data) {
this.data = data;
return this;
}
/**
* The request ID.
*
* example:
* 26E46541-7AAB-5565-801D-F14DBDC5****
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* The total number of entries returned.
*
* example:
* 7
*/
public Builder totalCount(Long totalCount) {
this.totalCount = totalCount;
return this;
}
public DescribeSensitiveRequestLogResponseBody build() {
return new DescribeSensitiveRequestLogResponseBody(this);
}
}
/**
*
* {@link DescribeSensitiveRequestLogResponseBody} extends {@link TeaModel}
*
* DescribeSensitiveRequestLogResponseBody
*/
public static class Data extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ApiFormat")
private String apiFormat;
@com.aliyun.core.annotation.NameInMap("ApiId")
private String apiId;
@com.aliyun.core.annotation.NameInMap("ClientIP")
private String clientIP;
@com.aliyun.core.annotation.NameInMap("Count")
private Long count;
@com.aliyun.core.annotation.NameInMap("MatchedHost")
private String matchedHost;
@com.aliyun.core.annotation.NameInMap("RemoteCountryId")
private String remoteCountryId;
@com.aliyun.core.annotation.NameInMap("RequestTime")
private Long requestTime;
@com.aliyun.core.annotation.NameInMap("SensitiveList")
private String sensitiveList;
@com.aliyun.core.annotation.NameInMap("TraceId")
private String traceId;
private Data(Builder builder) {
this.apiFormat = builder.apiFormat;
this.apiId = builder.apiId;
this.clientIP = builder.clientIP;
this.count = builder.count;
this.matchedHost = builder.matchedHost;
this.remoteCountryId = builder.remoteCountryId;
this.requestTime = builder.requestTime;
this.sensitiveList = builder.sensitiveList;
this.traceId = builder.traceId;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return apiFormat
*/
public String getApiFormat() {
return this.apiFormat;
}
/**
* @return apiId
*/
public String getApiId() {
return this.apiId;
}
/**
* @return clientIP
*/
public String getClientIP() {
return this.clientIP;
}
/**
* @return count
*/
public Long getCount() {
return this.count;
}
/**
* @return matchedHost
*/
public String getMatchedHost() {
return this.matchedHost;
}
/**
* @return remoteCountryId
*/
public String getRemoteCountryId() {
return this.remoteCountryId;
}
/**
* @return requestTime
*/
public Long getRequestTime() {
return this.requestTime;
}
/**
* @return sensitiveList
*/
public String getSensitiveList() {
return this.sensitiveList;
}
/**
* @return traceId
*/
public String getTraceId() {
return this.traceId;
}
public static final class Builder {
private String apiFormat;
private String apiId;
private String clientIP;
private Long count;
private String matchedHost;
private String remoteCountryId;
private Long requestTime;
private String sensitiveList;
private String traceId;
/**
* The API.
*
* example:
* /api/users/login
*/
public Builder apiFormat(String apiFormat) {
this.apiFormat = apiFormat;
return this;
}
/**
* The ID of the API.
*
* example:
* 197b52abcd81d6a8bd4***e477
*/
public Builder apiId(String apiId) {
this.apiId = apiId;
return this;
}
/**
* The IP address.
*
* example:
* 103.118.55.**
*/
public Builder clientIP(String clientIP) {
this.clientIP = clientIP;
return this;
}
/**
* The number of sensitive data records involved in cross-border data transfer.
*
* example:
* 12
*/
public Builder count(Long count) {
this.count = count;
return this;
}
/**
* The domain name of the API.
*
* example:
* a.****.com
*/
public Builder matchedHost(String matchedHost) {
this.matchedHost = matchedHost;
return this;
}
/**
* IP region, formatted as a region code.
*
* example:
* CN
*/
public Builder remoteCountryId(String remoteCountryId) {
this.remoteCountryId = remoteCountryId;
return this;
}
/**
* The time when the request was initiated. The value is a UNIX timestamp displayed in UTC. Unit: seconds.
*
* example:
* 1723392000
*/
public Builder requestTime(Long requestTime) {
this.requestTime = requestTime;
return this;
}
/**
* The sensitive data.
*
* example:
* A0Y5MPH3P
*/
public Builder sensitiveList(String sensitiveList) {
this.sensitiveList = sensitiveList;
return this;
}
/**
* The trace ID.
*
* example:
* 0a3d455b17027784870843933dce3d
*/
public Builder traceId(String traceId) {
this.traceId = traceId;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy