@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Step extends Object implements Serializable, Cloneable, StructuredPojo
Structure for 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) |
Step |
clearScreenshotsEntries()
Removes all the entries added into Screenshots.
|
Step |
clone() |
boolean |
equals(Object obj) |
String |
getArtifactsUrl()
URL to the artifact for the execution step.
|
String |
getContext()
The context for current step, will include build image if step is build.
|
Date |
getEndTime()
End date/ time of the execution step.
|
String |
getLogUrl()
URL to the logs for the execution step.
|
Map<String,String> |
getScreenshots()
List of screenshot URLs for the execution step, if relevant.
|
Date |
getStartTime()
Start date/ time of the execution step.
|
String |
getStatus()
Status of the execution step.
|
String |
getStatusReason()
The reason for current step status.
|
String |
getStepName()
Name of the execution step.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArtifactsUrl(String artifactsUrl)
URL to the artifact for the execution step.
|
void |
setContext(String context)
The context for current step, will include build image if step is build.
|
void |
setEndTime(Date endTime)
End date/ time of the execution step.
|
void |
setLogUrl(String logUrl)
URL to the logs for the execution step.
|
void |
setScreenshots(Map<String,String> screenshots)
List of screenshot URLs for the execution step, if relevant.
|
void |
setStartTime(Date startTime)
Start date/ time of the execution step.
|
void |
setStatus(String status)
Status of the execution step.
|
void |
setStatusReason(String statusReason)
The reason for current step status.
|
void |
setStepName(String stepName)
Name of the execution step.
|
String |
toString()
Returns a string representation of this object.
|
Step |
withArtifactsUrl(String artifactsUrl)
URL to the artifact for the execution step.
|
Step |
withContext(String context)
The context for current step, will include build image if step is build.
|
Step |
withEndTime(Date endTime)
End date/ time of the execution step.
|
Step |
withLogUrl(String logUrl)
URL to the logs for the execution step.
|
Step |
withScreenshots(Map<String,String> screenshots)
List of screenshot URLs for the execution step, if relevant.
|
Step |
withStartTime(Date startTime)
Start date/ time of the execution step.
|
Step |
withStatus(JobStatus status)
Status of the execution step.
|
Step |
withStatus(String status)
Status of the execution step.
|
Step |
withStatusReason(String statusReason)
The reason for current step status.
|
Step |
withStepName(String stepName)
Name of the execution step.
|
public void setStepName(String stepName)
Name of the execution step.
stepName
- Name of the execution step.public String getStepName()
Name of the execution step.
public Step withStepName(String stepName)
Name of the execution step.
stepName
- Name of the execution step.public void setStartTime(Date startTime)
Start date/ time of the execution step.
startTime
- Start date/ time of the execution step.public Date getStartTime()
Start date/ time of the execution step.
public Step withStartTime(Date startTime)
Start date/ time of the execution step.
startTime
- Start date/ time of the execution step.public void setStatus(String status)
Status of the execution step.
status
- Status of the execution step.JobStatus
public String getStatus()
Status of the execution step.
JobStatus
public Step withStatus(String status)
Status of the execution step.
status
- Status of the execution step.JobStatus
public Step withStatus(JobStatus status)
Status of the execution step.
status
- Status of the execution step.JobStatus
public void setEndTime(Date endTime)
End date/ time of the execution step.
endTime
- End date/ time of the execution step.public Date getEndTime()
End date/ time of the execution step.
public Step withEndTime(Date endTime)
End date/ time of the execution step.
endTime
- End date/ time of the execution step.public void setLogUrl(String logUrl)
URL to the logs for the execution step.
logUrl
- URL to the logs for the execution step.public String getLogUrl()
URL to the logs for the execution step.
public Step withLogUrl(String logUrl)
URL to the logs for the execution step.
logUrl
- URL to the logs for the execution step.public void setArtifactsUrl(String artifactsUrl)
URL to the artifact for the execution step.
artifactsUrl
- URL to the artifact for the execution step.public String getArtifactsUrl()
URL to the artifact for the execution step.
public Step withArtifactsUrl(String artifactsUrl)
URL to the artifact for the execution step.
artifactsUrl
- URL to the artifact for the execution step.public Map<String,String> getScreenshots()
List of screenshot URLs for the execution step, if relevant.
public void setScreenshots(Map<String,String> screenshots)
List of screenshot URLs for the execution step, if relevant.
screenshots
- List of screenshot URLs for the execution step, if relevant.public Step withScreenshots(Map<String,String> screenshots)
List of screenshot URLs for the execution step, if relevant.
screenshots
- List of screenshot URLs for the execution step, if relevant.public Step clearScreenshotsEntries()
public void setStatusReason(String statusReason)
The reason for current step status.
statusReason
- The reason for current step status.public String getStatusReason()
The reason for current step status.
public Step withStatusReason(String statusReason)
The reason for current step status.
statusReason
- The reason for current step status.public void setContext(String context)
The context for current step, will include build image if step is build.
context
- The context for current step, will include build image if step is build.public String getContext()
The context for current step, will include build image if step is build.
public Step withContext(String context)
The context for current step, will include build image if step is build.
context
- The context for current step, will include build image if 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.