@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Step extends Object implements Serializable, Cloneable, StructuredPojo
Describes an execution step, for an execution job, for an Amplify app.
Constructor and Description |
---|
Step() |
Modifier and Type | Method and Description |
---|---|
Step |
addScreenshotsEntry(String key,
String value)
Add a single Screenshots entry
|
Step |
clearScreenshotsEntries()
Removes all the entries added into Screenshots.
|
Step |
clone() |
boolean |
equals(Object obj) |
String |
getArtifactsUrl()
The URL to the artifact for the execution step.
|
String |
getContext()
The context for the current step.
|
Date |
getEndTime()
The end date and time of the execution step.
|
String |
getLogUrl()
The URL to the logs for the execution step.
|
Map<String,String> |
getScreenshots()
The list of screenshot URLs for the execution step, if relevant.
|
Date |
getStartTime()
The start date and time of the execution step.
|
String |
getStatus()
The status of the execution step.
|
String |
getStatusReason()
The reason for the current step status.
|
String |
getStepName()
The name of the execution step.
|
String |
getTestArtifactsUrl()
The URL to the test artifact for the execution step.
|
String |
getTestConfigUrl()
The URL to the test configuration for the execution step.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArtifactsUrl(String artifactsUrl)
The URL to the artifact for the execution step.
|
void |
setContext(String context)
The context for the current step.
|
void |
setEndTime(Date endTime)
The end date and time of the execution step.
|
void |
setLogUrl(String logUrl)
The URL to the logs for the execution step.
|
void |
setScreenshots(Map<String,String> screenshots)
The list of screenshot URLs for the execution step, if relevant.
|
void |
setStartTime(Date startTime)
The start date and time of the execution step.
|
void |
setStatus(String status)
The status of the execution step.
|
void |
setStatusReason(String statusReason)
The reason for the current step status.
|
void |
setStepName(String stepName)
The name of the execution step.
|
void |
setTestArtifactsUrl(String testArtifactsUrl)
The URL to the test artifact for the execution step.
|
void |
setTestConfigUrl(String testConfigUrl)
The URL to the test configuration for the execution step.
|
String |
toString()
Returns a string representation of this object.
|
Step |
withArtifactsUrl(String artifactsUrl)
The URL to the artifact for the execution step.
|
Step |
withContext(String context)
The context for the current step.
|
Step |
withEndTime(Date endTime)
The end date and time of the execution step.
|
Step |
withLogUrl(String logUrl)
The URL to the logs for the execution step.
|
Step |
withScreenshots(Map<String,String> screenshots)
The list of screenshot URLs for the execution step, if relevant.
|
Step |
withStartTime(Date startTime)
The start date and time of the execution step.
|
Step |
withStatus(JobStatus status)
The status of the execution step.
|
Step |
withStatus(String status)
The status of the execution step.
|
Step |
withStatusReason(String statusReason)
The reason for the current step status.
|
Step |
withStepName(String stepName)
The name of the execution step.
|
Step |
withTestArtifactsUrl(String testArtifactsUrl)
The URL to the test artifact for the execution step.
|
Step |
withTestConfigUrl(String testConfigUrl)
The URL to the test configuration for the execution step.
|
public void setStepName(String stepName)
The name of the execution step.
stepName
- The name of the execution step.public String getStepName()
The name of the execution step.
public Step withStepName(String stepName)
The name of the execution step.
stepName
- The name of the execution step.public void setStartTime(Date startTime)
The start date and time of the execution step.
startTime
- The start date and time of the execution step.public Date getStartTime()
The start date and time of the execution step.
public Step withStartTime(Date startTime)
The start date and time of the execution step.
startTime
- The start date and time of the execution step.public void setStatus(String status)
The status of the execution step.
status
- The status of the execution step.JobStatus
public String getStatus()
The status of the execution step.
JobStatus
public Step withStatus(String status)
The status of the execution step.
status
- The status of the execution step.JobStatus
public Step withStatus(JobStatus status)
The status of the execution step.
status
- The status of the execution step.JobStatus
public void setEndTime(Date endTime)
The end date and time of the execution step.
endTime
- The end date and time of the execution step.public Date getEndTime()
The end date and time of the execution step.
public Step withEndTime(Date endTime)
The end date and time of the execution step.
endTime
- The end date and time of the execution step.public void setLogUrl(String logUrl)
The URL to the logs for the execution step.
logUrl
- The URL to the logs for the execution step.public String getLogUrl()
The URL to the logs for the execution step.
public Step withLogUrl(String logUrl)
The URL to the logs for the execution step.
logUrl
- The URL to the logs for the execution step.public void setArtifactsUrl(String artifactsUrl)
The URL to the artifact for the execution step.
artifactsUrl
- The URL to the artifact for the execution step.public String getArtifactsUrl()
The URL to the artifact for the execution step.
public Step withArtifactsUrl(String artifactsUrl)
The URL to the artifact for the execution step.
artifactsUrl
- The URL to the artifact for the execution step.public void setTestArtifactsUrl(String testArtifactsUrl)
The URL to the test artifact for the execution step.
testArtifactsUrl
- The URL to the test artifact for the execution step.public String getTestArtifactsUrl()
The URL to the test artifact for the execution step.
public Step withTestArtifactsUrl(String testArtifactsUrl)
The URL to the test artifact for the execution step.
testArtifactsUrl
- The URL to the test artifact for the execution step.public void setTestConfigUrl(String testConfigUrl)
The URL to the test configuration for the execution step.
testConfigUrl
- The URL to the test configuration for the execution step.public String getTestConfigUrl()
The URL to the test configuration for the execution step.
public Step withTestConfigUrl(String testConfigUrl)
The URL to the test configuration for the execution step.
testConfigUrl
- The URL to the test configuration for the execution step.public Map<String,String> getScreenshots()
The list of screenshot URLs for the execution step, if relevant.
public void setScreenshots(Map<String,String> screenshots)
The list of screenshot URLs for the execution step, if relevant.
screenshots
- The list of screenshot URLs for the execution step, if relevant.public Step withScreenshots(Map<String,String> screenshots)
The list of screenshot URLs for the execution step, if relevant.
screenshots
- The list of screenshot URLs for the execution step, if relevant.public Step addScreenshotsEntry(String key, String value)
public Step clearScreenshotsEntries()
public void setStatusReason(String statusReason)
The reason for the current step status.
statusReason
- The reason for the current step status.public String getStatusReason()
The reason for the current step status.
public Step withStatusReason(String statusReason)
The reason for the current step status.
statusReason
- The reason for the current step status.public void setContext(String context)
The context for the current step. Includes a build image if the step is build.
context
- The context for the current step. Includes a build image if the step is build.public String getContext()
The context for the current step. Includes a build image if the step is build.
public Step withContext(String context)
The context for the current step. Includes a build image if the step is build.
context
- The context for the current step. Includes a build image if the step is build.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.