public static interface TrafficMirrorSession.Builder extends SdkPojo, CopyableBuilder<TrafficMirrorSession.Builder,TrafficMirrorSession>
| Modifier and Type | Method and Description |
|---|---|
TrafficMirrorSession.Builder |
description(String description)
The description of the Traffic Mirror session.
|
TrafficMirrorSession.Builder |
networkInterfaceId(String networkInterfaceId)
The ID of the Traffic Mirror session's network interface.
|
TrafficMirrorSession.Builder |
ownerId(String ownerId)
The ID of the account that owns the Traffic Mirror session.
|
TrafficMirrorSession.Builder |
packetLength(Integer packetLength)
The number of bytes in each packet to mirror.
|
TrafficMirrorSession.Builder |
sessionNumber(Integer sessionNumber)
The session number determines the order in which sessions are evaluated when an interface is used by multiple
sessions.
|
TrafficMirrorSession.Builder |
tags(Collection<Tag> tags)
The tags assigned to the Traffic Mirror session.
|
TrafficMirrorSession.Builder |
tags(Consumer<Tag.Builder>... tags)
The tags assigned to the Traffic Mirror session.
|
TrafficMirrorSession.Builder |
tags(Tag... tags)
The tags assigned to the Traffic Mirror session.
|
TrafficMirrorSession.Builder |
trafficMirrorFilterId(String trafficMirrorFilterId)
The ID of the Traffic Mirror filter.
|
TrafficMirrorSession.Builder |
trafficMirrorSessionId(String trafficMirrorSessionId)
The ID for the Traffic Mirror session.
|
TrafficMirrorSession.Builder |
trafficMirrorTargetId(String trafficMirrorTargetId)
The ID of the Traffic Mirror target.
|
TrafficMirrorSession.Builder |
virtualNetworkId(Integer virtualNetworkId)
The virtual network ID associated with the Traffic Mirror session.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildTrafficMirrorSession.Builder trafficMirrorSessionId(String trafficMirrorSessionId)
The ID for the Traffic Mirror session.
trafficMirrorSessionId - The ID for the Traffic Mirror session.TrafficMirrorSession.Builder trafficMirrorTargetId(String trafficMirrorTargetId)
The ID of the Traffic Mirror target.
trafficMirrorTargetId - The ID of the Traffic Mirror target.TrafficMirrorSession.Builder trafficMirrorFilterId(String trafficMirrorFilterId)
The ID of the Traffic Mirror filter.
trafficMirrorFilterId - The ID of the Traffic Mirror filter.TrafficMirrorSession.Builder networkInterfaceId(String networkInterfaceId)
The ID of the Traffic Mirror session's network interface.
networkInterfaceId - The ID of the Traffic Mirror session's network interface.TrafficMirrorSession.Builder ownerId(String ownerId)
The ID of the account that owns the Traffic Mirror session.
ownerId - The ID of the account that owns the Traffic Mirror session.TrafficMirrorSession.Builder packetLength(Integer packetLength)
The number of bytes in each packet to mirror. These are the bytes after the VXLAN header. To mirror a subset, set this to the length (in bytes) to mirror. For example, if you set this value to 100, then the first 100 bytes that meet the filter criteria are copied to the target. Do not specify this parameter when you want to mirror the entire packet
packetLength - The number of bytes in each packet to mirror. These are the bytes after the VXLAN header. To mirror a
subset, set this to the length (in bytes) to mirror. For example, if you set this value to 100, then
the first 100 bytes that meet the filter criteria are copied to the target. Do not specify this
parameter when you want to mirror the entire packetTrafficMirrorSession.Builder sessionNumber(Integer sessionNumber)
The session number determines the order in which sessions are evaluated when an interface is used by multiple sessions. The first session with a matching filter is the one that mirrors the packets.
Valid values are 1-32766.
sessionNumber - The session number determines the order in which sessions are evaluated when an interface is used by
multiple sessions. The first session with a matching filter is the one that mirrors the packets.
Valid values are 1-32766.
TrafficMirrorSession.Builder virtualNetworkId(Integer virtualNetworkId)
The virtual network ID associated with the Traffic Mirror session.
virtualNetworkId - The virtual network ID associated with the Traffic Mirror session.TrafficMirrorSession.Builder description(String description)
The description of the Traffic Mirror session.
description - The description of the Traffic Mirror session.TrafficMirrorSession.Builder tags(Collection<Tag> tags)
The tags assigned to the Traffic Mirror session.
tags - The tags assigned to the Traffic Mirror session.TrafficMirrorSession.Builder tags(Tag... tags)
The tags assigned to the Traffic Mirror session.
tags - The tags assigned to the Traffic Mirror session.TrafficMirrorSession.Builder tags(Consumer<Tag.Builder>... tags)
The tags assigned to the Traffic Mirror session.
This is a convenience that creates an instance of theList.Builder avoiding the need to create
one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its result
is passed to #tags(List) .tags - a consumer that will call methods on List.Builder #tags(List) Copyright © 2020. All rights reserved.