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 |
getFlowLogDescription()
Get The description of the flow log instance
|
String |
getFlowLogName()
Get The name of the flow log instance.
|
String |
getResourceId()
Get The unique ID of the resource.
|
String |
getResourceType()
Get The type of resources to which the flow log belongs.
|
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 ID of the VPC instance
|
void |
setCloudLogId(String CloudLogId)
Set The storage ID of the flow log.
|
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 |
setResourceId(String ResourceId)
Set The unique ID of the resource.
|
void |
setResourceType(String ResourceType)
Set The type of resources to which the flow log belongs.
|
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 ID of the VPC instance
|
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 getVpcId()
public void setVpcId(String VpcId)
VpcId
- ID of the VPC instancepublic 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 resources to which the flow log belongs. Valid values: 'VPC', 'SUBNET' and 'NETWORKINTERFACE'.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 getCloudLogId()
public void setCloudLogId(String CloudLogId)
CloudLogId
- The storage ID of the flow log.public String getFlowLogDescription()
public void setFlowLogDescription(String FlowLogDescription)
FlowLogDescription
- The description of the flow log instancepublic Tag[] getTags()
public void setTags(Tag[] Tags)
Tags
- Bound tags, such as [{"Key": "city", "Value": "shanghai"}]Copyright © 2021. All rights reserved.