Class ResponseContext.Builder

  • Enclosing class:
    ResponseContext

    public static class ResponseContext.Builder
    extends java.lang.Object
    Builder.
    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
    • Method Detail

      • build

        public ResponseContext build()
        Builds a ResponseContext.
        Returns:
        the new ResponseContext instance
      • transactionId

        public ResponseContext.Builder transactionId​(java.lang.String transactionId)
        Set the transactionId.
        Parameters:
        transactionId - the transactionId
        Returns:
        the ResponseContext builder
      • operation

        public ResponseContext.Builder operation​(java.lang.String operation)
        Set the operation.
        Parameters:
        operation - the operation
        Returns:
        the ResponseContext builder
      • userAgent

        public ResponseContext.Builder userAgent​(java.lang.String userAgent)
        Set the userAgent.
        Parameters:
        userAgent - the userAgent
        Returns:
        the ResponseContext builder
      • url

        public ResponseContext.Builder url​(java.lang.String url)
        Set the url.
        Parameters:
        url - the url
        Returns:
        the ResponseContext builder
      • instanceId

        public ResponseContext.Builder instanceId​(java.lang.String instanceId)
        Set the instanceId.
        Parameters:
        instanceId - the instanceId
        Returns:
        the ResponseContext builder
      • threadId

        public ResponseContext.Builder threadId​(java.lang.String threadId)
        Set the threadId.
        Parameters:
        threadId - the threadId
        Returns:
        the ResponseContext builder
      • host

        public ResponseContext.Builder host​(java.lang.String host)
        Set the host.
        Parameters:
        host - the host
        Returns:
        the ResponseContext builder
      • startTime

        public ResponseContext.Builder startTime​(java.lang.String startTime)
        Set the startTime.
        Parameters:
        startTime - the startTime
        Returns:
        the ResponseContext builder
      • endTime

        public ResponseContext.Builder endTime​(java.lang.String endTime)
        Set the endTime.
        Parameters:
        endTime - the endTime
        Returns:
        the ResponseContext builder
      • elapsedTime

        public ResponseContext.Builder elapsedTime​(java.lang.String elapsedTime)
        Set the elapsedTime.
        Parameters:
        elapsedTime - the elapsedTime
        Returns:
        the ResponseContext builder
      • clusterName

        public ResponseContext.Builder clusterName​(java.lang.String clusterName)
        Set the clusterName.
        Parameters:
        clusterName - the clusterName
        Returns:
        the ResponseContext builder