Interface ExperimentReportState.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ExperimentReportState.Builder,
,ExperimentReportState> SdkBuilder<ExperimentReportState.Builder,
,ExperimentReportState> SdkPojo
- Enclosing class:
ExperimentReportState
@Mutable
@NotThreadSafe
public static interface ExperimentReportState.Builder
extends SdkPojo, CopyableBuilder<ExperimentReportState.Builder,ExperimentReportState>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ExperimentReportState.Builder
The error information of the experiment when the experiment report generation has failed.error
(ExperimentReportError error) The error information of the experiment when the experiment report generation has failed.The reason for the state of the experiment report generation.The state of the experiment report generation.status
(ExperimentReportStatus status) The state of the experiment report generation.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
-
Method Details
-
status
The state of the experiment report generation.
- Parameters:
status
- The state of the experiment report generation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The state of the experiment report generation.
- Parameters:
status
- The state of the experiment report generation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reason
The reason for the state of the experiment report generation.
- Parameters:
reason
- The reason for the state of the experiment report generation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
The error information of the experiment when the experiment report generation has failed.
- Parameters:
error
- The error information of the experiment when the experiment report generation has failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
The error information of the experiment when the experiment report generation has failed.
This is a convenience method that creates an instance of theExperimentReportError.Builder
avoiding the need to create one manually viaExperimentReportError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerror(ExperimentReportError)
.- Parameters:
error
- a consumer that will call methods onExperimentReportError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-