public static final class DescribePostpayTrafficDetailResponseBody.TrafficList.Builder extends Object
public DescribePostpayTrafficDetailResponseBody.TrafficList.Builder inBytes(Long inBytes)
The inbound network throughput, which indicates the total number of bytes that are received Unit: bytes.
example:1115096939
public DescribePostpayTrafficDetailResponseBody.TrafficList.Builder instanceId(String instanceId)
The instance ID of the asset.
example:i-8vb2d7c9mtn0bo9qcraq
public DescribePostpayTrafficDetailResponseBody.TrafficList.Builder instanceType(String instanceType)
The asset type. This value takes effect only for the Internet firewall.
example:EcsPublicIP
public DescribePostpayTrafficDetailResponseBody.TrafficList.Builder outBytes(Long outBytes)
The outbound network throughput, which indicates the total number of bytes that are sent. Unit: bytes.
example:100000000
public DescribePostpayTrafficDetailResponseBody.TrafficList.Builder protectionDuration(Long protectionDuration)
Protection duration. Unit: hours.
example:20
public DescribePostpayTrafficDetailResponseBody.TrafficList.Builder regionNo(String regionNo)
The region ID.
example:cn-beijing
public DescribePostpayTrafficDetailResponseBody.TrafficList.Builder resourceId(String resourceId)
The resource ID. The resource ID for the Internet firewall is the public IP address that is protected the Internet firewall, and the resource ID for a NAT firewall is the instance ID of the NAT firewall.
example:39.106.146.214
public DescribePostpayTrafficDetailResponseBody.TrafficList.Builder totalBytes(Long totalBytes)
The total inbound and outbound network throughput, which indicates the total number of bytes that are received and sent. Unit: bytes.
example:1215096939
public DescribePostpayTrafficDetailResponseBody.TrafficList.Builder trafficDay(String trafficDay)
The date on which the statistics are collected.
example:20231001
public DescribePostpayTrafficDetailResponseBody.TrafficList.Builder trafficType(String trafficType)
The traffic type. Valid values:
EIP_TRAFFIC
public DescribePostpayTrafficDetailResponseBody.TrafficList build()
Copyright © 2026. All rights reserved.