Class StreamGroup.Builder

  • Enclosing class:
    StreamGroup

    public static class StreamGroup.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

        public StreamGroup.Builder compartmentId​(String compartmentId)
        OCID of compartment
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • displayName

        public StreamGroup.Builder displayName​(String displayName)
        A human-friendly name for the streamGroup.
        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • timeCreated

        public StreamGroup.Builder timeCreated​(Date timeCreated)
        When the streamGroup was created, as an RFC3339 datetime string.
        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • timeUpdated

        public StreamGroup.Builder timeUpdated​(Date timeUpdated)
        When the streamGroup was updated, as an RFC3339 datetime string.
        Parameters:
        timeUpdated - the value to set
        Returns:
        this builder
      • isEnabled

        public StreamGroup.Builder isEnabled​(Boolean isEnabled)
        Stream
        Parameters:
        isEnabled - the value to set
        Returns:
        this builder
      • streamSourceIds

        public StreamGroup.Builder streamSourceIds​(List<String> streamSourceIds)
        List of streamSource OCIDs associated with the stream group
        Parameters:
        streamSourceIds - the value to set
        Returns:
        this builder
      • streamOverlaps

        public StreamGroup.Builder streamOverlaps​(List<StreamGroupOverlap> streamOverlaps)
        List of streamSource OCIDs where the streamSource overlaps in field of view.
        Parameters:
        streamOverlaps - the value to set
        Returns:
        this builder
      • freeformTags

        public StreamGroup.Builder freeformTags​(Map<String,​String> freeformTags)
        A simple key-value pair that is applied without any predefined name, type, or scope.

        It exists for cross-compatibility only. For example: {“bar-key”: “value”}

        Parameters:
        freeformTags - the value to set
        Returns:
        this builder
      • definedTags

        public StreamGroup.Builder definedTags​(Map<String,​Map<String,​Object>> definedTags)
        Defined tags for this resource.

        Each key is predefined and scoped to a namespace. For example: {“foo-namespace”: {“bar-key”: “value”}}

        Parameters:
        definedTags - the value to set
        Returns:
        this builder
      • systemTags

        public StreamGroup.Builder systemTags​(Map<String,​Map<String,​Object>> systemTags)
        Usage of system tag keys.

        These predefined keys are scoped to namespaces. For example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

        Parameters:
        systemTags - the value to set
        Returns:
        this builder