@Generated(value="software.amazon.awssdk:codegen") public final class WorkflowStepSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<WorkflowStepSummary.Builder,WorkflowStepSummary>
The summary of the step in a migration workflow.
| Modifier and Type | Class and Description |
|---|---|
static interface |
WorkflowStepSummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
static WorkflowStepSummary.Builder |
builder() |
String |
description()
The description of the step.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasNext()
For responses, this returns true if the service returned a value for the Next property.
|
boolean |
hasPrevious()
For responses, this returns true if the service returned a value for the Previous property.
|
String |
name()
The name of the step.
|
List<String> |
next()
The next step.
|
Integer |
noOfSrvCompleted()
The number of servers that have been migrated.
|
Integer |
noOfSrvFailed()
The number of servers that have failed to migrate.
|
Owner |
owner()
The owner of the step.
|
String |
ownerAsString()
The owner of the step.
|
List<String> |
previous()
The previous step.
|
String |
scriptLocation()
The location of the script.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends WorkflowStepSummary.Builder> |
serializableBuilderClass() |
StepStatus |
status()
The status of the step.
|
String |
statusAsString()
The status of the step.
|
String |
statusMessage()
The status message of the migration workflow.
|
StepActionType |
stepActionType()
The action type of the step.
|
String |
stepActionTypeAsString()
The action type of the step.
|
String |
stepId()
The ID of the step.
|
WorkflowStepSummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Integer |
totalNoOfSrv()
The total number of servers that have been migrated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String stepId()
The ID of the step.
public final String name()
The name of the step.
public final StepActionType stepActionType()
The action type of the step. You must run and update the status of a manual step for the workflow to continue after the completion of the step.
If the service returns an enum value that is not available in the current SDK version, stepActionType
will return StepActionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from stepActionTypeAsString().
StepActionTypepublic final String stepActionTypeAsString()
The action type of the step. You must run and update the status of a manual step for the workflow to continue after the completion of the step.
If the service returns an enum value that is not available in the current SDK version, stepActionType
will return StepActionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from stepActionTypeAsString().
StepActionTypepublic final Owner owner()
The owner of the step.
If the service returns an enum value that is not available in the current SDK version, owner will return
Owner.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
ownerAsString().
Ownerpublic final String ownerAsString()
The owner of the step.
If the service returns an enum value that is not available in the current SDK version, owner will return
Owner.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
ownerAsString().
Ownerpublic final boolean hasPrevious()
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 List<String> previous()
The previous step.
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 hasPrevious() method.
public final boolean hasNext()
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 List<String> next()
The next step.
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 hasNext() method.
public final StepStatus status()
The status of the step.
If the service returns an enum value that is not available in the current SDK version, status will
return StepStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
StepStatuspublic final String statusAsString()
The status of the step.
If the service returns an enum value that is not available in the current SDK version, status will
return StepStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
StepStatuspublic final String statusMessage()
The status message of the migration workflow.
public final Integer noOfSrvCompleted()
The number of servers that have been migrated.
public final Integer noOfSrvFailed()
The number of servers that have failed to migrate.
public final Integer totalNoOfSrv()
The total number of servers that have been migrated.
public final String description()
The description of the step.
public final String scriptLocation()
The location of the script.
public WorkflowStepSummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<WorkflowStepSummary.Builder,WorkflowStepSummary>public static WorkflowStepSummary.Builder builder()
public static Class<? extends WorkflowStepSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.