public static final class UpdateTrafficMirrorSessionAttributeRequest.Builder extends Object
public UpdateTrafficMirrorSessionAttributeRequest.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 UpdateTrafficMirrorSessionAttributeRequest.Builder dryRun(Boolean dryRun)
* **true**: performs a dry run, without performing the actual request. 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**: sends the request. If the request passes the check, a 2xx HTTP status code is returned and the operation is performed. This is the default value.
public UpdateTrafficMirrorSessionAttributeRequest.Builder enabled(Boolean enabled)
* **false** (default) * **true**
public UpdateTrafficMirrorSessionAttributeRequest.Builder ownerAccount(String ownerAccount)
public UpdateTrafficMirrorSessionAttributeRequest.Builder ownerId(Long ownerId)
public UpdateTrafficMirrorSessionAttributeRequest.Builder packetLength(Integer packetLength)
Valid values: **64 to 9600**. Default value: **1500**.
public UpdateTrafficMirrorSessionAttributeRequest.Builder priority(Integer priority)
A smaller value indicates a higher priority. You cannot specify identical priorities for traffic mirror sessions that are created in the same region by using the same account.
public UpdateTrafficMirrorSessionAttributeRequest.Builder regionId(String regionId)
public UpdateTrafficMirrorSessionAttributeRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public UpdateTrafficMirrorSessionAttributeRequest.Builder resourceOwnerId(Long resourceOwnerId)
public UpdateTrafficMirrorSessionAttributeRequest.Builder trafficMirrorFilterId(String trafficMirrorFilterId)
public UpdateTrafficMirrorSessionAttributeRequest.Builder trafficMirrorSessionDescription(String trafficMirrorSessionDescription)
The description must be 1 to 256 characters in length and cannot start with `http://` or `https://`.
public UpdateTrafficMirrorSessionAttributeRequest.Builder trafficMirrorSessionId(String trafficMirrorSessionId)
public UpdateTrafficMirrorSessionAttributeRequest.Builder trafficMirrorSessionName(String trafficMirrorSessionName)
The name must be 1 to 128 characters in length, and cannot start with `http://` or `https://`.
public UpdateTrafficMirrorSessionAttributeRequest.Builder trafficMirrorTargetId(String trafficMirrorTargetId)
public UpdateTrafficMirrorSessionAttributeRequest.Builder trafficMirrorTargetType(String trafficMirrorTargetType)
* **NetworkInterface**: an elastic network interface (ENI) * **SLB**: an internal-facing Server Load Balancer (SLB) instance
public UpdateTrafficMirrorSessionAttributeRequest.Builder virtualNetworkId(Integer virtualNetworkId)
You can use VNIs to identify mirrored traffic from different sessions at the traffic mirror destination. If you do not specify a VNI, the system randomly allocates a VNI. If you want the system to randomly allocate a VNI, ignore this parameter.
public UpdateTrafficMirrorSessionAttributeRequest build()
Copyright © 2024. All rights reserved.