@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()
The reason for failure, if the overall status is a failed state.
|
String |
getName()
The name of the algorithm for which the overall status is being repoorted.
|
String |
getStatus()
The current status.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
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 algorithm for which the overall status is being repoorted.
|
void |
setStatus(String status)
The current status.
|
String |
toString()
Returns a string representation of this object.
|
AlgorithmStatusItem |
withFailureReason(String failureReason)
The reason for failure, if the overall status is a failed state.
|
AlgorithmStatusItem |
withName(String name)
The name of the algorithm for which the overall status is being repoorted.
|
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 repoorted.
name
- The name of the algorithm for which the overall status is being repoorted.public String getName()
The name of the algorithm for which the overall status is being repoorted.
public AlgorithmStatusItem withName(String name)
The name of the algorithm for which the overall status is being repoorted.
name
- The name of the algorithm for which the overall status is being repoorted.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)
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 AlgorithmStatusItem 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 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.