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 Summary
Modifier and TypeMethodDescriptionanomalies
(Collection<Anomaly> anomalies) The list of anomalies that the analysis has found for this profile.anomalies
(Consumer<Anomaly.Builder>... anomalies) The list of anomalies that the analysis has found for this profile.The list of anomalies that the analysis has found for this profile.profileEndTime
(Instant profileEndTime) The end time of the profile the analysis data is about.profileStartTime
(Instant profileStartTime) The start time of the profile the analysis data is about.profilingGroupName
(String profilingGroupName) The name of the profiling group the analysis data is about.recommendations
(Collection<Recommendation> recommendations) The list of recommendations that the analysis found for this profile.recommendations
(Consumer<Recommendation.Builder>... recommendations) The list of recommendations that the analysis found for this profile.recommendations
(Recommendation... recommendations) The list of recommendations that the analysis found for this profile.Methods inherited from interface software.amazon.awssdk.services.codeguruprofiler.model.CodeGuruProfilerResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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 theAnomaly.Builder
avoiding the need to create one manually viaAnomaly.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toanomalies(List<Anomaly>)
.- Parameters:
anomalies
- a consumer that will call methods onAnomaly.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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
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(Consumer<Recommendation.Builder>... recommendations) The list of recommendations that the analysis found for this profile.
This is a convenience method that creates an instance of theRecommendation.Builder
avoiding the need to create one manually viaRecommendation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torecommendations(List<Recommendation>)
.- Parameters:
recommendations
- a consumer that will call methods onRecommendation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-