@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DetectorStateDefinition extends Object implements Serializable, Cloneable, StructuredPojo
The new state, variable values, and timer settings of the detector (instance).
Constructor and Description |
---|
DetectorStateDefinition() |
Modifier and Type | Method and Description |
---|---|
DetectorStateDefinition |
clone() |
boolean |
equals(Object obj) |
String |
getStateName()
The name of the new state of the detector (instance).
|
List<TimerDefinition> |
getTimers()
The new values of the detector's timers.
|
List<VariableDefinition> |
getVariables()
The new 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 new state of the detector (instance).
|
void |
setTimers(Collection<TimerDefinition> timers)
The new values of the detector's timers.
|
void |
setVariables(Collection<VariableDefinition> variables)
The new values of the detector's variables.
|
String |
toString()
Returns a string representation of this object.
|
DetectorStateDefinition |
withStateName(String stateName)
The name of the new state of the detector (instance).
|
DetectorStateDefinition |
withTimers(Collection<TimerDefinition> timers)
The new values of the detector's timers.
|
DetectorStateDefinition |
withTimers(TimerDefinition... timers)
The new values of the detector's timers.
|
DetectorStateDefinition |
withVariables(Collection<VariableDefinition> variables)
The new values of the detector's variables.
|
DetectorStateDefinition |
withVariables(VariableDefinition... variables)
The new values of the detector's variables.
|
public void setStateName(String stateName)
The name of the new state of the detector (instance).
stateName
- The name of the new state of the detector (instance).public String getStateName()
The name of the new state of the detector (instance).
public DetectorStateDefinition withStateName(String stateName)
The name of the new state of the detector (instance).
stateName
- The name of the new state of the detector (instance).public List<VariableDefinition> getVariables()
The new values of the detector's variables. Any variable whose value isn't specified is cleared.
public void setVariables(Collection<VariableDefinition> variables)
The new values of the detector's variables. Any variable whose value isn't specified is cleared.
variables
- The new values of the detector's variables. Any variable whose value isn't specified is cleared.public DetectorStateDefinition withVariables(VariableDefinition... variables)
The new values of the detector's variables. Any variable whose value isn't specified is cleared.
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 new values of the detector's variables. Any variable whose value isn't specified is cleared.public DetectorStateDefinition withVariables(Collection<VariableDefinition> variables)
The new values of the detector's variables. Any variable whose value isn't specified is cleared.
variables
- The new values of the detector's variables. Any variable whose value isn't specified is cleared.public List<TimerDefinition> getTimers()
The new values of the detector's timers. Any timer whose value isn't specified is cleared, and its timeout event won't occur.
public void setTimers(Collection<TimerDefinition> timers)
The new values of the detector's timers. Any timer whose value isn't specified is cleared, and its timeout event won't occur.
timers
- The new values of the detector's timers. Any timer whose value isn't specified is cleared, and its timeout
event won't occur.public DetectorStateDefinition withTimers(TimerDefinition... timers)
The new values of the detector's timers. Any timer whose value isn't specified is cleared, and its timeout event won't occur.
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 new values of the detector's timers. Any timer whose value isn't specified is cleared, and its timeout
event won't occur.public DetectorStateDefinition withTimers(Collection<TimerDefinition> timers)
The new values of the detector's timers. Any timer whose value isn't specified is cleared, and its timeout event won't occur.
timers
- The new values of the detector's timers. Any timer whose value isn't specified is cleared, and its timeout
event won't occur.public String toString()
toString
in class Object
Object.toString()
public DetectorStateDefinition 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.