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

com.tencentcloudapi.vpc.v20170312.models.DescribeFlowLogsRequest Maven / Gradle / Ivy

There is a newer version: 3.1.1105
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.vpc.v20170312.models;

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

public class DescribeFlowLogsRequest extends AbstractModel{

    /**
    * 私用网络ID或者统一ID,建议使用统一ID
    */
    @SerializedName("VpcId")
    @Expose
    private String VpcId;

    /**
    * 流日志唯一ID
    */
    @SerializedName("FlowLogId")
    @Expose
    private String FlowLogId;

    /**
    * 流日志实例名字
    */
    @SerializedName("FlowLogName")
    @Expose
    private String FlowLogName;

    /**
    * 流日志所属资源类型,VPC|SUBNET|NETWORKINTERFACE
    */
    @SerializedName("ResourceType")
    @Expose
    private String ResourceType;

    /**
    * 资源唯一ID
    */
    @SerializedName("ResourceId")
    @Expose
    private String ResourceId;

    /**
    * 流日志采集类型,ACCEPT|REJECT|ALL
    */
    @SerializedName("TrafficType")
    @Expose
    private String TrafficType;

    /**
    * 流日志存储ID
    */
    @SerializedName("CloudLogId")
    @Expose
    private String CloudLogId;

    /**
    * 流日志存储ID状态
    */
    @SerializedName("CloudLogState")
    @Expose
    private String CloudLogState;

    /**
    * 按某个字段排序,支持字段:flowLogName,createTime,默认按createTime
    */
    @SerializedName("OrderField")
    @Expose
    private String OrderField;

    /**
    * 升序(asc)还是降序(desc),默认:desc
    */
    @SerializedName("OrderDirection")
    @Expose
    private String OrderDirection;

    /**
    * 偏移量,默认为0。
    */
    @SerializedName("Offset")
    @Expose
    private Long Offset;

    /**
    * 每页行数,默认为10
    */
    @SerializedName("Limit")
    @Expose
    private Long Limit;

