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 FailureDetails
clone()
boolean
equals(Object obj)
String
getExternalExecutionId()
The external ID of the run of the action that failed.String
getMessage()
The message about the failure.String
getType()
The type of the failure.int
hashCode()
void
setExternalExecutionId(String externalExecutionId)
The external ID of the run of the action that failed.void
setMessage(String message)
The message about the failure.void
setType(FailureType type)
The type of the failure.void
setType(String type)
The type of the failure.String
toString()
Returns a string representation of this object; useful for testing and debugging.FailureDetails
withExternalExecutionId(String externalExecutionId)
The external ID of the run of the action that failed.FailureDetails
withMessage(String message)
The message about the failure.FailureDetails
withType(FailureType type)
The type of the failure.FailureDetails
withType(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public FailureDetails clone()
-
-