Class MonitorSummary

    • Method Detail

      • monitorArn

        public final String monitorArn()

        The Amazon Resource Name (ARN) of the monitor resource.

        Returns:
        The Amazon Resource Name (ARN) of the monitor resource.
      • monitorName

        public final String monitorName()

        The name of the monitor resource.

        Returns:
        The name of the monitor resource.
      • resourceArn

        public final String resourceArn()

        The Amazon Resource Name (ARN) of the predictor being monitored.

        Returns:
        The Amazon Resource Name (ARN) of the predictor being monitored.
      • status

        public final String status()

        The status of the monitor. States include:

        • ACTIVE

        • ACTIVE_STOPPING, ACTIVE_STOPPED

        • UPDATE_IN_PROGRESS

        • CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED

        • DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED

        Returns:
        The status of the monitor. States include:

        • ACTIVE

        • ACTIVE_STOPPING, ACTIVE_STOPPED

        • UPDATE_IN_PROGRESS

        • CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED

        • DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED

      • creationTime

        public final Instant creationTime()

        When the monitor resource was created.

        Returns:
        When the monitor resource was created.
      • lastModificationTime

        public final Instant lastModificationTime()

        The last time the monitor resource was modified. The timestamp depends on the status of the job:

        • CREATE_PENDING - The CreationTime.

        • CREATE_IN_PROGRESS - The current timestamp.

        • STOPPED - When the resource stopped.

        • ACTIVE or CREATE_FAILED - When the monitor creation finished or failed.

        Returns:
        The last time the monitor resource was modified. The timestamp depends on the status of the job:

        • CREATE_PENDING - The CreationTime.

        • CREATE_IN_PROGRESS - The current timestamp.

        • STOPPED - When the resource stopped.

        • ACTIVE or CREATE_FAILED - When the monitor creation finished or failed.

      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)