@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModelPackageStatusItem extends Object implements Serializable, Cloneable, StructuredPojo
Represents the overall status of a model package.
Constructor and Description |
---|
ModelPackageStatusItem() |
Modifier and Type | Method and Description |
---|---|
ModelPackageStatusItem |
clone() |
boolean |
equals(Object obj) |
String |
getFailureReason()
if the overall status is
Failed , the reason for the failure. |
String |
getName()
The name of the model package for which the overall status is being reported.
|
String |
getStatus()
The current status.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFailureReason(String failureReason)
if the overall status is
Failed , the reason for the failure. |
void |
setName(String name)
The name of the model package for which the overall status is being reported.
|
void |
setStatus(String status)
The current status.
|
String |
toString()
Returns a string representation of this object.
|
ModelPackageStatusItem |
withFailureReason(String failureReason)
if the overall status is
Failed , the reason for the failure. |
ModelPackageStatusItem |
withName(String name)
The name of the model package for which the overall status is being reported.
|
ModelPackageStatusItem |
withStatus(DetailedModelPackageStatus status)
The current status.
|
ModelPackageStatusItem |
withStatus(String status)
The current status.
|
public void setName(String name)
The name of the model package for which the overall status is being reported.
name
- The name of the model package for which the overall status is being reported.public String getName()
The name of the model package for which the overall status is being reported.
public ModelPackageStatusItem withName(String name)
The name of the model package for which the overall status is being reported.
name
- The name of the model package for which the overall status is being reported.public void setStatus(String status)
The current status.
status
- The current status.DetailedModelPackageStatus
public String getStatus()
The current status.
DetailedModelPackageStatus
public ModelPackageStatusItem withStatus(String status)
The current status.
status
- The current status.DetailedModelPackageStatus
public ModelPackageStatusItem withStatus(DetailedModelPackageStatus status)
The current status.
status
- The current status.DetailedModelPackageStatus
public void setFailureReason(String failureReason)
if the overall status is Failed
, the reason for the failure.
failureReason
- if the overall status is Failed
, the reason for the failure.public String getFailureReason()
if the overall status is Failed
, the reason for the failure.
Failed
, the reason for the failure.public ModelPackageStatusItem withFailureReason(String failureReason)
if the overall status is Failed
, the reason for the failure.
failureReason
- if the overall status is Failed
, the reason for the failure.public String toString()
toString
in class Object
Object.toString()
public ModelPackageStatusItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.