@Generated(value="software.amazon.awssdk:codegen") public final class Step extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Step.Builder,Step>
Describes 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()
The URL to the artifact for the execution step.
|
static Step.Builder |
builder() |
String |
context()
The context for the current step.
|
Instant |
endTime()
The end date and 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()
For responses, this returns true if the service returned a value for the Screenshots property.
|
String |
logUrl()
The URL to the logs for the execution step.
|
Map<String,String> |
screenshots()
The list of screenshot URLs for the execution step, if relevant.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Step.Builder> |
serializableBuilderClass() |
Instant |
startTime()
The start date and time of the execution step.
|
JobStatus |
status()
The status of the execution step.
|
String |
statusAsString()
The status of the execution step.
|
String |
statusReason()
The reason for the current step status.
|
String |
stepName()
The name of the execution step.
|
String |
testArtifactsUrl()
The URL to the test artifact for the execution step.
|
String |
testConfigUrl()
The URL to the test configuration for the execution step.
|
Step.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String stepName()
The name of the execution step.
public final Instant startTime()
The start date and time of the execution step.
public final JobStatus status()
The 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 final String statusAsString()
The 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 final Instant endTime()
The end date and time of the execution step.
public final String logUrl()
The URL to the logs for the execution step.
public final String artifactsUrl()
The URL to the artifact for the execution step.
public final String testArtifactsUrl()
The URL to the test artifact for the execution step.
public final String testConfigUrl()
The URL to the test configuration for the execution step.
public final boolean hasScreenshots()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final Map<String,String> screenshots()
The list of screenshot URLs for the execution step, if relevant.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasScreenshots() method.
public final String statusReason()
The reason for the current step status.
public final String context()
The context for the current step. Includes a build image if the 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 final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.