@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AnomalyResource extends Object implements Serializable, Cloneable, StructuredPojo
The Amazon Web Services resources in which DevOps Guru detected unusual behavior that resulted in the generation of an anomaly. When DevOps Guru detects multiple related anomalies, it creates and insight with details about the anomalous behavior and suggestions about how to correct the problem.
Constructor and Description |
---|
AnomalyResource() |
Modifier and Type | Method and Description |
---|---|
AnomalyResource |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the Amazon Web Services resource.
|
String |
getType()
The type of the Amazon Web Services resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The name of the Amazon Web Services resource.
|
void |
setType(String type)
The type of the Amazon Web Services resource.
|
String |
toString()
Returns a string representation of this object.
|
AnomalyResource |
withName(String name)
The name of the Amazon Web Services resource.
|
AnomalyResource |
withType(String type)
The type of the Amazon Web Services resource.
|
public void setName(String name)
The name of the Amazon Web Services resource.
name
- The name of the Amazon Web Services resource.public String getName()
The name of the Amazon Web Services resource.
public AnomalyResource withName(String name)
The name of the Amazon Web Services resource.
name
- The name of the Amazon Web Services resource.public void setType(String type)
The type of the Amazon Web Services resource.
type
- The type of the Amazon Web Services resource.public String getType()
The type of the Amazon Web Services resource.
public AnomalyResource withType(String type)
The type of the Amazon Web Services resource.
type
- The type of the Amazon Web Services resource.public String toString()
toString
in class Object
Object.toString()
public AnomalyResource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.