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:
  • Constructor Details

    • TestEventPatternResult

      public TestEventPatternResult()
  • Method Details

    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public TestEventPatternResult clone()
      Overrides:
      clone in class Object