Class Vtap.Builder
- java.lang.Object
- 
- com.oracle.bmc.vnmonitoring.model.Vtap.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Vtapbuild()Vtap.BuildercaptureFilterId(String captureFilterId)The capture filter’s Oracle ID (OCID).Vtap.BuildercompartmentId(String compartmentId)The OCID of the compartment containing the Vtap resource.Vtap.Buildercopy(Vtap model)Vtap.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.Vtap.BuilderdisplayName(String displayName)A user-friendly name.Vtap.BuilderencapsulationProtocol(Vtap.EncapsulationProtocol encapsulationProtocol)Defines an encapsulation header type for the VTAP’s mirrored traffic.Vtap.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.Vtap.Builderid(String id)The VTAP’s Oracle ID (OCID).Vtap.BuilderisVtapEnabled(Boolean isVtapEnabled)Used to start or stop a Vtap resource.Vtap.BuilderlifecycleState(Vtap.LifecycleState lifecycleState)The VTAP’s administrative lifecycle state.Vtap.BuilderlifecycleStateDetails(Vtap.LifecycleStateDetails lifecycleStateDetails)The VTAP’s current running state.Vtap.BuildermaxPacketSize(Integer maxPacketSize)The maximum size of the packets to be included in the filter.Vtap.BuildersourceId(String sourceId)The OCID of the source point where packets are captured.Vtap.BuildersourcePrivateEndpointIp(String sourcePrivateEndpointIp)The IP Address of the source private endpoint.Vtap.BuildersourcePrivateEndpointSubnetId(String sourcePrivateEndpointSubnetId)The OCID of the subnet that source private endpoint belongs to.Vtap.BuildersourceType(Vtap.SourceType sourceType)The source type for the VTAP.Vtap.BuildertargetId(String targetId)The OCID of the destination resource where mirrored packets are sent.Vtap.BuildertargetIp(String targetIp)The IP address of the destination resource where mirrored packets are sent.Vtap.BuildertargetType(Vtap.TargetType targetType)The target type for the VTAP.Vtap.BuildertimeCreated(Date timeCreated)The date and time the VTAP was created, in the format defined by RFC3339.Vtap.BuildertrafficMode(Vtap.TrafficMode trafficMode)Used to control the priority of traffic.Vtap.BuildervcnId(String vcnId)The OCID of the VCN containing the Vtap resource.Vtap.BuildervxlanNetworkIdentifier(Long vxlanNetworkIdentifier)The virtual extensible LAN (VXLAN) network identifier (or VXLAN segment ID) that uniquely identifies the VXLAN.
 
- 
- 
- 
Method Detail- 
compartmentIdpublic Vtap.Builder compartmentId(String compartmentId) The OCID of the compartment containing the Vtap resource.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
vcnIdpublic Vtap.Builder vcnId(String vcnId) The OCID of the VCN containing the Vtap resource.- Parameters:
- vcnId- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic 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”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic Vtap.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
 
 - 
freeformTagspublic 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”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
idpublic Vtap.Builder id(String id) The VTAP’s Oracle ID (OCID).- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic Vtap.Builder lifecycleState(Vtap.LifecycleState lifecycleState) The VTAP’s administrative lifecycle state.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleStateDetailspublic Vtap.Builder lifecycleStateDetails(Vtap.LifecycleStateDetails lifecycleStateDetails) The VTAP’s current running state.- Parameters:
- lifecycleStateDetails- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic 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 - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
sourceIdpublic Vtap.Builder sourceId(String sourceId) The OCID of the source point where packets are captured.- Parameters:
- sourceId- the value to set
- Returns:
- this builder
 
 - 
targetIdpublic Vtap.Builder targetId(String targetId) The OCID of the destination resource where mirrored packets are sent.- Parameters:
- targetId- the value to set
- Returns:
- this builder
 
 - 
targetIppublic Vtap.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
 
 - 
captureFilterIdpublic Vtap.Builder captureFilterId(String captureFilterId) The capture filter’s Oracle ID (OCID).- Parameters:
- captureFilterId- the value to set
- Returns:
- this builder
 
 - 
encapsulationProtocolpublic Vtap.Builder encapsulationProtocol(Vtap.EncapsulationProtocol encapsulationProtocol) Defines an encapsulation header type for the VTAP’s mirrored traffic.- Parameters:
- encapsulationProtocol- the value to set
- Returns:
- this builder
 
 - 
vxlanNetworkIdentifierpublic Vtap.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
 
 - 
isVtapEnabledpublic 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. - Parameters:
- isVtapEnabled- the value to set
- Returns:
- this builder
 
 - 
sourceTypepublic Vtap.Builder sourceType(Vtap.SourceType sourceType) The source type for the VTAP.- Parameters:
- sourceType- the value to set
- Returns:
- this builder
 
 - 
trafficModepublic 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 - Parameters:
- trafficMode- the value to set
- Returns:
- this builder
 
 - 
maxPacketSizepublic Vtap.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
 
 - 
targetTypepublic Vtap.Builder targetType(Vtap.TargetType targetType) The target type for the VTAP.- Parameters:
- targetType- the value to set
- Returns:
- this builder
 
 - 
sourcePrivateEndpointIppublic Vtap.Builder sourcePrivateEndpointIp(String sourcePrivateEndpointIp) The IP Address of the source private endpoint.- Parameters:
- sourcePrivateEndpointIp- the value to set
- Returns:
- this builder
 
 - 
sourcePrivateEndpointSubnetIdpublic Vtap.Builder sourcePrivateEndpointSubnetId(String sourcePrivateEndpointSubnetId) The OCID of the subnet that source private endpoint belongs to.- Parameters:
- sourcePrivateEndpointSubnetId- the value to set
- Returns:
- this builder
 
 - 
buildpublic Vtap build() 
 - 
copypublic Vtap.Builder copy(Vtap model) 
 
- 
 
-