Class StreamJob.Builder

  • Enclosing class:
    StreamJob

    public static class StreamJob.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • streamSourceId

        public StreamJob.Builder streamSourceId​(String streamSourceId)
        OCID of the streamSource
        Parameters:
        streamSourceId - the value to set
        Returns:
        this builder
      • compartmentId

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

        public StreamJob.Builder displayName​(String displayName)
        Stream job display name.
        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • agentParticipantId

        public StreamJob.Builder agentParticipantId​(String agentParticipantId)
        participant id of agent where results need to be sent
        Parameters:
        agentParticipantId - the value to set
        Returns:
        this builder
      • lifecycleState

        public StreamJob.Builder lifecycleState​(StreamJob.LifecycleState lifecycleState)
        The current state of the Stream job.
        Parameters:
        lifecycleState - the value to set
        Returns:
        this builder
      • lifecycleDetails

        public StreamJob.Builder lifecycleDetails​(String lifecycleDetails)
        Additional details about current state of streamJob
        Parameters:
        lifecycleDetails - the value to set
        Returns:
        this builder
      • timeCreated

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

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

        public StreamJob.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 StreamJob.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 StreamJob.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