Class Monitor
- java.lang.Object
-
- software.amazon.awssdk.services.internetmonitor.model.Monitor
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Monitor.Builder,Monitor>
@Generated("software.amazon.awssdk:codegen") public final class Monitor extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Monitor.Builder,Monitor>
The description of and information about a monitor in Amazon CloudWatch Internet Monitor.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMonitor.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Monitor.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringmonitorArn()The Amazon Resource Name (ARN) of the monitor.StringmonitorName()The name of the monitor.MonitorProcessingStatusCodeprocessingStatus()The health of data processing for the monitor.StringprocessingStatusAsString()The health of data processing for the monitor.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends Monitor.Builder>serializableBuilderClass()MonitorConfigStatestatus()The status of a monitor.StringstatusAsString()The status of a monitor.Monitor.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
-
monitorName
public final String monitorName()
The name of the monitor.
- Returns:
- The name of the monitor.
-
monitorArn
public final String monitorArn()
The Amazon Resource Name (ARN) of the monitor.
- Returns:
- The Amazon Resource Name (ARN) of the monitor.
-
status
public final MonitorConfigState status()
The status of a monitor.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnMonitorConfigState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of a monitor.
- See Also:
MonitorConfigState
-
statusAsString
public final String statusAsString()
The status of a monitor.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnMonitorConfigState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of a monitor.
- See Also:
MonitorConfigState
-
processingStatus
public final MonitorProcessingStatusCode processingStatus()
The health of data processing for the monitor.
If the service returns an enum value that is not available in the current SDK version,
processingStatuswill returnMonitorProcessingStatusCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromprocessingStatusAsString().- Returns:
- The health of data processing for the monitor.
- See Also:
MonitorProcessingStatusCode
-
processingStatusAsString
public final String processingStatusAsString()
The health of data processing for the monitor.
If the service returns an enum value that is not available in the current SDK version,
processingStatuswill returnMonitorProcessingStatusCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromprocessingStatusAsString().- Returns:
- The health of data processing for the monitor.
- See Also:
MonitorProcessingStatusCode
-
toBuilder
public Monitor.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Monitor.Builder,Monitor>
-
builder
public static Monitor.Builder builder()
-
serializableBuilderClass
public static Class<? extends Monitor.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-