@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) |
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 model package for which the overall status is being repoorted.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ModelPackageStatusItem.Builder> |
serializableBuilderClass() |
DetailedModelPackageStatus |
status()
The current status.
|
String |
statusAsString()
The current status.
|
ModelPackageStatusItem.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 model package for which the overall status is being repoorted.
public 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()
.
DetailedModelPackageStatus
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 DetailedModelPackageStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from statusAsString()
.
DetailedModelPackageStatus
public String failureReason()
The reason for failure, if the overall status is a failed state.
public ModelPackageStatusItem.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ModelPackageStatusItem.Builder,ModelPackageStatusItem>
public static ModelPackageStatusItem.Builder builder()
public static Class<? extends ModelPackageStatusItem.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.