public class EnableLoadBalancerAccessLogRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
Boolean |
dryRun
Specifies whether to perform only a dry run, without performing the actual request.
|
String |
loadBalancerId
The ALB instance ID.
|
String |
logProject
The project to which the access log is shipped.
|
String |
logStore
The Logstore to which the access log is shipped.
|
| 构造器和说明 |
|---|
EnableLoadBalancerAccessLogRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static EnableLoadBalancerAccessLogRequest |
build(Map<String,?> map) |
String |
getClientToken() |
Boolean |
getDryRun() |
String |
getLoadBalancerId() |
String |
getLogProject() |
String |
getLogStore() |
EnableLoadBalancerAccessLogRequest |
setClientToken(String clientToken) |
EnableLoadBalancerAccessLogRequest |
setDryRun(Boolean dryRun) |
EnableLoadBalancerAccessLogRequest |
setLoadBalancerId(String loadBalancerId) |
EnableLoadBalancerAccessLogRequest |
setLogProject(String logProject) |
EnableLoadBalancerAccessLogRequest |
setLogStore(String logStore) |
@NameInMap(value="ClientToken") public String clientToken
The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can only contain ASCII characters and cannot exceed 64 characters in length.
> If you do not specify this parameter, the system automatically uses the request ID as the client token. The request ID may be different for each request.
@NameInMap(value="DryRun") public Boolean dryRun
Specifies whether to perform only a dry run, without performing the actual request. Valid values:
* **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
* **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
@NameInMap(value="LoadBalancerId") public String loadBalancerId
The ALB instance ID.
This parameter is required.
@NameInMap(value="LogProject") public String logProject
The project to which the access log is shipped.
This parameter is required.
@NameInMap(value="LogStore") public String logStore
The Logstore to which the access log is shipped.
This parameter is required.
public static EnableLoadBalancerAccessLogRequest build(Map<String,?> map) throws Exception
Exceptionpublic EnableLoadBalancerAccessLogRequest setClientToken(String clientToken)
public String getClientToken()
public EnableLoadBalancerAccessLogRequest setDryRun(Boolean dryRun)
public Boolean getDryRun()
public EnableLoadBalancerAccessLogRequest setLoadBalancerId(String loadBalancerId)
public String getLoadBalancerId()
public EnableLoadBalancerAccessLogRequest setLogProject(String logProject)
public String getLogProject()
public EnableLoadBalancerAccessLogRequest setLogStore(String logStore)
public String getLogStore()
Copyright © 2024. All rights reserved.