@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AlgorithmStatusItem extends Object implements Serializable, Cloneable, StructuredPojo
Represents the overall status of an algorithm.
Constructor and Description |
---|
AlgorithmStatusItem() |
Modifier and Type | Method and Description |
---|---|
AlgorithmStatusItem |
clone() |
boolean |
equals(Object obj) |
String |
getFailureReason()
if the overall status is
Failed , the reason for the failure. |
String |
getName()
The name of the algorithm 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 algorithm for which the overall status is being reported.
|
void |
setStatus(String status)
The current status.
|
String |
toString()
Returns a string representation of this object.
|
AlgorithmStatusItem |
withFailureReason(String failureReason)
if the overall status is
Failed , the reason for the failure. |
AlgorithmStatusItem |
withName(String name)
The name of the algorithm for which the overall status is being reported.
|
AlgorithmStatusItem |
withStatus(DetailedAlgorithmStatus status)
The current status.
|
AlgorithmStatusItem |
withStatus(String status)
The current status.
|
public void setName(String name)
The name of the algorithm for which the overall status is being reported.
name
- The name of the algorithm for which the overall status is being reported.public String getName()
The name of the algorithm for which the overall status is being reported.
public AlgorithmStatusItem withName(String name)
The name of the algorithm for which the overall status is being reported.
name
- The name of the algorithm for which the overall status is being reported.public void setStatus(String status)
The current status.
status
- The current status.DetailedAlgorithmStatus
public String getStatus()
The current status.
DetailedAlgorithmStatus
public AlgorithmStatusItem withStatus(String status)
The current status.
status
- The current status.DetailedAlgorithmStatus
public AlgorithmStatusItem withStatus(DetailedAlgorithmStatus status)
The current status.
status
- The current status.DetailedAlgorithmStatus
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 AlgorithmStatusItem 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 AlgorithmStatusItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.