Class GetAlarmsRequest

    • Method Detail

      • alarmName

        public final String alarmName()

        The name of the alarm.

        Specify an alarm name to return information about a specific alarm.

        Returns:
        The name of the alarm.

        Specify an alarm name to return information about a specific alarm.

      • pageToken

        public final String pageToken()

        The token to advance to the next page of results from your request.

        To get a page token, perform an initial GetAlarms request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.

        Returns:
        The token to advance to the next page of results from your request.

        To get a page token, perform an initial GetAlarms request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.

      • monitoredResourceName

        public final String monitoredResourceName()

        The name of the Lightsail resource being monitored by the alarm.

        Specify a monitored resource name to return information about all alarms for a specific resource.

        Returns:
        The name of the Lightsail resource being monitored by the alarm.

        Specify a monitored resource name to return information about all alarms for a specific resource.

      • 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