@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()
The reason for failure, if the overall status is a failed state.
|
String |
getName()
The name of the model package for which the overall status is being repoorted.
|
String |
getStatus()
The current status.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setFailureReason(String failureReason)
The reason for failure, if the overall status is a failed state.
|
void |
setName(String name)
The name of the model package for which the overall status is being repoorted.
|
void |
setStatus(String status)
The current status.
|
String |
toString()
Returns a string representation of this object.
|
ModelPackageStatusItem |
withFailureReason(String failureReason)
The reason for failure, if the overall status is a failed state.
|
ModelPackageStatusItem |
withName(String name)
The name of the model package for which the overall status is being repoorted.
|
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 repoorted.
name - The name of the model package for which the overall status is being repoorted.public String getName()
The name of the model package for which the overall status is being repoorted.
public ModelPackageStatusItem withName(String name)
The name of the model package for which the overall status is being repoorted.
name - The name of the model package for which the overall status is being repoorted.public void setStatus(String status)
The current status.
status - The current status.DetailedModelPackageStatuspublic String getStatus()
The current status.
DetailedModelPackageStatuspublic ModelPackageStatusItem withStatus(String status)
The current status.
status - The current status.DetailedModelPackageStatuspublic ModelPackageStatusItem withStatus(DetailedModelPackageStatus status)
The current status.
status - The current status.DetailedModelPackageStatuspublic void setFailureReason(String failureReason)
The reason for failure, if the overall status is a failed state.
failureReason - The reason for failure, if the overall status is a failed state.public String getFailureReason()
The reason for failure, if the overall status is a failed state.
public ModelPackageStatusItem withFailureReason(String failureReason)
The reason for failure, if the overall status is a failed state.
failureReason - The reason for failure, if the overall status is a failed state.public String toString()
toString in class ObjectObject.toString()public ModelPackageStatusItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2018. All rights reserved.