public class FlowLog extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
FlowLog()  | 
FlowLog(FlowLog source)
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. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getCloudLogId()
Get The storage ID of the flow log 
 | 
String | 
getCloudLogRegion()
Get The region corresponding to the flow log storage ID. 
 | 
String | 
getCloudLogState()
Get Flow log storage ID status. 
 | 
String | 
getCreatedTime()
Get The creation time of the flow log. 
 | 
Boolean | 
getEnable()
Get Whether to enable. 
 | 
String | 
getFlowLogDescription()
Get The flow log description. 
 | 
String | 
getFlowLogId()
Get The unique ID of the flow log. 
 | 
String | 
getFlowLogName()
Get The name of the flow log instance. 
 | 
FlowLogStorage | 
getFlowLogStorage()
Get Information of the consumer, which is returned when the consumer type is `ckafka`. 
 | 
String | 
getResourceId()
Get The unique ID of the resource 
 | 
String | 
getResourceType()
Get The type of resource associated with the flow log. 
 | 
String | 
getStorageType()
Get Consumer end types: cls and ckafka
Note: this field may return `null`, indicating that no valid value can be found. 
 | 
Tag[] | 
getTagSet()
Get Tag list, such as [{"Key": "city", "Value": "shanghai"}]. 
 | 
String | 
getTrafficType()
Get Type of flow logs to be collected. 
 | 
String | 
getVpcId()
Get ID of the VPC instance. 
 | 
void | 
setCloudLogId(String CloudLogId)
Set The storage ID of the flow log 
 | 
void | 
setCloudLogRegion(String CloudLogRegion)
Set The region corresponding to the flow log storage ID. 
 | 
void | 
setCloudLogState(String CloudLogState)
Set Flow log storage ID status. 
 | 
void | 
setCreatedTime(String CreatedTime)
Set The creation time of the flow log. 
 | 
void | 
setEnable(Boolean Enable)
Set Whether to enable. 
 | 
void | 
setFlowLogDescription(String FlowLogDescription)
Set The flow log description. 
 | 
void | 
setFlowLogId(String FlowLogId)
Set The unique ID of the flow log. 
 | 
void | 
setFlowLogName(String FlowLogName)
Set The name of the flow log instance. 
 | 
void | 
setFlowLogStorage(FlowLogStorage FlowLogStorage)
Set Information of the consumer, which is returned when the consumer type is `ckafka`. 
 | 
void | 
setResourceId(String ResourceId)
Set The unique ID of the resource 
 | 
void | 
setResourceType(String ResourceType)
Set The type of resource associated with the flow log. 
 | 
void | 
setStorageType(String StorageType)
Set Consumer end types: cls and ckafka
Note: this field may return `null`, indicating that no valid value can be found. 
 | 
void | 
setTagSet(Tag[] TagSet)
Set Tag list, such as [{"Key": "city", "Value": "shanghai"}]. 
 | 
void | 
setTrafficType(String TrafficType)
Set Type of flow logs to be collected. 
 | 
void | 
setVpcId(String VpcId)
Set ID of the VPC instance. 
 | 
void | 
toMap(HashMap<String,String> map,
     String prefix)
Internal implementation, normal users should not use it. 
 | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic FlowLog()
public FlowLog(FlowLog source)
public String getVpcId()
public void setVpcId(String VpcId)
VpcId - ID of the VPC instance.public String getFlowLogId()
public void setFlowLogId(String FlowLogId)
FlowLogId - The unique ID of the flow log.public String getFlowLogName()
public void setFlowLogName(String FlowLogName)
FlowLogName - The name of the flow log instance.public String getResourceType()
public void setResourceType(String ResourceType)
ResourceType - The type of resource associated with the flow log. Valid values: `VPC`, `SUBNET`, `NETWORKINTERFACE`, `CCN`, `NAT`, and `DCG`.public String getResourceId()
public void setResourceId(String ResourceId)
ResourceId - The unique ID of the resourcepublic String getTrafficType()
public void setTrafficType(String TrafficType)
TrafficType - Type of flow logs to be collected. Valid values: `ACCEPT`, `REJECT` and `ALL`.public String getCloudLogId()
public void setCloudLogId(String CloudLogId)
CloudLogId - The storage ID of the flow logpublic String getCloudLogState()
public void setCloudLogState(String CloudLogState)
CloudLogState - Flow log storage ID status.public String getFlowLogDescription()
public void setFlowLogDescription(String FlowLogDescription)
FlowLogDescription - The flow log description.public String getCreatedTime()
public void setCreatedTime(String CreatedTime)
CreatedTime - The creation time of the flow log.public Tag[] getTagSet()
public void setTagSet(Tag[] TagSet)
TagSet - Tag list, such as [{"Key": "city", "Value": "shanghai"}].public Boolean getEnable()
public void setEnable(Boolean Enable)
Enable - Whether to enable. `true`: yes; `false`: no.public String getStorageType()
public void setStorageType(String StorageType)
StorageType - Consumer end types: cls and ckafka
Note: this field may return `null`, indicating that no valid value can be found.public FlowLogStorage getFlowLogStorage()
public void setFlowLogStorage(FlowLogStorage FlowLogStorage)
FlowLogStorage - Information of the consumer, which is returned when the consumer type is `ckafka`.
Note: this field may return `null`, indicating that no valid value can be found.public String getCloudLogRegion()
public void setCloudLogRegion(String CloudLogRegion)
CloudLogRegion - The region corresponding to the flow log storage ID.
Note: This field may return `null`, indicating that no valid values can be obtained.Copyright © 2025. All rights reserved.