@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AnomalyMonitor extends Object implements Serializable, Cloneable, StructuredPojo
This object continuously inspects your account's cost data for anomalies. It's based on MonitorType
and
MonitorSpecification
. The content consists of detailed metadata and the current status of the monitor
object.
Constructor and Description |
---|
AnomalyMonitor() |
Modifier and Type | Method and Description |
---|---|
AnomalyMonitor |
clone() |
boolean |
equals(Object obj) |
String |
getCreationDate()
The date when the monitor was created.
|
Integer |
getDimensionalValueCount()
The value for evaluated dimensions.
|
String |
getLastEvaluatedDate()
The date when the monitor last evaluated for anomalies.
|
String |
getLastUpdatedDate()
The date when the monitor was last updated.
|
String |
getMonitorArn()
The Amazon Resource Name (ARN) value.
|
String |
getMonitorDimension()
The dimensions to evaluate.
|
String |
getMonitorName()
The name of the monitor.
|
Expression |
getMonitorSpecification() |
String |
getMonitorType()
The possible type values.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreationDate(String creationDate)
The date when the monitor was created.
|
void |
setDimensionalValueCount(Integer dimensionalValueCount)
The value for evaluated dimensions.
|
void |
setLastEvaluatedDate(String lastEvaluatedDate)
The date when the monitor last evaluated for anomalies.
|
void |
setLastUpdatedDate(String lastUpdatedDate)
The date when the monitor was last updated.
|
void |
setMonitorArn(String monitorArn)
The Amazon Resource Name (ARN) value.
|
void |
setMonitorDimension(String monitorDimension)
The dimensions to evaluate.
|
void |
setMonitorName(String monitorName)
The name of the monitor.
|
void |
setMonitorSpecification(Expression monitorSpecification) |
void |
setMonitorType(String monitorType)
The possible type values.
|
String |
toString()
Returns a string representation of this object.
|
AnomalyMonitor |
withCreationDate(String creationDate)
The date when the monitor was created.
|
AnomalyMonitor |
withDimensionalValueCount(Integer dimensionalValueCount)
The value for evaluated dimensions.
|
AnomalyMonitor |
withLastEvaluatedDate(String lastEvaluatedDate)
The date when the monitor last evaluated for anomalies.
|
AnomalyMonitor |
withLastUpdatedDate(String lastUpdatedDate)
The date when the monitor was last updated.
|
AnomalyMonitor |
withMonitorArn(String monitorArn)
The Amazon Resource Name (ARN) value.
|
AnomalyMonitor |
withMonitorDimension(MonitorDimension monitorDimension)
The dimensions to evaluate.
|
AnomalyMonitor |
withMonitorDimension(String monitorDimension)
The dimensions to evaluate.
|
AnomalyMonitor |
withMonitorName(String monitorName)
The name of the monitor.
|
AnomalyMonitor |
withMonitorSpecification(Expression monitorSpecification) |
AnomalyMonitor |
withMonitorType(MonitorType monitorType)
The possible type values.
|
AnomalyMonitor |
withMonitorType(String monitorType)
The possible type values.
|
public void setMonitorArn(String monitorArn)
The Amazon Resource Name (ARN) value.
monitorArn
- The Amazon Resource Name (ARN) value.public String getMonitorArn()
The Amazon Resource Name (ARN) value.
public AnomalyMonitor withMonitorArn(String monitorArn)
The Amazon Resource Name (ARN) value.
monitorArn
- The Amazon Resource Name (ARN) value.public void setMonitorName(String monitorName)
The name of the monitor.
monitorName
- The name of the monitor.public String getMonitorName()
The name of the monitor.
public AnomalyMonitor withMonitorName(String monitorName)
The name of the monitor.
monitorName
- The name of the monitor.public void setCreationDate(String creationDate)
The date when the monitor was created.
creationDate
- The date when the monitor was created.public String getCreationDate()
The date when the monitor was created.
public AnomalyMonitor withCreationDate(String creationDate)
The date when the monitor was created.
creationDate
- The date when the monitor was created.public void setLastUpdatedDate(String lastUpdatedDate)
The date when the monitor was last updated.
lastUpdatedDate
- The date when the monitor was last updated.public String getLastUpdatedDate()
The date when the monitor was last updated.
public AnomalyMonitor withLastUpdatedDate(String lastUpdatedDate)
The date when the monitor was last updated.
lastUpdatedDate
- The date when the monitor was last updated.public void setLastEvaluatedDate(String lastEvaluatedDate)
The date when the monitor last evaluated for anomalies.
lastEvaluatedDate
- The date when the monitor last evaluated for anomalies.public String getLastEvaluatedDate()
The date when the monitor last evaluated for anomalies.
public AnomalyMonitor withLastEvaluatedDate(String lastEvaluatedDate)
The date when the monitor last evaluated for anomalies.
lastEvaluatedDate
- The date when the monitor last evaluated for anomalies.public void setMonitorType(String monitorType)
The possible type values.
monitorType
- The possible type values.MonitorType
public String getMonitorType()
The possible type values.
MonitorType
public AnomalyMonitor withMonitorType(String monitorType)
The possible type values.
monitorType
- The possible type values.MonitorType
public AnomalyMonitor withMonitorType(MonitorType monitorType)
The possible type values.
monitorType
- The possible type values.MonitorType
public void setMonitorDimension(String monitorDimension)
The dimensions to evaluate.
monitorDimension
- The dimensions to evaluate.MonitorDimension
public String getMonitorDimension()
The dimensions to evaluate.
MonitorDimension
public AnomalyMonitor withMonitorDimension(String monitorDimension)
The dimensions to evaluate.
monitorDimension
- The dimensions to evaluate.MonitorDimension
public AnomalyMonitor withMonitorDimension(MonitorDimension monitorDimension)
The dimensions to evaluate.
monitorDimension
- The dimensions to evaluate.MonitorDimension
public void setMonitorSpecification(Expression monitorSpecification)
monitorSpecification
- public Expression getMonitorSpecification()
public AnomalyMonitor withMonitorSpecification(Expression monitorSpecification)
monitorSpecification
- public void setDimensionalValueCount(Integer dimensionalValueCount)
The value for evaluated dimensions.
dimensionalValueCount
- The value for evaluated dimensions.public Integer getDimensionalValueCount()
The value for evaluated dimensions.
public AnomalyMonitor withDimensionalValueCount(Integer dimensionalValueCount)
The value for evaluated dimensions.
dimensionalValueCount
- The value for evaluated dimensions.public String toString()
toString
in class Object
Object.toString()
public AnomalyMonitor clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.