@Generated(value="software.amazon.awssdk:codegen") public final class ModelPackageStatusItem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ModelPackageStatusItem.Builder,ModelPackageStatusItem>
Represents the overall status of a model package.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ModelPackageStatusItem.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ModelPackageStatusItem.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
failureReason()
if the overall status is
Failed, the reason for the failure. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the model package for which the overall status is being reported.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ModelPackageStatusItem.Builder> |
serializableBuilderClass() |
DetailedModelPackageStatus |
status()
The current status.
|
String |
statusAsString()
The current status.
|
ModelPackageStatusItem.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the model package for which the overall status is being reported.
public final DetailedModelPackageStatus status()
The current status.
If the service returns an enum value that is not available in the current SDK version, status will
return DetailedModelPackageStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from statusAsString().
DetailedModelPackageStatuspublic final String statusAsString()
The current status.
If the service returns an enum value that is not available in the current SDK version, status will
return DetailedModelPackageStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from statusAsString().
DetailedModelPackageStatuspublic final String failureReason()
if the overall status is Failed, the reason for the failure.
Failed, the reason for the failure.public ModelPackageStatusItem.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ModelPackageStatusItem.Builder,ModelPackageStatusItem>public static ModelPackageStatusItem.Builder builder()
public static Class<? extends ModelPackageStatusItem.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.