
com.aliyun.sdk.service.waf_openapi20211001.models.DescribeSensitiveDetectionResultRequest Maven / Gradle / Ivy
// 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 DescribeSensitiveDetectionResultRequest} extends {@link RequestModel}
*
* DescribeSensitiveDetectionResultRequest
*/
public class DescribeSensitiveDetectionResultRequest 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("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("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("StartTime")
private Long startTime;
private DescribeSensitiveDetectionResultRequest(Builder builder) {
super(builder);
this.clusterId = builder.clusterId;
this.endTime = builder.endTime;
this.instanceId = builder.instanceId;
this.regionId = builder.regionId;
this.resourceManagerResourceGroupId = builder.resourceManagerResourceGroupId;
this.startTime = builder.startTime;
}
public static Builder builder() {
return new Builder();
}
public static DescribeSensitiveDetectionResultRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @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 regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return resourceManagerResourceGroupId
*/
public String getResourceManagerResourceGroupId() {
return this.resourceManagerResourceGroupId;
}
/**
* @return startTime
*/
public Long getStartTime() {
return this.startTime;
}
public static final class Builder extends Request.Builder {
private String clusterId;
private Long endTime;
private String instanceId;
private String regionId;
private String resourceManagerResourceGroupId;
private Long startTime;
private Builder() {
super();
}
private Builder(DescribeSensitiveDetectionResultRequest request) {
super(request);
this.clusterId = request.clusterId;
this.endTime = request.endTime;
this.instanceId = request.instanceId;
this.regionId = request.regionId;
this.resourceManagerResourceGroupId = request.resourceManagerResourceGroupId;
this.startTime = request.startTime;
}
/**
* 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 end of the time range to query. This value is a UNIX timestamp in UTC. Unit: seconds.
*
* example:
* 1725966000
*/
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-cn-7pp26f1****
*/
public Builder instanceId(String instanceId) {
this.putQueryParameter("InstanceId", instanceId);
this.instanceId = instanceId;
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 beginning of the time range to query. This value is a UNIX timestamp in UTC. Unit: seconds.
*
* example:
* 1672502400
*/
public Builder startTime(Long startTime) {
this.putQueryParameter("StartTime", startTime);
this.startTime = startTime;
return this;
}
@Override
public DescribeSensitiveDetectionResultRequest build() {
return new DescribeSensitiveDetectionResultRequest(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy