Class LogSource.Builder

  • Enclosing class:
    LogSource

    public static class LogSource.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

        public LogSource.Builder compartmentId​(String compartmentId)
        The OCID of the compartment containing the log source.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • logGroupId

        public LogSource.Builder logGroupId​(String logGroupId)
        Identifier of the log group.

        Either _Audit or the OCID of the log group. Note: For the Notifications target, only _Audit is allowed.

        Parameters:
        logGroupId - the value to set
        Returns:
        this builder
      • logId

        public LogSource.Builder logId​(String logId)
        The OCID of the log.
        Parameters:
        logId - the value to set
        Returns:
        this builder