public static final class SetAccessLogsDownloadAttributeRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
SetAccessLogsDownloadAttributeRequest |
build() |
SetAccessLogsDownloadAttributeRequest.Builder |
loadBalancerId(String loadBalancerId)
The ID of the CLB instance.
|
SetAccessLogsDownloadAttributeRequest.Builder |
logsDownloadAttributes(String logsDownloadAttributes)
The access log forwarding rule.
|
SetAccessLogsDownloadAttributeRequest.Builder |
ownerAccount(String ownerAccount)
OwnerAccount.
|
SetAccessLogsDownloadAttributeRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
SetAccessLogsDownloadAttributeRequest.Builder |
regionId(String regionId)
The region ID of the CLB instance.
|
SetAccessLogsDownloadAttributeRequest.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
SetAccessLogsDownloadAttributeRequest.Builder |
resourceOwnerId(Long resourceOwnerId)
ResourceOwnerId.
|
SetAccessLogsDownloadAttributeRequest.Builder |
tags(String tags)
The tags that are added to the CLB instance.
|
public SetAccessLogsDownloadAttributeRequest.Builder loadBalancerId(String loadBalancerId)
The ID of the CLB instance.
example:lb-bp1b6c719dfa08ex*****
public SetAccessLogsDownloadAttributeRequest.Builder logsDownloadAttributes(String logsDownloadAttributes)
The access log forwarding rule. Parameters:
This parameter is required.
example:[{"logProject":"my-project", "LogStore":"my-log-store", "LoadBalancerId":"lb-uf68ps3rekbljmdb0****"}]
public SetAccessLogsDownloadAttributeRequest.Builder ownerAccount(String ownerAccount)
public SetAccessLogsDownloadAttributeRequest.Builder ownerId(Long ownerId)
public SetAccessLogsDownloadAttributeRequest.Builder regionId(String regionId)
The region ID of the CLB instance.
You can call the DescribeRegions operation to query the most recent region list.
This parameter is required.
example:cn-hangzhou
public SetAccessLogsDownloadAttributeRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public SetAccessLogsDownloadAttributeRequest.Builder resourceOwnerId(Long resourceOwnerId)
public SetAccessLogsDownloadAttributeRequest.Builder tags(String tags)
The tags that are added to the CLB instance. The tags must be key-value pairs that are contained in a JSON dictionary.
You can specify up to 10 tags in each call.
example:[{"tagKey":"Key1","tagValue":"Value1"}]
public SetAccessLogsDownloadAttributeRequest build()
Copyright © 2026. All rights reserved.