Class UpdateVtapDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.vnmonitoring.model.UpdateVtapDetails.Builder
-
- Enclosing class:
- UpdateVtapDetails
public static class UpdateVtapDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
definedTags
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”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
displayName
public UpdateVtapDetails.Builder displayName(String displayName)
A user-friendly name.Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
freeformTags
public 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”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
sourceId
public UpdateVtapDetails.Builder sourceId(String sourceId)
The OCID of the source point where packets are captured.- Parameters:
sourceId
- the value to set- Returns:
- this builder
-
targetId
public UpdateVtapDetails.Builder targetId(String targetId)
The OCID of the destination resource where mirrored packets are sent.- Parameters:
targetId
- the value to set- Returns:
- this builder
-
targetIp
public UpdateVtapDetails.Builder targetIp(String targetIp)
The IP address of the destination resource where mirrored packets are sent.- Parameters:
targetIp
- the value to set- Returns:
- this builder
-
captureFilterId
public UpdateVtapDetails.Builder captureFilterId(String captureFilterId)
The capture filter’s Oracle ID (OCID).- Parameters:
captureFilterId
- the value to set- Returns:
- this builder
-
encapsulationProtocol
public UpdateVtapDetails.Builder encapsulationProtocol(UpdateVtapDetails.EncapsulationProtocol encapsulationProtocol)
Defines an encapsulation header type for the VTAP’s mirrored traffic.- Parameters:
encapsulationProtocol
- the value to set- Returns:
- this builder
-
vxlanNetworkIdentifier
public UpdateVtapDetails.Builder vxlanNetworkIdentifier(Long vxlanNetworkIdentifier)
The virtual extensible LAN (VXLAN) network identifier (or VXLAN segment ID) that uniquely identifies the VXLAN.- Parameters:
vxlanNetworkIdentifier
- the value to set- Returns:
- this builder
-
isVtapEnabled
public 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.
- Parameters:
isVtapEnabled
- the value to set- Returns:
- this builder
-
trafficMode
public 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
- Parameters:
trafficMode
- the value to set- Returns:
- this builder
-
maxPacketSize
public UpdateVtapDetails.Builder maxPacketSize(Integer maxPacketSize)
The maximum size of the packets to be included in the filter.- Parameters:
maxPacketSize
- the value to set- Returns:
- this builder
-
sourcePrivateEndpointIp
public UpdateVtapDetails.Builder sourcePrivateEndpointIp(String sourcePrivateEndpointIp)
The IP Address of the source private endpoint.- Parameters:
sourcePrivateEndpointIp
- the value to set- Returns:
- this builder
-
sourcePrivateEndpointSubnetId
public UpdateVtapDetails.Builder sourcePrivateEndpointSubnetId(String sourcePrivateEndpointSubnetId)
The OCID of the subnet that source private endpoint belongs to.- Parameters:
sourcePrivateEndpointSubnetId
- the value to set- Returns:
- this builder
-
targetType
public UpdateVtapDetails.Builder targetType(UpdateVtapDetails.TargetType targetType)
The target type for the VTAP.- Parameters:
targetType
- the value to set- Returns:
- this builder
-
sourceType
public UpdateVtapDetails.Builder sourceType(UpdateVtapDetails.SourceType sourceType)
The source type for the VTAP.- Parameters:
sourceType
- the value to set- Returns:
- this builder
-
build
public UpdateVtapDetails build()
-
copy
public UpdateVtapDetails.Builder copy(UpdateVtapDetails model)
-
-