public static final class DescribeFlowlogsRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
DescribeFlowlogsRequest |
build() |
DescribeFlowlogsRequest.Builder |
cenId(String cenId)
The ID of the Cloud Enterprise Network (CEN) instance.
|
DescribeFlowlogsRequest.Builder |
clientToken(String clientToken)
The client token that is used to ensure the idempotence of the request.
|
DescribeFlowlogsRequest.Builder |
description(String description)
The description of the flow log.
|
DescribeFlowlogsRequest.Builder |
flowLogId(String flowLogId)
The ID of the flow log.
|
DescribeFlowlogsRequest.Builder |
flowLogName(String flowLogName)
The name of the flow log.
|
DescribeFlowlogsRequest.Builder |
flowLogVersion(String flowLogVersion)
The flow log version.
|
DescribeFlowlogsRequest.Builder |
interval(Integer interval)
The time window for collecting log data.
|
DescribeFlowlogsRequest.Builder |
logStoreName(String logStoreName)
The name of the Logstore where the flow log is stored.
|
DescribeFlowlogsRequest.Builder |
ownerAccount(String ownerAccount)
OwnerAccount.
|
DescribeFlowlogsRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
DescribeFlowlogsRequest.Builder |
pageNumber(Integer pageNumber)
The page number of the page to return.
|
DescribeFlowlogsRequest.Builder |
pageSize(Integer pageSize)
The number of entries per page.
|
DescribeFlowlogsRequest.Builder |
projectName(String projectName)
The name of the project where the flow log is stored.
|
DescribeFlowlogsRequest.Builder |
regionId(String regionId)
The ID of the region where the flow log is deployed.
|
DescribeFlowlogsRequest.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
DescribeFlowlogsRequest.Builder |
resourceOwnerId(Long resourceOwnerId)
ResourceOwnerId.
|
DescribeFlowlogsRequest.Builder |
status(String status)
The status of the flow log.
|
DescribeFlowlogsRequest.Builder |
tag(List<DescribeFlowlogsRequest.Tag> tag)
The information about the tags.
|
DescribeFlowlogsRequest.Builder |
transitRouterAttachmentId(String transitRouterAttachmentId)
The ID of the network instance connection.
|
DescribeFlowlogsRequest.Builder |
transitRouterId(String transitRouterId)
The ID of the transit router.
|
public DescribeFlowlogsRequest.Builder cenId(String cenId)
The ID of the Cloud Enterprise Network (CEN) instance.
example:cen-7qthudw0ll6jmc****
public DescribeFlowlogsRequest.Builder clientToken(String clientToken)
The client token that is used to ensure the idempotence of the request.
You can use the client to generate the value, but you must make sure that it is unique among all requests. The token can contain only ASCII characters.
example:If you do not set this parameter, ClientToken is set to the value of RequestId. The value of RequestId for each API request may be different.
123e4567-e89b-12d3-a456-42665544****
public DescribeFlowlogsRequest.Builder description(String description)
The description of the flow log.
The description is optional. If you enter a description, it must be 1 to 256 characters in length, and cannot start with http:// or https://.
example:myFlowlog
public DescribeFlowlogsRequest.Builder flowLogId(String flowLogId)
The ID of the flow log.
example:flowlog-m5evbtbpt****
public DescribeFlowlogsRequest.Builder flowLogName(String flowLogName)
The name of the flow log.
The name is optional. If you enter a name, it must be 1 to 128 characters in length, and cannot start with http:// or https://.
example:myFlowlog
public DescribeFlowlogsRequest.Builder flowLogVersion(String flowLogVersion)
The flow log version.
Flow logs are automatically created in the latest version, which is 3.
example:3
public DescribeFlowlogsRequest.Builder interval(Integer interval)
The time window for collecting log data. Unit: seconds Valid values: 60 or 600 Default value: 600.
example:600
public DescribeFlowlogsRequest.Builder logStoreName(String logStoreName)
The name of the Logstore where the flow log is stored.
The name must be 3 to 63 characters in length, and can contain lowercase letters, digits, underscores (_), and hyphens (-). It must start or end with a lowercase letter or a digit.
example:FlowLogStore
public DescribeFlowlogsRequest.Builder ownerAccount(String ownerAccount)
public DescribeFlowlogsRequest.Builder ownerId(Long ownerId)
public DescribeFlowlogsRequest.Builder pageNumber(Integer pageNumber)
The page number of the page to return. Default value: 1.
example:1
public DescribeFlowlogsRequest.Builder pageSize(Integer pageSize)
The number of entries per page. Minimum value: 1. Default value: 20.
example:20
public DescribeFlowlogsRequest.Builder projectName(String projectName)
The name of the project where the flow log is stored.
The name must be 3 to 63 characters in length, and can contain lowercase letters, digits, and hyphens (-). It must start or end with a lowercase letter or a digit.
example:FlowLogProject
public DescribeFlowlogsRequest.Builder regionId(String regionId)
The ID of the region where the flow log is deployed.
You can call the DescribeChildInstanceRegions operation to query the most recent region list.
example:cn-hangzhou
public DescribeFlowlogsRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public DescribeFlowlogsRequest.Builder resourceOwnerId(Long resourceOwnerId)
public DescribeFlowlogsRequest.Builder status(String status)
The status of the flow log. Valid values:
Active
public DescribeFlowlogsRequest.Builder tag(List<DescribeFlowlogsRequest.Tag> tag)
The information about the tags.
You can specify at most 20 tags in each call.
public DescribeFlowlogsRequest.Builder transitRouterAttachmentId(String transitRouterAttachmentId)
The ID of the network instance connection.
example:tr-attach-qieks13jnt1cchy****
public DescribeFlowlogsRequest.Builder transitRouterId(String transitRouterId)
The ID of the transit router.
example:tr-uf654ttymmljlvh2x****
public DescribeFlowlogsRequest build()
Copyright © 2025. All rights reserved.