Interface Experiment.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Experiment.Builder,
,Experiment> SdkBuilder<Experiment.Builder,
,Experiment> SdkPojo
- Enclosing class:
Experiment
-
Method Summary
Modifier and TypeMethodDescriptionactions
(Map<String, ExperimentAction> actions) The actions for the experiment.The Amazon Resource Name (ARN) of the experiment.creationTime
(Instant creationTime) The time that the experiment was created.The time that the experiment ended.default Experiment.Builder
experimentOptions
(Consumer<ExperimentOptions.Builder> experimentOptions) The experiment options for the experiment.experimentOptions
(ExperimentOptions experimentOptions) The experiment options for the experiment.default Experiment.Builder
experimentReport
(Consumer<ExperimentReport.Builder> experimentReport) The experiment report for the experiment.experimentReport
(ExperimentReport experimentReport) The experiment report for the experiment.default Experiment.Builder
experimentReportConfiguration
(Consumer<ExperimentReportConfiguration.Builder> experimentReportConfiguration) The experiment report configuration for the experiment.experimentReportConfiguration
(ExperimentReportConfiguration experimentReportConfiguration) The experiment report configuration for the experiment.experimentTemplateId
(String experimentTemplateId) The ID of the experiment template.The ID of the experiment.default Experiment.Builder
logConfiguration
(Consumer<ExperimentLogConfiguration.Builder> logConfiguration) The configuration for experiment logging.logConfiguration
(ExperimentLogConfiguration logConfiguration) The configuration for experiment logging.The Amazon Resource Name (ARN) of an IAM role that grants the FIS service permission to perform service actions on your behalf.The time that the experiment started.default Experiment.Builder
state
(Consumer<ExperimentState.Builder> state) The state of the experiment.state
(ExperimentState state) The state of the experiment.stopConditions
(Collection<ExperimentStopCondition> stopConditions) The stop conditions for the experiment.stopConditions
(Consumer<ExperimentStopCondition.Builder>... stopConditions) The stop conditions for the experiment.stopConditions
(ExperimentStopCondition... stopConditions) The stop conditions for the experiment.The tags for the experiment.targetAccountConfigurationsCount
(Long targetAccountConfigurationsCount) The count of target account configurations for the experiment.targets
(Map<String, ExperimentTarget> targets) The targets for the experiment.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
-
id
The ID of the experiment.
- Parameters:
id
- The ID of the experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The Amazon Resource Name (ARN) of the experiment.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
experimentTemplateId
The ID of the experiment template.
- Parameters:
experimentTemplateId
- The ID of the experiment template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
The Amazon Resource Name (ARN) of an IAM role that grants the FIS service permission to perform service actions on your behalf.
- Parameters:
roleArn
- The Amazon Resource Name (ARN) of an IAM role that grants the FIS service permission to perform service actions on your behalf.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The state of the experiment.
- Parameters:
state
- The state of the experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The state of the experiment.
This is a convenience method that creates an instance of theExperimentState.Builder
avoiding the need to create one manually viaExperimentState.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostate(ExperimentState)
.- Parameters:
state
- a consumer that will call methods onExperimentState.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targets
The targets for the experiment.
- Parameters:
targets
- The targets for the experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
The actions for the experiment.
- Parameters:
actions
- The actions for the experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stopConditions
The stop conditions for the experiment.
- Parameters:
stopConditions
- The stop conditions for the experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stopConditions
The stop conditions for the experiment.
- Parameters:
stopConditions
- The stop conditions for the experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stopConditions
The stop conditions for the experiment.
This is a convenience method that creates an instance of theExperimentStopCondition.Builder
avoiding the need to create one manually viaExperimentStopCondition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostopConditions(List<ExperimentStopCondition>)
.- Parameters:
stopConditions
- a consumer that will call methods onExperimentStopCondition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creationTime
The time that the experiment was created.
- Parameters:
creationTime
- The time that the experiment was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
The time that the experiment started.
- Parameters:
startTime
- The time that the experiment started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The time that the experiment ended.
- Parameters:
endTime
- The time that the experiment ended.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags for the experiment.
- Parameters:
tags
- The tags for the experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logConfiguration
The configuration for experiment logging.
- Parameters:
logConfiguration
- The configuration for experiment logging.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logConfiguration
default Experiment.Builder logConfiguration(Consumer<ExperimentLogConfiguration.Builder> logConfiguration) The configuration for experiment logging.
This is a convenience method that creates an instance of theExperimentLogConfiguration.Builder
avoiding the need to create one manually viaExperimentLogConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tologConfiguration(ExperimentLogConfiguration)
.- Parameters:
logConfiguration
- a consumer that will call methods onExperimentLogConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
experimentOptions
The experiment options for the experiment.
- Parameters:
experimentOptions
- The experiment options for the experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
experimentOptions
The experiment options for the experiment.
This is a convenience method that creates an instance of theExperimentOptions.Builder
avoiding the need to create one manually viaExperimentOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexperimentOptions(ExperimentOptions)
.- Parameters:
experimentOptions
- a consumer that will call methods onExperimentOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetAccountConfigurationsCount
The count of target account configurations for the experiment.
- Parameters:
targetAccountConfigurationsCount
- The count of target account configurations for the experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
experimentReportConfiguration
Experiment.Builder experimentReportConfiguration(ExperimentReportConfiguration experimentReportConfiguration) The experiment report configuration for the experiment.
- Parameters:
experimentReportConfiguration
- The experiment report configuration for the experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
experimentReportConfiguration
default Experiment.Builder experimentReportConfiguration(Consumer<ExperimentReportConfiguration.Builder> experimentReportConfiguration) The experiment report configuration for the experiment.
This is a convenience method that creates an instance of theExperimentReportConfiguration.Builder
avoiding the need to create one manually viaExperimentReportConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexperimentReportConfiguration(ExperimentReportConfiguration)
.- Parameters:
experimentReportConfiguration
- a consumer that will call methods onExperimentReportConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
experimentReport
The experiment report for the experiment.
- Parameters:
experimentReport
- The experiment report for the experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
experimentReport
The experiment report for the experiment.
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 toexperimentReport(ExperimentReport)
.- Parameters:
experimentReport
- 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:
-