Interface GetAlarmsRequest.Builder

    • Method Detail

      • alarmName

        GetAlarmsRequest.Builder alarmName​(String alarmName)

        The name of the alarm.

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

        Parameters:
        alarmName - The name of the alarm.

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

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • pageToken

        GetAlarmsRequest.Builder pageToken​(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.

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.
      • monitoredResourceName

        GetAlarmsRequest.Builder monitoredResourceName​(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.

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.