@Generated(value="software.amazon.awssdk:codegen") public final class State extends Object implements SdkPojo, Serializable, ToCopyableBuilder<State.Builder,State>
Information that defines a state of a detector.
| Modifier and Type | Class and Description |
|---|---|
static interface |
State.Builder |
| Modifier and Type | Method and Description |
|---|---|
static State.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
OnEnterLifecycle |
onEnter()
When entering this state, perform these
actions if the condition is TRUE. |
OnExitLifecycle |
onExit()
When exiting this state, perform these
actions if the specified condition is
TRUE. |
OnInputLifecycle |
onInput()
When an input is received and the
condition is TRUE, perform the specified actions. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends State.Builder> |
serializableBuilderClass() |
String |
stateName()
The name of the state.
|
State.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String stateName()
The name of the state.
public final OnInputLifecycle onInput()
When an input is received and the condition is TRUE, perform the specified actions.
condition is TRUE, perform the specified
actions.public final OnEnterLifecycle onEnter()
When entering this state, perform these actions if the condition is TRUE.
actions if the condition is TRUE.public final OnExitLifecycle onExit()
When exiting this state, perform these actions if the specified condition is
TRUE.
actions if the specified condition is
TRUE.public State.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<State.Builder,State>public static State.Builder builder()
public static Class<? extends State.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.