Class CaptureFilter.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • 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
      • 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