Class TestEventPatternResult
- java.lang.Object
-
- com.amazonaws.services.cloudwatchevents.model.TestEventPatternResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class TestEventPatternResult extends Object implements Serializable, Cloneable
The result of the TestEventPattern operation.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TestEventPatternResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TestEventPatternResult
clone()
boolean
equals(Object obj)
Boolean
getResult()
Indicates whether the event matches the event pattern.int
hashCode()
Boolean
isResult()
Indicates whether the event matches the event pattern.void
setResult(Boolean result)
Indicates whether the event matches the event pattern.String
toString()
Returns a string representation of this object; useful for testing and debugging.TestEventPatternResult
withResult(Boolean result)
Indicates whether the event matches the event pattern.
-
-
-
Method Detail
-
setResult
public void setResult(Boolean result)
Indicates whether the event matches the event pattern.
- Parameters:
result
- Indicates whether the event matches the event pattern.
-
getResult
public Boolean getResult()
Indicates whether the event matches the event pattern.
- Returns:
- Indicates whether the event matches the event pattern.
-
withResult
public TestEventPatternResult withResult(Boolean result)
Indicates whether the event matches the event pattern.
- Parameters:
result
- Indicates whether the event matches the event pattern.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isResult
public Boolean isResult()
Indicates whether the event matches the event pattern.
- Returns:
- Indicates whether the event matches the event pattern.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public TestEventPatternResult clone()
-
-