Class FailureDetails
- java.lang.Object
-
- com.amazonaws.services.codepipeline.model.FailureDetails
-
- All Implemented Interfaces:
Serializable,Cloneable
public class FailureDetails extends Object implements Serializable, Cloneable
Represents information about failure details.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FailureDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FailureDetailsclone()booleanequals(Object obj)StringgetExternalExecutionId()The external ID of the run of the action that failed.StringgetMessage()The message about the failure.StringgetType()The type of the failure.inthashCode()voidsetExternalExecutionId(String externalExecutionId)The external ID of the run of the action that failed.voidsetMessage(String message)The message about the failure.voidsetType(FailureType type)The type of the failure.voidsetType(String type)The type of the failure.StringtoString()Returns a string representation of this object; useful for testing and debugging.FailureDetailswithExternalExecutionId(String externalExecutionId)The external ID of the run of the action that failed.FailureDetailswithMessage(String message)The message about the failure.FailureDetailswithType(FailureType type)The type of the failure.FailureDetailswithType(String type)The type of the failure.
-
-
-
Method Detail
-
setType
public void setType(String type)
The type of the failure.
- Parameters:
type- The type of the failure.- See Also:
FailureType
-
getType
public String getType()
The type of the failure.
- Returns:
- The type of the failure.
- See Also:
FailureType
-
withType
public FailureDetails withType(String type)
The type of the failure.
- Parameters:
type- The type of the failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FailureType
-
setType
public void setType(FailureType type)
The type of the failure.
- Parameters:
type- The type of the failure.- See Also:
FailureType
-
withType
public FailureDetails withType(FailureType type)
The type of the failure.
- Parameters:
type- The type of the failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FailureType
-
setMessage
public void setMessage(String message)
The message about the failure.
- Parameters:
message- The message about the failure.
-
getMessage
public String getMessage()
The message about the failure.
- Returns:
- The message about the failure.
-
withMessage
public FailureDetails withMessage(String message)
The message about the failure.
- Parameters:
message- The message about the failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setExternalExecutionId
public void setExternalExecutionId(String externalExecutionId)
The external ID of the run of the action that failed.
- Parameters:
externalExecutionId- The external ID of the run of the action that failed.
-
getExternalExecutionId
public String getExternalExecutionId()
The external ID of the run of the action that failed.
- Returns:
- The external ID of the run of the action that failed.
-
withExternalExecutionId
public FailureDetails withExternalExecutionId(String externalExecutionId)
The external ID of the run of the action that failed.
- Parameters:
externalExecutionId- The external ID of the run of the action that failed.- 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 FailureDetails clone()
-
-