Interface ListMonitorsRequest.Builder

    • Method Detail

      • nextToken

        ListMonitorsRequest.Builder nextToken​(String nextToken)

        The token for the next set of results. You receive this token from a previous call.

        Parameters:
        nextToken - The token for the next set of results. You receive this token from a previous call.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxResults

        ListMonitorsRequest.Builder maxResults​(Integer maxResults)

        The number of query results that you want to return with this call.

        Parameters:
        maxResults - The number of query results that you want to return with this call.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • monitorStatus

        ListMonitorsRequest.Builder monitorStatus​(String monitorStatus)

        The status of a monitor. The status can be one of the following

        • PENDING: The monitor is in the process of being created.

        • ACTIVE: The monitor is active.

        • INACTIVE: The monitor is inactive.

        • ERROR: Monitor creation failed due to an error.

        • DELETING: The monitor is in the process of being deleted.

        Parameters:
        monitorStatus - The status of a monitor. The status can be one of the following

        • PENDING: The monitor is in the process of being created.

        • ACTIVE: The monitor is active.

        • INACTIVE: The monitor is inactive.

        • ERROR: Monitor creation failed due to an error.

        • DELETING: The monitor is in the process of being deleted.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        MonitorStatus, MonitorStatus
      • monitorStatus

        ListMonitorsRequest.Builder monitorStatus​(MonitorStatus monitorStatus)

        The status of a monitor. The status can be one of the following

        • PENDING: The monitor is in the process of being created.

        • ACTIVE: The monitor is active.

        • INACTIVE: The monitor is inactive.

        • ERROR: Monitor creation failed due to an error.

        • DELETING: The monitor is in the process of being deleted.

        Parameters:
        monitorStatus - The status of a monitor. The status can be one of the following

        • PENDING: The monitor is in the process of being created.

        • ACTIVE: The monitor is active.

        • INACTIVE: The monitor is inactive.

        • ERROR: Monitor creation failed due to an error.

        • DELETING: The monitor is in the process of being deleted.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        MonitorStatus, MonitorStatus