@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeAnomalyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeAnomalyResult() |
Modifier and Type | Method and Description |
---|---|
DescribeAnomalyResult |
clone() |
boolean |
equals(Object obj) |
ProactiveAnomaly |
getProactiveAnomaly()
A
ProactiveAnomaly object that represents the requested anomaly. |
ReactiveAnomaly |
getReactiveAnomaly()
A
ReactiveAnomaly object that represents the requested anomaly. |
int |
hashCode() |
void |
setProactiveAnomaly(ProactiveAnomaly proactiveAnomaly)
A
ProactiveAnomaly object that represents the requested anomaly. |
void |
setReactiveAnomaly(ReactiveAnomaly reactiveAnomaly)
A
ReactiveAnomaly object that represents the requested anomaly. |
String |
toString()
Returns a string representation of this object.
|
DescribeAnomalyResult |
withProactiveAnomaly(ProactiveAnomaly proactiveAnomaly)
A
ProactiveAnomaly object that represents the requested anomaly. |
DescribeAnomalyResult |
withReactiveAnomaly(ReactiveAnomaly reactiveAnomaly)
A
ReactiveAnomaly object that represents the requested anomaly. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setProactiveAnomaly(ProactiveAnomaly proactiveAnomaly)
A ProactiveAnomaly
object that represents the requested anomaly.
proactiveAnomaly
- A ProactiveAnomaly
object that represents the requested anomaly.public ProactiveAnomaly getProactiveAnomaly()
A ProactiveAnomaly
object that represents the requested anomaly.
ProactiveAnomaly
object that represents the requested anomaly.public DescribeAnomalyResult withProactiveAnomaly(ProactiveAnomaly proactiveAnomaly)
A ProactiveAnomaly
object that represents the requested anomaly.
proactiveAnomaly
- A ProactiveAnomaly
object that represents the requested anomaly.public void setReactiveAnomaly(ReactiveAnomaly reactiveAnomaly)
A ReactiveAnomaly
object that represents the requested anomaly.
reactiveAnomaly
- A ReactiveAnomaly
object that represents the requested anomaly.public ReactiveAnomaly getReactiveAnomaly()
A ReactiveAnomaly
object that represents the requested anomaly.
ReactiveAnomaly
object that represents the requested anomaly.public DescribeAnomalyResult withReactiveAnomaly(ReactiveAnomaly reactiveAnomaly)
A ReactiveAnomaly
object that represents the requested anomaly.
reactiveAnomaly
- A ReactiveAnomaly
object that represents the requested anomaly.public String toString()
toString
in class Object
Object.toString()
public DescribeAnomalyResult clone()