@Generated(value="software.amazon.awssdk:codegen") public final class Experiment extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Experiment.Builder,Experiment>
Describes an experiment.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Experiment.Builder |
| Modifier and Type | Method and Description |
|---|---|
Map<String,ExperimentAction> |
actions()
The actions for the experiment.
|
static Experiment.Builder |
builder() |
Instant |
creationTime()
The time the experiment was created.
|
Instant |
endTime()
The time that the experiment ended.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
experimentTemplateId()
The ID of the experiment template.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasActions()
Returns true if the Actions property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasStopConditions()
Returns true if the StopConditions property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
boolean |
hasTargets()
Returns true if the Targets property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
String |
id()
The ID of the experiment.
|
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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Experiment.Builder> |
serializableBuilderClass() |
Instant |
startTime()
The time that the experiment was started.
|
ExperimentState |
state()
The state of the experiment.
|
List<ExperimentStopCondition> |
stopConditions()
The stop conditions for the experiment.
|
Map<String,String> |
tags()
The tags for the experiment.
|
Map<String,ExperimentTarget> |
targets()
The targets for the experiment.
|
Experiment.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String id()
The ID of the experiment.
public final String experimentTemplateId()
The ID of the experiment template.
public final 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.
public final ExperimentState state()
The state of the experiment.
public final boolean hasTargets()
public final Map<String,ExperimentTarget> targets()
The targets for the experiment.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTargets() to see if a value was sent in this field.
public final boolean hasActions()
public final Map<String,ExperimentAction> actions()
The actions for the experiment.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasActions() to see if a value was sent in this field.
public final boolean hasStopConditions()
public final List<ExperimentStopCondition> stopConditions()
The stop conditions for the experiment.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasStopConditions() to see if a value was sent in this field.
public final Instant creationTime()
The time the experiment was created.
public final Instant startTime()
The time that the experiment was started.
public final Instant endTime()
The time that the experiment ended.
public final boolean hasTags()
public final Map<String,String> tags()
The tags for the experiment.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags() to see if a value was sent in this field.
public Experiment.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Experiment.Builder,Experiment>public static Experiment.Builder builder()
public static Class<? extends Experiment.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.