public static final class IPMirrorDestination.Builder
extends java.lang.Object
IPMirrorDestination
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
IPMirrorDestination . |
Modifier and Type | Method and Description |
---|---|
IPMirrorDestination |
build() |
IPMirrorDestination.Builder |
setDestinationIps(java.util.List<java.lang.String> destinationIps)
The destination IPs of the mirror packet will be sent to.
|
IPMirrorDestination.Builder |
setEncapsulationType(java.lang.String encapsulationType)
Possible values are:
IPMirrorDestination.ENCAPSULATION_TYPE_GRE
IPMirrorDestination.ENCAPSULATION_TYPE_ERSPAN_TWO
IPMirrorDestination.ENCAPSULATION_TYPE_ERSPAN_THREE
You can choose GRE, ERSPAN II or ERSPAN III. |
IPMirrorDestination.Builder |
setErspanId(java.lang.Long erspanId)
Used by physical switch for the mirror traffic forwarding.
|
IPMirrorDestination.Builder |
setGreKey(java.lang.Long greKey)
User-configurable 32-bit key only for GRE format: int32
|
public Builder()
IPMirrorDestination
.public IPMirrorDestination.Builder setDestinationIps(java.util.List<java.lang.String> destinationIps)
destinationIps
- New value for the property.public IPMirrorDestination.Builder setEncapsulationType(java.lang.String encapsulationType)
encapsulationType
- New value for the property.public IPMirrorDestination.Builder setErspanId(java.lang.Long erspanId)
erspanId
- New value for the property.public IPMirrorDestination.Builder setGreKey(java.lang.Long greKey)
greKey
- New value for the property.public IPMirrorDestination build()