Interface ProfilingStatus.Builder

  • Method Details

    • latestAgentOrchestratedAt

      ProfilingStatus.Builder latestAgentOrchestratedAt(Instant latestAgentOrchestratedAt)

      The date and time when the profiling agent most recently pinged back. Specify using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.

      Parameters:
      latestAgentOrchestratedAt - The date and time when the profiling agent most recently pinged back. Specify using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • latestAgentProfileReportedAt

      ProfilingStatus.Builder latestAgentProfileReportedAt(Instant latestAgentProfileReportedAt)

      The date and time when the most recent profile was received. Specify using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.

      Parameters:
      latestAgentProfileReportedAt - The date and time when the most recent profile was received. Specify using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • latestAggregatedProfile

      ProfilingStatus.Builder latestAggregatedProfile(AggregatedProfileTime latestAggregatedProfile)

      An AggregatedProfileTime object that contains the aggregation period and start time for an aggregated profile.

      Parameters:
      latestAggregatedProfile - An AggregatedProfileTime object that contains the aggregation period and start time for an aggregated profile.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • latestAggregatedProfile

      default ProfilingStatus.Builder latestAggregatedProfile(Consumer<AggregatedProfileTime.Builder> latestAggregatedProfile)

      An AggregatedProfileTime object that contains the aggregation period and start time for an aggregated profile.

      This is a convenience method that creates an instance of the AggregatedProfileTime.Builder avoiding the need to create one manually via AggregatedProfileTime.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to latestAggregatedProfile(AggregatedProfileTime).

      Parameters:
      latestAggregatedProfile - a consumer that will call methods on AggregatedProfileTime.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: