public static class CreateVtapDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateVtapDetails |
build() |
CreateVtapDetails.Builder |
captureFilterId(String captureFilterId)
The capture filter’s Oracle ID
(OCID).
|
CreateVtapDetails.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment containing the
Vtap resource. |
CreateVtapDetails.Builder |
copy(CreateVtapDetails model) |
CreateVtapDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
CreateVtapDetails.Builder |
displayName(String displayName)
A user-friendly name.
|
CreateVtapDetails.Builder |
encapsulationProtocol(CreateVtapDetails.EncapsulationProtocol encapsulationProtocol)
Defines an encapsulation header type for the VTAP’s mirrored traffic.
|
CreateVtapDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
CreateVtapDetails.Builder |
isVtapEnabled(Boolean isVtapEnabled)
Used to start or stop a
Vtap resource. |
CreateVtapDetails.Builder |
maxPacketSize(Integer maxPacketSize)
The maximum size of the packets to be included in the filter.
|
CreateVtapDetails.Builder |
sourceId(String sourceId)
The OCID
of the source point where packets are captured.
|
CreateVtapDetails.Builder |
sourcePrivateEndpointIp(String sourcePrivateEndpointIp)
The IP Address of the source private endpoint.
|
CreateVtapDetails.Builder |
sourcePrivateEndpointSubnetId(String sourcePrivateEndpointSubnetId)
The OCID
of the subnet that source private endpoint belongs to.
|
CreateVtapDetails.Builder |
sourceType(CreateVtapDetails.SourceType sourceType)
The source type for the VTAP.
|
CreateVtapDetails.Builder |
targetId(String targetId)
The OCID
of the destination resource where mirrored packets are sent.
|
CreateVtapDetails.Builder |
targetIp(String targetIp)
The IP address of the destination resource where mirrored packets are sent.
|
CreateVtapDetails.Builder |
targetType(CreateVtapDetails.TargetType targetType)
The target type for the VTAP.
|
CreateVtapDetails.Builder |
trafficMode(CreateVtapDetails.TrafficMode trafficMode)
Used to control the priority of traffic.
|
CreateVtapDetails.Builder |
vcnId(String vcnId)
The OCID
of the VCN containing the
Vtap resource. |
CreateVtapDetails.Builder |
vxlanNetworkIdentifier(Long vxlanNetworkIdentifier)
The virtual extensible LAN (VXLAN) network identifier (or VXLAN segment ID) that uniquely
identifies the VXLAN.
|
public CreateVtapDetails.Builder compartmentId(String compartmentId)
The OCID
of the compartment containing the Vtap
resource.
compartmentId
- the value to setpublic CreateVtapDetails.Builder vcnId(String vcnId)
The OCID
of the VCN containing the Vtap
resource.
vcnId
- the value to setpublic CreateVtapDetails.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 CreateVtapDetails.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 CreateVtapDetails.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 CreateVtapDetails.Builder sourceId(String sourceId)
The OCID of the source point where packets are captured.
sourceId
- the value to setpublic CreateVtapDetails.Builder targetId(String targetId)
The OCID of the destination resource where mirrored packets are sent.
targetId
- the value to setpublic CreateVtapDetails.Builder targetIp(String targetIp)
The IP address of the destination resource where mirrored packets are sent.
targetIp
- the value to setpublic CreateVtapDetails.Builder captureFilterId(String captureFilterId)
The capture filter’s Oracle ID (OCID).
captureFilterId
- the value to setpublic CreateVtapDetails.Builder encapsulationProtocol(CreateVtapDetails.EncapsulationProtocol encapsulationProtocol)
Defines an encapsulation header type for the VTAP’s mirrored traffic.
encapsulationProtocol
- the value to setpublic CreateVtapDetails.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 CreateVtapDetails.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 CreateVtapDetails.Builder sourceType(CreateVtapDetails.SourceType sourceType)
The source type for the VTAP.
sourceType
- the value to setpublic CreateVtapDetails.Builder trafficMode(CreateVtapDetails.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 CreateVtapDetails.Builder maxPacketSize(Integer maxPacketSize)
The maximum size of the packets to be included in the filter.
maxPacketSize
- the value to setpublic CreateVtapDetails.Builder targetType(CreateVtapDetails.TargetType targetType)
The target type for the VTAP.
targetType
- the value to setpublic CreateVtapDetails.Builder sourcePrivateEndpointIp(String sourcePrivateEndpointIp)
The IP Address of the source private endpoint.
sourcePrivateEndpointIp
- the value to setpublic CreateVtapDetails.Builder sourcePrivateEndpointSubnetId(String sourcePrivateEndpointSubnetId)
The OCID of the subnet that source private endpoint belongs to.
sourcePrivateEndpointSubnetId
- the value to setpublic CreateVtapDetails build()
public CreateVtapDetails.Builder copy(CreateVtapDetails model)
Copyright © 2016–2024. All rights reserved.