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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RepositoryTriggerExecutionFailure()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RepositoryTriggerExecutionFailureclone()booleanequals(Object obj)StringgetFailureMessage()Additional message information about the trigger that did not run.StringgetTrigger()The name of the trigger that did not run.inthashCode()voidsetFailureMessage(String failureMessage)Additional message information about the trigger that did not run.voidsetTrigger(String trigger)The name of the trigger that did not run.StringtoString()Returns a string representation of this object; useful for testing and debugging.RepositoryTriggerExecutionFailurewithFailureMessage(String failureMessage)Additional message information about the trigger that did not run.RepositoryTriggerExecutionFailurewithTrigger(String trigger)The name of the trigger that did not run.
-
-
-
Method Detail
-
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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public RepositoryTriggerExecutionFailure clone()
-
-