public static interface Experiment.Builder extends SdkPojo, CopyableBuilder<Experiment.Builder,Experiment>
| Modifier and Type | Method and Description |
|---|---|
Experiment.Builder |
actions(Map<String,ExperimentAction> actions)
The actions for the experiment.
|
Experiment.Builder |
creationTime(Instant creationTime)
The time that the experiment was created.
|
Experiment.Builder |
endTime(Instant endTime)
The time that the experiment ended.
|
Experiment.Builder |
experimentTemplateId(String experimentTemplateId)
The ID of the experiment template.
|
Experiment.Builder |
id(String id)
The ID of the experiment.
|
default Experiment.Builder |
logConfiguration(Consumer<ExperimentLogConfiguration.Builder> logConfiguration)
The configuration for experiment logging.
|
Experiment.Builder |
logConfiguration(ExperimentLogConfiguration logConfiguration)
The configuration for experiment logging.
|
Experiment.Builder |
roleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that grants the FIS service permission to perform service
actions on your behalf.
|
Experiment.Builder |
startTime(Instant startTime)
The time that the experiment started.
|
default Experiment.Builder |
state(Consumer<ExperimentState.Builder> state)
The state of the experiment.
|
Experiment.Builder |
state(ExperimentState state)
The state of the experiment.
|
Experiment.Builder |
stopConditions(Collection<ExperimentStopCondition> stopConditions)
The stop conditions for the experiment.
|
Experiment.Builder |
stopConditions(Consumer<ExperimentStopCondition.Builder>... stopConditions)
The stop conditions for the experiment.
|
Experiment.Builder |
stopConditions(ExperimentStopCondition... stopConditions)
The stop conditions for the experiment.
|
Experiment.Builder |
tags(Map<String,String> tags)
The tags for the experiment.
|
Experiment.Builder |
targets(Map<String,ExperimentTarget> targets)
The targets for the experiment.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildExperiment.Builder id(String id)
The ID of the experiment.
id - The ID of the experiment.Experiment.Builder experimentTemplateId(String experimentTemplateId)
The ID of the experiment template.
experimentTemplateId - The ID of the experiment template.Experiment.Builder roleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that grants the FIS service permission to perform service actions on your behalf.
roleArn - The Amazon Resource Name (ARN) of an IAM role that grants the FIS service permission to perform
service actions on your behalf.Experiment.Builder state(ExperimentState state)
The state of the experiment.
state - The state of the experiment.default Experiment.Builder state(Consumer<ExperimentState.Builder> 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 via ExperimentState.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to state(ExperimentState).state - a consumer that will call methods on ExperimentState.Builderstate(ExperimentState)Experiment.Builder targets(Map<String,ExperimentTarget> targets)
The targets for the experiment.
targets - The targets for the experiment.Experiment.Builder actions(Map<String,ExperimentAction> actions)
The actions for the experiment.
actions - The actions for the experiment.Experiment.Builder stopConditions(Collection<ExperimentStopCondition> stopConditions)
The stop conditions for the experiment.
stopConditions - The stop conditions for the experiment.Experiment.Builder stopConditions(ExperimentStopCondition... stopConditions)
The stop conditions for the experiment.
stopConditions - The stop conditions for the experiment.Experiment.Builder stopConditions(Consumer<ExperimentStopCondition.Builder>... stopConditions)
The stop conditions for the experiment.
This is a convenience method that creates an instance of theList.Builder
avoiding the need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called
immediately and its result is passed to #stopConditions(List) .stopConditions - a consumer that will call methods on List.Builder #stopConditions(List) Experiment.Builder creationTime(Instant creationTime)
The time that the experiment was created.
creationTime - The time that the experiment was created.Experiment.Builder startTime(Instant startTime)
The time that the experiment started.
startTime - The time that the experiment started.Experiment.Builder endTime(Instant endTime)
The time that the experiment ended.
endTime - The time that the experiment ended.Experiment.Builder tags(Map<String,String> tags)
The tags for the experiment.
tags - The tags for the experiment.Experiment.Builder logConfiguration(ExperimentLogConfiguration logConfiguration)
The configuration for experiment logging.
logConfiguration - The configuration for experiment logging.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 via ExperimentLogConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to logConfiguration(ExperimentLogConfiguration).logConfiguration - a consumer that will call methods on ExperimentLogConfiguration.BuilderlogConfiguration(ExperimentLogConfiguration)Copyright © 2022. All rights reserved.