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 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.
|
Experiment.Builder |
roleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that grants the AWS FIS service permission to perform service
actions on your behalf.
|
Experiment.Builder |
startTime(Instant startTime)
The time that the experiment was 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 AWS FIS service permission to perform service actions on your behalf.
roleArn - The Amazon Resource Name (ARN) of an IAM role that grants the AWS 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 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 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 the experiment was created.
creationTime - The time the experiment was created.Experiment.Builder startTime(Instant startTime)
The time that the experiment was started.
startTime - The time that the experiment was 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.Copyright © 2021. All rights reserved.