Interface GetRecommendationsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeGuruProfilerResponse.Builder,CopyableBuilder<GetRecommendationsResponse.Builder,GetRecommendationsResponse>,SdkBuilder<GetRecommendationsResponse.Builder,GetRecommendationsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetRecommendationsResponse
public static interface GetRecommendationsResponse.Builder extends CodeGuruProfilerResponse.Builder, SdkPojo, CopyableBuilder<GetRecommendationsResponse.Builder,GetRecommendationsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetRecommendationsResponse.Builderanomalies(Collection<Anomaly> anomalies)The list of anomalies that the analysis has found for this profile.GetRecommendationsResponse.Builderanomalies(Consumer<Anomaly.Builder>... anomalies)The list of anomalies that the analysis has found for this profile.GetRecommendationsResponse.Builderanomalies(Anomaly... anomalies)The list of anomalies that the analysis has found for this profile.GetRecommendationsResponse.BuilderprofileEndTime(Instant profileEndTime)The end time of the profile the analysis data is about.GetRecommendationsResponse.BuilderprofileStartTime(Instant profileStartTime)The start time of the profile the analysis data is about.GetRecommendationsResponse.BuilderprofilingGroupName(String profilingGroupName)The name of the profiling group the analysis data is about.GetRecommendationsResponse.Builderrecommendations(Collection<Recommendation> recommendations)The list of recommendations that the analysis found for this profile.GetRecommendationsResponse.Builderrecommendations(Consumer<Recommendation.Builder>... recommendations)The list of recommendations that the analysis found for this profile.GetRecommendationsResponse.Builderrecommendations(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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
anomalies
GetRecommendationsResponse.Builder anomalies(Collection<Anomaly> 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
GetRecommendationsResponse.Builder anomalies(Anomaly... 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
GetRecommendationsResponse.Builder anomalies(Consumer<Anomaly.Builder>... anomalies)
The list of anomalies that the analysis has found for this profile.
This is a convenience method that creates an instance of theAnomaly.Builderavoiding the need to create one manually viaAnomaly.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#anomalies(List.) - 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:
#anomalies(java.util.Collection)
-
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
GetRecommendationsResponse.Builder recommendations(Collection<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
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
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.Builderavoiding the need to create one manually viaRecommendation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#recommendations(List.) - 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:
#recommendations(java.util.Collection)
-
-