Class State
java.lang.Object
software.amazon.awssdk.services.iotevents.model.State
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<State.Builder,State>
@Generated("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.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic State.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final OnEnterLifecycleonEnter()When entering this state, perform theseactionsif theconditionis TRUE.final OnExitLifecycleonExit()When exiting this state, perform theseactionsif the specifiedconditionisTRUE.final OnInputLifecycleonInput()When an input is received and theconditionis TRUE, perform the specifiedactions.static Class<? extends State.Builder> final StringThe name of the state.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
stateName
-
onInput
When an input is received and the
conditionis TRUE, perform the specifiedactions.- Returns:
- When an input is received and the
conditionis TRUE, perform the specifiedactions.
-
onEnter
When entering this state, perform these
actionsif theconditionis TRUE.- Returns:
- When entering this state, perform these
actionsif theconditionis TRUE.
-
onExit
When exiting this state, perform these
actionsif the specifiedconditionisTRUE.- Returns:
- When exiting this state, perform these
actionsif the specifiedconditionisTRUE.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<State.Builder,State> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-