@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) |
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 is not specified will be cleared.
public void setVariables(Collection<VariableDefinition> variables)
The new values of the detector's variables. Any variable whose value is not specified will be cleared.
variables - The new values of the detector's variables. Any variable whose value is not specified will be cleared.public DetectorStateDefinition withVariables(VariableDefinition... variables)
The new values of the detector's variables. Any variable whose value is not specified will be 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 is not specified will be cleared.public DetectorStateDefinition withVariables(Collection<VariableDefinition> variables)
The new values of the detector's variables. Any variable whose value is not specified will be cleared.
variables - The new values of the detector's variables. Any variable whose value is not specified will be cleared.public List<TimerDefinition> getTimers()
The new values of the detector's timers. Any timer whose value is not specified will be cleared and its timeout event will not occur.
public void setTimers(Collection<TimerDefinition> timers)
The new values of the detector's timers. Any timer whose value is not specified will be cleared and its timeout event will not occur.
timers - The new values of the detector's timers. Any timer whose value is not specified will be cleared and its
timeout event will not occur.public DetectorStateDefinition withTimers(TimerDefinition... timers)
The new values of the detector's timers. Any timer whose value is not specified will be cleared and its timeout event will not 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 is not specified will be cleared and its
timeout event will not occur.public DetectorStateDefinition withTimers(Collection<TimerDefinition> timers)
The new values of the detector's timers. Any timer whose value is not specified will be cleared and its timeout event will not occur.
timers - The new values of the detector's timers. Any timer whose value is not specified will be cleared and its
timeout event will not occur.public String toString()
toString in class ObjectObject.toString()public DetectorStateDefinition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.