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