@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RuleExecution extends Object implements Serializable, Cloneable, StructuredPojo
Represents information about each time a rule is run as part of the pipeline execution for a pipeline configured with conditions.
Constructor and Description |
---|
RuleExecution() |
Modifier and Type | Method and Description |
---|---|
RuleExecution |
clone() |
boolean |
equals(Object obj) |
ErrorDetails |
getErrorDetails() |
String |
getExternalExecutionId()
The external ID of the run of the rule.
|
String |
getExternalExecutionUrl()
The URL of a resource external to Amazon Web Services that is used when running the rule (for example, an
external repository URL).
|
Date |
getLastStatusChange()
The last status change of the rule.
|
String |
getLastUpdatedBy()
The ARN of the user who last changed the rule.
|
String |
getRuleExecutionId()
The execution ID for the run of the rule.
|
String |
getStatus()
The status of the run of the rule, such as FAILED.
|
String |
getSummary()
A summary of the run of the rule.
|
String |
getToken()
The system-generated token used to identify a unique request.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setErrorDetails(ErrorDetails errorDetails) |
void |
setExternalExecutionId(String externalExecutionId)
The external ID of the run of the rule.
|
void |
setExternalExecutionUrl(String externalExecutionUrl)
The URL of a resource external to Amazon Web Services that is used when running the rule (for example, an
external repository URL).
|
void |
setLastStatusChange(Date lastStatusChange)
The last status change of the rule.
|
void |
setLastUpdatedBy(String lastUpdatedBy)
The ARN of the user who last changed the rule.
|
void |
setRuleExecutionId(String ruleExecutionId)
The execution ID for the run of the rule.
|
void |
setStatus(String status)
The status of the run of the rule, such as FAILED.
|
void |
setSummary(String summary)
A summary of the run of the rule.
|
void |
setToken(String token)
The system-generated token used to identify a unique request.
|
String |
toString()
Returns a string representation of this object.
|
RuleExecution |
withErrorDetails(ErrorDetails errorDetails) |
RuleExecution |
withExternalExecutionId(String externalExecutionId)
The external ID of the run of the rule.
|
RuleExecution |
withExternalExecutionUrl(String externalExecutionUrl)
The URL of a resource external to Amazon Web Services that is used when running the rule (for example, an
external repository URL).
|
RuleExecution |
withLastStatusChange(Date lastStatusChange)
The last status change of the rule.
|
RuleExecution |
withLastUpdatedBy(String lastUpdatedBy)
The ARN of the user who last changed the rule.
|
RuleExecution |
withRuleExecutionId(String ruleExecutionId)
The execution ID for the run of the rule.
|
RuleExecution |
withStatus(RuleExecutionStatus status)
The status of the run of the rule, such as FAILED.
|
RuleExecution |
withStatus(String status)
The status of the run of the rule, such as FAILED.
|
RuleExecution |
withSummary(String summary)
A summary of the run of the rule.
|
RuleExecution |
withToken(String token)
The system-generated token used to identify a unique request.
|
public void setRuleExecutionId(String ruleExecutionId)
The execution ID for the run of the rule.
ruleExecutionId
- The execution ID for the run of the rule.public String getRuleExecutionId()
The execution ID for the run of the rule.
public RuleExecution withRuleExecutionId(String ruleExecutionId)
The execution ID for the run of the rule.
ruleExecutionId
- The execution ID for the run of the rule.public void setStatus(String status)
The status of the run of the rule, such as FAILED.
status
- The status of the run of the rule, such as FAILED.RuleExecutionStatus
public String getStatus()
The status of the run of the rule, such as FAILED.
RuleExecutionStatus
public RuleExecution withStatus(String status)
The status of the run of the rule, such as FAILED.
status
- The status of the run of the rule, such as FAILED.RuleExecutionStatus
public RuleExecution withStatus(RuleExecutionStatus status)
The status of the run of the rule, such as FAILED.
status
- The status of the run of the rule, such as FAILED.RuleExecutionStatus
public void setSummary(String summary)
A summary of the run of the rule.
summary
- A summary of the run of the rule.public String getSummary()
A summary of the run of the rule.
public RuleExecution withSummary(String summary)
A summary of the run of the rule.
summary
- A summary of the run of the rule.public void setLastStatusChange(Date lastStatusChange)
The last status change of the rule.
lastStatusChange
- The last status change of the rule.public Date getLastStatusChange()
The last status change of the rule.
public RuleExecution withLastStatusChange(Date lastStatusChange)
The last status change of the rule.
lastStatusChange
- The last status change of the rule.public void setToken(String token)
The system-generated token used to identify a unique request.
token
- The system-generated token used to identify a unique request.public String getToken()
The system-generated token used to identify a unique request.
public RuleExecution withToken(String token)
The system-generated token used to identify a unique request.
token
- The system-generated token used to identify a unique request.public void setLastUpdatedBy(String lastUpdatedBy)
The ARN of the user who last changed the rule.
lastUpdatedBy
- The ARN of the user who last changed the rule.public String getLastUpdatedBy()
The ARN of the user who last changed the rule.
public RuleExecution withLastUpdatedBy(String lastUpdatedBy)
The ARN of the user who last changed the rule.
lastUpdatedBy
- The ARN of the user who last changed the rule.public void setExternalExecutionId(String externalExecutionId)
The external ID of the run of the rule.
externalExecutionId
- The external ID of the run of the rule.public String getExternalExecutionId()
The external ID of the run of the rule.
public RuleExecution withExternalExecutionId(String externalExecutionId)
The external ID of the run of the rule.
externalExecutionId
- The external ID of the run of the rule.public void setExternalExecutionUrl(String externalExecutionUrl)
The URL of a resource external to Amazon Web Services that is used when running the rule (for example, an external repository URL).
externalExecutionUrl
- The URL of a resource external to Amazon Web Services that is used when running the rule (for example, an
external repository URL).public String getExternalExecutionUrl()
The URL of a resource external to Amazon Web Services that is used when running the rule (for example, an external repository URL).
public RuleExecution withExternalExecutionUrl(String externalExecutionUrl)
The URL of a resource external to Amazon Web Services that is used when running the rule (for example, an external repository URL).
externalExecutionUrl
- The URL of a resource external to Amazon Web Services that is used when running the rule (for example, an
external repository URL).public void setErrorDetails(ErrorDetails errorDetails)
errorDetails
- public ErrorDetails getErrorDetails()
public RuleExecution withErrorDetails(ErrorDetails errorDetails)
errorDetails
- public String toString()
toString
in class Object
Object.toString()
public RuleExecution clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.