Class PutLogsRequest.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • logId

        public PutLogsRequest.Builder logId​(String logId)
        OCID of a log to work with.
        Parameters:
        logId - the value to set
        Returns:
        this builder instance
      • putLogsDetails

        public PutLogsRequest.Builder putLogsDetails​(PutLogsDetails putLogsDetails)
        The logs to emit.
        Parameters:
        putLogsDetails - the value to set
        Returns:
        this builder instance
      • timestampOpcAgentProcessing

        public PutLogsRequest.Builder timestampOpcAgentProcessing​(Date timestampOpcAgentProcessing)
        Effective timestamp, for when the agent started processing the log segment being sent.

        An RFC3339-formatted date-time string with milliseconds precision.

        Parameters:
        timestampOpcAgentProcessing - the value to set
        Returns:
        this builder instance
      • opcAgentVersion

        public PutLogsRequest.Builder opcAgentVersion​(String opcAgentVersion)
        Version of the agent sending the request.
        Parameters:
        opcAgentVersion - the value to set
        Returns:
        this builder instance
      • opcRequestId

        public PutLogsRequest.Builder opcRequestId​(String opcRequestId)
        Unique Oracle-assigned identifier for the request.

        If you need to contact Oracle about a particular request, please provide the request ID.

        Parameters:
        opcRequestId - the value to set
        Returns:
        this builder instance
      • invocationCallback

        public PutLogsRequest.Builder invocationCallback​(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
        Set the invocation callback for the request to be built.
        Parameters:
        invocationCallback - the invocation callback to be set for the request
        Returns:
        this builder instance
      • retryConfiguration

        public PutLogsRequest.Builder retryConfiguration​(RetryConfiguration retryConfiguration)
        Set the retry configuration for the request to be built.
        Parameters:
        retryConfiguration - the retry configuration to be used for the request
        Returns:
        this builder instance