public class CreateFlowLogRequest extends AbstractModel
Constructor and Description |
---|
CreateFlowLogRequest() |
CreateFlowLogRequest(CreateFlowLogRequest 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 |
getFlowLogDescription()
Get The description of the flow log instance
|
String |
getFlowLogName()
Get The name of the flow log instance.
|
FlowLogStorage |
getFlowLogStorage()
Get Information of the flow log consumer, which is required 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 types: `cls` and `ckafka`
|
Tag[] |
getTags()
Get Bound tags, such as [{"Key": "city", "Value": "shanghai"}]
|
String |
getTrafficType()
Get Type of the flow logs to be collected.
|
String |
getVpcId()
Get The VPC ID or unique ID of the resource.
|
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 |
setFlowLogDescription(String FlowLogDescription)
Set The description of the flow log instance
|
void |
setFlowLogName(String FlowLogName)
Set The name of the flow log instance.
|
void |
setFlowLogStorage(FlowLogStorage FlowLogStorage)
Set Information of the flow log consumer, which is required 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 types: `cls` and `ckafka`
|
void |
setTags(Tag[] Tags)
Set Bound tags, such as [{"Key": "city", "Value": "shanghai"}]
|
void |
setTrafficType(String TrafficType)
Set Type of the flow logs to be collected.
|
void |
setVpcId(String VpcId)
Set The VPC ID or unique ID of the resource.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public CreateFlowLogRequest()
public CreateFlowLogRequest(CreateFlowLogRequest source)
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 resource.public String getTrafficType()
public void setTrafficType(String TrafficType)
TrafficType
- Type of the flow logs to be collected. Valid values: `ACCEPT`, `REJECT` and `ALL`.public String getVpcId()
public void setVpcId(String VpcId)
VpcId
- The VPC ID or unique ID of the resource. We recommend using the unique ID. This parameter is required unless the `ResourceType` is set to `CCN`.public String getFlowLogDescription()
public void setFlowLogDescription(String FlowLogDescription)
FlowLogDescription
- The description of the flow log instancepublic String getCloudLogId()
public void setCloudLogId(String CloudLogId)
CloudLogId
- The storage ID of the flow log.public Tag[] getTags()
public void setTags(Tag[] Tags)
Tags
- Bound tags, such as [{"Key": "city", "Value": "shanghai"}]public String getStorageType()
public void setStorageType(String StorageType)
StorageType
- Consumer types: `cls` and `ckafka`public FlowLogStorage getFlowLogStorage()
public void setFlowLogStorage(FlowLogStorage FlowLogStorage)
FlowLogStorage
- Information of the flow log consumer, which is required when the consumer type is `ckafka`.public String getCloudLogRegion()
public void setCloudLogRegion(String CloudLogRegion)
CloudLogRegion
- The region corresponding to the flow log storage ID. If not passed in, this field defaults to the current region.Copyright © 2023. All rights reserved.