@Generated(value="software.amazon.awssdk:codegen") public final class Step extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Step.Builder,Step>
Structure for an execution step for an execution job, for an Amplify App.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Step.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
artifactsUrl()
URL to the artifact for the execution step.
|
static Step.Builder |
builder() |
String |
context()
The context for current step, will include build image if step is build.
|
Instant |
endTime()
End date/ time of the execution step.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasScreenshots()
Returns true if the Screenshots property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
String |
logUrl()
URL to the logs for the execution step.
|
Map<String,String> |
screenshots()
List of screenshot URLs for the execution step, if relevant.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Step.Builder> |
serializableBuilderClass() |
Instant |
startTime()
Start date/ time of the execution step.
|
JobStatus |
status()
Status of the execution step.
|
String |
statusAsString()
Status of the execution step.
|
String |
statusReason()
The reason for current step status.
|
String |
stepName()
Name of the execution step.
|
String |
testArtifactsUrl()
URL to the test artifact for the execution step.
|
String |
testConfigUrl()
URL to the test config for the execution step.
|
Step.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String stepName()
Name of the execution step.
public Instant startTime()
Start date/ time of the execution step.
public JobStatus status()
Status of the execution step.
If the service returns an enum value that is not available in the current SDK version, status will
return JobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
JobStatuspublic String statusAsString()
Status of the execution step.
If the service returns an enum value that is not available in the current SDK version, status will
return JobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
JobStatuspublic Instant endTime()
End date/ time of the execution step.
public String logUrl()
URL to the logs for the execution step.
public String artifactsUrl()
URL to the artifact for the execution step.
public String testArtifactsUrl()
URL to the test artifact for the execution step.
public String testConfigUrl()
URL to the test config for the execution step.
public boolean hasScreenshots()
public Map<String,String> screenshots()
List of screenshot URLs for the execution step, if relevant.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasScreenshots() to see if a value was sent in this field.
public String statusReason()
The reason for current step status.
public String context()
The context for current step, will include build image if step is build.
public Step.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Step.Builder,Step>public static Step.Builder builder()
public static Class<? extends Step.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.