@Generated(value="software.amazon.awssdk:codegen") public final class ExperimentAction extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ExperimentAction.Builder,ExperimentAction>
Describes the action for an experiment.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ExperimentAction.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
actionId()
The ID of the action.
|
static ExperimentAction.Builder |
builder() |
String |
description()
The description for the action.
|
Instant |
endTime()
The time that the action ended.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasParameters()
For responses, this returns true if the service returned a value for the Parameters property.
|
boolean |
hasStartAfter()
For responses, this returns true if the service returned a value for the StartAfter property.
|
boolean |
hasTargets()
For responses, this returns true if the service returned a value for the Targets property.
|
Map<String,String> |
parameters()
The parameters for the action.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ExperimentAction.Builder> |
serializableBuilderClass() |
List<String> |
startAfter()
The name of the action that must be completed before this action starts.
|
Instant |
startTime()
The time that the action started.
|
ExperimentActionState |
state()
The state of the action.
|
Map<String,String> |
targets()
The targets for the action.
|
ExperimentAction.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String actionId()
The ID of the action.
public final String description()
The description for the action.
public final boolean hasParameters()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final Map<String,String> parameters()
The parameters for the action.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasParameters() method.
public final boolean hasTargets()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final Map<String,String> targets()
The targets for the action.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTargets() method.
public final boolean hasStartAfter()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<String> startAfter()
The name of the action that must be completed before this action starts.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasStartAfter() method.
public final ExperimentActionState state()
The state of the action.
public final Instant startTime()
The time that the action started.
public final Instant endTime()
The time that the action ended.
public ExperimentAction.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ExperimentAction.Builder,ExperimentAction>public static ExperimentAction.Builder builder()
public static Class<? extends ExperimentAction.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.