@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)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<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()
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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
copy
public 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()
.
JobStatus
public 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()
.
JobStatus
public 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()
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.
You can use hasScreenshots()
to see if a value was sent in this field.
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()
ToCopyableBuilder
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)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()