@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AnomalySourceMetadata extends Object implements Serializable, Cloneable, StructuredPojo
Metadata about the detection source that generates proactive anomalies. The anomaly is detected using analysis of the metric data over a period of time
Constructor and Description |
---|
AnomalySourceMetadata() |
Modifier and Type | Method and Description |
---|---|
AnomalySourceMetadata |
clone() |
boolean |
equals(Object obj) |
String |
getSource()
The source of the anomaly.
|
String |
getSourceResourceName()
The name of the anomaly's resource.
|
String |
getSourceResourceType()
The anomaly's resource type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSource(String source)
The source of the anomaly.
|
void |
setSourceResourceName(String sourceResourceName)
The name of the anomaly's resource.
|
void |
setSourceResourceType(String sourceResourceType)
The anomaly's resource type.
|
String |
toString()
Returns a string representation of this object.
|
AnomalySourceMetadata |
withSource(String source)
The source of the anomaly.
|
AnomalySourceMetadata |
withSourceResourceName(String sourceResourceName)
The name of the anomaly's resource.
|
AnomalySourceMetadata |
withSourceResourceType(String sourceResourceType)
The anomaly's resource type.
|
public void setSource(String source)
The source of the anomaly.
source
- The source of the anomaly.public String getSource()
The source of the anomaly.
public AnomalySourceMetadata withSource(String source)
The source of the anomaly.
source
- The source of the anomaly.public void setSourceResourceName(String sourceResourceName)
The name of the anomaly's resource.
sourceResourceName
- The name of the anomaly's resource.public String getSourceResourceName()
The name of the anomaly's resource.
public AnomalySourceMetadata withSourceResourceName(String sourceResourceName)
The name of the anomaly's resource.
sourceResourceName
- The name of the anomaly's resource.public void setSourceResourceType(String sourceResourceType)
The anomaly's resource type.
sourceResourceType
- The anomaly's resource type.public String getSourceResourceType()
The anomaly's resource type.
public AnomalySourceMetadata withSourceResourceType(String sourceResourceType)
The anomaly's resource type.
sourceResourceType
- The anomaly's resource type.public String toString()
toString
in class Object
Object.toString()
public AnomalySourceMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.