public class AddSourcesToTrafficMirrorSessionRequest
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 |
ownerAccount |
Long |
ownerId |
String |
regionId
The ID of the region to which the traffic mirror session belongs.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
String |
trafficMirrorSessionId
The ID of the traffic mirror session.
|
List<String> |
trafficMirrorSourceIds
The ID of the traffic mirror source.
|
构造器和说明 |
---|
AddSourcesToTrafficMirrorSessionRequest() |
@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 contain only ASCII characters.
example: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.
0c593ea1-3bea-11e9-b96b-88e9fe63****
@NameInMap(value="DryRun") public Boolean dryRun
Specifies whether to perform only a dry run, without performing the actual request. Valid values:
DryRunOperation
error code is returned.false
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="RegionId") public String regionId
The ID of the region to which the traffic mirror session belongs.
You can call the DescribeRegions operation to query the most recent region list.
For more information about regions that support traffic mirroring, see Overview of traffic mirroring.
This parameter is required.
example:cn-hongkong
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="TrafficMirrorSessionId") public String trafficMirrorSessionId
The ID of the traffic mirror session.
This parameter is required.
example:tms-j6cla50buc44ap8tu****
@NameInMap(value="TrafficMirrorSourceIds") public List<String> trafficMirrorSourceIds
The ID of the traffic mirror source. You can specify only an elastic network interface (ENI) as the traffic mirror source. The default value of N is 1, which indicates that you can add only one traffic mirror source to a traffic mirror session.
This parameter is required.
example:eni-j6ccmrl8z3xkvxgw****
public static AddSourcesToTrafficMirrorSessionRequest build(Map<String,?> map) throws Exception
Exception
public AddSourcesToTrafficMirrorSessionRequest setClientToken(String clientToken)
public String getClientToken()
public AddSourcesToTrafficMirrorSessionRequest setDryRun(Boolean dryRun)
public Boolean getDryRun()
public AddSourcesToTrafficMirrorSessionRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public AddSourcesToTrafficMirrorSessionRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public AddSourcesToTrafficMirrorSessionRequest setRegionId(String regionId)
public String getRegionId()
public AddSourcesToTrafficMirrorSessionRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public AddSourcesToTrafficMirrorSessionRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public AddSourcesToTrafficMirrorSessionRequest setTrafficMirrorSessionId(String trafficMirrorSessionId)
public String getTrafficMirrorSessionId()
public AddSourcesToTrafficMirrorSessionRequest setTrafficMirrorSourceIds(List<String> trafficMirrorSourceIds)
Copyright © 2024. All rights reserved.