public class UpdateTrafficMirrorSessionAttributeRequest
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 a dry run.
|
Boolean |
enabled
Specifies whether to enable the traffic mirror session.
|
String |
ownerAccount |
Long |
ownerId |
Integer |
packetLength
The maximum transmission unit (MTU).
|
Integer |
priority
The new priority of the traffic mirror session.
|
String |
regionId
The region ID of the traffic mirror session.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
String |
trafficMirrorFilterId
The ID of the traffic mirror filter.
|
String |
trafficMirrorSessionDescription
The new description of the traffic mirror session.
|
String |
trafficMirrorSessionId
The ID of the traffic mirror session.
|
String |
trafficMirrorSessionName
The new name of the traffic mirror session.
|
String |
trafficMirrorTargetId
The ID of the traffic mirror destination.
|
String |
trafficMirrorTargetType
The new type of the traffic mirror destination.
|
Integer |
virtualNetworkId
The VXLAN network identifier (VNI) that is used to distinguish different mirrored traffic.
|
构造器和说明 |
---|
UpdateTrafficMirrorSessionAttributeRequest() |
@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 a dry run. Valid values:
DryRunOperation
error code is returned.false
@NameInMap(value="Enabled") public Boolean enabled
Specifies whether to enable the traffic mirror session. Valid values:
false
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="PacketLength") public Integer packetLength
The maximum transmission unit (MTU).
Valid values: 64 to 9600. Default value: 1500.
example:1500
@NameInMap(value="Priority") public Integer priority
The new priority of the traffic mirror session. Valid values: 1 to 32766.
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.
example:2
@NameInMap(value="RegionId") public String regionId
The region ID of the traffic mirror session. You can call the DescribeRegions operation to query the most recent region list. For more information about the 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="TrafficMirrorFilterId") public String trafficMirrorFilterId
The ID of the traffic mirror filter.
example:tmf-j6cmls82xnc86vtpe****
@NameInMap(value="TrafficMirrorSessionDescription") public String trafficMirrorSessionDescription
The new description of the traffic mirror session.
The description must be 1 to 256 characters in length and cannot start with http://
or https://
.
This is a new session.
@NameInMap(value="TrafficMirrorSessionId") public String trafficMirrorSessionId
The ID of the traffic mirror session.
This parameter is required.
example:tms-j6cla50buc44ap8tu****
@NameInMap(value="TrafficMirrorSessionName") public String trafficMirrorSessionName
The new name of the traffic mirror session.
The name must be 1 to 128 characters in length, and cannot start with http://
or https://
.
abc
@NameInMap(value="TrafficMirrorTargetId") public String trafficMirrorTargetId
The ID of the traffic mirror destination.
example:eni-j6c2fp57q8rr47rp*****
@NameInMap(value="TrafficMirrorTargetType") public String trafficMirrorTargetType
The new type of the traffic mirror destination. Valid values:
NetworkInterface
@NameInMap(value="VirtualNetworkId") public Integer virtualNetworkId
The VXLAN network identifier (VNI) that is used to distinguish different mirrored traffic. Valid values: 0 to 16777215.
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.
example:10
public UpdateTrafficMirrorSessionAttributeRequest()
public static UpdateTrafficMirrorSessionAttributeRequest build(Map<String,?> map) throws Exception
Exception
public UpdateTrafficMirrorSessionAttributeRequest setClientToken(String clientToken)
public String getClientToken()
public UpdateTrafficMirrorSessionAttributeRequest setDryRun(Boolean dryRun)
public Boolean getDryRun()
public UpdateTrafficMirrorSessionAttributeRequest setEnabled(Boolean enabled)
public Boolean getEnabled()
public UpdateTrafficMirrorSessionAttributeRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public UpdateTrafficMirrorSessionAttributeRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public UpdateTrafficMirrorSessionAttributeRequest setPacketLength(Integer packetLength)
public Integer getPacketLength()
public UpdateTrafficMirrorSessionAttributeRequest setPriority(Integer priority)
public Integer getPriority()
public UpdateTrafficMirrorSessionAttributeRequest setRegionId(String regionId)
public String getRegionId()
public UpdateTrafficMirrorSessionAttributeRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public UpdateTrafficMirrorSessionAttributeRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public UpdateTrafficMirrorSessionAttributeRequest setTrafficMirrorFilterId(String trafficMirrorFilterId)
public String getTrafficMirrorFilterId()
public UpdateTrafficMirrorSessionAttributeRequest setTrafficMirrorSessionDescription(String trafficMirrorSessionDescription)
public String getTrafficMirrorSessionDescription()
public UpdateTrafficMirrorSessionAttributeRequest setTrafficMirrorSessionId(String trafficMirrorSessionId)
public String getTrafficMirrorSessionId()
public UpdateTrafficMirrorSessionAttributeRequest setTrafficMirrorSessionName(String trafficMirrorSessionName)
public String getTrafficMirrorSessionName()
public UpdateTrafficMirrorSessionAttributeRequest setTrafficMirrorTargetId(String trafficMirrorTargetId)
public String getTrafficMirrorTargetId()
public UpdateTrafficMirrorSessionAttributeRequest setTrafficMirrorTargetType(String trafficMirrorTargetType)
public String getTrafficMirrorTargetType()
public UpdateTrafficMirrorSessionAttributeRequest setVirtualNetworkId(Integer virtualNetworkId)
public Integer getVirtualNetworkId()
Copyright © 2024. All rights reserved.