Class StepMessage.Builder

  • Enclosing class:
    StepMessage

    public static class StepMessage.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • message

        public StepMessage.Builder message​(String message)
        The status message of the steps in a recipe during pipeline initialization.

        https://docs.oracle.com/en/middleware/goldengate/core/23/oggra/rest-endpoints.html

        Parameters:
        message - the value to set
        Returns:
        this builder
      • code

        public StepMessage.Builder code​(String code)
        The code returned when GoldenGate reports an error while running a step during pipeline initialization.

        https://docs.oracle.com/en/middleware/goldengate/core/23/error-messages/ogg-00001-ogg-40000.html#GUID-97FF7AA7-7A5C-4AA7-B29F-3CC8D26761F2

        Parameters:
        code - the value to set
        Returns:
        this builder
      • timestamp

        public StepMessage.Builder timestamp​(Date timestamp)
        Date and time of a message issued by steps in a recipe during pipeline initialization.

        The format is defined by RFC3339, such as 2024-07-25T21:10:29.600Z.

        Parameters:
        timestamp - the value to set
        Returns:
        this builder
      • severity

        public StepMessage.Builder severity​(SeverityType severity)
        The severity returned when calling GoldenGate API messages for a step in a recipe during pipeline initialization.

        https://docs.oracle.com/en/middleware/goldengate/core/23/oggra/rest-endpoints.html

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