public static class UpdateVtapDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
UpdateVtapDetails |
build() |
UpdateVtapDetails.Builder |
captureFilterId(String captureFilterId)
The capture filter’s Oracle ID
(OCID).
|
UpdateVtapDetails.Builder |
copy(UpdateVtapDetails model) |
UpdateVtapDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
UpdateVtapDetails.Builder |
displayName(String displayName)
A user-friendly name.
|
UpdateVtapDetails.Builder |
encapsulationProtocol(UpdateVtapDetails.EncapsulationProtocol encapsulationProtocol)
Defines an encapsulation header type for the VTAP’s mirrored traffic.
|
UpdateVtapDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
UpdateVtapDetails.Builder |
isVtapEnabled(Boolean isVtapEnabled)
Used to start or stop a
Vtap resource. |
UpdateVtapDetails.Builder |
maxPacketSize(Integer maxPacketSize)
The maximum size of the packets to be included in the filter.
|
UpdateVtapDetails.Builder |
sourceId(String sourceId)
The OCID
of the source point where packets are captured.
|
UpdateVtapDetails.Builder |
sourcePrivateEndpointIp(String sourcePrivateEndpointIp)
The IP Address of the source private endpoint.
|
UpdateVtapDetails.Builder |
sourcePrivateEndpointSubnetId(String sourcePrivateEndpointSubnetId)
The OCID
of the subnet that source private endpoint belongs to.
|
UpdateVtapDetails.Builder |
sourceType(UpdateVtapDetails.SourceType sourceType)
The source type for the VTAP.
|
UpdateVtapDetails.Builder |
targetId(String targetId)
The OCID
of the destination resource where mirrored packets are sent.
|
UpdateVtapDetails.Builder |
targetIp(String targetIp)
The IP address of the destination resource where mirrored packets are sent.
|
UpdateVtapDetails.Builder |
targetType(UpdateVtapDetails.TargetType targetType)
The target type for the VTAP.
|
UpdateVtapDetails.Builder |
trafficMode(UpdateVtapDetails.TrafficMode trafficMode)
Used to control the priority of traffic.
|
UpdateVtapDetails.Builder |
vxlanNetworkIdentifier(Long vxlanNetworkIdentifier)
The virtual extensible LAN (VXLAN) network identifier (or VXLAN segment ID) that uniquely
identifies the VXLAN.
|
public UpdateVtapDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace.
Example: {"foo-namespace": {"bar-key": "value"}}
definedTags
- the value to setpublic UpdateVtapDetails.Builder displayName(String displayName)
A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
displayName
- the value to setpublic UpdateVtapDetails.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope. Exists
for cross-compatibility only. Example: {"bar-key": "value"}
freeformTags
- the value to setpublic UpdateVtapDetails.Builder sourceId(String sourceId)
The OCID of the source point where packets are captured.
sourceId
- the value to setpublic UpdateVtapDetails.Builder targetId(String targetId)
The OCID of the destination resource where mirrored packets are sent.
targetId
- the value to setpublic UpdateVtapDetails.Builder targetIp(String targetIp)
The IP address of the destination resource where mirrored packets are sent.
targetIp
- the value to setpublic UpdateVtapDetails.Builder captureFilterId(String captureFilterId)
The capture filter’s Oracle ID (OCID).
captureFilterId
- the value to setpublic UpdateVtapDetails.Builder encapsulationProtocol(UpdateVtapDetails.EncapsulationProtocol encapsulationProtocol)
Defines an encapsulation header type for the VTAP’s mirrored traffic.
encapsulationProtocol
- the value to setpublic UpdateVtapDetails.Builder vxlanNetworkIdentifier(Long vxlanNetworkIdentifier)
The virtual extensible LAN (VXLAN) network identifier (or VXLAN segment ID) that uniquely identifies the VXLAN.
vxlanNetworkIdentifier
- the value to setpublic UpdateVtapDetails.Builder isVtapEnabled(Boolean isVtapEnabled)
Used to start or stop a Vtap
resource.
TRUE
directs the VTAP to start mirroring traffic. * FALSE
(Default)
directs the VTAP to stop mirroring traffic.
isVtapEnabled
- the value to setpublic UpdateVtapDetails.Builder trafficMode(UpdateVtapDetails.TrafficMode trafficMode)
Used to control the priority of traffic. It is an optional field. If it not passed, the value is DEFAULT
trafficMode
- the value to setpublic UpdateVtapDetails.Builder maxPacketSize(Integer maxPacketSize)
The maximum size of the packets to be included in the filter.
maxPacketSize
- the value to setpublic UpdateVtapDetails.Builder sourcePrivateEndpointIp(String sourcePrivateEndpointIp)
The IP Address of the source private endpoint.
sourcePrivateEndpointIp
- the value to setpublic UpdateVtapDetails.Builder sourcePrivateEndpointSubnetId(String sourcePrivateEndpointSubnetId)
The OCID of the subnet that source private endpoint belongs to.
sourcePrivateEndpointSubnetId
- the value to setpublic UpdateVtapDetails.Builder targetType(UpdateVtapDetails.TargetType targetType)
The target type for the VTAP.
targetType
- the value to setpublic UpdateVtapDetails.Builder sourceType(UpdateVtapDetails.SourceType sourceType)
The source type for the VTAP.
sourceType
- the value to setpublic UpdateVtapDetails build()
public UpdateVtapDetails.Builder copy(UpdateVtapDetails model)
Copyright © 2016–2024. All rights reserved.