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

com.tencentcloudapi.teo.v20220901.models.DescribeDDoSAttackDataRequest Maven / Gradle / Ivy

There is a newer version: 3.0.1076
Show newest version
/*
 * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.tencentcloudapi.teo.v20220901.models;

import com.tencentcloudapi.common.AbstractModel;
import com.tencentcloudapi.common.SSEResponseModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;

public class DescribeDDoSAttackDataRequest extends AbstractModel {

    /**
    * Start time of the query period.
    */
    @SerializedName("StartTime")
    @Expose
    private String StartTime;

    /**
    * End time of the query period.
    */
    @SerializedName("EndTime")
    @Expose
    private String EndTime;

    /**
    * Statistical metrics.
  • `ddos_attackMaxBandwidth`: Peak attack bandwidth;
  • `ddos_attackMaxPackageRate`: Peak attack packet rate;
  • `ddos_attackBandwidth`: Time-series data of attack bandwidth;
  • `ddos_attackPackageRate`: Time-series data of attack packet rate.
  • */ @SerializedName("MetricNames") @Expose private String [] MetricNames; /** * ZoneId set. This parameter is required. */ @SerializedName("ZoneIds") @Expose private String [] ZoneIds; /** * IDs of DDoS policies to be queried. All policies will be selected if this field is not specified. */ @SerializedName("PolicyIds") @Expose private Long [] PolicyIds; /** * The query granularity. Values:
  • `min`: 1 minute;
  • `5min`: 5 minutes;
  • `hour`: 1 hour;
  • `day`: 1 day
  • If this field is not specified, the granularity is determined based on the query period.
    Period ≤ 1 hour: `min`;
    1 hour < Period ≤ 2 days: `5min`;
    2 days < Period ≤ 7 days: `hour`;
    Period > 7 days: `day`. */ @SerializedName("Interval") @Expose private String Interval; /** * Geolocation scope. Values:
  • `overseas`: Regions outside the Chinese mainland
  • `mainland`: Chinese mainland
  • `global`: Global
  • If this field is not specified, the default value `global` is used. */ @SerializedName("Area") @Expose private String Area; /** * Get Start time of the query period. * @return StartTime Start time of the query period. */ public String getStartTime() { return this.StartTime; } /** * Set Start time of the query period. * @param StartTime Start time of the query period. */ public void setStartTime(String StartTime) { this.StartTime = StartTime; } /** * Get End time of the query period. * @return EndTime End time of the query period. */ public String getEndTime() { return this.EndTime; } /** * Set End time of the query period. * @param EndTime End time of the query period. */ public void setEndTime(String EndTime) { this.EndTime = EndTime; } /** * Get Statistical metrics.
  • `ddos_attackMaxBandwidth`: Peak attack bandwidth;
  • `ddos_attackMaxPackageRate`: Peak attack packet rate;
  • `ddos_attackBandwidth`: Time-series data of attack bandwidth;
  • `ddos_attackPackageRate`: Time-series data of attack packet rate.
  • * @return MetricNames Statistical metrics.
  • `ddos_attackMaxBandwidth`: Peak attack bandwidth;
  • `ddos_attackMaxPackageRate`: Peak attack packet rate;
  • `ddos_attackBandwidth`: Time-series data of attack bandwidth;
  • `ddos_attackPackageRate`: Time-series data of attack packet rate.
  • */ public String [] getMetricNames() { return this.MetricNames; } /** * Set Statistical metrics.
  • `ddos_attackMaxBandwidth`: Peak attack bandwidth;
  • `ddos_attackMaxPackageRate`: Peak attack packet rate;
  • `ddos_attackBandwidth`: Time-series data of attack bandwidth;
  • `ddos_attackPackageRate`: Time-series data of attack packet rate.
  • * @param MetricNames Statistical metrics.
  • `ddos_attackMaxBandwidth`: Peak attack bandwidth;
  • `ddos_attackMaxPackageRate`: Peak attack packet rate;
  • `ddos_attackBandwidth`: Time-series data of attack bandwidth;
  • `ddos_attackPackageRate`: Time-series data of attack packet rate.
  • */ public void setMetricNames(String [] MetricNames) { this.MetricNames = MetricNames; } /** * Get ZoneId set. This parameter is required. * @return ZoneIds ZoneId set. This parameter is required. */ public String [] getZoneIds() { return this.ZoneIds; } /** * Set ZoneId set. This parameter is required. * @param ZoneIds ZoneId set. This parameter is required. */ public void setZoneIds(String [] ZoneIds) { this.ZoneIds = ZoneIds; } /** * Get IDs of DDoS policies to be queried. All policies will be selected if this field is not specified. * @return PolicyIds IDs of DDoS policies to be queried. All policies will be selected if this field is not specified. */ public Long [] getPolicyIds() { return this.PolicyIds; } /** * Set IDs of DDoS policies to be queried. All policies will be selected if this field is not specified. * @param PolicyIds IDs of DDoS policies to be queried. All policies will be selected if this field is not specified. */ public void setPolicyIds(Long [] PolicyIds) { this.PolicyIds = PolicyIds; } /** * Get The query granularity. Values:
  • `min`: 1 minute;
  • `5min`: 5 minutes;
  • `hour`: 1 hour;
  • `day`: 1 day
  • If this field is not specified, the granularity is determined based on the query period.
    Period ≤ 1 hour: `min`;
    1 hour < Period ≤ 2 days: `5min`;
    2 days < Period ≤ 7 days: `hour`;
    Period > 7 days: `day`. * @return Interval The query granularity. Values:
  • `min`: 1 minute;
  • `5min`: 5 minutes;
  • `hour`: 1 hour;
  • `day`: 1 day
  • If this field is not specified, the granularity is determined based on the query period.
    Period ≤ 1 hour: `min`;
    1 hour < Period ≤ 2 days: `5min`;
    2 days < Period ≤ 7 days: `hour`;
    Period > 7 days: `day`. */ public String getInterval() { return this.Interval; } /** * Set The query granularity. Values:
  • `min`: 1 minute;
  • `5min`: 5 minutes;
  • `hour`: 1 hour;
  • `day`: 1 day
  • If this field is not specified, the granularity is determined based on the query period.
    Period ≤ 1 hour: `min`;
    1 hour < Period ≤ 2 days: `5min`;
    2 days < Period ≤ 7 days: `hour`;
    Period > 7 days: `day`. * @param Interval The query granularity. Values:
  • `min`: 1 minute;
  • `5min`: 5 minutes;
  • `hour`: 1 hour;
  • `day`: 1 day
  • If this field is not specified, the granularity is determined based on the query period.
    Period ≤ 1 hour: `min`;
    1 hour < Period ≤ 2 days: `5min`;
    2 days < Period ≤ 7 days: `hour`;
    Period > 7 days: `day`. */ public void setInterval(String Interval) { this.Interval = Interval; } /** * Get Geolocation scope. Values:
  • `overseas`: Regions outside the Chinese mainland
  • `mainland`: Chinese mainland
  • `global`: Global
  • If this field is not specified, the default value `global` is used. * @return Area Geolocation scope. Values:
  • `overseas`: Regions outside the Chinese mainland
  • `mainland`: Chinese mainland
  • `global`: Global
  • If this field is not specified, the default value `global` is used. */ public String getArea() { return this.Area; } /** * Set Geolocation scope. Values:
  • `overseas`: Regions outside the Chinese mainland
  • `mainland`: Chinese mainland
  • `global`: Global
  • If this field is not specified, the default value `global` is used. * @param Area Geolocation scope. Values:
  • `overseas`: Regions outside the Chinese mainland
  • `mainland`: Chinese mainland
  • `global`: Global
  • If this field is not specified, the default value `global` is used. */ public void setArea(String Area) { this.Area = Area; } public DescribeDDoSAttackDataRequest() { } /** * NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, * and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. */ public DescribeDDoSAttackDataRequest(DescribeDDoSAttackDataRequest source) { if (source.StartTime != null) { this.StartTime = new String(source.StartTime); } if (source.EndTime != null) { this.EndTime = new String(source.EndTime); } if (source.MetricNames != null) { this.MetricNames = new String[source.MetricNames.length]; for (int i = 0; i < source.MetricNames.length; i++) { this.MetricNames[i] = new String(source.MetricNames[i]); } } if (source.ZoneIds != null) { this.ZoneIds = new String[source.ZoneIds.length]; for (int i = 0; i < source.ZoneIds.length; i++) { this.ZoneIds[i] = new String(source.ZoneIds[i]); } } if (source.PolicyIds != null) { this.PolicyIds = new Long[source.PolicyIds.length]; for (int i = 0; i < source.PolicyIds.length; i++) { this.PolicyIds[i] = new Long(source.PolicyIds[i]); } } if (source.Interval != null) { this.Interval = new String(source.Interval); } if (source.Area != null) { this.Area = new String(source.Area); } } /** * Internal implementation, normal users should not use it. */ public void toMap(HashMap map, String prefix) { this.setParamSimple(map, prefix + "StartTime", this.StartTime); this.setParamSimple(map, prefix + "EndTime", this.EndTime); this.setParamArraySimple(map, prefix + "MetricNames.", this.MetricNames); this.setParamArraySimple(map, prefix + "ZoneIds.", this.ZoneIds); this.setParamArraySimple(map, prefix + "PolicyIds.", this.PolicyIds); this.setParamSimple(map, prefix + "Interval", this.Interval); this.setParamSimple(map, prefix + "Area", this.Area); } }




    © 2015 - 2025 Weber Informatics LLC | Privacy Policy