public static final class AddSourcesToTrafficMirrorSessionRequest.Builder extends Object
public AddSourcesToTrafficMirrorSessionRequest.Builder clientToken(String clientToken)
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. > 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.
public AddSourcesToTrafficMirrorSessionRequest.Builder dryRun(Boolean dryRun)
* **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 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.
public AddSourcesToTrafficMirrorSessionRequest.Builder ownerAccount(String ownerAccount)
public AddSourcesToTrafficMirrorSessionRequest.Builder ownerId(Long ownerId)
public AddSourcesToTrafficMirrorSessionRequest.Builder regionId(String regionId)
You can call the [DescribeRegions](~~36063~~) operation to query the most recent region list. For more information about regions that support traffic mirroring, see [Overview of traffic mirroring](~~207513~~).
public AddSourcesToTrafficMirrorSessionRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public AddSourcesToTrafficMirrorSessionRequest.Builder resourceOwnerId(Long resourceOwnerId)
public AddSourcesToTrafficMirrorSessionRequest.Builder trafficMirrorSessionId(String trafficMirrorSessionId)
public AddSourcesToTrafficMirrorSessionRequest.Builder trafficMirrorSourceIds(List<String> trafficMirrorSourceIds)
public AddSourcesToTrafficMirrorSessionRequest build()
Copyright © 2024. All rights reserved.