Class CaptureFilter.Builder
- java.lang.Object
-
- com.oracle.bmc.vnmonitoring.model.CaptureFilter.Builder
-
- Enclosing class:
- CaptureFilter
public static class CaptureFilter.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CaptureFilter
build()
CaptureFilter.Builder
compartmentId(String compartmentId)
The OCID of the compartment containing the capture filter.CaptureFilter.Builder
copy(CaptureFilter model)
CaptureFilter.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.CaptureFilter.Builder
displayName(String displayName)
A user-friendly name.CaptureFilter.Builder
filterType(CaptureFilter.FilterType filterType)
Indicates which service will use this capture filterCaptureFilter.Builder
flowLogCaptureFilterRules(List<FlowLogCaptureFilterRuleDetails> flowLogCaptureFilterRules)
The set of rules governing what traffic the Flow Log collects when creating a flow log capture filter.CaptureFilter.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.CaptureFilter.Builder
id(String id)
The capture filter’s Oracle ID (OCID).CaptureFilter.Builder
lifecycleState(CaptureFilter.LifecycleState lifecycleState)
The capture filter’s current administrative state.CaptureFilter.Builder
timeCreated(Date timeCreated)
The date and time the capture filter was created, in the format defined by RFC3339.CaptureFilter.Builder
vtapCaptureFilterRules(List<VtapCaptureFilterRuleDetails> vtapCaptureFilterRules)
The set of rules governing what traffic a VTAP mirrors.
-
-
-
Method Detail
-
compartmentId
public CaptureFilter.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the capture filter.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
definedTags
public CaptureFilter.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 CaptureFilter.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 CaptureFilter.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
-
id
public CaptureFilter.Builder id(String id)
The capture filter’s Oracle ID (OCID).- Parameters:
id
- the value to set- Returns:
- this builder
-
lifecycleState
public CaptureFilter.Builder lifecycleState(CaptureFilter.LifecycleState lifecycleState)
The capture filter’s current administrative state.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
filterType
public CaptureFilter.Builder filterType(CaptureFilter.FilterType filterType)
Indicates which service will use this capture filter- Parameters:
filterType
- the value to set- Returns:
- this builder
-
timeCreated
public CaptureFilter.Builder timeCreated(Date timeCreated)
The date and time the capture filter was created, in the format defined by RFC3339.Example: 2021-08-25T21:10:29.600Z
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
vtapCaptureFilterRules
public CaptureFilter.Builder vtapCaptureFilterRules(List<VtapCaptureFilterRuleDetails> vtapCaptureFilterRules)
The set of rules governing what traffic a VTAP mirrors.- Parameters:
vtapCaptureFilterRules
- the value to set- Returns:
- this builder
-
flowLogCaptureFilterRules
public CaptureFilter.Builder flowLogCaptureFilterRules(List<FlowLogCaptureFilterRuleDetails> flowLogCaptureFilterRules)
The set of rules governing what traffic the Flow Log collects when creating a flow log capture filter.- Parameters:
flowLogCaptureFilterRules
- the value to set- Returns:
- this builder
-
build
public CaptureFilter build()
-
copy
public CaptureFilter.Builder copy(CaptureFilter model)
-
-