@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DetectorState extends Object implements Serializable, Cloneable, StructuredPojo
Information about the current state of the detector instance.
Constructor and Description |
---|
DetectorState() |
Modifier and Type | Method and Description |
---|---|
DetectorState |
clone() |
boolean |
equals(Object obj) |
String |
getStateName()
The name of the state.
|
List<Timer> |
getTimers()
The current state of the detector's timers.
|
List<Variable> |
getVariables()
The current values of the detector's variables.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setStateName(String stateName)
The name of the state.
|
void |
setTimers(Collection<Timer> timers)
The current state of the detector's timers.
|
void |
setVariables(Collection<Variable> variables)
The current values of the detector's variables.
|
String |
toString()
Returns a string representation of this object.
|
DetectorState |
withStateName(String stateName)
The name of the state.
|
DetectorState |
withTimers(Collection<Timer> timers)
The current state of the detector's timers.
|
DetectorState |
withTimers(Timer... timers)
The current state of the detector's timers.
|
DetectorState |
withVariables(Collection<Variable> variables)
The current values of the detector's variables.
|
DetectorState |
withVariables(Variable... variables)
The current values of the detector's variables.
|
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 DetectorState withStateName(String stateName)
The name of the state.
stateName
- The name of the state.public List<Variable> getVariables()
The current values of the detector's variables.
public void setVariables(Collection<Variable> variables)
The current values of the detector's variables.
variables
- The current values of the detector's variables.public DetectorState withVariables(Variable... variables)
The current values of the detector's variables.
NOTE: This method appends the values to the existing list (if any). Use
setVariables(java.util.Collection)
or withVariables(java.util.Collection)
if you want to
override the existing values.
variables
- The current values of the detector's variables.public DetectorState withVariables(Collection<Variable> variables)
The current values of the detector's variables.
variables
- The current values of the detector's variables.public List<Timer> getTimers()
The current state of the detector's timers.
public void setTimers(Collection<Timer> timers)
The current state of the detector's timers.
timers
- The current state of the detector's timers.public DetectorState withTimers(Timer... timers)
The current state of the detector's timers.
NOTE: This method appends the values to the existing list (if any). Use
setTimers(java.util.Collection)
or withTimers(java.util.Collection)
if you want to override the
existing values.
timers
- The current state of the detector's timers.public DetectorState withTimers(Collection<Timer> timers)
The current state of the detector's timers.
timers
- The current state of the detector's timers.public String toString()
toString
in class Object
Object.toString()
public DetectorState 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.