@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DetectorModelDefinition extends Object implements Serializable, Cloneable, StructuredPojo
Information that defines how a detector operates.
Constructor and Description |
---|
DetectorModelDefinition() |
Modifier and Type | Method and Description |
---|---|
DetectorModelDefinition |
clone() |
boolean |
equals(Object obj) |
String |
getInitialStateName()
The state that is entered at the creation of each detector (instance).
|
List<State> |
getStates()
Information about the states of the detector.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setInitialStateName(String initialStateName)
The state that is entered at the creation of each detector (instance).
|
void |
setStates(Collection<State> states)
Information about the states of the detector.
|
String |
toString()
Returns a string representation of this object.
|
DetectorModelDefinition |
withInitialStateName(String initialStateName)
The state that is entered at the creation of each detector (instance).
|
DetectorModelDefinition |
withStates(Collection<State> states)
Information about the states of the detector.
|
DetectorModelDefinition |
withStates(State... states)
Information about the states of the detector.
|
public List<State> getStates()
Information about the states of the detector.
public void setStates(Collection<State> states)
Information about the states of the detector.
states
- Information about the states of the detector.public DetectorModelDefinition withStates(State... states)
Information about the states of the detector.
NOTE: This method appends the values to the existing list (if any). Use
setStates(java.util.Collection)
or withStates(java.util.Collection)
if you want to override the
existing values.
states
- Information about the states of the detector.public DetectorModelDefinition withStates(Collection<State> states)
Information about the states of the detector.
states
- Information about the states of the detector.public void setInitialStateName(String initialStateName)
The state that is entered at the creation of each detector (instance).
initialStateName
- The state that is entered at the creation of each detector (instance).public String getInitialStateName()
The state that is entered at the creation of each detector (instance).
public DetectorModelDefinition withInitialStateName(String initialStateName)
The state that is entered at the creation of each detector (instance).
initialStateName
- The state that is entered at the creation of each detector (instance).public String toString()
toString
in class Object
Object.toString()
public DetectorModelDefinition clone()
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.