@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class State extends Object implements Serializable, Cloneable, StructuredPojo
Information that defines a state of a detector.
Constructor and Description |
---|
State() |
Modifier and Type | Method and Description |
---|---|
State |
clone() |
boolean |
equals(Object obj) |
OnEnterLifecycle |
getOnEnter()
When entering this state, perform these
"actions" if the "condition" is TRUE. |
OnExitLifecycle |
getOnExit()
When exiting this state, perform these
"actions" if the specified "condition" is TRUE. |
OnInputLifecycle |
getOnInput()
When an input is received and the
"condition" is TRUE, perform the specified "actions" . |
String |
getStateName()
The name of the state.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setOnEnter(OnEnterLifecycle onEnter)
When entering this state, perform these
"actions" if the "condition" is TRUE. |
void |
setOnExit(OnExitLifecycle onExit)
When exiting this state, perform these
"actions" if the specified "condition" is TRUE. |
void |
setOnInput(OnInputLifecycle onInput)
When an input is received and the
"condition" is TRUE, perform the specified "actions" . |
void |
setStateName(String stateName)
The name of the state.
|
String |
toString()
Returns a string representation of this object.
|
State |
withOnEnter(OnEnterLifecycle onEnter)
When entering this state, perform these
"actions" if the "condition" is TRUE. |
State |
withOnExit(OnExitLifecycle onExit)
When exiting this state, perform these
"actions" if the specified "condition" is TRUE. |
State |
withOnInput(OnInputLifecycle onInput)
When an input is received and the
"condition" is TRUE, perform the specified "actions" . |
State |
withStateName(String stateName)
The name of the state.
|
public void setStateName(String stateName)
The name of the state.
stateName
- The name of the state.public String getStateName()
The name of the state.
public State withStateName(String stateName)
The name of the state.
stateName
- The name of the state.public void setOnInput(OnInputLifecycle onInput)
When an input is received and the "condition"
is TRUE, perform the specified "actions"
.
onInput
- When an input is received and the "condition"
is TRUE, perform the specified
"actions"
.public OnInputLifecycle getOnInput()
When an input is received and the "condition"
is TRUE, perform the specified "actions"
.
"condition"
is TRUE, perform the specified
"actions"
.public State withOnInput(OnInputLifecycle onInput)
When an input is received and the "condition"
is TRUE, perform the specified "actions"
.
onInput
- When an input is received and the "condition"
is TRUE, perform the specified
"actions"
.public void setOnEnter(OnEnterLifecycle onEnter)
When entering this state, perform these "actions"
if the "condition"
is TRUE.
onEnter
- When entering this state, perform these "actions"
if the "condition"
is TRUE.public OnEnterLifecycle getOnEnter()
When entering this state, perform these "actions"
if the "condition"
is TRUE.
"actions"
if the "condition"
is TRUE.public State withOnEnter(OnEnterLifecycle onEnter)
When entering this state, perform these "actions"
if the "condition"
is TRUE.
onEnter
- When entering this state, perform these "actions"
if the "condition"
is TRUE.public void setOnExit(OnExitLifecycle onExit)
When exiting this state, perform these "actions"
if the specified "condition"
is TRUE.
onExit
- When exiting this state, perform these "actions"
if the specified "condition"
is
TRUE.public OnExitLifecycle getOnExit()
When exiting this state, perform these "actions"
if the specified "condition"
is TRUE.
"actions"
if the specified "condition"
is TRUE.public State withOnExit(OnExitLifecycle onExit)
When exiting this state, perform these "actions"
if the specified "condition"
is TRUE.
onExit
- When exiting this state, perform these "actions"
if the specified "condition"
is
TRUE.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.