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 TestEventPatternResultclone()booleanequals(Object obj)BooleangetResult()Indicates whether the event matches the event pattern.inthashCode()BooleanisResult()Indicates whether the event matches the event pattern.voidsetResult(Boolean result)Indicates whether the event matches the event pattern.StringtoString()Returns a string representation of this object; useful for testing and debugging.TestEventPatternResultwithResult(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public TestEventPatternResult clone()
-
-