public static final class DescribeFlowlogsResponseBody.FlowLog.Builder extends Object
public DescribeFlowlogsResponseBody.FlowLog.Builder cenId(String cenId)
The ID of the Cloud Enterprise Network (CEN) instance.
example:cen-7qthudw0ll6jmc****
public DescribeFlowlogsResponseBody.FlowLog.Builder creationTime(String creationTime)
The time when the flow log was created.
The time follows the ISO 8601 standard in the YYYY-MM-DDThh:mm:ssZ format. The time is displayed in UTC.
example:2021-07-24T13:00:52Z
public DescribeFlowlogsResponseBody.FlowLog.Builder description(String description)
The description of the flow log.
example:myFlowlog
public DescribeFlowlogsResponseBody.FlowLog.Builder flowLogId(String flowLogId)
The ID of the flow log.
example:flowlog-m5evbtbpt****
public DescribeFlowlogsResponseBody.FlowLog.Builder flowLogName(String flowLogName)
The name of the flow log.
example:myFlowlog
public DescribeFlowlogsResponseBody.FlowLog.Builder flowLogVersion(String flowLogVersion)
The flow log version.
Flow logs are automatically created in the latest version, which is 3.
example:3
public DescribeFlowlogsResponseBody.FlowLog.Builder interval(Long interval)
The time window for collecting log data. Unit: seconds. Valid values: 60 or 600 Default value: 600.
example:60
public DescribeFlowlogsResponseBody.FlowLog.Builder logFormatString(String logFormatString)
The string that defines the format of the flow log. Format:
${Field 1}${Field 2}${Field 3}
${srcaddr}${dstaddr}${bytes}
public DescribeFlowlogsResponseBody.FlowLog.Builder logStoreName(String logStoreName)
The Logstore that stores the captured traffic data.
example:FlowLogStore
public DescribeFlowlogsResponseBody.FlowLog.Builder projectName(String projectName)
The name of the project that stores the captured traffic data.
example:FlowLogProject
public DescribeFlowlogsResponseBody.FlowLog.Builder regionId(String regionId)
The region ID of the flow log.
example:cn-hangzhou
public DescribeFlowlogsResponseBody.FlowLog.Builder status(String status)
The status of the flow log. Valid values:
Active
public DescribeFlowlogsResponseBody.FlowLog.Builder tags(DescribeFlowlogsResponseBody.Tags tags)
The tags.
public DescribeFlowlogsResponseBody.FlowLog.Builder transitRouterAttachmentId(String transitRouterAttachmentId)
The ID of the network instance connection
example:tr-attach-5x4o4ynzuqbv6g****
public DescribeFlowlogsResponseBody.FlowLog.Builder transitRouterId(String transitRouterId)
The ID of the transit router.
example:tr-bp1g9313sx675zr1lajmj
public DescribeFlowlogsResponseBody.FlowLog build()
Copyright © 2025. All rights reserved.