Class AnomalyMonitor
- java.lang.Object
-
- software.amazon.awssdk.services.costexplorer.model.AnomalyMonitor
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AnomalyMonitor.Builder,AnomalyMonitor>
@Generated("software.amazon.awssdk:codegen") public final class AnomalyMonitor extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AnomalyMonitor.Builder,AnomalyMonitor>
This object continuously inspects your account's cost data for anomalies. It's based on
MonitorTypeandMonitorSpecification. The content consists of detailed metadata and the current status of the monitor object.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAnomalyMonitor.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AnomalyMonitor.Builderbuilder()StringcreationDate()The date when the monitor was created.IntegerdimensionalValueCount()The value for evaluated dimensions.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringlastEvaluatedDate()The date when the monitor last evaluated for anomalies.StringlastUpdatedDate()The date when the monitor was last updated.StringmonitorArn()The Amazon Resource Name (ARN) value.MonitorDimensionmonitorDimension()The dimensions to evaluate.StringmonitorDimensionAsString()The dimensions to evaluate.StringmonitorName()The name of the monitor.ExpressionmonitorSpecification()Returns the value of the MonitorSpecification property for this object.MonitorTypemonitorType()The possible type values.StringmonitorTypeAsString()The possible type values.List<SdkField<?>>sdkFields()static Class<? extends AnomalyMonitor.Builder>serializableBuilderClass()AnomalyMonitor.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
monitorArn
public final String monitorArn()
The Amazon Resource Name (ARN) value.
- Returns:
- The Amazon Resource Name (ARN) value.
-
monitorName
public final String monitorName()
The name of the monitor.
- Returns:
- The name of the monitor.
-
creationDate
public final String creationDate()
The date when the monitor was created.
- Returns:
- The date when the monitor was created.
-
lastUpdatedDate
public final String lastUpdatedDate()
The date when the monitor was last updated.
- Returns:
- The date when the monitor was last updated.
-
lastEvaluatedDate
public final String lastEvaluatedDate()
The date when the monitor last evaluated for anomalies.
- Returns:
- The date when the monitor last evaluated for anomalies.
-
monitorType
public final MonitorType monitorType()
The possible type values.
If the service returns an enum value that is not available in the current SDK version,
monitorTypewill returnMonitorType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommonitorTypeAsString().- Returns:
- The possible type values.
- See Also:
MonitorType
-
monitorTypeAsString
public final String monitorTypeAsString()
The possible type values.
If the service returns an enum value that is not available in the current SDK version,
monitorTypewill returnMonitorType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommonitorTypeAsString().- Returns:
- The possible type values.
- See Also:
MonitorType
-
monitorDimension
public final MonitorDimension monitorDimension()
The dimensions to evaluate.
If the service returns an enum value that is not available in the current SDK version,
monitorDimensionwill returnMonitorDimension.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommonitorDimensionAsString().- Returns:
- The dimensions to evaluate.
- See Also:
MonitorDimension
-
monitorDimensionAsString
public final String monitorDimensionAsString()
The dimensions to evaluate.
If the service returns an enum value that is not available in the current SDK version,
monitorDimensionwill returnMonitorDimension.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommonitorDimensionAsString().- Returns:
- The dimensions to evaluate.
- See Also:
MonitorDimension
-
monitorSpecification
public final Expression monitorSpecification()
Returns the value of the MonitorSpecification property for this object.- Returns:
- The value of the MonitorSpecification property for this object.
-
dimensionalValueCount
public final Integer dimensionalValueCount()
The value for evaluated dimensions.
- Returns:
- The value for evaluated dimensions.
-
toBuilder
public AnomalyMonitor.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AnomalyMonitor.Builder,AnomalyMonitor>
-
builder
public static AnomalyMonitor.Builder builder()
-
serializableBuilderClass
public static Class<? extends AnomalyMonitor.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-