@Generated(value="software.amazon.awssdk:codegen") public final class AlgorithmStatusItem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AlgorithmStatusItem.Builder,AlgorithmStatusItem>
Represents the overall status of an algorithm.
Modifier and Type | Class and Description |
---|---|
static interface |
AlgorithmStatusItem.Builder |
Modifier and Type | Method and Description |
---|---|
static AlgorithmStatusItem.Builder |
builder() |
boolean |
equals(Object obj) |
String |
failureReason()
The reason for failure, if the overall status is a failed state.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the algorithm for which the overall status is being repoorted.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AlgorithmStatusItem.Builder> |
serializableBuilderClass() |
DetailedAlgorithmStatus |
status()
The current status.
|
String |
statusAsString()
The current status.
|
AlgorithmStatusItem.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String name()
The name of the algorithm for which the overall status is being repoorted.
public DetailedAlgorithmStatus status()
The current status.
If the service returns an enum value that is not available in the current SDK version, status
will
return DetailedAlgorithmStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from statusAsString()
.
DetailedAlgorithmStatus
public String statusAsString()
The current status.
If the service returns an enum value that is not available in the current SDK version, status
will
return DetailedAlgorithmStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from statusAsString()
.
DetailedAlgorithmStatus
public String failureReason()
The reason for failure, if the overall status is a failed state.
public AlgorithmStatusItem.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<AlgorithmStatusItem.Builder,AlgorithmStatusItem>
public static AlgorithmStatusItem.Builder builder()
public static Class<? extends AlgorithmStatusItem.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.