Interface GetRecommendationsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CodeGuruProfilerResponse.Builder, CopyableBuilder<GetRecommendationsResponse.Builder,GetRecommendationsResponse>, SdkBuilder<GetRecommendationsResponse.Builder,GetRecommendationsResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetRecommendationsResponse

  • Method Details

    • anomalies

      The list of anomalies that the analysis has found for this profile.

      Parameters:
      anomalies - The list of anomalies that the analysis has found for this profile.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • anomalies

      The list of anomalies that the analysis has found for this profile.

      Parameters:
      anomalies - The list of anomalies that the analysis has found for this profile.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • anomalies

      The list of anomalies that the analysis has found for this profile.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to anomalies(List<Anomaly>).

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

      GetRecommendationsResponse.Builder profileEndTime(Instant profileEndTime)

      The end time of the profile the analysis data is about. This is specified 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:
      profileEndTime - The end time of the profile the analysis data is about. This is specified 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.
    • profileStartTime

      GetRecommendationsResponse.Builder profileStartTime(Instant profileStartTime)

      The start time of the profile the analysis data is about. This is specified 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:
      profileStartTime - The start time of the profile the analysis data is about. This is specified 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.
    • profilingGroupName

      GetRecommendationsResponse.Builder profilingGroupName(String profilingGroupName)

      The name of the profiling group the analysis data is about.

      Parameters:
      profilingGroupName - The name of the profiling group the analysis data is about.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recommendations

      The list of recommendations that the analysis found for this profile.

      Parameters:
      recommendations - The list of recommendations that the analysis found for this profile.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recommendations

      GetRecommendationsResponse.Builder recommendations(Recommendation... recommendations)

      The list of recommendations that the analysis found for this profile.

      Parameters:
      recommendations - The list of recommendations that the analysis found for this profile.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recommendations

      The list of recommendations that the analysis found for this profile.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to recommendations(List<Recommendation>).

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