    /**
    * 过滤条件,参数不支持同时指定FlowLogIds和Filters。
  • tag-key - String -是否必填:否- (过滤条件)按照标签键进行过滤。
  • tag:tag-key - String - 是否必填:否 - (过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。
  • */ @SerializedName("Filters") @Expose private Filter Filters; /** * Get 私用网络ID或者统一ID,建议使用统一ID * @return VpcId 私用网络ID或者统一ID,建议使用统一ID */ public String getVpcId() { return this.VpcId; } /** * Set 私用网络ID或者统一ID,建议使用统一ID * @param VpcId 私用网络ID或者统一ID,建议使用统一ID */ public void setVpcId(String VpcId) { this.VpcId = VpcId; } /** * Get 流日志唯一ID * @return FlowLogId 流日志唯一ID */ public String getFlowLogId() { return this.FlowLogId; } /** * Set 流日志唯一ID * @param FlowLogId 流日志唯一ID */ public void setFlowLogId(String FlowLogId) { this.FlowLogId = FlowLogId; } /** * Get 流日志实例名字 * @return FlowLogName 流日志实例名字 */ public String getFlowLogName() { return this.FlowLogName; } /** * Set 流日志实例名字 * @param FlowLogName 流日志实例名字 */ public void setFlowLogName(String FlowLogName) { this.FlowLogName = FlowLogName; } /** * Get 流日志所属资源类型,VPC|SUBNET|NETWORKINTERFACE * @return ResourceType 流日志所属资源类型,VPC|SUBNET|NETWORKINTERFACE */ public String getResourceType() { return this.ResourceType; } /** * Set 流日志所属资源类型,VPC|SUBNET|NETWORKINTERFACE * @param ResourceType 流日志所属资源类型,VPC|SUBNET|NETWORKINTERFACE */ public void setResourceType(String ResourceType) { this.ResourceType = ResourceType; } /** * Get 资源唯一ID * @return ResourceId 资源唯一ID */ public String getResourceId() { return this.ResourceId; } /** * Set 资源唯一ID * @param ResourceId 资源唯一ID */ public void setResourceId(String ResourceId) { this.ResourceId = ResourceId; } /** * Get 流日志采集类型,ACCEPT|REJECT|ALL * @return TrafficType 流日志采集类型,ACCEPT|REJECT|ALL */ public String getTrafficType() { return this.TrafficType; } /** * Set 流日志采集类型,ACCEPT|REJECT|ALL * @param TrafficType 流日志采集类型,ACCEPT|REJECT|ALL */ public void setTrafficType(String TrafficType) { this.TrafficType = TrafficType; } /** * Get 流日志存储ID * @return CloudLogId 流日志存储ID */ public String getCloudLogId() { return this.CloudLogId; } /** * Set 流日志存储ID * @param CloudLogId 流日志存储ID */ public void setCloudLogId(String CloudLogId) { this.CloudLogId = CloudLogId; } /** * Get 流日志存储ID状态 * @return CloudLogState 流日志存储ID状态 */ public String getCloudLogState() { return this.CloudLogState; } /** * Set 流日志存储ID状态 * @param CloudLogState 流日志存储ID状态 */ public void setCloudLogState(String CloudLogState) { this.CloudLogState = CloudLogState; } /** * Get 按某个字段排序,支持字段:flowLogName,createTime,默认按createTime * @return OrderField 按某个字段排序,支持字段:flowLogName,createTime,默认按createTime */ public String getOrderField() { return this.OrderField; } /** * Set 按某个字段排序,支持字段:flowLogName,createTime,默认按createTime * @param OrderField 按某个字段排序,支持字段:flowLogName,createTime,默认按createTime */ public void setOrderField(String OrderField) { this.OrderField = OrderField; } /** * Get 升序(asc)还是降序(desc),默认:desc * @return OrderDirection 升序(asc)还是降序(desc),默认:desc */ public String getOrderDirection() { return this.OrderDirection; } /** * Set 升序(asc)还是降序(desc),默认:desc * @param OrderDirection 升序(asc)还是降序(desc),默认:desc */ public void setOrderDirection(String OrderDirection) { this.OrderDirection = OrderDirection; } /** * Get 偏移量,默认为0。 * @return Offset 偏移量,默认为0。 */ public Long getOffset() { return this.Offset; } /** * Set 偏移量,默认为0。 * @param Offset 偏移量,默认为0。 */ public void setOffset(Long Offset) { this.Offset = Offset; } /** * Get 每页行数,默认为10 * @return Limit 每页行数,默认为10 */ public Long getLimit() { return this.Limit; } /** * Set 每页行数,默认为10 * @param Limit 每页行数,默认为10 */ public void setLimit(Long Limit) { this.Limit = Limit; } /** * Get 过滤条件,参数不支持同时指定FlowLogIds和Filters。
  • tag-key - String -是否必填:否- (过滤条件)按照标签键进行过滤。
  • tag:tag-key - String - 是否必填:否 - (过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。
  • * @return Filters 过滤条件,参数不支持同时指定FlowLogIds和Filters。
  • tag-key - String -是否必填:否- (过滤条件)按照标签键进行过滤。
  • tag:tag-key - String - 是否必填:否 - (过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。
  • */ public Filter getFilters() { return this.Filters; } /** * Set 过滤条件,参数不支持同时指定FlowLogIds和Filters。
  • tag-key - String -是否必填:否- (过滤条件)按照标签键进行过滤。
  • tag:tag-key - String - 是否必填:否 - (过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。
  • * @param Filters 过滤条件,参数不支持同时指定FlowLogIds和Filters。
  • tag-key - String -是否必填:否- (过滤条件)按照标签键进行过滤。
  • tag:tag-key - String - 是否必填:否 - (过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。
  • */ public void setFilters(Filter Filters) { this.Filters = Filters; } public DescribeFlowLogsRequest() { } /** * 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 DescribeFlowLogsRequest(DescribeFlowLogsRequest source) { if (source.VpcId != null) { this.VpcId = new String(source.VpcId); } if (source.FlowLogId != null) { this.FlowLogId = new String(source.FlowLogId); } if (source.FlowLogName != null) { this.FlowLogName = new String(source.FlowLogName); } if (source.ResourceType != null) { this.ResourceType = new String(source.ResourceType); } if (source.ResourceId != null) { this.ResourceId = new String(source.ResourceId); } if (source.TrafficType != null) { this.TrafficType = new String(source.TrafficType); } if (source.CloudLogId != null) { this.CloudLogId = new String(source.CloudLogId); } if (source.CloudLogState != null) { this.CloudLogState = new String(source.CloudLogState); } if (source.OrderField != null) { this.OrderField = new String(source.OrderField); } if (source.OrderDirection != null) { this.OrderDirection = new String(source.OrderDirection); } if (source.Offset != null) { this.Offset = new Long(source.Offset); } if (source.Limit != null) { this.Limit = new Long(source.Limit); } if (source.Filters != null) { this.Filters = new Filter(source.Filters); } } /** * Internal implementation, normal users should not use it. */ public void toMap(HashMap map, String prefix) { this.setParamSimple(map, prefix + "VpcId", this.VpcId); this.setParamSimple(map, prefix + "FlowLogId", this.FlowLogId); this.setParamSimple(map, prefix + "FlowLogName", this.FlowLogName); this.setParamSimple(map, prefix + "ResourceType", this.ResourceType); this.setParamSimple(map, prefix + "ResourceId", this.ResourceId); this.setParamSimple(map, prefix + "TrafficType", this.TrafficType); this.setParamSimple(map, prefix + "CloudLogId", this.CloudLogId); this.setParamSimple(map, prefix + "CloudLogState", this.CloudLogState); this.setParamSimple(map, prefix + "OrderField", this.OrderField); this.setParamSimple(map, prefix + "OrderDirection", this.OrderDirection); this.setParamSimple(map, prefix + "Offset", this.Offset); this.setParamSimple(map, prefix + "Limit", this.Limit); this.setParamObj(map, prefix + "Filters.", this.Filters); } }




    © 2015 - 2024 Weber Informatics LLC | Privacy Policy