Interface GetExperimentResultsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetExperimentResultsResponse.Builder,
,GetExperimentResultsResponse> EvidentlyResponse.Builder
,SdkBuilder<GetExperimentResultsResponse.Builder,
,GetExperimentResultsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetExperimentResultsResponse
-
Method Summary
Modifier and TypeMethodDescriptionIf the experiment doesn't yet have enough events to provide valid results, this field is returned with the messageNot enough events to generate results
.reports
(Collection<ExperimentReport> reports) An array of structures that include the reports that you requested.reports
(Consumer<ExperimentReport.Builder>... reports) An array of structures that include the reports that you requested.reports
(ExperimentReport... reports) An array of structures that include the reports that you requested.resultsData
(Collection<ExperimentResultsData> resultsData) An array of structures that include experiment results including metric names and values.resultsData
(Consumer<ExperimentResultsData.Builder>... resultsData) An array of structures that include experiment results including metric names and values.resultsData
(ExperimentResultsData... resultsData) An array of structures that include experiment results including metric names and values.timestamps
(Instant... timestamps) The timestamps of each result returned.timestamps
(Collection<Instant> timestamps) The timestamps of each result returned.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.evidently.model.EvidentlyResponse.Builder
build, responseMetadata, responseMetadata
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 Details
-
details
If the experiment doesn't yet have enough events to provide valid results, this field is returned with the message
Not enough events to generate results
. If there are enough events to provide valid results, this field is not returned.- Parameters:
details
- If the experiment doesn't yet have enough events to provide valid results, this field is returned with the messageNot enough events to generate results
. If there are enough events to provide valid results, this field is not returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reports
An array of structures that include the reports that you requested.
- Parameters:
reports
- An array of structures that include the reports that you requested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reports
An array of structures that include the reports that you requested.
- Parameters:
reports
- An array of structures that include the reports that you requested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reports
An array of structures that include the reports that you requested.
This is a convenience method that creates an instance of theExperimentReport.Builder
avoiding the need to create one manually viaExperimentReport.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreports(List<ExperimentReport>)
.- Parameters:
reports
- a consumer that will call methods onExperimentReport.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resultsData
An array of structures that include experiment results including metric names and values.
- Parameters:
resultsData
- An array of structures that include experiment results including metric names and values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resultsData
An array of structures that include experiment results including metric names and values.
- Parameters:
resultsData
- An array of structures that include experiment results including metric names and values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resultsData
GetExperimentResultsResponse.Builder resultsData(Consumer<ExperimentResultsData.Builder>... resultsData) An array of structures that include experiment results including metric names and values.
This is a convenience method that creates an instance of theExperimentResultsData.Builder
avoiding the need to create one manually viaExperimentResultsData.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresultsData(List<ExperimentResultsData>)
.- Parameters:
resultsData
- a consumer that will call methods onExperimentResultsData.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
timestamps
The timestamps of each result returned.
- Parameters:
timestamps
- The timestamps of each result returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timestamps
The timestamps of each result returned.
- Parameters:
timestamps
- The timestamps of each result returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-