public static final class CreateFlowLogRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
CreateFlowLogRequest.Builder |
aggregationInterval(Integer aggregationInterval)
The sampling interval of the flow log.
|
CreateFlowLogRequest |
build() |
CreateFlowLogRequest.Builder |
description(String description)
The description of the flow log.
|
CreateFlowLogRequest.Builder |
flowLogName(String flowLogName)
The name of the flow log.
|
CreateFlowLogRequest.Builder |
logStoreName(String logStoreName)
The name of the Logstore that stores the captured traffic data.
|
CreateFlowLogRequest.Builder |
ownerAccount(String ownerAccount)
OwnerAccount.
|
CreateFlowLogRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
CreateFlowLogRequest.Builder |
projectName(String projectName)
The name of the project that stores the captured traffic data.
|
CreateFlowLogRequest.Builder |
regionId(String regionId)
The ID of the region where you want to create the flow log.
|
CreateFlowLogRequest.Builder |
resourceGroupId(String resourceGroupId)
The ID of the resource group.
|
CreateFlowLogRequest.Builder |
resourceId(String resourceId)
The ID of the resource whose traffic you want to capture.
|
CreateFlowLogRequest.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
CreateFlowLogRequest.Builder |
resourceOwnerId(Long resourceOwnerId)
ResourceOwnerId.
|
CreateFlowLogRequest.Builder |
resourceType(String resourceType)
The type of the resource whose traffic you want to capture.
|
CreateFlowLogRequest.Builder |
tag(List<CreateFlowLogRequest.Tag> tag)
The tag of the resource.
|
CreateFlowLogRequest.Builder |
trafficPath(List<String> trafficPath)
The scope of the traffic that you want to capture.
|
CreateFlowLogRequest.Builder |
trafficType(String trafficType)
The type of traffic that you want to capture.
|
public CreateFlowLogRequest.Builder aggregationInterval(Integer aggregationInterval)
public CreateFlowLogRequest.Builder description(String description)
The description must be 1 to 256 characters in length and cannot start with `http://` or `https://`.
public CreateFlowLogRequest.Builder flowLogName(String flowLogName)
The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
public CreateFlowLogRequest.Builder logStoreName(String logStoreName)
* The name can contain only lowercase letters, digits, hyphens (-), and underscores (\_). * The name must start and end with a lowercase letter or a digit. * The name must be 3 to 63 characters in length.
public CreateFlowLogRequest.Builder ownerAccount(String ownerAccount)
public CreateFlowLogRequest.Builder ownerId(Long ownerId)
public CreateFlowLogRequest.Builder projectName(String projectName)
* The name can contain only lowercase letters, digits, and hyphens (-). * The name must start and end with a lowercase letter or a digit. * The name must be 3 to 63 characters in length.
public CreateFlowLogRequest.Builder regionId(String regionId)
public CreateFlowLogRequest.Builder resourceGroupId(String resourceGroupId)
public CreateFlowLogRequest.Builder resourceId(String resourceId)
public CreateFlowLogRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public CreateFlowLogRequest.Builder resourceOwnerId(Long resourceOwnerId)
public CreateFlowLogRequest.Builder resourceType(String resourceType)
* **NetworkInterface**: elastic network interface (ENI) * **VSwitch**: all ENIs in a vSwitch * **VPC**: all ENIs in a virtual private cloud (VPC)
public CreateFlowLogRequest.Builder tag(List<CreateFlowLogRequest.Tag> tag)
public CreateFlowLogRequest.Builder trafficPath(List<String> trafficPath)
* **all**: all traffic. * **internetGateway**: Internet traffic.
public CreateFlowLogRequest.Builder trafficType(String trafficType)
* **All**: all traffic * **Allow**: traffic that is allowed * **Drop**: traffic that is rejected
public CreateFlowLogRequest build()
Copyright © 2024. All rights reserved.