Class RepositoryTriggerExecutionFailure

java.lang.Object
com.amazonaws.services.codecommit.model.RepositoryTriggerExecutionFailure
All Implemented Interfaces:
Serializable, Cloneable

public class RepositoryTriggerExecutionFailure extends Object implements Serializable, Cloneable

A trigger failed to run.

See Also:
  • Constructor Details

    • RepositoryTriggerExecutionFailure

      public RepositoryTriggerExecutionFailure()
  • Method Details

    • setTrigger

      public void setTrigger(String trigger)

      The name of the trigger that did not run.

      Parameters:
      trigger - The name of the trigger that did not run.
    • getTrigger

      public String getTrigger()

      The name of the trigger that did not run.

      Returns:
      The name of the trigger that did not run.
    • withTrigger

      public RepositoryTriggerExecutionFailure withTrigger(String trigger)

      The name of the trigger that did not run.

      Parameters:
      trigger - The name of the trigger that did not run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setFailureMessage

      public void setFailureMessage(String failureMessage)

      Additional message information about the trigger that did not run.

      Parameters:
      failureMessage - Additional message information about the trigger that did not run.
    • getFailureMessage

      public String getFailureMessage()

      Additional message information about the trigger that did not run.

      Returns:
      Additional message information about the trigger that did not run.
    • withFailureMessage

      public RepositoryTriggerExecutionFailure withFailureMessage(String failureMessage)

      Additional message information about the trigger that did not run.

      Parameters:
      failureMessage - Additional message information about the trigger that did not run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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

      Overrides:
      clone in class Object