Interface PostAgentProfileRequest.Builder

    • Method Detail

      • agentProfile

        PostAgentProfileRequest.Builder agentProfile​(SdkBytes agentProfile)

        The submitted profiling data.

        Parameters:
        agentProfile - The submitted profiling data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • contentType

        PostAgentProfileRequest.Builder contentType​(String contentType)

        The format of the submitted profiling data. The format maps to the Accept and Content-Type headers of the HTTP request. You can specify one of the following: or the default .

          <ul> <li> <p> <code>application/json</code> — standard JSON format </p> </li> <li> <p> <code>application/x-amzn-ion</code> — the Amazon Ion data format. For more information, see <a href="http://amzn.github.io/ion-docs/">Amazon Ion</a>. </p> </li> </ul> 
         
        Parameters:
        contentType - The format of the submitted profiling data. The format maps to the Accept and Content-Type headers of the HTTP request. You can specify one of the following: or the default .

          <ul> <li> <p> <code>application/json</code> — standard JSON format </p> </li> <li> <p> <code>application/x-amzn-ion</code> — the Amazon Ion data format. For more information, see <a href="http://amzn.github.io/ion-docs/">Amazon Ion</a>. </p> </li> </ul> 
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • profileToken

        PostAgentProfileRequest.Builder profileToken​(String profileToken)

        Amazon CodeGuru Profiler uses this universally unique identifier (UUID) to prevent the accidental submission of duplicate profiling data if there are failures and retries.

        Parameters:
        profileToken - Amazon CodeGuru Profiler uses this universally unique identifier (UUID) to prevent the accidental submission of duplicate profiling data if there are failures and retries.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • profilingGroupName

        PostAgentProfileRequest.Builder profilingGroupName​(String profilingGroupName)

        The name of the profiling group with the aggregated profile that receives the submitted profiling data.

        Parameters:
        profilingGroupName - The name of the profiling group with the aggregated profile that receives the submitted profiling data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.